filename 646 core/conf.c char *filename; filename 1092 core/conf.c void config_save(ConfInfo *ci, const char *filename, int config_base) filename 1121 core/conf.c int fd = open(filename, O_WRONLY|O_CREAT|O_TRUNC, 0777); filename 1173 core/conf.c config_save(confinfo_handlers[i].ci, confinfo_handlers[i].filename, confinfo_handlers[i].start_id); filename 1181 core/conf.c int save_config_file(int config_base, const char *filename) filename 1188 core/conf.c config_save(confinfo_handlers[i].ci, (filename != 0) ? filename : confinfo_handlers[i].filename, confinfo_handlers[i].start_id); filename 1189 core/conf.c if (filename == 0) // Reset 'last_saved' values after saving default file filename 1198 core/conf.c void config_restore(ConfInfo *ci, const char *filename, void (*info_func)(unsigned short id)) filename 1203 core/conf.c char* buf = load_file(filename, &rcnt, 0); filename 1251 core/conf.c static int config_restore_1_2(const char *filename) filename 1257 core/conf.c char* buf = load_file(filename, &rcnt, 0); filename 1335 core/conf.c if (stat(confinfo_handlers[0].filename,0) != 0) filename 1341 core/conf.c config_restore(confinfo_handlers[i].ci, confinfo_handlers[i].filename, confinfo_handlers[i].info_func); filename 1360 core/conf.c int load_config_file(int config_base, const char *filename) filename 1367 core/conf.c config_restore(confinfo_handlers[i].ci, (filename != 0) ? filename : confinfo_handlers[i].filename, confinfo_handlers[i].info_func); filename 1368 core/conf.c if (filename == 0) // Reset 'last_saved' values if loading default file filename 1889 core/gui.c static void raw_fselect_cb(const char * filename) filename 1891 core/gui.c raw_prepare_develop(filename, 1); filename 317 core/modules.c static int default_script_start_file(char const* filename) filename 321 core/modules.c return libscriptapi->script_start_file(filename); filename 658 core/modules.c static void default_load_bad_pixels_list_b(char* filename) filename 662 core/modules.c libdng->load_bad_pixels_list_b(filename); filename 36 core/raw.c void raw_prepare_develop(const char* filename, int prompt) filename 39 core/raw.c if (filename) filename 42 core/raw.c if ((stat(filename,&st) != 0) || (st.st_size < camera_sensor.raw_size)) filename 50 core/raw.c strcpy(fn,filename); filename 22 core/raw.h extern void raw_prepare_develop(const char* filename, int prompt); filename 575 include/conf.h extern void config_save(ConfInfo *conf_info, const char *filename, int config_base); filename 576 include/conf.h extern void config_restore(ConfInfo *confinfo, const char *filename, void (*info_func)(unsigned short id)); filename 578 include/conf.h extern int save_config_file(int config_base, const char *filename); filename 579 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 98 include/lolevel.h extern long _Fopen_Fut(const char *filename, const char *mode); filename 30 include/std/stdio.h extern FILE *fopen(const char *filename, const char *mode); filename 117 lib/lang/fileutil.c int process_file(const char *filename, callback_process_file callback, int add0) filename 121 lib/lang/fileutil.c char *buf = load_file(filename, &size, add0); filename 136 lib/lang/fileutil.c int load_int_value_file( const char* filename, int* value_p ) filename 140 lib/lang/fileutil.c buf = load_file(filename, 0, 1); filename 153 lib/lang/fileutil.c void save_int_value_file( const char* filename, int value ) filename 161 lib/lang/fileutil.c int fd = open( filename, O_WRONLY|O_CREAT|O_TRUNC, 0777); filename 201 lib/lang/lang.c void lang_load_from_file(const char *filename) { filename 202 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 28 lib/lua/liolib.c static int pushresult (lua_State *L, int i, const char *filename) { filename 36 lib/lua/liolib.c if (filename) filename 37 lib/lua/liolib.c lua_pushfstring(L, "%s: %s", filename, strerror(en)); filename 46 lib/lua/liolib.c static void fileerror (lua_State *L, int arg, const char *filename) { filename 47 lib/lua/liolib.c lua_pushfstring(L, "%s: %s", filename, strerror(errno)); filename 163 lib/lua/liolib.c const char *filename = luaL_checkstring(L, 1); filename 166 lib/lua/liolib.c *pf = fopen(filename, mode); filename 167 lib/lua/liolib.c return (*pf == NULL) ? pushresult(L, 0, filename) : 1; filename 177 lib/lua/liolib.c const char *filename = luaL_checkstring(L, 1); filename 180 lib/lua/liolib.c *pf = lua_popen(L, filename, mode); filename 181 lib/lua/liolib.c return (*pf == NULL) ? pushresult(L, 0, filename) : 1; filename 208 lib/lua/liolib.c const char *filename = lua_tostring(L, 1); filename 209 lib/lua/liolib.c if (filename) { filename 211 lib/lua/liolib.c *pf = fopen(filename, mode); filename 213 lib/lua/liolib.c fileerror(L, 1, filename); filename 261 lib/lua/liolib.c const char *filename = luaL_checkstring(L, 1); filename 263 lib/lua/liolib.c *pf = fopen(filename, "r"); filename 265 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 27 lib/lua/loslib.c static int os_pushresult (lua_State *L, int i, const char *filename) { filename 35 lib/lua/loslib.c lua_pushfstring(L, "%s: %s", filename, strerror(en)); filename 51 lib/lua/loslib.c const char *filename = luaL_checkstring(L, 1); filename 52 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 1014 modules/dng.c void load_bad_pixels_list_b(char* filename) filename 1021 modules/dng.c if ( filename==0 ) filename 1028 modules/dng.c if (stat(filename,&st)!=0) return; filename 1034 modules/dng.c fd=fopen(filename, "rb"); filename 22 modules/dng.h void (*load_bad_pixels_list_b)(char* filename); filename 248 modules/eyefi.c static int eyefi_writeFile(const char *filename) filename 250 modules/eyefi.c int fd = open(eyefi_filename(filename), O_RDWR|O_CREAT, 0600); filename 263 modules/eyefi.c static int eyefi_readFile(const char *filename) filename 267 modules/eyefi.c int fd = open(eyefi_filename(filename), O_RDONLY, 0777); filename 299 modules/luascript.c int lua_script_start_file(char const* filename) filename 305 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 775 platform/generic/wrappers.c FILE *fopen(const char *filename, const char *mode) { filename 777 platform/generic/wrappers.c if(!filename || filename[0]!='A') { filename 787 platform/generic/wrappers.c return (FILE *)_Fopen_Fut(filename,mode); 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 8318 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 8324 tools/finsig_dryos.c FILE *out_fp = fopen(filename, "w"); filename 7012 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 7018 tools/finsig_thumb2.c FILE *out_fp = fopen(filename, "w"); filename 6323 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 6329 tools/finsig_vxworks.c FILE *out_fp = fopen(filename, "w"); filename 923 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 926 tools/firmware_load.c FILE *f = fopen(filename, "rb"); filename 931 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 2267 tools/firmware_load_ng.c void firmware_load(firmware *fw, const char *filename, uint32_t base_adr,int fw_arch) filename 2269 tools/firmware_load_ng.c FILE *f = fopen(filename, "rb"); filename 2272 tools/firmware_load_ng.c fprintf(stderr,"Error opening %s\n",filename); filename 698 tools/firmware_load_ng.h void firmware_load(firmware *fw, const char *filename, uint32_t base_adr,int fw_arch); filename 119 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall FILE * Fopen_Fut(const char *filename, const char *mode); filename 440 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall FILE * fopen_low(const char *filename, const char *mode); 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"); filename 582 tools/ubasic_test/camera_functions.c void reboot(const char *filename) filename 584 tools/ubasic_test/camera_functions.c printf("*** reboot %s ***\n",filename?filename:"NULL");