Home
last modified time | relevance | path

Searched refs:fpath (Results 1 - 22 of 22) sorted by relevance

/third_party/toybox/toys/other/
H A Dlsattr.c144 char *fpath = NULL; in retell_dir() local
153 fpath = dirtree_path(root, NULL); in retell_dir()
156 print_file_attr(fpath); in retell_dir()
159 xprintf("\n%s:\n", fpath); in retell_dir()
160 free(fpath); in retell_dir()
164 free(fpath); in retell_dir()
255 char *fpath = NULL; in update_attr() local
269 fpath = dirtree_path(root, NULL); in update_attr()
270 if (-1 == (fd=open(fpath, O_RDONLY | O_NONBLOCK))) { in update_attr()
271 free(fpath); in update_attr()
[all...]
/third_party/mesa3d/src/freedreno/perfcntrs/
H A Dfreedreno_dt.c75 find_freqs_fn(const char *fpath, const struct stat *sb, int typeflag, in find_freqs_fn() argument
78 const char *fname = fpath + ftwbuf->base; in find_freqs_fn()
82 uint32_t *buf = (uint32_t *)os_read_file(fpath, &sz); in find_freqs_fn()
140 find_device_fn(const char *fpath, const struct stat *sb, int typeflag, in find_device_fn() argument
143 const char *fname = fpath + ftwbuf->base; in find_device_fn()
147 char *str = os_read_file(fpath, &sz); in find_device_fn()
149 int dlen = strlen(fpath) - strlen("/compatible"); in find_device_fn()
151 memcpy(dev.dtnode, fpath, dlen); in find_device_fn()
/third_party/python/Lib/zoneinfo/
H A D_tzpath.py129 def valid_key(fpath):
131 with open(fpath, "rb") as f:
150 fpath = os.path.join(root, file)
152 key = os.path.relpath(fpath, start=tz_root)
159 if valid_key(fpath):
/third_party/ltp/testcases/commands/file/
H A Dfile01.sh29 local fpath
34 fpath="$TST_DATAROOT/$fname"
36 fpath="$fname"
39 EXPECT_PASS file "$fpath" \> file.out
/third_party/jerryscript/tools/
H A Dcheck-license.py80 fpath = os.path.join(root, fname)
81 with io.open(fpath, 'r', errors='ignore') as curr_file:
83 print('%s: incorrect license' % fpath)
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/
H A Dmisc_nftw64_test.cpp39 static int CheckNftw64(const char* fpath, const struct stat64* sb, int tflag, FTW* ftwbuf) in CheckNftw64() argument
41 NftwCallback(fpath, reinterpret_cast<const struct stat*>(sb), tflag, ftwbuf); in CheckNftw64()
45 static int NullCallback(const char* fpath, const struct stat64* sb, int, FTW* ftwbuf) in NullCallback() argument
/third_party/rust/crates/memchr/scripts/
H A Dmake-byte-frequency-table42 for fpath in args.corpus:
43 corpus.append(open(fpath, 'rb').read())
/third_party/rust/crates/regex/scripts/
H A Dfrequencies.py42 for fpath in args.corpus:
43 corpus.append(open(fpath, 'rb').read())
/third_party/benchmark/src/
H A Dsysinfo.cc264 std::string fpath = StrCat(dir, "index", idx++, "/"); in GetCacheSizesFromKVFS() local
265 std::ifstream f(StrCat(fpath, "size").c_str()); in GetCacheSizesFromKVFS()
270 PrintErrorAndDie("Failed while reading file '", fpath, "size'"); in GetCacheSizesFromKVFS()
281 if (!ReadFromFile(StrCat(fpath, "type"), &info.type)) in GetCacheSizesFromKVFS()
282 PrintErrorAndDie("Failed to read from file ", fpath, "type"); in GetCacheSizesFromKVFS()
283 if (!ReadFromFile(StrCat(fpath, "level"), &info.level)) in GetCacheSizesFromKVFS()
284 PrintErrorAndDie("Failed to read from file ", fpath, "level"); in GetCacheSizesFromKVFS()
286 if (!ReadFromFile(StrCat(fpath, "shared_cpu_map"), &map_str)) in GetCacheSizesFromKVFS()
287 PrintErrorAndDie("Failed to read from file ", fpath, "shared_cpu_map"); in GetCacheSizesFromKVFS()
/third_party/node/deps/openssl/openssl/crypto/ct/
H A Dct_log.c170 const char *fpath = ossl_safe_getenv(CTLOG_FILE_EVP); in CTLOG_STORE_load_default_file() local
172 if (fpath == NULL) in CTLOG_STORE_load_default_file()
173 fpath = CTLOG_FILE; in CTLOG_STORE_load_default_file()
175 return CTLOG_STORE_load_file(store, fpath); in CTLOG_STORE_load_default_file()
/third_party/openssl/crypto/ct/
H A Dct_log.c170 const char *fpath = ossl_safe_getenv(CTLOG_FILE_EVP); in CTLOG_STORE_load_default_file() local
172 if (fpath == NULL) in CTLOG_STORE_load_default_file()
173 fpath = CTLOG_FILE; in CTLOG_STORE_load_default_file()
175 return CTLOG_STORE_load_file(store, fpath); in CTLOG_STORE_load_default_file()
/third_party/mksh/
H A Dexec.c704 if (!tp->u.fpath) { in comexec()
713 if (include(tp->u.fpath, 0, NULL, false) < 0 || in comexec()
725 cp = tp->u.fpath; in comexec()
729 "function not defined by", tp->u.fpath); in comexec()
1176 char *fpath; in findcom() local
1195 if ((fpath = str_val(global(TFPATH))) == null) { in findcom()
1196 tp->u.fpath = NULL; in findcom()
1199 tp->u.fpath = search_path(name, fpath, R_OK, in findcom()
1240 (fpath in findcom()
[all...]
H A Dfuncs.c703 if (tp->u.fpath) in do_whence()
705 tp->u.fpath); in do_whence()
H A Dedit.c488 char *pat, *fpath; in x_command_glob() local
505 if ((fpath = str_val(global(TFPATH))) != null) in x_command_glob()
506 glob_path(flags, pat, &w, fpath); in x_command_glob()
H A Dsh.h1767 const char *fpath; /* temporary path to undef function */ member
/third_party/musl/porting/linux/user/ldso/
H A Dns_config.c483 const char * fpath = CONFIG_DEFAULT_FILE; in config_parse() local
484 if (file_path) fpath = file_path; in config_parse()
485 g_configor.file_path = ld_strdup(fpath); in config_parse()
486 g_configor.sections = config_load(fpath); in config_parse()
/third_party/musl/ldso/linux/
H A Dns_config.c483 const char * fpath = CONFIG_DEFAULT_FILE; in config_parse() local
484 if (file_path) fpath = file_path; in config_parse()
485 g_configor.file_path = ld_strdup(fpath); in config_parse()
486 g_configor.sections = config_load(fpath); in config_parse()
/third_party/python/Lib/test/
H A Dtest_zipfile.py1502 for fpath, fdata in SMALL_TEST_DATA:
1503 zipfp.writestr(fpath, fdata)
1509 for fpath, fdata in SMALL_TEST_DATA:
1510 writtenfile = zipfp.extract(fpath)
1513 correctfile = os.path.join(os.getcwd(), fpath)
1527 for fpath, fdata in SMALL_TEST_DATA:
1528 writtenfile = zipfp.extract(fpath, target)
1531 correctfile = os.path.join(target, fpath)
1556 for fpath, fdata in SMALL_TEST_DATA:
1557 outfile = os.path.join(os.getcwd(), fpath)
[all...]
H A Dtest_venv.py676 fpath = os.path.join(dirpath, fname)
677 with open(fpath, 'w') as f:
/third_party/python/Doc/tools/extensions/
H A Dpyspecific.py493 fpath = path.join(source_dir, fname)
494 self.state.document.settings.record_dependencies.add(fpath)
496 with io.open(fpath, encoding='utf-8') as fp:
/third_party/libfuse/test/
H A Dtest_syscalls.c605 char fpath[1280]; in cleanup_dir() local
606 sprintf(fpath, "%s/%s", path, dir_files[i]); in cleanup_dir()
607 res = unlink(fpath); in cleanup_dir()
638 char fpath[1280]; in create_dir() local
639 sprintf(fpath, "%s/%s", path, dir_files[i]); in create_dir()
640 res = create_file(fpath, "", 0); in create_dir()
/third_party/libabigail/src/
H A Dabg-tools-utils.cc2246 string fpath = ::basename(entry->fts_path); in entry_of_file_with_name()
2247 if (fpath == fname) in entry_of_file_with_name()

Completed in 45 milliseconds