filename          641 core/conf.c        char        *filename;
filename         1087 core/conf.c    void config_save(ConfInfo *ci, const char *filename, int config_base)
filename         1116 core/conf.c        int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0777); 
filename         1168 core/conf.c                config_save(confinfo_handlers[i].ci, confinfo_handlers[i].filename, confinfo_handlers[i].start_id);
filename         1176 core/conf.c    int save_config_file(int config_base, const char *filename)
filename         1183 core/conf.c                config_save(confinfo_handlers[i].ci, (filename != 0) ? filename : confinfo_handlers[i].filename, confinfo_handlers[i].start_id);
filename         1184 core/conf.c                if (filename == 0)  // Reset 'last_saved' values after saving default file
filename         1193 core/conf.c    void config_restore(ConfInfo *ci, const char *filename, void (*info_func)(unsigned short id))
filename         1198 core/conf.c        char* buf = load_file(filename, &rcnt, 0);
filename         1246 core/conf.c    static int config_restore_1_2(const char *filename)
filename         1252 core/conf.c        char* buf = load_file(filename, &rcnt, 0);
filename         1330 core/conf.c        if (stat(confinfo_handlers[0].filename,0) != 0)
filename         1336 core/conf.c            config_restore(confinfo_handlers[i].ci, confinfo_handlers[i].filename, confinfo_handlers[i].info_func);
filename         1355 core/conf.c    int load_config_file(int config_base, const char *filename)
filename         1362 core/conf.c                config_restore(confinfo_handlers[i].ci, (filename != 0) ? filename : confinfo_handlers[i].filename, confinfo_handlers[i].info_func);
filename         1363 core/conf.c                if (filename == 0)  // Reset 'last_saved' values if loading default file
filename         1879 core/gui.c     static void raw_fselect_cb(const char * filename)
filename         1881 core/gui.c         raw_prepare_develop(filename, 1);
filename          316 core/modules.c static int default_script_start_file(char const* filename)
filename          320 core/modules.c         return libscriptapi->script_start_file(filename);
filename          657 core/modules.c static void default_load_bad_pixels_list_b(char* filename)
filename          661 core/modules.c         libdng->load_bad_pixels_list_b(filename);
filename           37 core/raw.c     void raw_prepare_develop(const char* filename, int prompt)
filename           40 core/raw.c         if (filename)
filename           43 core/raw.c             if ((stat(filename,&st) != 0) || (st.st_size < camera_sensor.raw_size))
filename           51 core/raw.c             strcpy(fn,filename);
filename           22 core/raw.h     extern void raw_prepare_develop(const char* filename, int prompt);
filename          570 include/conf.h extern void config_save(ConfInfo *conf_info, const char *filename, int config_base);
filename          571 include/conf.h extern void config_restore(ConfInfo *confinfo, const char *filename, void (*info_func)(unsigned short id));
filename          573 include/conf.h extern int save_config_file(int config_base, const char *filename);
filename          574 include/conf.h extern int load_config_file(int config_base, const char *filename);
filename           25 include/debug.h void debug_profiler(const char* filename,int line, const char* function, const char* arg);
filename           10 include/fileutil.h extern int process_file(const char *filename, callback_process_file callback, int add0);
filename           14 include/fileutil.h extern int load_int_value_file(const char* filename, int* value_p);
filename           15 include/fileutil.h extern void save_int_value_file(const char* filename, int value);
filename           13 include/lang.h extern void lang_load_from_file(const char *filename);
filename           96 include/lolevel.h extern long _Fopen_Fut(const char *filename, const char *mode);
filename          144 include/stdlib.h extern FILE *fopen(const char *filename, const char *mode);
filename          115 lib/lang/fileutil.c int process_file(const char *filename, callback_process_file callback, int add0)
filename          119 lib/lang/fileutil.c     char *buf = load_file(filename, &size, add0);
filename          134 lib/lang/fileutil.c int load_int_value_file( const char* filename, int* value_p )
filename          138 lib/lang/fileutil.c 	buf = load_file(filename, 0, 1);
filename          151 lib/lang/fileutil.c void save_int_value_file( const char* filename, int value )
filename          159 lib/lang/fileutil.c 	int fd = open( filename, O_WRONLY|O_CREAT|O_TRUNC, 0777);
filename          199 lib/lang/lang.c void lang_load_from_file(const char *filename) {
filename          200 lib/lang/lang.c     process_file(filename, lang_parse_from_mem, 1);
filename          557 lib/lua/lauxlib.c   const char *filename = lua_tostring(L, fnameindex) + 1;
filename          558 lib/lua/lauxlib.c   lua_pushfstring(L, "cannot %s %s: %s", what, filename, serr);
filename          560 lib/lua/lauxlib.c   const char *filename = lua_tostring(L, fnameindex) + 1;
filename          561 lib/lua/lauxlib.c   lua_pushfstring(L, "cannot %s %s", what, filename);
filename          568 lib/lua/lauxlib.c LUALIB_API int luaL_loadfile (lua_State *L, const char *filename) {
filename          574 lib/lua/lauxlib.c   if (filename == NULL) {
filename          579 lib/lua/lauxlib.c     lua_pushfstring(L, "@%s", filename);
filename          580 lib/lua/lauxlib.c     lf.f = fopen(filename, "r");
filename          589 lib/lua/lauxlib.c   if (c == LUA_SIGNATURE[0] && filename) {  /* binary file? */
filename          590 lib/lua/lauxlib.c     lf.f = freopen(filename, "rb", lf.f);  /* reopen in binary mode */
filename          599 lib/lua/lauxlib.c   if (filename) fclose(lf.f);  /* close file (even in case of errors) */
filename          608 lib/lua/lauxlib.c LUALIB_API int luaL_loadfile (lua_State *L, const char *filename) {
filename          613 lib/lua/lauxlib.c   lua_pushfstring(L, "@%s", filename);
filename          614 lib/lua/lauxlib.c   lf.f = fopen(filename, "rb"); // cams don't translate crlf anyway
filename           77 lib/lua/lauxlib.h LUALIB_API int (luaL_loadfile) (lua_State *L, const char *filename);
filename           36 lib/lua/liolib.c static int pushresult (lua_State *L, int i, const char *filename) {
filename           44 lib/lua/liolib.c     if (filename)
filename           45 lib/lua/liolib.c       lua_pushfstring(L, "%s: %s", filename, strerror(en));
filename           54 lib/lua/liolib.c static void fileerror (lua_State *L, int arg, const char *filename) {
filename           55 lib/lua/liolib.c   lua_pushfstring(L, "%s: %s", filename, strerror(errno));
filename          171 lib/lua/liolib.c   const char *filename = luaL_checkstring(L, 1);
filename          174 lib/lua/liolib.c   *pf = fopen(filename, mode);
filename          175 lib/lua/liolib.c   return (*pf == NULL) ? pushresult(L, 0, filename) : 1;
filename          185 lib/lua/liolib.c   const char *filename = luaL_checkstring(L, 1);
filename          188 lib/lua/liolib.c   *pf = lua_popen(L, filename, mode);
filename          189 lib/lua/liolib.c   return (*pf == NULL) ? pushresult(L, 0, filename) : 1;
filename          216 lib/lua/liolib.c     const char *filename = lua_tostring(L, 1);
filename          217 lib/lua/liolib.c     if (filename) {
filename          219 lib/lua/liolib.c       *pf = fopen(filename, mode);
filename          221 lib/lua/liolib.c         fileerror(L, 1, filename);
filename          269 lib/lua/liolib.c     const char *filename = luaL_checkstring(L, 1);
filename          271 lib/lua/liolib.c     *pf = fopen(filename, "r");
filename          273 lib/lua/liolib.c       fileerror(L, 1, filename);
filename          335 lib/lua/loadlib.c static int readable (const char *filename) {
filename          337 lib/lua/loadlib.c   FILE *f = fopen(filename, "r");  /* try to open file */
filename          341 lib/lua/loadlib.c   int f = open(filename,O_RDONLY,0777);
filename          369 lib/lua/loadlib.c     const char *filename;
filename          370 lib/lua/loadlib.c     filename = luaL_gsub(L, lua_tostring(L, -1), LUA_PATH_MARK, name);
filename          372 lib/lua/loadlib.c     if (readable(filename))  /* does file exist and is readable? */
filename          373 lib/lua/loadlib.c       return filename;  /* return that file name */
filename          374 lib/lua/loadlib.c     lua_pushfstring(L, "\n\tno file " LUA_QS, filename);
filename          381 lib/lua/loadlib.c static void loaderror (lua_State *L, const char *filename) {
filename          383 lib/lua/loadlib.c                 lua_tostring(L, 1), filename, lua_tostring(L, -1));
filename          388 lib/lua/loadlib.c   const char *filename;
filename          390 lib/lua/loadlib.c   filename = findfile(L, name, "path");
filename          391 lib/lua/loadlib.c   if (filename == NULL) return 1;  /* library not found in this path */
filename          392 lib/lua/loadlib.c   if (luaL_loadfile(L, filename) != 0)
filename          393 lib/lua/loadlib.c     loaderror(L, filename);
filename          412 lib/lua/loadlib.c   const char *filename = findfile(L, name, "cpath");
filename          413 lib/lua/loadlib.c   if (filename == NULL) return 1;  /* library not found in this path */
filename          415 lib/lua/loadlib.c   if (ll_loadfunc(L, filename, funcname) != 0)
filename          416 lib/lua/loadlib.c     loaderror(L, filename);
filename          423 lib/lua/loadlib.c   const char *filename;
filename          429 lib/lua/loadlib.c   filename = findfile(L, lua_tostring(L, -1), "cpath");
filename          430 lib/lua/loadlib.c   if (filename == NULL) return 1;  /* root not found */
filename          432 lib/lua/loadlib.c   if ((stat = ll_loadfunc(L, filename, funcname)) != 0) {
filename          433 lib/lua/loadlib.c     if (stat != ERRFUNC) loaderror(L, filename);  /* real error */
filename          435 lib/lua/loadlib.c                        name, filename);
filename           30 lib/lua/loslib.c static int os_pushresult (lua_State *L, int i, const char *filename) {
filename           38 lib/lua/loslib.c     lua_pushfstring(L, "%s: %s", filename, strerror(en));
filename           54 lib/lua/loslib.c   const char *filename = luaL_checkstring(L, 1);
filename           55 lib/lua/loslib.c   return os_pushresult(L, remove(filename) == 0, filename);
filename          309 lib/lua/lua.c          const char *filename = argv[i] + 2;
filename          310 lib/lua/lua.c          if (*filename == '\0') filename = argv[++i];
filename          311 lib/lua/lua.c          lua_assert(filename != NULL);
filename          312 lib/lua/lua.c          if (dolibrary(L, filename))
filename          168 lib/lua/luac.c   const char* filename=IS("-") ? NULL : argv[i];
filename          169 lib/lua/luac.c   if (luaL_loadfile(L,filename)!=0) fatal(lua_tostring(L,-1));
filename          582 lib/ubasic/camera_functions.c void reboot(const char *filename) 
filename          584 lib/ubasic/camera_functions.c     printf("*** reboot %s ***\n",filename?filename:"NULL");
filename         1013 modules/dng.c  void load_bad_pixels_list_b(char* filename)
filename         1020 modules/dng.c      if ( filename==0 )
filename         1027 modules/dng.c      if (stat(filename,&st)!=0) return;
filename         1033 modules/dng.c      fd=fopen(filename, "rb");
filename           22 modules/dng.h  	void (*load_bad_pixels_list_b)(char* filename);
filename          247 modules/eyefi.c static int eyefi_writeFile(const char *filename)
filename          249 modules/eyefi.c     int fd = open(eyefi_filename(filename), O_RDWR|O_CREAT, 0600);
filename          262 modules/eyefi.c static int eyefi_readFile(const char *filename)
filename          266 modules/eyefi.c     int fd = open(eyefi_filename(filename), O_RDONLY, 0777);
filename          296 modules/luascript.c int lua_script_start_file(char const* filename)
filename          302 modules/luascript.c     sprintf(loader, "%slocal s,e=loadfile'%s' collectgarbage() if not s then error(e) end s()", wrapper, filename);
filename          312 modules/raw_merge.c int raw_merge_add_file(const char * filename)
filename          318 modules/raw_merge.c     if (!filename)
filename          324 modules/raw_merge.c     if (stat(filename,&st) != 0 || st.st_size < camera_sensor.raw_size)
filename          333 modules/raw_merge.c     fcraw = fopen(filename,"rb");
filename          398 modules/raw_merge.c                         gui_browser_progress_show(filename, j*100/camera_sensor.raw_rows);
filename          401 modules/raw_merge.c                 strcpy(namebuf,filename);
filename           17 modules/raw_merge.h 	int (*raw_merge_add_file)(const char* filename);
filename           27 modules/script_api.h     int     (*script_start_file)( char const* filename ); // initialize and load script from file
filename           32 modules/ubasic.c static int ubasic_init_file(char const* filename)
filename           34 modules/ubasic.c     if (strcmp(last_script, filename) != 0)
filename           36 modules/ubasic.c         strcpy(last_script, filename);
filename           39 modules/ubasic.c         script_source = load_file(filename, 0, 1);
filename          740 platform/generic/wrappers.c FILE *fopen(const char *filename, const char *mode) {
filename          742 platform/generic/wrappers.c     if(!filename || filename[0]!='A') {
filename          752 platform/generic/wrappers.c     return (FILE *)_Fopen_Fut(filename,mode);
filename          378 tools/elf2flt/elfflt.c elfloader_load(char* filename, char* fltfile)
filename           26 tools/elf2flt/elfflt.h int elfloader_load(char* filename, char* fltfile );
filename           20 tools/elf2flt/myio.c int b_file_preload(char* filename)
filename           27 tools/elf2flt/myio.c     fd=open(filename, O_RDONLY|O_BINARY);
filename           17 tools/elf2flt/myio.h int b_file_preload(char* filename);
filename         7564 tools/finsig_dryos.c void write_funcs(firmware *fw, char *filename, func_entry *fns[], int (*compare)(const func_entry **p1, const func_entry **p2))
filename         7570 tools/finsig_dryos.c     FILE *out_fp = fopen(filename, "w");
filename         5403 tools/finsig_thumb2.c void write_funcs(firmware *fw, char *filename, sig_entry_t *fns[], int (*compare)(const sig_entry_t **p1, const sig_entry_t **p2))
filename         5409 tools/finsig_thumb2.c     FILE *out_fp = fopen(filename, "w");
filename         5906 tools/finsig_vxworks.c void write_funcs(firmware *fw, char *filename, func_entry *fns[], int (*compare)(const func_entry **p1, const func_entry **p2))
filename         5912 tools/finsig_vxworks.c     FILE *out_fp = fopen(filename, "w");
filename          905 tools/firmware_load.c void load_firmware(firmware *fw, const char *filename, const char *base_addr, const char *alt_base_addr, int os_type)
filename          908 tools/firmware_load.c     FILE *f = fopen(filename, "rb");
filename          913 tools/firmware_load.c         fprintf(stderr,"Error opening %s\n",filename);
filename           82 tools/firmware_load.h void load_firmware(firmware *fw, const char *filename, const char *base_addr, const char *alt_base_addr, int os_type);
filename         1660 tools/firmware_load_ng.c void firmware_load(firmware *fw, const char *filename, uint32_t base_adr,int fw_arch)
filename         1662 tools/firmware_load_ng.c     FILE *f = fopen(filename, "rb");
filename         1665 tools/firmware_load_ng.c         fprintf(stderr,"Error opening %s\n",filename);
filename          533 tools/firmware_load_ng.h void firmware_load(firmware *fw, const char *filename, uint32_t base_adr,int fw_arch);
filename           10 tools/makeexport.c char* load_from_file(const char* filename);
filename          229 tools/makeexport.c char* load_from_file(const char *filename) 
filename          235 tools/makeexport.c     f = open(filename, O_RDONLY, 0777);
filename          237 tools/makeexport.c         size = (stat((char*)filename, &st)==0)?st.st_size:0;
filename           15 tools/makelang.c char* load_from_file(const char* filename);
filename          184 tools/makelang.c char* load_from_file(const char *filename) 
filename          190 tools/makelang.c     f = open(filename, O_RDONLY, 0777);
filename          192 tools/makelang.c         size = (stat((char*)filename, &st)==0)?st.st_size:0;
filename          240 tools/pakwif.c pak_t *pak_create(char *filename)
filename          248 tools/pakwif.c 	f = fopen(filename, "w+b");
filename          256 tools/pakwif.c 	fnp = strrchr(filename, '/');
filename          260 tools/pakwif.c 		strncpy(fnbuff, filename, 31);
filename          298 tools/pakwif.c 	char *type, char *desc, char *infirname, char *filename, uint32_t baseaddr)
filename          308 tools/pakwif.c 	inf = fopen(filename, "r+b");