Searched refs:dir_path (Results 1 - 6 of 6) sorted by relevance

/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/
H A Dgen_common.py48 def MakeDir(dir_path):
54 dir_path = os.path.abspath(dir_path)
56 if not os.path.exists(dir_path):
58 os.makedirs(dir_path)
63 if not os.path.isdir(dir_path):
69 def DeleteDirTree(dir_path):
77 shutil.rmtree(dir_path, False)
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/
H A Dgen_common.py47 def MakeDir(dir_path):
53 dir_path = os.path.abspath(dir_path)
55 if not os.path.exists(dir_path):
57 os.makedirs(dir_path)
62 if not os.path.isdir(dir_path):
68 def DeleteDirTree(dir_path):
76 shutil.rmtree(dir_path, False)
/xsrc/external/mit/libXfont2/dist/src/fontfile/
H A Ddirfile.c68 char dir_path[MAXFONTFILENAMELEN]; local in function:FontFileReadDirectory
93 strncpy(dir_path, directory, ptr - directory);
94 dir_path[ptr - directory] = '\0';
96 strlcpy(dir_path, directory, sizeof(dir_path));
98 strlcpy(dir_file, dir_path, sizeof(dir_file));
160 status = ReadFontAlias(dir_path, FALSE, &dir);
/xsrc/external/mit/libXfont/dist/src/fontfile/
H A Ddirfile.c62 char dir_path[MAXFONTFILENAMELEN]; local in function:FontFileReadDirectory
87 strncpy(dir_path, directory, ptr - directory);
88 dir_path[ptr - directory] = '\0';
90 strcpy(dir_path, directory);
92 strcpy(dir_file, dir_path);
154 status = ReadFontAlias(dir_path, FALSE, &dir);
/xsrc/external/mit/MesaLib/dist/src/util/
H A Ddisk_cache_os.c155 choose_lru_file_matching(const char *dir_path, argument
156 bool (*predicate)(const char *dir_path,
163 dir = opendir(dir_path);
199 if (!predicate(dir_path, &sb, dir_ent->d_name, len))
253 if (asprintf(&e->lru_name, "%s/%s", dir_path, filename) < 0)
395 char *dir_path; local in function:disk_cache_evict_lru_item
403 if (asprintf(&dir_path, "%s/%02" PRIx64 , cache->path, rand64 & 0xff) < 0)
406 size_t size = unlink_lru_file_from_directory(dir_path);
408 free(dir_path);
/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Ddisk_cache.c503 choose_lru_file_matching(const char *dir_path, argument
504 bool (*predicate)(const char *dir_path,
514 dir = opendir(dir_path);
528 if (!predicate(dir_path, &sb, entry->d_name, len))
546 if (asprintf(&filename, "%s/%s", dir_path, lru_name) < 0)
636 char *dir_path; local in function:evict_lru_item
644 if (asprintf(&dir_path, "%s/%02" PRIx64 , cache->path, rand64 & 0xff) < 0)
647 size_t size = unlink_lru_file_from_directory(dir_path);
649 free(dir_path);
664 dir_path
[all...]

Completed in 8 milliseconds