/third_party/node/test/parallel/ |
H A D | test-url-parse-query.js | 30 path: '/foo/bar?baz=quux' 41 path: '/' 54 path: '/example', 68 path: '/example?query=value',
|
/third_party/node/test/pummel/ |
H A D | test-fs-readfile-tostring-fail.js | 10 const path = require('path'); 20 common.skip(`Not enough space in ${tmpdir.path}`); 23 const file = path.join(tmpdir.path, 'toobig.txt');
|
/third_party/node/deps/v8/tools/ |
H A D | dump-cpp.py | 19 return os.path.isfile(fPath) and os.access(fPath, os.X_OK) 23 tools_path = os.path.dirname(os.path.realpath(__file__)) 25 JS_FILES = [os.path.join(tools_path, f) for f in JS_FILES] 48 print('d8 binary path found in {} is not executable.'.format(log_file)) 51 print('No d8 binary path found in {}.'.format(log_file))
|
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/mutators/ |
H A D | object_mutator.js | 43 ObjectExpression(path) { 44 const properties = path.node.properties; 66 thisMutator.annotate(path.node, message); 100 property.value = common.randomValue(path);
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 20 to an absolute path. We have to do this because MSVS is looking 23 be built needs to have a full path.""" 25 # If the command already has path elements (either relative or 29 # Search through the path list and find an existing file that 32 for path in paths: 33 item = os.path.join(path, command) 34 if os.path.isfile(item) and os.access(item, os.X_OK):
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | dump_dependency_json.py | 65 generator_dir = os.path.relpath(params["options"].generator_output or ".") 66 # output_dir: relative path from generator_dir to the build directory. 68 qualified_out_dir = os.path.normpath( 69 os.path.join(toplevel, generator_dir, output_dir, "gypfiles") 99 filename = os.path.join(filepath, "dump.json")
|
/third_party/node/benchmark/module/ |
H A D | module-loader.js | 3 const path = require('path'); 8 let benchmarkDirectory = path.join(tmpdir.path, 'nodejs-benchmark-module'); 37 benchmarkDirectory = path.relative(__dirname, benchmarkDirectory);
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
H A D | snapshot.js | 52 return Object.entries(meta).reduce((acc, [path, metadata]) => ({ 54 [path]: metadata.toJSON(), 64 meta = Object.entries(data).reduce((acc, [path, metadata]) => ({ 66 [path]: file_1.MetaFile.fromJSON(metadata),
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | dump_dependency_json.py | 65 generator_dir = os.path.relpath(params["options"].generator_output or ".") 66 # output_dir: relative path from generator_dir to the build directory. 68 qualified_out_dir = os.path.normpath( 69 os.path.join(toplevel, generator_dir, output_dir, "gypfiles") 99 filename = os.path.join(filepath, "dump.json")
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSUserFile.py | 20 to an absolute path. We have to do this because MSVS is looking 23 be built needs to have a full path.""" 25 # If the command already has path elements (either relative or 29 # Search through the path list and find an existing file that 32 for path in paths: 33 item = os.path.join(path, command) 34 if os.path.isfile(item) and os.access(item, os.X_OK):
|
/third_party/mesa3d/src/util/ |
H A D | os_socket.c | 21 os_socket_listen_abstract(const char *path, int count) in os_socket_listen_abstract() argument 30 strncpy(addr.sun_path + 1, path, sizeof(addr.sun_path) - 2); in os_socket_listen_abstract() 35 strlen(path) + 1); in os_socket_listen_abstract() 90 os_socket_listen_abstract(const char *path, int count) in os_socket_listen_abstract() argument
|
/third_party/ltp/testcases/kernel/syscalls/statfs/ |
H A D | statfs02.c | 39 char *path; member 57 TST_EXP_FAIL(statfs(tests[n].path, tests[n].buf), tests[n].exp_error, "statfs()"); in statfs_verify() 84 if (tests[i].path == (char *)-1) in setup() 85 tests[i].path = tst_get_bad_addr(NULL); in setup()
|
/third_party/musl/libc-test/src/functionalext/supplement/ipc/ |
H A D | semtimedop.c | 32 char path[PATH_MAX] = {0}; in semtimedop_0100() local 33 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in semtimedop_0100() 34 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in semtimedop_0100() 44 key_t key = ftok(path, 1); in semtimedop_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | posix_madvise.c | 22 const char *path = "posix_madvise_function_test.c"; variable 26 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in openfile() 36 if (access(path, F_OK) == 0) { in clearfile() 37 remove(path); in clearfile()
|
/third_party/rust/crates/clap/clap_complete/src/generator/ |
H A D | mod.rs | 9 use std::path::PathBuf; 146 /// let path = generate_to( 153 /// println!("cargo:warning=completion file is generated: {:?}", path); 181 let path = out_dir.join(file_name); in generate_to() 182 let mut file = File::create(&path)?; in generate_to() 185 Ok(path) in generate_to()
|
/third_party/python/Tools/scripts/ |
H A D | mkreal.py | 11 join = os.path.join 46 progname = os.path.basename(sys.argv[0]) 50 print('usage:', progname, 'path ...') 54 if not os.path.islink(name): 58 if os.path.isdir(name):
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | gen_mtl_internal_shaders.py | 15 sys.path.append('../..') 60 clang = os.path.join('..', '..', '..', '..', '..', 'third_party', 'llvm-build', 63 if not os.path.isfile(clang): 92 os.chdir(sys.path[0])
|
/third_party/skia/src/core/ |
H A D | SkPictureCommon.h | 50 if (op.paint.isAntiAlias() && !op.path.isConvex()) { in operator ()() 52 const SkRect& pathBounds = op.path.getBounds(); in operator ()() 55 // AA hairline concave path is not slow. in operator ()() 57 pathBounds.height() < 64.f && !op.path.isVolatile()) { in operator ()() 58 // AADF eligible concave path is not slow. in operator ()() 67 if (op.opAA.aa() && !op.path.isConvex()) { in operator ()()
|
/third_party/skia/src/gpu/ops/ |
H A D | PathTessellateOp.h | 18 // Tessellates a path directly to the color buffer, using one single render pass. This currently 30 const SkPath& path, in PathTessellateOp() 36 , fTotalCombinedPathVerbCnt(path.countVerbs()) in PathTessellateOp() 37 , fPathDrawList(arena->make<PathDrawList>(SkMatrix::I(), path, paint.getColor4f())) in PathTessellateOp() 41 SkASSERT(!path.isInverseFillType()); in PathTessellateOp() 26 PathTessellateOp(SkArenaAlloc* arena, GrAAType aaType, const GrUserStencilSettings* stencil, const SkMatrix& viewMatrix, const SkPath& path, GrPaint&& paint, const SkRect& drawBounds) PathTessellateOp() argument
|
H A D | AtlasRenderTask.h | 36 // Allocates a rectangle for, and stages the given path to be rendered into the atlas. Returns 37 // false if there was not room in the atlas. On success, writes out the location of the path's 63 // Allocate enough inline entries for 16 atlas path draws, then spill to the heap. 70 void add(PathDrawAllocator* alloc, const SkMatrix& pathMatrix, const SkPath& path) { in add() argument 71 fPathDrawList = &alloc->emplace_back(pathMatrix, path, SK_PMColor4fTRANSPARENT, in add() 73 if (path.isInverseFillType()) { in add() 77 fTotalCombinedPathVerbCnt += path.countVerbs(); in add()
|
/third_party/skia/src/pathops/ |
H A D | SkPathOpsTightBounds.cpp | 11 bool TightBounds(const SkPath& path, SkRect* result) { in TightBounds() argument 14 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) { in TightBounds() 44 *result = path.getBounds(); in TightBounds() 52 // turn path into list of segments in TightBounds() 53 SkOpEdgeBuilder builder(path, contourList, &globalState); in TightBounds()
|
/third_party/skia/tests/ |
H A D | CodecExactReadTest.cpp | 53 for (const char* path : { "images/plane.png", in DEF_TEST() 59 sk_sp<SkData> data = GetResourceAsData(path); in DEF_TEST() 78 ERRORF(r, "Failed to create a codec from %s, iteration %i", path, i); in DEF_TEST() 88 ERRORF(r, "Failed to getPixels from %s, iteration %i error %i", path, i, result); in DEF_TEST()
|
/third_party/skia/tools/ |
H A D | BUILD_simulator.py | 56 path = os.path.join(root, fname)[2:] 57 if pattern_re.match(path): 58 matches.add(path)
|
/third_party/toybox/toys/posix/ |
H A D | chgrp.c | 59 char *path = dirtree_path(node, 0); in do_chgrp() local 63 TT.group_name, path); in do_chgrp() 65 perror_msg("'%s' to '%s:%s'", path, TT.owner_name, TT.group_name); in do_chgrp() 66 free(path); in do_chgrp()
|
/third_party/typescript/tests/ts_extra_tests/tool/ |
H A D | test_helper.py | 22 def read_declaration(path): 26 with open(path, 'r', encoding='utf-8', errors='ignore') as f: 81 file_or_dir_path = os.path.join(dir_path, file_dir) 85 if os.path.isdir(file_or_dir_path):
|