Home
last modified time | relevance | path

Searched refs:path (Results 2101 - 2125 of 8518) sorted by relevance

1...<<81828384858687888990>>...341

/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
H A DFakeResult.java27 * not used in the same test (results are equal if their path and index are equal, and they
30 * @param path the path of the result
31 * @param index the sort index of the result (to distinguish paths with the same path).
35 public static Result of(String path, int index, boolean isGrouped, String... values) { in of() argument
37 RbPath.parse(path), ImmutableList.copyOf(values), isGrouped, index, false); in of()
43 * @param path the path of the result
44 * @param index the sort index of the result (to distinguish paths with the same path).
47 public static Result fallback(String path, in argument
56 FakeResult( RbPath path, ImmutableList<String> values, boolean grouped, int index, boolean isFallback) FakeResult() argument
[all...]
/third_party/libunwind/libunwind/src/
H A Dos-freebsd.c93 unsigned long *segbase, unsigned long *mapoff, char *path, size_t pathlen) in tdep_get_elf_image()
136 if (path) in tdep_get_elf_image()
138 strncpy(path, kv->kve_path, pathlen); in tdep_get_elf_image()
150 tdep_get_exe_image_path (char *path) in tdep_get_exe_image_path() argument
161 error = sysctl(mib, 4, path, &len, NULL, 0); in tdep_get_exe_image_path()
163 path[0] = 0; in tdep_get_exe_image_path()
92 tdep_get_elf_image(struct elf_image *ei, pid_t pid, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char *path, size_t pathlen) tdep_get_elf_image() argument
/third_party/libwebsockets/lib/misc/
H A Dfsmount.c43 char path[384]; in rm_rf_cb() local
48 lws_snprintf(path, sizeof(path), "%s/%s", dirpath, lde->name); in rm_rf_cb()
51 lws_dir(path, NULL, rm_rf_cb); in rm_rf_cb()
52 rmdir(path); in rm_rf_cb()
54 unlink(path); in rm_rf_cb()
83 * hardcoded unusual dir names in the base path, so it can't go wild in lws_fsmount_mount()
84 * even if the overlay path is empty or / in lws_fsmount_mount()
/third_party/jinja2/
H A D_compat.py124 def fspath(path):
125 if hasattr(path, "__fspath__"):
126 return path.__fspath__()
129 if PurePath is not None and isinstance(path, PurePath):
130 return str(path)
132 return path
/third_party/ltp/testcases/kernel/containers/userns/
H A Duserns03.c127 char path[BUFSIZ]; in run() local
146 sprintf(path, "/proc/%d/setgroups", cpid1); in run()
148 fd = SAFE_OPEN(path, O_WRONLY, 0644); in run()
161 fd = SAFE_OPEN(path, O_WRONLY, 0644); in run()
165 sprintf(path, "/proc/%d/setgroups", cpid2); in run()
167 fd = SAFE_OPEN(path, O_WRONLY, 0644); in run()
/third_party/node/deps/v8/third_party/jinja2/
H A D_compat.py124 def fspath(path):
125 if hasattr(path, "__fspath__"):
126 return path.__fspath__()
129 if PurePath is not None and isinstance(path, PurePath):
130 return str(path)
132 return path
/third_party/node/test/parallel/
H A Dtest-https-agent-session-reuse.js38 path: '/',
47 path: '/',
56 path: '/',
69 path: '/drop-key',
80 path: '/',
89 path: '/',
/third_party/node/test/sequential/
H A Dtest-fs-watch.js29 const path = require('path');
41 const testDir = tmpdir.path;
55 const filepath = path.join(testDir, 'watch.txt');
74 const filepathAbs = path.join(testDir, 'hasOwnProperty');
95 const testsubdir = fs.mkdtempSync(testDir + path.sep);
96 const filepath = path.join(testsubdir, 'newfile.txt');
/third_party/node/src/permission/
H A Dfs_permission.h68 Node* NextNode(const std::string& path, unsigned int idx) { in NextNode()
69 if (idx >= path.length()) { in NextNode()
73 auto it = children.find(path[idx]); in NextNode()
80 for (unsigned int i = 0; i < path.length(); ++i) { in NextNode()
86 // path = /home/subdirectory in NextNode()
88 if (idx >= path.length() && in NextNode()
93 if (path[idx++] != child->prefix[i]) { in NextNode()
/third_party/ninja/src/
H A Dclparser.cc61 bool CLParser::IsSystemInclude(string path) { in IsSystemInclude() argument
62 transform(path.begin(), path.end(), path.begin(), ToLowerASCII); in IsSystemInclude()
64 return (path.find("program files") != string::npos || in IsSystemInclude()
65 path.find("microsoft visual studio") != string::npos); in IsSystemInclude()
106 // TODO: should this make the path relative to cwd? in Parse()
/third_party/node/deps/npm/node_modules/@npmcli/arborist/bin/lib/
H A Doptions.js2 const path = require('path')
9 nopt.typeDefs.path.validate(data, k, val)
35 path: path,
36 cache: path,
49 // key order is important for command and path
51 // command is 1st, path is 2nd
53 path: (o) => cleanPath(o.argv.remain.shift() || '.'),
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/
H A Dtargets.js24 this.targets[target.path] = target;
61 return Object.entries(targets).reduce((acc, [path, target]) => ({
63 [path]: target.toJSON(),
73 targets = Object.entries(data).reduce((acc, [path, target]) => ({
75 [path]: file_1.TargetFile.fromJSON(path, target),
/third_party/libinput/tools/
H A Dlibinput-quirks.c81 " libinput quirks list [--data-dir /path/to/quirks/dir] /dev/input/event0\n" in usage()
84 " libinput quirks validate [--data-dir /path/to/quirks/dir]\n" in usage()
99 const char *path; in main() local
201 path = argv[optind]; in main()
202 if (strneq(path, "/sys/", 5)) { in main()
203 device = udev_device_new_from_syspath(udev, path); in main()
206 if (stat(path, &st) < 0) { in main()
207 fprintf(stderr, "Error: %s: %m\n", path); in main()
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/regex/
H A DNfaBuilder.java51 /** Adds a new path from the given source node, returning the newly created target node. */
52 public Node addPath(Node source, String path) { in addPath() argument
53 RangeSpecification spec = RangeSpecification.parse(path); in addPath()
62 /** Adds a new path between the given source and target (all intermediate nodes are new). */
63 public void addPath(Node source, Node target, String path) { in addPath() argument
64 RangeSpecification spec = RangeSpecification.parse(path); in addPath()
74 * Adds a new path between the given source and target nodes, along with an epsilon edge from the
77 public void addOptionalPath(Node source, Node target, String path) { in addOptionalPath() argument
78 addPath(source, target, path); in addOptionalPath()
/third_party/rust/crates/cxx/gen/src/
H A Dfs.rs6 use std::path::{Path, PathBuf};
39 ($io_error:expr, $fmt:expr $(, $path:expr)* $(,)?) => {
42 message: format!($fmt $(, $path.display())*),
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> {
57 let path = path.as_ref();
58 match std::fs::create_dir_all(path) {
60 Err(e) => err!(e, "Failed to create directory `{}`", path),
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool {
72 let path
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dfs.rs6 use std::path::{Path, PathBuf};
39 ($io_error:expr, $fmt:expr $(, $path:expr)* $(,)?) => {
42 message: format!($fmt $(, $path.display())*),
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> {
57 let path = path.as_ref();
58 match std::fs::create_dir_all(path) {
60 Err(e) => err!(e, "Failed to create directory `{}`", path),
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool {
72 let path
[all...]
/third_party/rust/crates/clap/tests/builder/
H A Darg_matches.rs9 .arg(arg!(--config <path>).value_parser(value_parser!(std::path::PathBuf))) in ids()
23 .arg(arg!(--config <path>).value_parser(value_parser!(std::path::PathBuf))) in ids_ignore_unused()
38 arg!(--config <path>) in ids_ignore_overridden()
39 .value_parser(value_parser!(std::path::PathBuf)) in ids_ignore_overridden()
/third_party/python/Tools/peg_generator/pegen/
H A Dsccutils.py106 a path from A -> B -> C -> A. The first item is always the start
108 'B', 'C', 'B'] means there's a path from A to B and there's a
120 def dfs(node: str, path: List[str]) -> Iterator[List[str]]:
121 if node in path:
122 yield path + [node]
124 path = path + [node] # TODO: Make this not quadratic.
126 yield from dfs(child, path)
/third_party/python/Tools/scripts/
H A Dsmelly.py4 import os.path namespace
114 config_dir = os.path.dirname(sysconfig.get_config_h_filename())
115 filename = os.path.join(config_dir, "pybuilddir.txt")
124 builddir = os.path.join(config_dir, pybuilddir)
135 filename = os.path.join(builddir, name)
148 if os.path.exists(LIBRARY):
/third_party/rust/crates/cxx/book/
H A Dbuild.js35 path = dir + '/' + entry;
36 const stat = fs.statSync(path);
38 dirs.push(path);
42 if (!path.endsWith('.html')) {
46 const index = fs.readFileSync(path, 'utf8');
95 fs.writeFileSync(path, out);
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dfs.rs6 use std::path::{Path, PathBuf};
39 ($io_error:expr, $fmt:expr $(, $path:expr)* $(,)?) => {
42 message: format!($fmt $(, $path.display())*),
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> {
57 let path = path.as_ref();
58 match std::fs::create_dir_all(path) {
60 Err(e) => err!(e, "Failed to create directory `{}`", path),
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool {
72 let path
[all...]
/third_party/protobuf/benchmarks/php/
H A DPhpBenchmark.php10 foreach (glob("$dir/*") as $path) {
11 if (preg_match('/\.php$/', $path) &&
12 substr($path, -strlen(NAME)) != NAME) {
13 require_once(substr($path, strlen($prefix) + 1));
14 } elseif (is_dir($path)) {
15 _require_all($path, $prefix);
/third_party/python/Lib/importlib/resources/
H A D_legacy.py30 def normalize_path(path):
32 """Normalize a path by ensuring it is a string.
34 If the resulting string contains path separators, an exception is raised.
36 str_path = str(path)
37 parent, file_name = os.path.split(str_path)
39 raise ValueError(f'{path!r} must be only a file name')
92 return [path.name for path in _common.files(package).iterdir()]
109 def path( function
113 """A context manager providing a file path objec
[all...]
/third_party/python/Lib/ctypes/test/
H A Dtest_find.py3 import os.path namespace
71 self.assertFalse(os.path.lexists(os_helper.TESTFN))
90 srcname = os.path.join(d, 'dummy.c')
92 dstname = os.path.join(d, 'lib%s.so' % libname)
95 self.assertTrue(os.path.exists(srcname))
100 self.assertTrue(os.path.exists(dstname))
/third_party/python/Lib/idlelib/
H A Dfilelist.py21 if os.path.isdir(filename):
28 key = os.path.normcase(filename)
85 newkey = os.path.normcase(filename)
104 if not os.path.isabs(filename):
110 filename = os.path.join(pwd, filename)
111 return os.path.normpath(filename)

Completed in 13 milliseconds

1...<<81828384858687888990>>...341