/third_party/PyYAML/lib/yaml/ |
H A D | __init__.py | 287 def add_path_resolver(tag, path, kind=None, Loader=None, Dumper=Dumper): 289 Add a path based resolver for the given tag. 290 A path is a list of keys that forms a path 295 loader.Loader.add_path_resolver(tag, path, kind) 296 loader.FullLoader.add_path_resolver(tag, path, kind) 297 loader.UnsafeLoader.add_path_resolver(tag, path, kind) 299 Loader.add_path_resolver(tag, path, kind) 300 Dumper.add_path_resolver(tag, path, kind)
|
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | DirItem.h | 78 virtual HRESULT ScanError(const FString &path, DWORD systemError) x \
79 virtual HRESULT ScanProgress(const CDirItemsStat &st, const FString &path, bool isDir) x \
336 HRESULT AddSecurityItem(const FString &path, int &secureIndex);
358 HRESULT AddError(const FString &path, DWORD errorCode);
359 HRESULT AddError(const FString &path);
361 HRESULT ScanProgress(const FString &path);
|
/third_party/json/tools/amalgamate/ |
H A D | amalgamate.py | 47 if not os.path.isabs(file_path): 48 file_path = os.path.join(self.source_path, file_path) 59 search_path = os.path.join(search_dir, file_path) 60 if os.path.isfile(self.actual_path(search_path)): 129 r'#\s*include\s+(<|")(?P<path>.*?)("|>)', re.S) 222 include_path = include_match.group("path") 256 self.file_dir = os.path.dirname(file_path) 263 if not os.path.isfile(actual_path): 275 "-c path/to/config.json", 276 "-s path/t [all...] |
/third_party/node/deps/v8/tools/release/ |
H A D | git_recipes.py | 166 branch="", path=None, reverse=False, **kwargs): 182 if path: 183 args.extend(["--", path]) 186 def GitShowFile(self, refspec, path, **kwargs): 188 assert path 189 return self.Git(MakeArgs(["show", "%s:%s" % (refspec, path)]), **kwargs)
|
/third_party/node/test/report/ |
H A D | test-report-uv-handles.js | 6 const path = require('path'); 13 const localRelative = path.relative(process.cwd(), `${tmpdir.path}/`); 16 return path.join(pipePrefix, pipeName); 153 const options = { encoding: 'utf8', silent: true, cwd: tmpdir.path }; 169 const reports = helper.findReports(child.pid, tmpdir.path);
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | security.h | 234 const char *path, int accesstype); 313 const char *path, u32 selection, 316 const char *path, u32 selection, const char *attr); 318 const char *path); 320 const char *path, s32 attrib); 322 const char *path, ntfs_filldir_t callback, void *context);
|
/third_party/nghttp2/src/ |
H A D | shrpx_http.cc | 178 const StringRef &path, bool secure) { in create_affinity_cookie() 181 // <name>=<value>[; Path=<path>][; Secure] in create_affinity_cookie() 184 if (!path.empty()) { in create_affinity_cookie() 185 len += PATH_PREFIX.size() + path.size(); in create_affinity_cookie() 200 if (!path.empty()) { in create_affinity_cookie() 202 p = std::copy(std::begin(path), std::end(path), p); in create_affinity_cookie() 176 create_affinity_cookie(BlockAllocator &balloc, const StringRef &name, uint32_t affinity_cookie, const StringRef &path, bool secure) create_affinity_cookie() argument
|
/third_party/icu/icu4c/source/tools/tzcode/ |
H A D | icuzdump.cpp | 372 ostringstream path; in main() local 385 // target file path in main() 386 path.str(""); in main() 387 path << dir << U_FILE_SEP_CHAR; in main() 389 path << id; in main() 391 ofstream* fout = new ofstream(path.str().c_str(), mode); in main() 393 cerr << "Cannot open file " << path.str() << endl; in main()
|
/third_party/libevdev/tools/ |
H A D | touchpad-edge-detector.c | 219 const char *path; in main() local 239 path = argv[2]; in main() 240 if (path[0] == '-') in main() 243 fd = open(path, O_RDONLY|O_NONBLOCK); in main() 257 fprintf(stderr, "Use 'fuser -v %s' to find processes with an open fd\n", path); in main() 274 printf("Touchpad %s on %s\n", libevdev_get_name(dev), path); in main()
|
/third_party/musl/libc-test/src/functionalext/dlns/ |
H A D | dlns_inherit.c | 131 EXPECT_EQ("dlns_inherit_0500", dlns_create(&dlnsB, path), EOK); in dlns_inherit_0500() 160 EXPECT_EQ("dlns_inherit_0600", dlns_create(&dlnsB, path), EOK); in dlns_inherit_0600() 188 EXPECT_EQ("dlns_inherit_0700", dlns_create(&dlnsB, path), EOK); in dlns_inherit_0700() 220 EXPECT_EQ("dlns_inherit_0800", dlns_create(&dlnsC, path), EOK); in dlns_inherit_0800() 291 EXPECT_EQ("dlns_inherit_1000", dlns_create(&dlnsA, path), EOK); in dlns_inherit_1000() 341 EXPECT_EQ("dlns_inherit_1100", dlns_set_namespace_lib_path("dlns_inherit_1100_B", path), EOK); in dlns_inherit_1100()
|
/third_party/node/deps/uv/src/unix/ |
H A D | internal.h | 241 int uv__open_cloexec(const char* path, int flags); 280 FILE* uv__open_file(const char* path); 289 int uv__random_readpath(const char* path, void* buf, size_t buflen); 315 UV_UNUSED(static char* uv__basename_r(const char* path)) { in UV_UNUSED() argument 318 s = strrchr(path, '/'); in UV_UNUSED() 320 return (char*) path; in UV_UNUSED()
|
/third_party/python/Tools/scripts/ |
H A D | reindent.py | 5 """reindent [-d][-r][-v] [ path ... ] 25 path, all .py files within the directory will be examined, and, if the -r 105 if os.path.isdir(file) and not os.path.islink(file): 110 fullname = os.path.join(file, name) 111 if ((recurse and os.path.isdir(fullname) and 112 not os.path.islink(fullname) and 113 not os.path.split(fullname)[1].startswith("."))
|
/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-memstats.c | 45 char *path; member 204 m->path = pa_sprintf_malloc("%s/%s", PA_DBUS_CORE_OBJECT_PATH, OBJECT_NAME); in pa_dbusiface_memstats_new() 207 pa_assert_se(pa_dbus_protocol_add_interface(m->dbus_protocol, m->path, &memstats_interface_info, m) >= 0); in pa_dbusiface_memstats_new() 215 pa_assert_se(pa_dbus_protocol_remove_interface(m->dbus_protocol, m->path, memstats_interface_info.name) >= 0); in pa_dbusiface_memstats_free() 217 pa_xfree(m->path); in pa_dbusiface_memstats_free() 227 return m->path; in pa_dbusiface_memstats_get_path()
|
H A D | iface-card-profile.c | 46 char *path; member 216 p->path = pa_sprintf_malloc("%s/%s%u", pa_dbusiface_card_get_path(card), OBJECT_NAME, idx); in pa_dbusiface_card_profile_new() 219 pa_assert_se(pa_dbus_protocol_add_interface(p->dbus_protocol, p->path, &profile_interface_info, p) >= 0); in pa_dbusiface_card_profile_new() 227 pa_assert_se(pa_dbus_protocol_remove_interface(p->dbus_protocol, p->path, profile_interface_info.name) >= 0); in pa_dbusiface_card_profile_free() 231 pa_xfree(p->path); in pa_dbusiface_card_profile_free() 238 return p->path; in pa_dbusiface_card_profile_get_path()
|
/third_party/python/Lib/ctypes/ |
H A D | util.py | 60 fname = os.path.join(directory, name) 61 if os.path.isfile(fname): 66 if os.path.isfile(fname): 230 if not os.path.exists('/usr/bin/crle'): 259 libfile = os.path.join(dir, "lib%s.so" % name) 260 if os.path.exists(libfile):
|
/third_party/python/Lib/ |
H A D | tabnanny.py | 83 if os.path.isdir(file) and not os.path.islink(file): 88 fullname = os.path.join(file, name) 89 if (os.path.isdir(fullname) and 90 not os.path.islink(fullname) or 91 os.path.normcase(name[-3:]) == ".py"):
|
/third_party/python/Lib/idlelib/ |
H A D | help_about.py | 78 icon = os.path.join(os.path.abspath(os.path.dirname(__file__)), 188 The filename needs to be in the current directory. The path 192 fn = os.path.join(os.path.abspath(os.path.dirname(__file__)), filename)
|
/third_party/skia/src/gpu/ops/ |
H A D | PathStencilCoverOp.cpp | 28 // Fills a path's bounding box, with subpixel outset to avoid possible T-junctions with extreme 29 // edges of the path. 180 // Create a program that draws a bounding box over the path and fills its stencil coverage in prePreparePrograms() 248 for (auto [pathMatrix, path, color] : *fPathDrawList) { in onPrepare() 250 for (PathMiddleOutFanIter it(path); !it.done();) { in onPrepare() 278 for (auto [pathMatrix, path, color] : *fPathDrawList) { in onPrepare() 286 if (path.isInverseFillType()) { in onPrepare() 296 vertexWriter << path.getBounds(); in onPrepare() 299 vertexWriter << path.getBounds(); in onPrepare() 337 // Stencil the rest of the path in onExecute() [all...] |
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
H A D | icuzdump.cpp | 370 ostringstream path; in main() local 383 // target file path in main() 384 path.str(""); in main() 385 path << dir << U_FILE_SEP_CHAR; in main() 387 path << id; in main() 389 ofstream* fout = new ofstream(path.str().c_str(), mode); in main() 391 cerr << "Cannot open file " << path.str() << endl; in main()
|
/third_party/skia/src/pathops/ |
H A D | SkOpContour.h | 354 void toPartialBackward(SkPathWriter* path) const { in toPartialBackward() 357 SkAssertResult(segment->addCurveTo(segment->tail(), segment->head(), path)); in toPartialBackward() 361 void toPartialForward(SkPathWriter* path) const { in toPartialForward() 364 SkAssertResult(segment->addCurveTo(segment->head(), segment->tail(), path)); in toPartialForward() 368 void toReversePath(SkPathWriter* path) const; 369 void toPath(SkPathWriter* path) const; 383 bool fReverse; // true if contour should be reverse written to path (used only by fix winding) 384 bool fXor; // set if original path had even-odd fill 385 bool fOppXor; // set if opposite path had even-odd fill
|
/third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/ |
H A D | lookup_dep.py | 32 sys.path.append(str(_SRC_DIR / 'build' / 'android')) 169 if not os.path.exists(build_config_path): 228 # Normalize path but do not follow symlink if .jar is symlink. 267 if (cache_path.exists() and os.path.getmtime(cache_path) > os.path.getmtime(abs_jar_path)): 281 def _is_path_relative_to(path: pathlib.Path, other: pathlib.Path) -> bool: 283 resolved_path = path.resolve() 289 """Guess the fully qualified class name from the path to the source file."""
|
/third_party/python/Lib/xml/dom/ |
H A D | xmlbuilder.py | 228 scheme, netloc, path, params, query, fragment = parts 230 if path and not path.endswith("/"): 231 path = posixpath.dirname(path) + "/" 232 parts = scheme, netloc, path, params, query, fragment
|
/third_party/pulseaudio/src/pulse/ |
H A D | util.c | 209 pa_log("Failed to get the home directory, not an absolute path: %s", dir); in pa_get_home_dir() 224 char path[PATH_MAX]; in pa_get_binary_name() local 226 if (GetModuleFileName(NULL, path, PATH_MAX)) in pa_get_binary_name() 227 return pa_strlcpy(s, pa_path_get_filename(path), l); in pa_get_binary_name() 246 char path[PATH_MAX + 1]; in pa_get_binary_name() local 250 if (sysctl(mib, 4, &path, &len, NULL, 0) == 0) { in pa_get_binary_name() 251 pa_strlcpy(s, pa_path_get_filename(path), l); in pa_get_binary_name()
|
/third_party/python/Lib/test/ |
H A D | test_ensurepip.py | 3 import os.path namespace 16 fullname = os.path.join(directory, filename) 58 os.path.join(tmpdir, setuptools_filename)) 61 os.path.join(tmpdir, pip_filename)) 83 patched_os.path = os.path
|
/third_party/python/Lib/unittest/ |
H A D | main.py | 18 %(prog)s path/to/test_file.py - run tests from test_file.py 35 if os.path.isfile(name) and name.lower().endswith('.py'): 36 if os.path.isabs(name): 37 rel_path = os.path.relpath(name, os.getcwd()) 38 if os.path.isabs(rel_path) or rel_path.startswith(os.pardir): 41 # on Windows both '\' and '/' are used as path 42 # separators. Better to replace both than rely on os.path.sep 43 return os.path.normpath(name)[:-3].replace('\\', '.').replace('/', '.') 100 self.progName = os.path.basename(argv[0])
|