OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dir_path
(Results
1 - 6
of
6
) sorted by relevancy
/xsrc/external/mit/libXfont2/dist/src/fontfile/
dirfile.c
68
char
dir_path
[MAXFONTFILENAMELEN];
local
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/
dirfile.c
62
char
dir_path
[MAXFONTFILENAMELEN];
local
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/
disk_cache_os.c
155
choose_lru_file_matching(const char *
dir_path
,
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
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/
disk_cache.c
503
choose_lru_file_matching(const char *
dir_path
,
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
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
= choose_lru_file_matching(cache->path
[
all
...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/codegen/
gen_common.py
47
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/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/codegen/
gen_common.py
48
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)
Completed in 9 milliseconds
Indexes created Sun Jul 05 00:25:41 UTC 2026