| /third_party/skia/infra/bots/assets/skp/ |
| H A D | create.py | 22 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 32 SKIA_TOOLS = os.path.join(INFRA_BOTS_DIR, os.pardir, os.pardir, 'tools') 58 new_file_name = ''.join([x if x.isalnum() else "_" 61 os.rename(os.path.join('skps', f), 62 os.path.join('skps', new_file_name + '.skp')) 109 'python', '-u', os.path.join(SKIA_TOOLS, 'skp', 'webpages_playback.py'), 119 ' '.join(webpages_playback_cmd)) 159 src = os.path.join(os.getcwd(), 'playback', 'skps') 162 shutil.copyfile(os.path.join(src, f), os.path.join(target_di [all...] |
| /third_party/node/deps/v8/tools/vim/ |
| H A D | ninja_output.py | 31 os.path.isdir(os.path.join(v8_root, name_value[1]))): 36 return os.path.join(os.path.join(v8_root, output_dir), configuration) 41 if os.path.isdir(os.path.join(v8_root, f)): 46 out_path = os.path.join(v8_root, out_dir) 48 path = os.path.join(out_path, config) 49 if os.path.exists(os.path.join(path, 'build.ninja')): 54 paths = [path] + [os.path.join(path, f) for f in os.listdir(path)]
|
| /third_party/skia/infra/bots/recipe_modules/doxygen/resources/ |
| H A D | generate_and_upload_doxygen.py | 19 WORKDIR = os.path.join(os.pardir, 'doxygen_workdir') 20 DOXYGEN_CONFIG_DIR = os.path.join(WORKDIR, 'doxygen-config') 21 DOXYGEN_WORKING_DIR = os.path.join(WORKDIR, 'doxygen') 22 DOXYGEN_GS_PATH = '/'.join(['gs://skia-doc', 'doxygen']) 46 static_footer_path = os.path.join(DOXYGEN_WORKING_DIR, 'static_footer.txt') 47 shutil.copyfile(os.path.join('tools', 'doxygen_footer.txt'), 53 modified_doxyfile = os.path.join(DOXYGEN_CONFIG_DIR, DOXYFILE_BASENAME) 62 with open(os.path.join(DOXYGEN_WORKING_DIR, 'iframe_footer.html'), 'w') as f:
|
| /third_party/python/Tools/ssl/ |
| H A D | multissltests.py | 63 PYTHONROOT = os.path.abspath(os.path.join(HERE, '..', '..')) 64 MULTISSL_DIR = os.path.abspath(os.path.join(PYTHONROOT, '..', 'multissl')) 158 os.path.join(PYTHONROOT, "Modules/_ssl.c"), 159 os.path.join(PYTHONROOT, "Modules/_hashopenssl.c"), 167 self.install_dir = os.path.join( 168 os.path.join(args.base_directory, self.library.lower()), version 171 self.src_dir = os.path.join(args.base_directory, 'src') 172 self.src_file = os.path.join( 175 self.build_dir = os.path.join( 201 return os.path.join(sel [all...] |
| /third_party/skia/buildtools/reclient_cfgs/ |
| H A D | fetch_reclient_cfgs.py | 20 sys.path.insert(0, os.path.join(THIS_DIR, '..', '..', 27 nacl_dir = os.path.join(THIS_DIR, '..', '..', 'native_client') 68 cipd_prefix = posixpath.join(args.cipd_prefix, args.rbe_project) 80 CipdEnsure(posixpath.join(cipd_prefix, toolchain), 82 directory=os.path.join(THIS_DIR, toolchain)) 83 if os.path.exists(os.path.join(THIS_DIR, 87 wcedir = os.path.join(THIS_DIR, 'win-cross-experiments', toolchain) 90 for cfg in glob.glob(os.path.join(THIS_DIR, toolchain, 92 fname = os.path.join(wcedir, os.path.basename(cfg))
|
| /test/testfwk/developer_test/local_coverage/push_coverage_so/ |
| H A D | push_coverage.py | 24 sys.localcoverage_path = os.path.join(current_path, "..") 34 parts_info_json = os.path.join(out_path, "build_configs", "parts_info", "part_subsystem.json") 53 parts_info_json = os.path.join(out_path, "build_configs", "parts_info", "parts_path_info.json") 62 path = os.path.join(out_path, "obj", json_obj[test_part]) 74 subsystem_config_json = os.path.join(out_path, "build_configs", "subsystem_info", "subsystem_build_config.json") 90 path.append(os.path.join(out_path, "obj", s)) 119 source_path = os.path.join(out_path, json_obj["source"]) 146 full_dest = os.path.join("/", dest_path) 160 out_path = os.path.join(root_path, "out", get_product_name(root_path)) 161 developer_path = os.path.join(root_pat [all...] |
| /third_party/node/tools/inspector_protocol/ |
| H A D | roll.py | 75 files += glob.glob(os.path.join(path, f)) 119 dest_dir = os.path.join(downstream, 'third_party/inspector_protocol') 127 os.path.join(src_dir, f), os.path.join(dest_dir, f)))] 139 contents = open(os.path.join(src_dir, f)).read() 146 open(os.path.join(dest_dir, f), 'w').write(contents) 147 shutil.copymode(os.path.join(src_dir, f), os.path.join(dest_dir, f)) 149 os.unlink(os.path.join(dest_dir, f)) 151 lines = open(os.path.join(dest_di [all...] |
| /third_party/node/deps/minimatch/src/node_modules/brace-expansion/ |
| H A D | index.js | 18 return str.split('\\\\').join(escSlash) 19 .split('\\{').join(escOpen) 20 .split('\\}').join(escClose) 21 .split('\\,').join(escComma) 22 .split('\\.').join(escPeriod); 26 return str.split(escSlash).join('\\') 27 .split(escOpen).join('{') 28 .split(escClose).join('}') 29 .split(escComma).join(',') 30 .split(escPeriod).join(' [all...] |
| /third_party/node/deps/npm/node_modules/brace-expansion/ |
| H A D | index.js | 18 return str.split('\\\\').join(escSlash) 19 .split('\\{').join(escOpen) 20 .split('\\}').join(escClose) 21 .split('\\,').join(escComma) 22 .split('\\.').join(escPeriod); 26 return str.split(escSlash).join('\\') 27 .split(escOpen).join('{') 28 .split(escClose).join('}') 29 .split(escComma).join(',') 30 .split(escPeriod).join(' [all...] |
| /third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
| H A D | fuzz_one.py | 20 APP_DIR = os.path.join(BASE_PATH, 'workdir', 'app_dir') 21 FUZZ_EXE = os.path.join(BASE_PATH, 'workdir', 'fuzzer', 'ochang_js_fuzzer') 22 INPUT_DIR = os.path.join(BASE_PATH, 'workdir', 'input') 23 TEST_CASES = os.path.join(BASE_PATH, 'workdir', 'output') 33 path = os.path.join(TEST_CASES, 'dir-%d' % dir_number) 39 FUZZ % (path, os.path.join(path, 'out.log')), shell=True) 42 with open(os.path.join(path, 'duration.log'), 'w') as f:
|
| /third_party/node/test/internet/ |
| H A D | test-corepack-yarn-install.js | 14 const npmSandbox = path.join(tmpdir.path, 'npm-sandbox'); 16 const homeDir = path.join(tmpdir.path, 'home'); 18 const installDir = path.join(tmpdir.path, 'install-dir'); 21 const corepackYarnPath = path.join( 37 const pkgPath = path.join(installDir, 'package.json'); 43 NPM_CONFIG_PREFIX: path.join(npmSandbox, 'npm-prefix'), 44 NPM_CONFIG_TMP: path.join(npmSandbox, 'npm-tmp'),
|
| /third_party/node/test/parallel/ |
| H A D | test-npm-install.js | 14 const npmSandbox = path.join(tmpdir.path, 'npm-sandbox'); 16 const homeDir = path.join(tmpdir.path, 'home'); 18 const installDir = path.join(tmpdir.path, 'install-dir'); 21 const npmPath = path.join( 37 const pkgPath = path.join(installDir, 'package.json'); 43 NPM_CONFIG_PREFIX: path.join(npmSandbox, 'npm-prefix'), 44 NPM_CONFIG_TMP: path.join(npmSandbox, 'npm-tmp'),
|
| H A D | test-path-zero-length-strings.js | 13 // Join will internally ignore all the zero-length strings and it will return 15 assert.strictEqual(path.posix.join(''), '.'); 16 assert.strictEqual(path.posix.join('', ''), '.'); 17 assert.strictEqual(path.win32.join(''), '.'); 18 assert.strictEqual(path.win32.join('', ''), '.'); 19 assert.strictEqual(path.join(pwd), pwd); 20 assert.strictEqual(path.join(pwd, ''), pwd);
|
| /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'),
|
| /test/testfwk/developer_test/aw/python/distributed/distribute/ |
| H A D | distribute.py | 37 sys.xdevice_dir = os.path.abspath(os.path.join( 41 sys.xdevice_dir = os.path.abspath(os.path.join( 47 sys.adapter_dir = os.path.abspath(os.path.join( 92 if not os.path.exists(os.path.join(result_save_path, file_name)): 208 final_file = os.path.join(file_dir, file_name.split('.')[0] + ".desc") 226 device.push_file(os.path.join(self.suite_dir, "agent.desc"), 228 device.push_file(os.path.join(resource_dir, target_name), 231 suite_path = os.path.join(self.suite_dir, target_name) 243 device.push_file(os.path.join(self.suite_dir, "major.desc"), 245 device.push_file(os.path.join(resource_di [all...] |
| /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/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...] |
| /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/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/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...] |
| /base/update/packaging_tools/test/ |
| H A D | create_package_data.py | 95 create_file(os.path.join(package_name_path, "system.img"), get_target_vendor_data())
106 create_file(os.path.join(package_name_path, "vendor.img"), vendor_content)
108 create_file(os.path.join(package_name_path, "updater_binary"), UPDATER_BINARY_DATA)
111 create_file(os.path.join(package_name_path, "uImage"), get_target_vendor_data())
112 create_file(os.path.join(package_name_path, "updater.img"), get_target_vendor_data())
113 create_file(os.path.join(package_name_path, "updater_b.img"), get_target_vendor_data())
114 create_file(os.path.join(package_name_path, "updater_uImage"), get_target_vendor_data())
119 create_file(os.path.join(updater_config_path, "BOARD.list"), BOARD_LIST_DATA)
121 create_file(os.path.join(updater_config_path, "VERSION.mbn"), VERSION_MBN_DATA)
133 create_file(os.path.join(updater_config_pat [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/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...] |
| /base/security/selinux_adapter/scripts/ |
| H A D | build_ignore_cfg.py | 47 path = os.path.join(root_dir, i) 68 err = "".join((ignore_file, " : need an empty line at end ")) 74 err = "".join((ignore_file, " : must be unix format")) 77 err = "".join((ignore_file, " : line must not be only / or /*")) 80 err = "".join((ignore_file, " : line must end with / or /*")) 99 file_list_path = os.path.join(root, each_file) 103 err_str = "\n{}".format("\n".join(err_msg)) 138 line = "".join([line, "\n"]) 152 folder_list.append(os.path.join(root, dir_i)) 157 combined_ignore_cfg = os.path.join(output_pat [all...] |