fn                 54 core/chdk-dir.c     char    fn[FNMAX+1];        // current file name stored here by CHDKReadDir
fn                 97 core/chdk-dir.c                 dir->fn[0] = 0;
fn                163 core/chdk-dir.c             dir->fn[FNMAX-dir->lfnpos] = (char)uch;
fn                202 core/chdk-dir.c                     dir->fn[m] = dir->fe[n];
fn                207 core/chdk-dir.c                     dir->fn[m] = '.';
fn                213 core/chdk-dir.c                     dir->fn[m] = dir->fe[n];
fn                216 core/chdk-dir.c                 dir->fn[m] = 0;
fn                217 core/chdk-dir.c                 strcpy(dd, dir->fn);
fn                218 core/chdk-dir.c                 return (int)(dir->fn);
fn                233 core/chdk-dir.c                     strcpy(dd, (dir->fn)+FNMAX-dir->lfnpos+1);
fn                234 core/chdk-dir.c                     return (int)((dir->fn)+FNMAX-dir->lfnpos+1);
fn                269 core/chdk-dir.c                         memset(dir->fn, 0, FNMAX+1);
fn                286 core/chdk-dir.c         dir->fn[0] = 0;
fn                287 core/chdk-dir.c         strcpy(dd, dir->fn);
fn                642 core/gui.c     static void gui_draw_read_selected(const char *fn)
fn                644 core/gui.c         if (fn)
fn                646 core/gui.c     		libtxtread->read_file(fn);
fn                663 core/gui.c     static void gui_draw_rbf_selected(const char *fn)
fn                665 core/gui.c         if (fn) {
fn                666 core/gui.c             strcpy(conf.reader_rbf_file, fn);
fn               1359 core/gui.c     static void gui_load_curve_selected(const char *fn)
fn               1361 core/gui.c     	if (fn) {
fn               1363 core/gui.c     		strcpy(conf.curve_file,fn);
fn               1594 core/gui.c     static void gui_load_edge_selected( const char* fn )
fn               1596 core/gui.c         if (fn)
fn               1597 core/gui.c             libedgeovr->load_edge_overlay(fn);
fn               1630 core/gui.c     static void gui_grid_lines_load_selected(const char *fn)
fn               1632 core/gui.c         if (fn)
fn               1634 core/gui.c             libgrids->grid_lines_load(fn);
fn               1961 core/gui.c     static void gui_draw_lang_selected(const char *fn)
fn               1963 core/gui.c         if (fn) {
fn               1964 core/gui.c             strcpy(conf.lang_file, fn);
fn               1991 core/gui.c     static void gui_draw_menu_rbf_selected(const char *fn)
fn               1993 core/gui.c         if (fn) {
fn               1994 core/gui.c             strcpy(conf.menu_rbf_file, fn);
fn               2005 core/gui.c     static void gui_draw_symbol_rbf_selected(const char *fn)
fn               2007 core/gui.c         if (fn) {
fn               2008 core/gui.c             strcpy(conf.menu_symbol_rbf_file, fn);
fn                644 core/gui_script.c     char *fn = make_param_filename(MAKE_PARAM_FILENAME_V2);
fn                645 core/gui_script.c     int fd = open(fn, O_WRONLY|O_CREAT|O_TRUNC, 0777);
fn                734 core/gui_script.c void script_load(const char *fn)
fn                740 core/gui_script.c     if ((fn == 0) || (fn[0] == 0))
fn                741 core/gui_script.c         fn = SCRIPT_DEFAULT_FILENAME;
fn                743 core/gui_script.c     strcpy(conf.script_file, fn);
fn                776 core/gui_script.c static void gui_load_script_selected(const char *fn)
fn                778 core/gui_script.c     if (fn)
fn                782 core/gui_script.c         script_load(fn);
fn                145 core/gui_user_menu.c void gui_load_user_menu_script(const char *fn) 
fn                147 core/gui_user_menu.c     if (fn)
fn                149 core/gui_user_menu.c         strcpy(sfname, fn);
fn                 10 core/gui_user_menu.h extern void gui_load_user_menu_script(const char *fn);
fn                 43 core/main.c        static char fn[32];
fn                 60 core/main.c                sprintf(fn, "A/DCIM/100CANON/CRW_%04d.JPG", cnt++);
fn                 61 core/main.c                if (stat(fn,0) != 0) {
fn                 62 core/main.c                    fd = open(fn, O_WRONLY|O_CREAT, 0777);
fn                190 core/modules.c static void default_load_edge_overlay(const char* fn)
fn                194 core/modules.c         libedgeovr->load_edge_overlay(fn);
fn                511 core/modules.c static void default_grid_lines_load(const char *fn)
fn                515 core/modules.c         libgrids->grid_lines_load(fn);
fn                612 core/modules.c static void default_file_select(int title, const char* prev_dir, const char* default_dir, void (*on_select)(const char *fn))
fn                663 core/modules.c static int default_convert_dng_to_chdk_raw(char* fn)
fn                667 core/modules.c         return libdng->convert_dng_to_chdk_raw(fn);
fn                672 core/modules.c static void default_load_dng_to_rawbuffer(char *fn, char *rawadr)
fn                676 core/modules.c         libdng->load_dng_to_rawbuffer(fn, rawadr);
fn                786 core/modules.c static int default_read_file(const char *fn)
fn                790 core/modules.c         return libtxtread->read_file(fn);
fn                510 core/ptp.c             char *buf=NULL, *fn=NULL;
fn                525 core/ptp.c                     fn = malloc(fn_len+1);
fn                526 core/ptp.c                     if(!fn) {
fn                530 core/ptp.c                     memcpy(fn,buf+4,fn_len);
fn                531 core/ptp.c                     fn[fn_len] = 0;
fn                532 core/ptp.c                     f = fopen(fn,"wb");
fn                533 core/ptp.c                     free(fn);
fn                560 core/ptp.c             char *buf, *fn;
fn                570 core/ptp.c             fn = (char *) malloc(temp_data_extra+1);
fn                571 core/ptp.c             if ( fn == NULL )
fn                580 core/ptp.c             memcpy(fn,temp_data.str,temp_data_extra);
fn                581 core/ptp.c             fn[temp_data_extra] = '\0';
fn                586 core/ptp.c             f = fopen(fn,"rb");
fn                592 core/ptp.c               free(fn);
fn                595 core/ptp.c             free(fn);
fn                 33 core/raw.c     static char fn[64];
fn                 51 core/raw.c             strcpy(fn,filename);
fn                117 core/raw.c         raw_get_path(fn);
fn                120 core/raw.c             sprintf(fn+strlen(fn), 
fn                127 core/raw.c             sprintf(fn+strlen(fn),
fn                133 core/raw.c         fd = open(fn, O_WRONLY|O_CREAT, 0777);
fn                150 core/raw.c         utime(fn, &t);
fn                231 core/raw.c                 libdng->load_dng_to_rawbuffer(fn, rawadr);
fn                235 core/raw.c                 int fd = open(fn, O_RDONLY, 0777);
fn                 67 core/suba.c    check_cell(const allocator *suba, cell* c, char *fn, int ln)
fn                 75 core/suba.c    	sprintf(buf, "%s bad cell - %x %x", fn, c, suba);
fn                105 core/usb_remote.c     char fn[12];
fn                107 core/usb_remote.c     sprintf(fn, "A/RC%05d.DAT", debug_num_rec_file);
fn                110 core/usb_remote.c     fd = open(fn, O_WRONLY|O_CREAT, 0777);
fn                262 include/lolevel.h extern int _SetFileAttributes(const char *fn, int attr);
fn                 49 include/script.h extern void script_load(const char *fn);
fn                127 include/stdlib.h extern unsigned char SetFileAttributes(const char* fn, unsigned char attr);
fn                486 lib/lua/lapi.c LUA_API void lua_pushcclosure (lua_State *L, lua_CFunction fn, int n) {
fn                492 lib/lua/lapi.c   cl->c.f = fn;
fn                111 lib/lua/lauxlib.h #define luaL_dofile(L, fn) \
fn                112 lib/lua/lauxlib.h 	(luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0))
fn                168 lib/lua/lua.h  LUA_API void  (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
fn                788 modules/dng.c  static int convert_dng_to_chdk_raw(char* fn)
fn                797 modules/dng.c      if (stat(fn, &st) != 0 || st.st_size<=camera_sensor.raw_size)
fn                806 modules/dng.c          dng=fopen(fn,"rb");
fn                812 modules/dng.c                  i=strlen(fn)-3;
fn                813 modules/dng.c                  if (strncmp(fn+i,"CR",2)==0) strcpy(fn+i,"WAV"); else strcpy(fn+i,"CRW");
fn                814 modules/dng.c                  raw=fopen(fn,"w+b");
fn                828 modules/dng.c                      utime(fn, &t);
fn                842 modules/dng.c  static void load_dng_to_rawbuffer(char *fn, char *rawadr)
fn                847 modules/dng.c      if ((stat(fn,&st) == 0) && (st.st_size >= camera_sensor.raw_size))
fn                849 modules/dng.c          int fd = open(fn, O_RDONLY, 0777);
fn                 25 modules/dng.h  	int (*convert_dng_to_chdk_raw)(char* fn);
fn                 27 modules/dng.h      void (*load_dng_to_rawbuffer)(char *fn, char *rawadr);
fn                112 modules/edgeoverlay.c static int get_edge_file_num(const char* fn)
fn                115 modules/edgeoverlay.c     if( strncmp(fn,EDGE_FILE_PREFIX,sizeof(EDGE_FILE_PREFIX)-1) == 0 )
fn                118 modules/edgeoverlay.c         fn += sizeof(EDGE_FILE_PREFIX);
fn                119 modules/edgeoverlay.c         while( *fn == '0' ) // skip leading 0s
fn                121 modules/edgeoverlay.c             ++fn;
fn                123 modules/edgeoverlay.c         while( isdigit(*fn) )
fn                126 modules/edgeoverlay.c             num += *fn - '0';
fn                127 modules/edgeoverlay.c             ++fn;
fn                138 modules/edgeoverlay.c     char fn[64];
fn                175 modules/edgeoverlay.c     sprintf(fn, EDGE_SAVE_DIR "/" EDGE_FILE_FORMAT, fnum );
fn                176 modules/edgeoverlay.c     fd = fopen(fn, "wb");
fn                184 modules/edgeoverlay.c         utime(fn, &t);
fn                185 modules/edgeoverlay.c         sprintf(msg, "Saved as %s",fn);
fn                192 modules/edgeoverlay.c void load_edge_overlay(const char* fn)
fn                199 modules/edgeoverlay.c     fd = fopen(fn,"rb");
fn                 17 modules/edgeoverlay.h     void (*load_edge_overlay)(const char* fn);
fn                111 modules/gui_fselect.c static void (*fselect_on_select)(const char *fn);
fn                697 modules/gui_fselect.c void gui_fselect_init(int title, const char* prev_dir, const char* default_dir, void (*on_select)(const char *fn))
fn                 13 modules/gui_fselect.h     void (*file_select)(int title, const char* prev_dir, const char* default_dir, void (*on_select)(const char *fn));
fn                140 modules/gui_grid.c void grid_lines_load(const char *fn)
fn                143 modules/gui_grid.c     if (process_file(fn, parse_grid_file, 1) > 0)  // non-zero length file found?
fn                147 modules/gui_grid.c             char* c = strrchr(fn, '/');
fn                148 modules/gui_grid.c             strncpy(conf.grid_title, (c)?c+1:fn, sizeof(conf.grid_title));
fn                151 modules/gui_grid.c         strcpy(conf.grid_lines_file, fn);
fn                 14 modules/gui_grid.h     void (*grid_lines_load)(const char *fn);
fn                 13 modules/gui_read.h     int (*read_file)(const char *fn);
fn                346 modules/motion_detector.c     char buf[200], fn[30];
fn                359 modules/motion_detector.c     strcpy(fn,"A/MD_INFO.TXT");//,BUILD_NUMBER,motion_detector.pixels_step);
fn                360 modules/motion_detector.c     fd = open(fn, O_WRONLY|O_CREAT, 0777);
fn                393 modules/motion_detector.c     utime(fn, &t);
fn                399 modules/motion_detector.c     char fn[36];
fn                409 modules/motion_detector.c         sprintf(fn, "A/MD/%04d.FB", cnt);
fn                410 modules/motion_detector.c         fd = open(fn, O_RDONLY, 0777);
fn                418 modules/motion_detector.c     sprintf(fn, "A/MD/%04d.FB", cnt );
fn                419 modules/motion_detector.c     fd = open(fn, O_WRONLY|O_CREAT, 0777);
fn                 83 modules/shot_histogram.c     char fn[64];
fn                 86 modules/shot_histogram.c     raw_get_path(fn);
fn                 88 modules/shot_histogram.c     sprintf(fn+strlen(fn), "HST_%04d.DAT", get_target_file_num());
fn                 90 modules/shot_histogram.c     int fd = open(fn, O_WRONLY|O_CREAT, 0777);
fn                619 modules/user_menu_edit.c static void gui_uedit_script_selected(const char *fn)
fn                621 modules/user_menu_edit.c     if (fn)
fn                623 modules/user_menu_edit.c         char *ext = strrchr(fn,'.');
fn                628 modules/user_menu_edit.c             buf = load_file(fn, 0, 1);
fn                638 modules/user_menu_edit.c                 c=strrchr(fn, '/');
fn                639 modules/user_menu_edit.c                 strncpy(script_title, (c)?c+1:fn, sizeof(script_title));
fn                664 modules/user_menu_edit.c                 add_script_to_user_menu(fn, script_title);
fn                671 modules/user_menu_edit.c static void gui_uedit_module_selected(const char *fn)
fn                673 modules/user_menu_edit.c     if (fn)
fn                675 modules/user_menu_edit.c         char *ext = strrchr(fn,'.');
fn                679 modules/user_menu_edit.c             flat_hdr* mod = module_preload(fn, fn, v);  // Pass fn as both path and name (file browser sends us full path to module)
fn                689 modules/user_menu_edit.c                     add_module_to_user_menu(fn, n);
fn                694 modules/user_menu_edit.c                     sprintf(msgbuf, lang_str(LANG_MODULE_NOT_SIMPLE), fn);
fn               1695 platform/generic/wrappers.c unsigned char SetFileAttributes(const char* fn, unsigned char attr)
fn               1698 platform/generic/wrappers.c     return _SetFileAttributes(fn, attr);
fn               1703 platform/generic/wrappers.c     fd = open(fn, 0, 0);
fn               6517 tools/finsig_dryos.c         char fn[100], rn[100];
fn               6518 tools/finsig_dryos.c         strcpy(fn,name); strcat(fn,sfx);
fn               6525 tools/finsig_dryos.c         bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x%s\n",fn,b,tadr,ev,i?" (non-inverted logic)":"");
fn                766 tools/finsig_thumb2.c     match_fns[0].fn=search_calls_multi_end;
fn                774 tools/finsig_thumb2.c         match_fns[1].fn=search_calls_multi_end;
fn               4447 tools/finsig_thumb2.c                     uint32_t fn=*p;
fn               4449 tools/finsig_thumb2.c                     add_event_proc(fw,nm,fn);
fn               4510 tools/finsig_thumb2.c                 uint32_t fn=*p;
fn               4513 tools/finsig_thumb2.c                 add_event_proc(fw,nm,fn);
fn               4638 tools/finsig_thumb2.c                             search_calls_multi_fn fn,
fn               4644 tools/finsig_thumb2.c         match_fns[max_funcs-1].fn=NULL;
fn               4648 tools/finsig_thumb2.c     match_fns[*match_fn_count].fn=fn;
fn               4651 tools/finsig_thumb2.c     match_fns[*match_fn_count].fn=NULL;
fn               4657 tools/finsig_thumb2.c                                 search_calls_multi_fn fn,
fn               4665 tools/finsig_thumb2.c     add_generic_func_match(match_fns,match_fn_count,MAX_GENERIC_FUNCS,fn,adr);
fn               4670 tools/finsig_thumb2.c         add_generic_func_match(match_fns,match_fn_count,MAX_GENERIC_FUNCS,fn,adr);
fn               5067 tools/finsig_thumb2.c     char fn[100], rn[100];
fn               5068 tools/finsig_thumb2.c     strcpy(fn,name); strcat(fn,sfx);
fn               5071 tools/finsig_thumb2.c     bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x%s\n",fn,v.bit,adr,v.ev,v.no_invert?" (non-inverted logic)":"");
fn               5061 tools/finsig_vxworks.c         char fn[100], rn[100];
fn               5062 tools/finsig_vxworks.c         strcpy(fn,name); strcat(fn,sfx);
fn               5068 tools/finsig_vxworks.c         bprintf("//#define %-20s0x%08x // Found @0x%08x, levent 0x%x\n",fn,b,tadr,ev);
fn               1102 tools/firmware_load_ng.c                 return data->fn(fw,is,sub);
fn                369 tools/firmware_load_ng.h     search_calls_multi_fn fn;
fn                329 tools/stubs_load.c void load_propcases(stub_values *sv,char *fn)
fn                331 tools/stubs_load.c     FILE *f = fopen(fn, "rb");
fn                371 tools/stubs_load.c void load_a_makefile(stub_values *sv, char *fn)
fn                373 tools/stubs_load.c     FILE *f = fopen(fn, "rb");