Home
last modified time | relevance | path

Searched refs:fpath (Results 1 – 24 of 24) sorted by relevance

/third_party/grpc/tools/distrib/
Dcheck_include_guards.py25 def build_valid_guard(fpath): argument
26 prefix = 'GRPC_' if not fpath.startswith('include/') else ''
28 fpath.replace('++', 'XX').replace('.', '_').upper().split('/')[1:])
31 def load(fpath): argument
32 with open(fpath, 'r') as f:
36 def save(fpath, contents): argument
37 with open(fpath, 'w') as f:
51 def fail(self, fpath, regexp, fcontents, match_txt, correct, fix): argument
52 cpp_header = 'grpc++' in fpath or 'grpcpp' in fpath
63 print invalid_guards_msg_template.format(fpath, regexp.pattern,
[all …]
/third_party/toybox/toys/other/
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/
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/ltp/testcases/commands/file/
Dfile01.sh30 local fpath
35 fpath="$TST_DATAROOT/$fname"
37 fpath="$fname"
40 EXPECT_PASS file "$fpath" \> file.out
/third_party/flutter/skia/third_party/externals/harfbuzz/test/fuzzing/
Drun-subset-fuzzer-tests.py10 def is_exe(fpath): argument
11 return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
13 fpath, _ = os.path.split(program)
14 if fpath:
Drun-shape-fuzzer-tests.py10 def is_exe(fpath): argument
11 return os.path.isfile(fpath) and os.access(fpath, os.X_OK)
13 fpath, _ = os.path.split(program)
14 if fpath:
/third_party/python/Lib/zoneinfo/
D_tzpath.py129 def valid_key(fpath): argument
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/quickjs/tests/
Dtest_std.js144 var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
150 fpath = fdir + "/" + fname;
154 os.remove(fpath);
160 fd = os.open(fpath, os.O_RDWR | os.O_CREAT | os.O_TRUNC);
189 err = os.utimes(fpath, fdate, fdate);
192 [st, err] = os.stat(fpath);
218 assert(os.remove(fpath) === 0);
220 fd = os.open(fpath, os.O_RDONLY);
/third_party/flutter/skia/third_party/externals/harfbuzz/test/subset/
Drun-tests.py20 def is_exe (fpath): argument
21 return os.path.isfile (fpath) and os.access (fpath, os.X_OK)
23 fpath, _ = os.path.split (program)
24 if fpath:
/third_party/jerryscript/tools/
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/openssl/crypto/ct/
Dct_log.c140 const char *fpath = ossl_safe_getenv(CTLOG_FILE_EVP); in CTLOG_STORE_load_default_file() local
142 if (fpath == NULL) in CTLOG_STORE_load_default_file()
143 fpath = CTLOG_FILE; in CTLOG_STORE_load_default_file()
145 return CTLOG_STORE_load_file(store, fpath); in CTLOG_STORE_load_default_file()
/third_party/boost/libs/wave/tool/
Dtrace_macro_expansion.hpp1045 interpret_pragma_option_output_open(boost::filesystem::path &fpath, argument
1052 boost::wave::util::branch_path(fpath));
1057 if (fs::exists(fpath) && written_by_us.find(fpath) != written_by_us.end())
1060 written_by_us.insert(fpath);
1067 outputstrm.open(fpath.string().c_str(), mode);
1071 fpath.string().c_str(), act_token.get_position());
1080 current_outfile = fpath;
1113 fs::path fpath (boost::wave::util::create_path( local
1115 fpath = boost::wave::util::complete_path(fpath, ctx.get_current_directory());
1116 result = interpret_pragma_option_output_open(fpath, ctx, act_token);
[all …]
/third_party/boost/tools/bcp/
Dscan_cvs_path.cpp95 fs::path fpath = p / name; in scan_svn_path() local
133 m_cvs_paths[fpath] = binary; in scan_svn_path()
137 scan_svn_path(fpath); // recursion for directory entries in scan_svn_path()
/third_party/boost/boost/wave/
Dcpp_context.hpp168 path fpath(util::complete_path(path(filename))); in begin() local
169 fname = fpath.string(); in begin()
180 path fpath(util::complete_path(path(filename))); in begin() local
181 fname = fpath.string(); in begin()
331 path fpath(util::complete_path(path(filename))); in init_context() local
332 fname = fpath.string(); in init_context()
/third_party/mksh/
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 = str_val(global(TFPATH))) != null && in findcom()
1241 (npath.ro = search_path(name, fpath, R_OK, in findcom()
[all …]
Dfuncs.c703 if (tp->u.fpath) in do_whence()
705 tp->u.fpath); in do_whence()
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()
Dsh.h1767 const char *fpath; /* temporary path to undef function */ member
/third_party/ninja/misc/
Dzsh-completion17 # fpath=(path/to/ninja/misc/zsh-completion $fpath)
/third_party/musl/porting/linux/user/ldso/
Dns_config.c479 const char * fpath = CONFIG_DEFAULT_FILE; in config_parse() local
480 if (file_path) fpath = file_path; in config_parse()
481 g_configor.file_path = ld_strdup(fpath); in config_parse()
482 g_configor.sections = config_load(fpath); in config_parse()
/third_party/python/Lib/test/
Dtest_zipfile.py1335 for fpath, fdata in SMALL_TEST_DATA:
1336 zipfp.writestr(fpath, fdata)
1342 for fpath, fdata in SMALL_TEST_DATA:
1343 writtenfile = zipfp.extract(fpath)
1346 correctfile = os.path.join(os.getcwd(), fpath)
1360 for fpath, fdata in SMALL_TEST_DATA:
1361 writtenfile = zipfp.extract(fpath, target)
1364 correctfile = os.path.join(target, fpath)
1389 for fpath, fdata in SMALL_TEST_DATA:
1390 outfile = os.path.join(os.getcwd(), fpath)
[all …]
Dtest_venv.py475 fpath = os.path.join(dirpath, fname)
476 with open(fpath, 'w') as f:
/third_party/python/Doc/tools/extensions/
Dpyspecific.py427 fpath = path.join(source_dir, fname)
428 self.state.document.settings.record_dependencies.add(fpath)
430 with io.open(fpath, encoding='utf-8') as fp:
/third_party/curl/docs/
DKNOWN_BUGS656 <password>, and <fpath> components, encoded as "%00". The problem is that