path 71 core/raw.c void raw_get_path(char *path) path 78 core/raw.c strcpy(path,"A/RAW"); path 79 core/raw.c mkdir_if_not_exist(path); path 81 core/raw.c strcat(path, &rdir[6]) ; path 85 core/raw.c get_target_dir_name(path); path 89 core/raw.c strcpy(path, RAW_TARGET_DIRECTORY); path 92 core/raw.c mkdir_if_not_exist(path); path 93 core/raw.c strcat(path, "/"); path 30 core/raw.h extern void raw_get_path(char *path); path 47 lib/lua/loadlib.c static void *ll_load (lua_State *L, const char *path); path 69 lib/lua/loadlib.c static void *ll_load (lua_State *L, const char *path) { path 70 lib/lua/loadlib.c void *lib = dlopen(path, RTLD_NOW); path 128 lib/lua/loadlib.c static void *ll_load (lua_State *L, const char *path) { path 129 lib/lua/loadlib.c HINSTANCE lib = LoadLibraryA(path); path 192 lib/lua/loadlib.c static void *ll_load (lua_State *L, const char *path) { path 200 lib/lua/loadlib.c ret = NSCreateObjectFileImageFromFile(path, &img); path 202 lib/lua/loadlib.c NSModule mod = NSLinkModule(img, path, NSLINKMODULE_OPTION_PRIVATE | path 246 lib/lua/loadlib.c static void *ll_load (lua_State *L, const char *path) { path 247 lib/lua/loadlib.c (void)path; /* to avoid warnings */ path 265 lib/lua/loadlib.c static void **ll_register (lua_State *L, const char *path) { path 267 lib/lua/loadlib.c lua_pushfstring(L, "%s%s", LIBPREFIX, path); path 277 lib/lua/loadlib.c lua_pushfstring(L, "%s%s", LIBPREFIX, path); path 297 lib/lua/loadlib.c static int ll_loadfunc (lua_State *L, const char *path, const char *sym) { path 298 lib/lua/loadlib.c void **reg = ll_register(L, path); path 299 lib/lua/loadlib.c if (*reg == NULL) *reg = ll_load(L, path); path 313 lib/lua/loadlib.c const char *path = luaL_checkstring(L, 1); path 315 lib/lua/loadlib.c int stat = ll_loadfunc(L, path, init); path 348 lib/lua/loadlib.c static const char *pushnexttemplate (lua_State *L, const char *path) { path 350 lib/lua/loadlib.c while (*path == *LUA_PATHSEP) path++; /* skip separators */ path 351 lib/lua/loadlib.c if (*path == '\0') return NULL; /* no more templates */ path 352 lib/lua/loadlib.c l = strchr(path, *LUA_PATHSEP); /* find next separator */ path 353 lib/lua/loadlib.c if (l == NULL) l = path + strlen(path); path 354 lib/lua/loadlib.c lua_pushlstring(L, path, l - path); /* template */ path 361 lib/lua/loadlib.c const char *path; path 364 lib/lua/loadlib.c path = lua_tostring(L, -1); path 365 lib/lua/loadlib.c if (path == NULL) path 368 lib/lua/loadlib.c while ((path = pushnexttemplate(L, path)) != NULL) { path 604 lib/lua/loadlib.c const char *path = getenv(envname); path 605 lib/lua/loadlib.c if (path == NULL) /* no environment variable? */ path 609 lib/lua/loadlib.c path = luaL_gsub(L, path, LUA_PATHSEP LUA_PATHSEP, path 611 lib/lua/loadlib.c luaL_gsub(L, path, AUXMARK, def); path 238 modules/eyefi.c static char path[16]; path 240 modules/eyefi.c strcpy(path, "A/EyeFi/"); path 241 modules/eyefi.c strcat(path, nm); path 243 modules/eyefi.c return path; path 318 modules/file_shelter.c static int fs_readdir(DIR *d, fs_dirent *de, const char* path) path 343 modules/file_shelter.c sprintf(pbuf, "%s%s%s", path, path[strlen(path)-1]=='/'?"":"/", de->de->d_name); path 370 modules/file_shelter.c static void process_dir(const char *parent, const char *name, int nested, void (*file_process)(const char *path, const char *file, fs_dirent *de), void (*dir_process)(const char *path, fs_dirent *de)) path 376 modules/file_shelter.c char *path; path 379 modules/file_shelter.c path = malloc(strlen(parent) + strlen(name) + 2); path 380 modules/file_shelter.c sprintf(path, "%s%s%s", parent, parent[strlen(parent)-1]=='/'?"":"/", name); path 384 modules/file_shelter.c path = (char*)parent; path 388 modules/file_shelter.c d = opendir_chdk(path,OPENDIR_FL_CHDK_LFN); path 394 modules/file_shelter.c dir_process(path, &de); path 397 modules/file_shelter.c while (fs_readdir(d, &de, path)) path 405 modules/file_shelter.c process_dir(path, de.de->d_name, nested-1, file_process, dir_process); path 409 modules/file_shelter.c file_process(path, de.de->d_name, &de); path 418 modules/file_shelter.c free(path); path 569 modules/file_shelter.c void fproc_totalsize(const char *path, const char *file, fs_dirent *de) path 573 modules/file_shelter.c storageneed += wordpad(strlen(path) + 1 + strlen(file) + 1); path 579 modules/file_shelter.c void dproc_count(const char *path, __attribute__ ((unused))fs_dirent *de) path 581 modules/file_shelter.c if (whitelist && !iswhitelisted(path)) return; path 582 modules/file_shelter.c storageneed += wordpad(strlen(path) + 1); path 588 modules/file_shelter.c void dproc_store(const char *path, fs_dirent *de) path 590 modules/file_shelter.c if (whitelist && !iswhitelisted(path)) return; path 595 modules/file_shelter.c fh->nlen = strlen(path) + 1; path 598 modules/file_shelter.c strcpy(storptr, path); path 604 modules/file_shelter.c void fproc_store(const char *path, const char *file, fs_dirent *de) path 611 modules/file_shelter.c fh->nlen = strlen(path) + 1 + strlen(file) + 1; path 614 modules/file_shelter.c sprintf(storptr, "%s%s%s", path, path[strlen(path)-1]=='/'?"":"/", file); path 358 modules/gui_fselect.c static void delete_file(const char *path, const char *name) path 360 modules/gui_fselect.c sprintf(selected_file, "%s/%s", path, name); path 364 modules/gui_fselect.c static void delete_dir(const char *path) path 366 modules/gui_fselect.c remove(path); path 370 modules/gui_fselect.c static DIR * opendir_fselect(const char *path) { path 371 modules/gui_fselect.c return opendir_chdk(path,(conf.disable_lfn_parser_ui?OPENDIR_FL_NONE:OPENDIR_FL_CHDK_LFN)); path 466 modules/gui_fselect.c static int fs_readdir(DIR *d, fs_dirent *de, const char* path) path 493 modules/gui_fselect.c sprintf(pbuf, "%s/%s", path, de->de->d_name); path 520 modules/gui_fselect.c static void process_dir(const char *parent, const char *name, int nested, void (*file_process)(const char *path, const char *file), void (*dir_process)(const char *path)) path 526 modules/gui_fselect.c char *path; path 529 modules/gui_fselect.c path = malloc(strlen(parent) + strlen(name) + 2); path 530 modules/gui_fselect.c sprintf(path, "%s/%s", parent, name); path 534 modules/gui_fselect.c path = (char*)parent; path 538 modules/gui_fselect.c d = opendir_fselect(path); path 543 modules/gui_fselect.c while (fs_readdir(d, &de, path)) path 551 modules/gui_fselect.c process_dir(path, de.de->d_name, nested-1, file_process, dir_process); path 555 modules/gui_fselect.c file_process(path, de.de->d_name); path 562 modules/gui_fselect.c dir_process(path); path 566 modules/gui_fselect.c free(path); path 964 modules/gui_fselect.c char *path = malloc(strlen(folder) + strlen(de.de->d_name) + 2); path 965 modules/gui_fselect.c sprintf(path, "%s/%s", folder, de.de->d_name); path 966 modules/gui_fselect.c if (find_jpg(path, match, nested-1)) path 968 modules/gui_fselect.c free(path); path 60 modules/module_load.c static unsigned int get_module_path(char *path, const char *name) path 64 modules/module_load.c strcpy(path, MODULES_PATH); path 66 modules/module_load.c path[0] = 0; path 68 modules/module_load.c strcat(path, name); path 70 modules/module_load.c return hash_module_name(path); path 413 modules/module_load.c char path[60]; path 414 modules/module_load.c unsigned int hash = get_module_path(path, name); path 518 modules/module_load.c flat_hdr* module_preload(const char *path, const char *name, _version_t ver) path 521 modules/module_load.c int module_fd = b_open(path); path 591 modules/module_load.c char path[60]; path 592 modules/module_load.c unsigned int hash = get_module_path(path, hMod->name); path 620 modules/module_load.c flat_hdr* mod = module_preload(path, hMod->name, hMod->version); path 845 modules/module_load.c char path[60]; path 846 modules/module_load.c get_module_path(path, name); path 849 modules/module_load.c int fd = open(path, O_RDONLY, 0777); path 36 modules/module_load.h flat_hdr* module_preload(const char *path, const char *name, _version_t ver); path 1068 tools/packfi2/zlib.h ZEXTERN gzFile ZEXPORT gzopen OF((const char *path, const char *mode));