| /third_party/node/deps/undici/src/docs/best-practices/ |
| H A D | client-certificate.md | 15 const { join } = require('path') 21 readFileSync(join(__dirname, 'client-ca-crt.pem'), 'utf8') 23 key: readFileSync(join(__dirname, 'server-key.pem'), 'utf8'), 24 cert: readFileSync(join(__dirname, 'server-crt.pem'), 'utf8'), 42 readFileSync(join(__dirname, 'server-ca-crt.pem'), 'utf8') 44 key: readFileSync(join(__dirname, 'client-key.pem'), 'utf8'), 45 cert: readFileSync(join(__dirname, 'client-crt.pem'), 'utf8'),
|
| /third_party/ltp/testcases/network/stress/ns-tools/ |
| H A D | ns-mcast_join.c | 26 * This is an assistant tool to join multicast groups 77 size_t join_leave_times; /* If non-zero, join-leave mode */ 78 /* the value is times of join/leave */ 79 char *mcast_addr; /* multicast address to join/leave */ 80 struct timespec interval; /* interval for join-leave mode */ 107 "\t-a addr\tmulticast address for join-leave mode\n" in usage() 115 "\t[multiple join mode]\n" in usage() 122 "\t[join-leave mode]\n" in usage() 123 "\t -l times of join/leave\n" in usage() 124 "\t -i nsec\tinterval for join in usage() [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_filecmp.py | 56 self.dir = os.path.join(tmpdir, 'dir') 57 self.dir_same = os.path.join(tmpdir, 'dir-same') 58 self.dir_diff = os.path.join(tmpdir, 'dir-diff') 62 self.dir_ignored = os.path.join(self.dir_same, '.hg') 69 subdir_path = os.path.join(dir, 'subdir') 75 with open(os.path.join(dir, fn), 'w', encoding="utf-8") as output: 78 with open(os.path.join(self.dir_diff, 'file2'), 'w', encoding="utf-8") as output: 106 with open(os.path.join(self.dir, 'file2'), 'w', encoding="utf-8") as output: 169 os.path.join(self.dir_diff, 'file2'), 170 os.path.join(sel [all...] |
| /third_party/skia/infra/bots/recipe_modules/infra/ |
| H A D | api.py | 17 return self.m.vars.workdir.join('go', 'go') 21 return self.goroot.join('bin') 26 'GOCACHE': self.m.vars.cache_dir.join('go_cache'), 29 'PATH': self.m.path.pathsep.join([ 30 str(self.go_bin), str(self.gopath.join('bin')), '%(PATH)s']), 35 return self.m.vars.cache_dir.join('gopath')
|
| /third_party/vk-gl-cts/scripts/android/ |
| H A D | build_apk.py | 40 sys.path.append(os.path.join(os.path.dirname(__file__), "..")) 53 buildToolsPath = os.path.join(path, "build-tools") 83 return os.path.join(self.path, "platforms", "android-%d" % apiVersion, "android.jar") 86 return os.path.join(self.path, "build-tools", "%d.%d.%d" % self.buildToolsVersion) 114 propFilePath = os.path.join(path, "source.properties") 163 if os.path.exists(os.path.join(path, "prebuilt", name)): 207 raise Exception("No build tools directory found at %s" % os.path.join(self.env.sdk.path, "build-tools")) 209 if not os.path.exists(os.path.join(self.env.sdk.path, "platforms", "android-%d" % self.javaApi)): 210 raise Exception("No SDK with api version %d directory found at %s for Java Api" % (self.javaApi, os.path.join(self.env.sdk.path, "platforms"))) 233 print(" ".join(arg [all...] |
| /kernel/linux/linux-6.6/tools/testing/kunit/ |
| H A D | kunit_kernel.py | 32 QEMU_CONFIGS_DIR = os.path.join(ABS_TOOL_PATH, 'qemu_configs') 66 print('Populating config with:\n$', ' '.join(command)) 80 print('Building with:\n$', ' '.join(command)) 117 kernel_path = os.path.join(build_dir, self._kernel_path) 122 '-append', ' '.join(params + [self._kernel_command_line]), 126 # Note: shlex.join() does what we want, but requires python 3.8+. 127 print('Running tests with:\n$', ' '.join(shlex.quote(arg) for arg in qemu_command)) 147 linux_bin = os.path.join(build_dir, 'linux') 156 return os.path.join(build_dir, KCONFIG_PATH) 159 return os.path.join(build_di [all...] |
| /third_party/skia/src/gpu/ops/ |
| H A D | AALinearizingConvexPathRenderer.cpp | 93 SkPaint::Join join, in Make() 98 strokeWidth, style, join, miterLimit, in Make() 108 SkPaint::Join join, in AAFlatteningConvexPathOp() 113 PathData{viewMatrix, path, color, strokeWidth, miterLimit, style, join}); in AAFlatteningConvexPathOp() 123 if (SkPaint::kMiter_Join == join && w * maxScale > 1.f) { in AAFlatteningConvexPathOp() 310 "Color: 0x%08x, StrokeWidth: %.2f, Style: %d, Join: %d, " 327 SkPaint::Join fJoin; 375 stroke.getJoin() == SkPaint::Join in onCanDrawPath() 87 Make(GrRecordingContext* context, GrPaint&& paint, const SkMatrix& viewMatrix, const SkPath& path, SkScalar strokeWidth, SkStrokeRec::Style style, SkPaint::Join join, SkScalar miterLimit, const GrUserStencilSettings* stencilSettings) Make() argument 102 AAFlatteningConvexPathOp(GrProcessorSet* processorSet, const SkPMColor4f& color, const SkMatrix& viewMatrix, const SkPath& path, SkScalar strokeWidth, SkStrokeRec::Style style, SkPaint::Join join, SkScalar miterLimit, const GrUserStencilSettings* stencilSettings) AAFlatteningConvexPathOp() argument 404 SkPaint::Join join = fill ? SkPaint::Join::kMiter_Join : stroke.getJoin(); onDrawPath() local 429 SkPaint::Join join = SkPaint::kMiter_Join; GR_DRAW_OP_TEST_DEFINE() local [all...] |
| /third_party/rust/crates/rust-openssl/openssl-sys/build/ |
| H A D | run_bindgen.rs | 107 .write_to_file(out_dir.join("bindgen.rs")) in run() 127 .wrap_static_fns_path(out_dir.join("boring_static_wrapper").display().to_string()) in run_boringssl() 140 .write_to_file(out_dir.join("bindgen.rs")) in run_boringssl() 143 fs::File::create(out_dir.join("boring_static_wrapper.h")) in run_boringssl() 149 .file(out_dir.join("boring_static_wrapper.c")) in run_boringssl() 154 .join("boring_static_wrapper.h") in run_boringssl() 165 fs::File::create(out_dir.join("boring_static_wrapper.h")) in run_boringssl() 173 .arg(out_dir.join("bindgen.rs")) in run_boringssl() 190 .arg(out_dir.join("boring_static_wrapper").display().to_string()) in run_boringssl() 192 .arg(out_dir.join("boring_static_wrappe in run_boringssl() [all...] |
| /third_party/python/Lib/test/test_importlib/ |
| H A D | test_util.py | 35 source = '\r\n'.join([self.source, self.source]) 38 '\n'.join([self.source, self.source])) 567 path = os.path.join('foo', 'bar', 'baz', 'qux.py') 568 expect = os.path.join('foo', 'bar', 'baz', '__pycache__', 581 path = os.path.join('foo.bar', 'file') 582 expect = os.path.join('foo.bar', '__pycache__', 590 path = os.path.join('foo', 'bar', 'baz', 'qux.py') 606 expect = os.path.join('__pycache__', 'foo.{}.pyc'.format(self.tag)) 613 path = os.path.join('foo', 'bar', 'baz.py') 631 expect = os.path.join('__pycache_ [all...] |
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
| H A D | convert_csv_to_c.py | 57 lines = '\n'.join(lines) 114 return '\n'.join(lines) 154 """.format(filename=SET_C, extern_h=os.path.join(ITEMS_DIR, EXTERN_H)) 245 sheet_filename = os.path.join(self.ITEMS_DIR,'{}.c'.format(S)) 262 with open(os.path.join(self.OUTPUT_DIR, sheet_filename), 'w') as f: 263 f.write('\n'.join(s_chunks)) 266 with open(os.path.join(self.OUTPUT_DIR, self.MKFILE_SEGMENTS), 'w') as f: 269 f.write('\n'.join(objs)) 272 EXTERN_H = os.path.join(self.ITEMS_DIR, self.EXTERN_H) 273 with open(os.path.join(sel [all...] |
| /third_party/node/deps/v8/tools/ |
| H A D | v8_presubmit.py | 38 from os.path import abspath, join, dirname, basename, exists namespace 82 join(TOOLS_PATH, '..', 'third_party', 'depot_tools')) 235 all_files += self.FindFilesIn(join(path, file)) 274 result.append(join(root, file)) 344 pool.join() 386 return dirs + [join('test', dir) for dir in test_dirs] 392 filters = ','.join([n for n in LINT_RULES]) 395 cpplint = os.path.join(DEPS_DEPOT_TOOLS_PATH, 'cpplint.py') 415 return dirs + [join('test', dir) for dir in test_dirs] 421 torque_tools = os.path.join(TOOLS_PAT [all...] |
| /foundation/ability/idl_tool/test/sa_test/ |
| H A D | test_base.py | 33 self.idl_file = os.path.join(self.working_dir, "foo", "IFoo.idl") 34 self.output_dir = os.path.join(self.working_dir, "out") 35 self.target_dir = os.path.join(self.working_dir, "target") 47 return os.path.join(current_path, os.path.splitext(os.path.basename(self._file_name))[0]) 56 self.output_dir = os.path.join(self.working_dir, output_dir) 59 self.target_dir = os.path.join(self.working_dir, target_dir) 62 self.idl_file = os.path.join(self.working_dir, "foo", idl_file) 120 if file_exists(os.path.join(self.target_dir, "output.txt")): 121 with open(os.path.join(self.target_dir, "output.txt"), 'r') as target_output: 173 with open(os.path.join(sel [all...] |
| /third_party/jerryscript/tools/runners/ |
| H A D | run-test-suite-test262.py | 50 args.test_dir = os.path.join(args.test_dir, 'es2015') 52 args.test_dir = os.path.join(args.test_dir, 'es51') 58 if os.path.isdir(os.path.join(args.test_dir, '.git')): 78 shutil.copyfile(os.path.join('tests', 'test262-es6-excludelist.xml'), 79 os.path.join(args.test_dir, 'excludelist.xml')) 81 return_code = subprocess.call(['git', 'apply', os.path.join('..', '..', 'test262-es6.patch')], 88 path_to_remove = os.path.join(args.test_dir, 'test', 'suite', 'bestPractice') 92 path_to_remove = os.path.join(args.test_dir, 'test', 'suite', 'intl402') 109 [os.path.join(args.test_dir, 'tools/packaging/test262.py'), 117 with open(os.path.join(o [all...] |
| /third_party/node/deps/v8/third_party/test262-harness/src/ |
| H A D | _packagerConfig.py | 22 TEST262_ROOT = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..") 27 TEST262_CASES_DIR = os.path.join(TEST262_ROOT, "test") 31 TEST262_HARNESS_DIR = os.path.join(TEST262_ROOT, "harness") 34 TEST262_WEB_CASES_DIR = os.path.join(TEST262_ROOT, WEBSITE_SHORT_NAME, "json") 35 TEST262_CONSOLE_CASES_DIR = os.path.join(TEST262_ROOT, CONSOLE_SHORT_NAME) 39 TEST262_WEB_HARNESS_DIR = os.path.join(TEST262_ROOT, WEBSITE_SHORT_NAME, 41 TEST262_CONSOLE_HARNESS_DIR = os.path.join(TEST262_ROOT, CONSOLE_SHORT_NAME, 51 EXCLUDED_FILENAME = os.path.join(TEST262_ROOT, "excludelist.xml") 74 with open(os.path.join(os.getcwd(), "templates", 77 fileName = os.path.join(TEST262_ROO [all...] |
| /third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/regex/ |
| H A D | AnyPathTest.java | 44 // This is not the same as joining SINGLE.join(OPTIONAL). in testExtend() 54 assertThat(EMPTY.join(SINGLE)).isEqualTo(SINGLE); in testJoin() 55 assertThat(EMPTY.join(OPTIONAL)).isEqualTo(OPTIONAL); in testJoin() 56 assertPath(SINGLE.join(SINGLE), 2); in testJoin() 57 assertPath(SINGLE.join(OPTIONAL), 1, 2); in testJoin() 58 assertPath(OPTIONAL.join(OPTIONAL), 0, 1, 2); in testJoin() 61 // "(x(x)?)?".join("(x(x)?)?") == "(x(x(x(x)?)?)?)?" == 11111 and matches 0 to 4. in testJoin() 62 assertThat(AnyPath.of(0x7).join(AnyPath.of(0x7))).isEqualTo(AnyPath.of(0x1F)); in testJoin() 66 // "xx(x)?".join("(xx)?") == "xx(xx)?" == 111100 and matches 2 to 5. in testJoin() 67 assertThat(AnyPath.of(0xC).join(AnyPat in testJoin() [all...] |
| /third_party/skia/src/effects/ |
| H A D | SkOpPathEffect.cpp | 74 bounds->join(b2); in computeFastBounds() 132 sk_sp<SkPathEffect> SkStrokePathEffect::Make(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, in Make() argument 137 return sk_sp<SkPathEffect>(new SkStrokePE(width, join, cap, miter)); in Make() 140 SkStrokePE::SkStrokePE(SkScalar width, SkPaint::Join join, SkPaint::Cap cap, SkScalar miter) in SkStrokePE() argument 141 : fWidth(width), fMiter(miter), fJoin(join), fCap(cap) {} in SkStrokePE() 171 SkPaint::Join join = buffer.read32LE(SkPaint::kLast_Join); in CreateProc() local 173 return buffer.isValid() ? SkStrokePathEffect::Make(width, join, ca in CreateProc() [all...] |
| /third_party/typescript/tests/baselines/reference/ |
| H A D | declFileConstructors.symbols | 33 return a + rests.join("");
35 >rests.join : Symbol(Array.join, Decl(lib.es5.d.ts, --, --))
37 >join : Symbol(Array.join, Decl(lib.es5.d.ts, --, --))
119 return a + rests.join("");
121 >rests.join : Symbol(Array.join, Decl(lib.es5.d.ts, --, --))
123 >join : Symbol(Array.join, Dec [all...] |
| H A D | typeGuardsOnClassProperty.symbols | 22 return typeof data === "string" ? data : data.join(" ");
25 >data.join : Symbol(Array.join, Decl(lib.es5.d.ts, --, --))
27 >join : Symbol(Array.join, Decl(lib.es5.d.ts, --, --))
33 return typeof this.data === "string" ? this.data : this.data.join(" ");
40 >this.data.join : Symbol(Array.join, Decl(lib.es5.d.ts, --, --))
44 >join : Symbol(Array.join, Dec [all...] |
| /third_party/node/deps/npm/test/bin/ |
| H A D | windows-shims.js | 3 const { resolve, join, extname, basename, sep } = require('path') 10 const p = join(dir, shim) 18 const BIN = join(ROOT, 'bin') 20 const NODE_GYP = readNonJsFiles(join(BIN, 'node-gyp-bin')) 27 .join(sep) 47 t.match(diff[0].split('\n').reverse().join(''), /^NPX_CLI_JS=/, 'has NPX_CLI') 103 assert.equal(process.argv.slice(2).join(' '), 'prefix -g') 113 copyFileSync(process.execPath, join(path, 'node.exe')) 115 rmSync(join(path, 'node.exe')) 118 rmSync(join(pat [all...] |
| /third_party/skia/src/gpu/tessellate/shaders/ |
| H A D | GrStrokeTessellationShader_InstancedImpl.cpp | 19 SkPaint::Join joinType = shader.stroke().getJoin(); in onEmitCode() 154 // Determine how many edges to give to the round join. We emit the first and final edges in onEmitCode() 155 // of the join twice: once full width and once restricted to half width. This guarantees in onEmitCode() 156 // perfect seaming by matching the vertices from the join as well as from the strokes on in onEmitCode() 162 // The stroke section needs at least two edges. Don't assign more to the join than in onEmitCode() 167 // Negative argsAttr.z means the join is an internal chop or circle, and both of in onEmitCode() 168 // those have empty joins. All we need is a bevel join. in onEmitCode() 176 if (JOIN_TYPE >= 0 /*Is the join not a round type?*/) { in onEmitCode() 197 // means the join is disabled, and to disable it with the existing code we can leave in onEmitCode() 216 // We belong to the preceding join in onEmitCode() [all...] |
| /third_party/python/Lib/lib2to3/tests/ |
| H A D | test_refactor.py | 18 TEST_DATA_DIR = os.path.join(os.path.dirname(__file__), "data") 19 FIXER_DIR = os.path.join(TEST_DATA_DIR, "fixers") 207 test_file = os.path.join(tmpdir, os.path.basename(test_file)) 224 test_file = os.path.join(FIXER_DIR, "parrot_example.py") 228 test_file = os.path.join(FIXER_DIR, "parrot_example.py") 257 os.mkdir(os.path.join(dir, "a_dir")) 259 open(os.path.join(dir, fn), "wb").close() 265 [os.path.join(dir, path) for path in expected]) 276 os.path.join("a_dir", "stuff.py")] 280 fn = os.path.join(TEST_DATA_DI [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 288 * Each pass the common prefix shrinks and we have to insert a join. in igt_syncmap_join_above() 289 * Each join will only contain two branches, the latest of which in igt_syncmap_join_above() 298 struct i915_syncmap *join; in igt_syncmap_join_above() local 304 join = sync->parent; in igt_syncmap_join_above() 305 if (!join) /* very first insert will have no parents */ in igt_syncmap_join_above() 308 if (!join->height) { in igt_syncmap_join_above() 314 if (hweight32(join->bitmap) != 2) { in igt_syncmap_join_above() 315 pr_err("Join does not have 2 children: %x (%d)\n", in igt_syncmap_join_above() 316 join->bitmap, hweight32(join in igt_syncmap_join_above() [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 288 * Each pass the common prefix shrinks and we have to insert a join. in igt_syncmap_join_above() 289 * Each join will only contain two branches, the latest of which in igt_syncmap_join_above() 298 struct i915_syncmap *join; in igt_syncmap_join_above() local 304 join = sync->parent; in igt_syncmap_join_above() 305 if (!join) /* very first insert will have no parents */ in igt_syncmap_join_above() 308 if (!join->height) { in igt_syncmap_join_above() 314 if (hweight32(join->bitmap) != 2) { in igt_syncmap_join_above() 315 pr_err("Join does not have 2 children: %x (%d)\n", in igt_syncmap_join_above() 316 join->bitmap, hweight32(join in igt_syncmap_join_above() [all...] |
| /third_party/python/Lib/distutils/tests/ |
| H A D | test_archive_util.py | 111 base_name = os.path.join(tmpdir2, target_name) 138 dist = os.path.join(tmpdir, 'dist') 142 os.mkdir(os.path.join(dist, 'sub')) 144 os.mkdir(os.path.join(dist, 'sub2')) 153 base_name = os.path.join(tmpdir2, 'archive') 166 tarball2 = os.path.join(tmpdir, 'archive2.tar.gz') 183 base_name = os.path.join(tmpdir2, 'archive') 194 base_name = os.path.join(tmpdir2, 'archive') 208 base_name = os.path.join(self.mkdtemp(), 'archive') 242 base_name = os.path.join(sel [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-vfs.js | 10 const { join } = require('path'); 12 const directory = join(tmpdir.path, 'directory'); 13 const doesNotExist = join(tmpdir.path, 'does-not-exist'); 14 const file = join(tmpdir.path, 'file.js'); 24 const vfsDirectory = join(process.execPath, 'directory'); 25 const vfsDoesNotExist = join(process.execPath, 'does-not-exist'); 26 const vfsFile = join(process.execPath, 'file.js');
|