/third_party/node/test/parallel/ |
H A D | test-fs-write-optional-params.js | 10 const path = require('path'); 16 const destInvalid = path.resolve(tmpdir.path, 'rwopt_invalid'); 31 const dest = path.resolve(tmpdir.path, `rwopt_valid_${index}`);
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | sequence_test.py | 14 TOOLS_PATH = os.path.dirname( 15 os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) 16 sys.path.append(TOOLS_PATH)
|
/third_party/node/tools/ |
H A D | test-v8.bat | 4 set savedpath=%path% 5 set path=%DEPOT_TOOLS_PATH%;%path% variable 20 set path=%savedpath% variable 42 if defined savedpath set path=%savedpath% variable
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_cid.c | 98 void ngtcp2_dcid_set_path(ngtcp2_dcid *dcid, const ngtcp2_path *path) { in ngtcp2_dcid_set_path() argument 99 ngtcp2_path_copy(&dcid->ps.path, path); in ngtcp2_dcid_set_path() 106 ngtcp2_path_copy(&dest->ps.path, &src->ps.path); in ngtcp2_dcid_copy()
|
/third_party/libfuse/test/ |
H A D | util.py | 7 from os.path import join as pjoin 12 basename = pjoin(os.path.dirname(__file__), '..') 38 test_fn=os.path.ismount): 80 assert not os.path.ismount(mnt_dir) 130 if not os.path.exists('/dev/fuse'):
|
/third_party/ltp/testcases/kernel/mce-test/hwpoison/ |
H A D | tsoftinj.c | 147 char path[100]; in filebacked_hugepage() local 149 snprintf(path, sizeof path, "%s/~test-hugepage%u", in filebacked_hugepage() 151 char *p = alloc_filebacked_hugepage(path, HPS, 0, &fd); in filebacked_hugepage() 156 free_filebacked_hugepage(p, HPS, fd, path); in filebacked_hugepage()
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
H A D | tsoftinj.c | 147 char path[100]; in filebacked_hugepage() local 149 snprintf(path, sizeof path, "%s/~test-hugepage%u", in filebacked_hugepage() 151 char *p = alloc_filebacked_hugepage(path, HPS, 0, &fd); in filebacked_hugepage() 156 free_filebacked_hugepage(p, HPS, fd, path); in filebacked_hugepage()
|
/third_party/node/deps/undici/src/lib/handler/ |
H A D | RedirectHandler.js | 95 this.history.push(new URL(this.opts.path, this.opts.origin)) 102 const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin))) 103 const path = search ? `${pathname}${search}` : pathname 109 this.opts.path = path
|
/third_party/python/Lib/ |
H A D | fnmatch.py | 34 name = os.path.normcase(name) 35 pat = os.path.normcase(pat) 51 pat = os.path.normcase(pat) 53 if os.path is posixpath: 60 if match(os.path.normcase(name)):
|
H A D | py_compile.py | 11 import os.path namespace 133 if os.path.islink(cfile): 137 elif os.path.exists(cfile) and not os.path.isfile(cfile): 155 dirname = os.path.dirname(cfile)
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_install_lib.py | 45 f = os.path.join(project_dir, 'foo.py') 51 self.assertTrue(os.path.exists(pyc_file)) 52 self.assertTrue(os.path.exists(pyc_opt_file)) 63 f = os.path.join(project_dir, 'spam', '__init__.py') 83 f = os.path.join(project_dir, 'spam', '__init__.py')
|
/third_party/skia/third_party/externals/tint/src/ |
H A D | source.h | 45 /// File describes a source file, including path and content. 48 /// Constructs the File with the given file path and content. 49 /// @param p the path for this file 52 : path(p), content(c) {} in File() 56 /// file path (optional) 57 const std::string path; member in tint::Source::File 149 : range(rng), file_path(file->path), file_content(&file->content) {} in Source() 151 /// Constructs the Source with the Range `rng`, file path `path` and content 154 /// @param path th 156 Source(const Range& rng, const std::string& path, const FileContent* content = nullptr) Source() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | uresimp.h | 49 char *fPath; /* path to bundle - used for distinguishing between resources with the same name */ 69 char *fResPath; /* full path to the resource: "zh_TW/CollationElements/Sequence" */ 152 ures_openNoDefault(const char* path, const char* localeID, UErrorCode* status); 173 * and path inside the locale, for example: "/myData/en/zoneStrings/3". Keys and indexes are supported. Keys 180 * @param pathToResource a path that will lead to the requested resource 191 * Returns a sub resource that can be located using the pathToResource argument. One needs a path inside 199 * @param pathToResource a path that will lead to the requested resource 214 * @param path path to the tree, or NULL for ICU data 228 const char *path, cons [all...] |
/third_party/python/Lib/test/test_email/ |
H A D | __init__.py | 12 return load_package_tests(os.path.dirname(__file__), *args) 18 path = os.path.join(os.path.dirname(landmark), 'data', filename) 19 return open(path, *args, **kws)
|
/third_party/skia/experimental/docs/ |
H A D | interpolatorFunctions.js | 16 // FIXME : only works for path with single cubic 17 function path_partial(value, path) { 18 assert(isArray(path)); 20 for (var cIndex = 0; cIndex < path.length; ++cIndex) { 22 var curveKey = Object.keys(path[cIndex])[0]; 23 var curve = path[cIndex][curveKey];
|
/third_party/skia/gm/ |
H A D | aarectmodes.cpp | 48 SkPathBuilder path; in test4() local 53 path.moveTo(ptPtr->fX, ptPtr->fY); in test4() 57 path.lineTo(ptPtr->fX, ptPtr->fY); in test4() 61 path.close(); in test4() 70 canvas->drawPath(path.detach(), paint); in test4()
|
H A D | inversepaths.cpp | 122 SkPath path = paths[pathIndex](cx, cy, size); in DEF_SIMPLE_GM() local 123 path.setFillType(SkPathFillType::kInverseWinding); in DEF_SIMPLE_GM() 124 canvas->drawPath(path, paint); in DEF_SIMPLE_GM() 126 path.setFillType(SkPathFillType::kWinding); in DEF_SIMPLE_GM() 127 canvas->drawPath(path, outlinePaint); in DEF_SIMPLE_GM()
|
/third_party/skia/platform_tools/android/skp_gen/ |
H A D | android_skp_capture.py | 110 remote_path = '/data/data/%s/cache/%s' % (package, os.path.basename(skp_file)) 155 apps_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'apps') 156 app_files = [os.path.join(apps_dir, app) for app in os.listdir(apps_dir)]
|
/third_party/skia/infra/bots/recipes/ |
H A D | perf.py | 20 'recipe_engine/path', 150 api.path.exists( 151 api.path['start_dir'].join('skia'), 152 api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', 154 api.path['start_dir'].join('skia', 'infra', 'bots', 'assets', 156 api.path['start_dir'].join('tmp', 'uninteresting_hashes.txt')
|
/third_party/skia/infra/bots/gen_tasks_logic/ |
H A D | compile_cas.go | 10 "path/filepath" 20 // If a parent path contains more than this many immediate child paths (ie. 65 // getAllCheckedInPaths returns every path checked in to the repo. 88 for _, path := range getAllCheckedInPaths(cfg) { 90 if regex.MatchString(path) { 91 rv = append(rv, path) 120 // add the given entry (given as a slice of path components) to the node. 164 // inserted into the Tree, as opposed to only part of a path to other 196 // add the given path to the tree. Entries may be combined as defined by 218 for _, path [all...] |
/third_party/skia/modules/pathkit/ |
H A D | chaining.js | 1 // Adds JS functions to allow for chaining w/o leaking by re-using 'this' path. 10 // Takes 1, 2, 7 or 10 args, where the first arg is always the path. 15 var path = arguments[0]; 17 // Add path, unchanged. Use identity matrix 18 this._addPath(path, 1, 0, 0, 28 this._addPath(path, sm.a, sm.c, sm.e, 34 this._addPath(path, a[1], a[3], a[5], 41 this._addPath(path, a[1], a[2], a[3],
|
/third_party/skia/modules/skottie/src/layers/shapelayer/ |
H A D | PuckerBloat.cpp | 55 SkPath path; variable 61 path.moveTo(lerp(contour_start, center, fAmount)); 63 path.cubicTo(lerp(c.ctrl0, center, -fAmount), 67 path.close(); 126 return path;
|
/third_party/rust/crates/minimal-lexical/scripts/ |
H A D | timings.py | 20 scripts = os.path.dirname(os.path.realpath(__file__)) 21 home = os.path.dirname(scripts) 169 path = f'{home}/assets/timings_{filename("timings", args)}_{os.name}.svg' 170 plot_timings(timings, path)
|
/third_party/rust/crates/rustix/src/ |
H A D | lib.rs | 77 //! - Imposing sandboxing features such as filesystem path or network address 94 //! [`Arg`]: https://docs.rs/rustix/latest/rustix/path/trait.Arg.html 139 #[cfg_attr(libc, path = "backend/libc/mod.rs")] 140 #[cfg_attr(linux_raw, path = "backend/linux_raw/mod.rs")] 141 #[cfg_attr(wasi, path = "backend/wasi/mod.rs")] 182 pub mod path; modules 223 pub(crate) mod path;
|
/third_party/rust/crates/nix/test/test_kmod/ |
H A D | mod.rs | 3 use std::path::PathBuf; 15 tmp_dir.path().join("hello.c"), in compile_kernel_module() 20 tmp_dir.path().join("Makefile"), in compile_kernel_module() 25 .current_dir(tmp_dir.path()) in compile_kernel_module() 31 // Return the relative path of the build kernel module in compile_kernel_module() 32 (tmp_dir.path().join("hello.ko"), "hello".to_owned(), tmp_dir) in compile_kernel_module()
|