| /third_party/ninja/ |
| H A D | configure.py | 29 sys.path.insert(0, os.path.join(sourcedir, 'misc')) 164 local_vars[key] = ' '.join(ninja_syntax.as_list(val)) 176 return ' '.join(map(self._shell_escape, (map(self._expand, paths)))) 205 '/'.join(Platform.known_platforms()) + ')', 209 '/'.join(Platform.known_platforms()) + ')', 215 help='enable profiling (' + '/'.join(profilers) + ')',) 260 n.variable('configure_args', ' '.join(configure_args)) 264 config_str = ' '.join([k + '=' + shlex.quote(configure_env[k]) 276 return os.path.join('$root', 'src', filename) 278 return os.path.join(' [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/package-json/lib/ |
| H A D | normalize.js | 31 const base = path.join('/', path.basename(binKey.replace(/\\|:/g, '/'))).slice(1) 38 const binTarget = path.join('/', pkg.bin[binKey].replace(/\\/g, '/')) 225 await fs.access(path.join(pkg.path, 'server.js')) 264 const authorData = await fs.readFile(path.join(pkg.path, 'AUTHORS'), 'utf8') 293 const readmeData = await fs.readFile(path.join(pkg.path, readmeFile), 'utf8') 311 path.relative(pkg.path, path.join(cwd, man)).split(path.sep).join('/') 321 const binsDir = path.resolve(pkg.path, path.join('.', path.join('/', data.directories.bin))) 326 acc[binName] = path.join(dat [all...] |
| /third_party/python/Lib/distutils/tests/ |
| H A D | test_build_ext.py | 65 xx_c = os.path.join(self.tmp_dir, 'xxmodule.c') 153 lib = os.path.join(site.USER_BASE, 'lib') 154 incl = os.path.join(site.USER_BASE, 'include') 342 c_file = os.path.join(tmp_dir, 'foo.c') 352 cmd.build_lib = os.path.join(self.tmp_dir, 'build') 353 cmd.build_temp = os.path.join(self.tmp_dir, 'tempt') 406 #etree_c = os.path.join(self.tmp_dir, 'lxml.etree.c') 415 wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext) 421 cmd.build_lib = os.path.join(curdir, 'tmpdir') 422 wanted = os.path.join(curdi [all...] |
| /third_party/skia/src/gpu/geometry/ |
| H A D | GrAATriangulator.cpp | 206 Edge* join = this->makeEdge(prev, next, EdgeType::kInner, c); in simplifyBoundary() local 208 join->fLine.normalize(); in simplifyBoundary() 209 join->fLine = join->fLine * join->fWinding; in simplifyBoundary() 211 boundary->insert(join, e); in simplifyBoundary() 214 if (join->fLeft && join->fRight) { in simplifyBoundary() 215 prevEdge = join->fLeft; in simplifyBoundary() 216 e = join; in simplifyBoundary() [all...] |
| /third_party/python/Lib/test/ |
| H A D | test_runpy.py | 219 pkg_fname = os.path.join(pkg_dir, "__init__.py") 239 sub_dir = os.path.join(sub_dir, pkg_name) 243 mod_fname = os.path.join(sub_dir, test_fname) 262 os.remove(os.path.join(root, name)) 266 fullname = os.path.join(root, name) 377 module_dir = os.path.join(module_dir, pkg_name) 379 sibling_fname = os.path.join(module_dir, "sibling.py") 383 uncle_dir = os.path.join(parent_dir, "uncle") 386 cousin_dir = os.path.join(uncle_dir, "cousin") 389 nephew_fname = os.path.join(cousin_di [all...] |
| H A D | string_tests.py | 148 teststrings.add(''.join(entry)) 209 teststrings.add(''.join(entry)) 256 teststrings.add(''.join(entry)) 335 p0 = ''.join(choices('abcde', k=rr(10))) * rr(10, 20) 337 left = ''.join(choices('abcdef', k=rr(2000))) 338 right = ''.join(choices('abcdef', k=rr(2000))) 1235 self.checkequal("".join(L), s, '__getitem__', 1250 # join now works with any sequence type 1252 # different in string.join 1253 self.checkequal('a b c d', ' ', 'join', [' [all...] |
| /third_party/ltp/ |
| H A D | execltp.in | 220 output_dest.write('\n'.join(['', '=' * 40, header, '-' * 40, ''])) 300 opts.log_dir = os.path.join(opts.ltp_dir, 'output') 310 fd = open(os.path.join(ltpdir, 'scenario_groups/default'), 'r') 334 opts.output_file = os.path.join(os.getcwd(), opts.output_file) 358 exec_log = os.path.join(opts.log_dir, '%s-exec.log' % testsuite) 359 output_log = os.path.join(opts.log_dir, ('%s-output.log' 364 runtest_file = os.path.join(opts.ltp_dir, 'runtest', testsuite) 377 os.system(' '.join([os.path.join(opts.ltp_dir, 'runltp'), 465 """ % (' '.join(arg [all...] |
| /third_party/node/deps/v8/tools/clusterfuzz/foozzie/ |
| H A D | v8_foozzie_test.py | 25 FOOZZIE = os.path.join(BASE_DIR, 'v8_foozzie.py') 26 TEST_DATA = os.path.join(BASE_DIR, 'testdata') 240 return '\n'.join(stdout.split('\n')[n_comp * 2:]) 253 '--first-d8', os.path.join(TEST_DATA, 'baseline', 'd8.py'), 254 '--second-d8', os.path.join(TEST_DATA, second_d8_dir, 'd8.py'), 257 os.path.join(TEST_DATA, 'fuzz-123.js'), 283 with open(os.path.join(TEST_DATA, 'failure_output.txt')) as f: 295 with open(os.path.join(TEST_DATA, 'smoke_test_output.txt')) as f: 319 with open(os.path.join(TEST_DATA, 'failure_output_arch.txt')) as f: 334 with open(os.path.join(TEST_DAT [all...] |
| /third_party/node/tools/gyp/pylib/gyp/generator/ |
| H A D | eclipse.py | 190 return os.path.join(options.toplevel_dir, value) 304 build_dir = os.path.join(generator_flags.get("output_dir", "out"), config_name) 306 toplevel_build = os.path.join(options.toplevel_dir, build_dir) 310 os.path.join(toplevel_build, "obj", "gen"), 311 os.path.join(toplevel_build, "gen"), 320 os.path.join(toplevel_build, "eclipse-cdt-settings.xml"), 329 os.path.join(toplevel_build, "eclipse-classpath.xml"), 404 AddElements("output", [os.path.join(toplevel_build, ".eclipse-java-build")]) 419 yield os.path.join(os.path.dirname(target_name), input_) 432 os.path.join(o [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
| H A D | eclipse.py | 190 return os.path.join(options.toplevel_dir, value) 301 build_dir = os.path.join(generator_flags.get("output_dir", "out"), config_name) 303 toplevel_build = os.path.join(options.toplevel_dir, build_dir) 307 os.path.join(toplevel_build, "obj", "gen"), 308 os.path.join(toplevel_build, "gen"), 317 os.path.join(toplevel_build, "eclipse-cdt-settings.xml"), 326 os.path.join(toplevel_build, "eclipse-classpath.xml"), 401 AddElements("output", [os.path.join(toplevel_build, ".eclipse-java-build")]) 416 yield os.path.join(os.path.dirname(target_name), input_) 429 os.path.join(o [all...] |
| /third_party/rust/crates/clang-sys/build/ |
| H A D | common.rs | 31 arguments.join(" "), in add_command_error() 74 .join("\n "), in drop() 88 .join("\n "), in drop() 193 // Join the escaped directory to the filename glob patterns to obtain in search_directory() 197 .map(|f| directory.join(f).to_str().unwrap().to_owned()); in search_directory() 237 let sibling = directory.parent().unwrap().join("bin"); in search_directories() 269 found.extend(search_directories(&directory.join("bin"), filenames)); in search_libclang_directories() 270 found.extend(search_directories(&directory.join("lib"), filenames)); in search_libclang_directories() 271 found.extend(search_directories(&directory.join("lib64"), filenames)); in search_libclang_directories() 279 let directory = directory.join("Toolchain in search_libclang_directories() [all...] |
| /third_party/vk-gl-cts/external/openglcts/scripts/ |
| H A D | mustpass.py | 30 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") 90 return os.path.join(mustpass.project.path, mustpass.version, "src") 93 return os.path.join(mustpass.project.path, mustpass.version, "tmp") 102 return os.path.join(mustpass.project.path, mustpass.version) 105 return os.path.join(getDstDir(mustpass), getCaseListFileName(package, configuration)) 207 lists[filter.filename] = readPatternList(os.path.join(getSrcDir(mustpass), filter.filename)) 260 return ''.join(w.capitalize() or '_' for w in s.split('_')) 398 specFilename = os.path.join(mustpass.project.incpath, "glc%s.hpp" % convertToCamelcase(mustpass.project.name.lower().replace(' ','_'))) 418 writeFile(dstFile, "\n".join(filtered) + "\n") 421 specFilename = os.path.join(mustpas [all...] |
| /third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
| H A D | gen_restricted_traces.py | 217 (trace, context, ','.join(source_files), ','.join(data_files), prefix) 220 format_args['test_list'] = ',\n'.join(test_list) 231 with open(os.path.join(trace, file)) as f: 283 return ", ".join(info) 336 out_file.write('\n'.join(sorted(ignores))) 404 print(','.join(inputs)) 406 print(','.join(outputs)) 428 format_args['trace_includes'] = '\n'.join(includes) 429 format_args['trace_infos'] = ',\n'.join(trace_info [all...] |
| /third_party/skia/third_party/externals/harfbuzz/test/shape/ |
| H A D | hb_test_tools.py | 371 args = [concat_separator.join (args)] 372 print (separator.join (callback (x) for x in (args))) 382 return ','.join ("U+%04X" % cp for cp in codepoints (s)) 392 return ''.join (chr (x) for x in Unicode.parse (s)) 429 return ' + '.join (Unicode.pretty_name (x) for x in s) 456 m = open (os.path.join (s, "MANIFEST")) 459 for p in Manifest.read (os.path.join (s, f)): 463 sys.exit ("%s: %s does not exist" % (sys.argv[0], os.path.join (s, "MANIFEST"))) 480 ms = os.path.join (dirpath, "MANIFEST") 488 Manifest.update_recursive (os.path.join (dirpat [all...] |
| /third_party/skia/infra/bots/task_drivers/run_wasm_gm_tests/ |
| H A D | run_wasm_gm_tests.go | 66 goldctlWorkPath := filepath.Join(workAbsPath, "goldctl") 70 testsWorkPath := filepath.Join(workAbsPath, "tests") 181 return os_steps.WriteFile(ctx, filepath.Join(workPath, "hashes.txt"), data, 0666) 188 if _, err := exec.RunCwd(ctx, testHarnessPath, filepath.Join(nodeBinPath, "npm"), "ci"); err != nil { 199 args := []string{filepath.Join(nodeBinPath, "node"), 201 "--js_file", filepath.Join(builtPath, "wasm_gm_tests.js"), 202 "--wasm_file", filepath.Join(builtPath, "wasm_gm_tests.wasm"), 203 "--known_hashes", filepath.Join(workPath, "hashes.txt"), 233 resultFile := filepath.Join(testOutputPath, "gold_results.json") 255 potentialPNGFile := filepath.Join(testOutputPat [all...] |
| /third_party/skia/infra/bots/task_drivers/perf_puppeteer_skottie_frames/ |
| H A D | perf_puppeteer_skottie_frames.go | 92 outputFile := filepath.Join(outputAbsPath, fmt.Sprintf("perf-%s.json", *taskID)) 125 if _, err := exec.RunCwd(ctx, benchmarkPath, filepath.Join(nodeBinPath, "npm"), "ci"); err != nil { 129 if err := os.MkdirAll(filepath.Join(benchmarkPath, "out"), 0777); err != nil { 196 args := []string{filepath.Join(nodeBinPath, "node"), 199 "--canvaskit_js", filepath.Join(canvaskitBinPath, "canvaskit.js"), 200 "--canvaskit_wasm", filepath.Join(canvaskitBinPath, "canvaskit.wasm"), 201 "--input_lottie", filepath.Join(lottie, "data.json"), 202 "--assets", filepath.Join(lottie, "images"), 203 "--output", filepath.Join(benchmarkPath, "out", name+".json"), 241 perfJSONPath := filepath.Join(benchmarkPat [all...] |
| /third_party/skia/infra/bots/recipe_modules/flavor/examples/full.expected/ |
| H A D | retry_adb_command_retries_exhausted.json | 51 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprint(' '.join(cmd))\ntry:\n output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)\nexcept subprocess.CalledProcessError as e:\n output = e.output\nprint('Output was:')\nprint('======')\nprint(output)\nprint('======')\nif 'No such file or directory' not in output:\n raise Exception('%s exists despite being deleted' % path)\n", 71 "@@@STEP_LOG_LINE@python.inline@print(' '.join(cmd))@@@", 77 "@@@STEP_LOG_LINE@python.inline@print(' '.join(cmd))@@@", 123 "\nimport subprocess\nimport sys\n\n# Remove the path.\nadb = sys.argv[1]\npath = sys.argv[2]\nprint('Removing %s' % path)\ncmd = [adb, 'shell', 'rm', '-rf', path]\nprint(' '.join(cmd))\nsubprocess.check_call(cmd)\n\n# Verify that the path was deleted.\nprint('Checking for existence of %s' % path)\ncmd = [adb, 'shell', 'ls', path]\nprint(' '.join(cmd))\ntry:\n output = subprocess.check_output(cmd, stderr=subprocess.STDOUT)\nexcept subprocess.CalledProcessError as e:\n output = e.output\nprint('Output was:')\nprint('======')\nprint(output)\nprint('======')\nif 'No such file or directory' not in output:\n raise Exception('%s exists despite being deleted' % path)\n", 143 "@@@STEP_LOG_LINE@python.inline@print(' '.join(cmd))@@@", 149 "@@@STEP_LOG_LINE@python.inline@print(' '.join(cmd))@@@", 304 "\nimport os\nimport subprocess\nimport sys\nout = sys.argv[1]\nlog = subprocess.check_output(['/opt/infra-android/tools/adb', 'logcat', '-d'])\nfor line in log.split('\\n'):\n tokens = line.split()\n if len(tokens) == 11 and tokens[-7] == 'F' and tokens[-3] == 'pc':\n addr, path = tokens[-2:]\n local = os.path.join(out, os.path.basename(path))\n if os.path.exists(local):\n try:\n sym = subprocess.check_output(['addr2line', '-Cfpe', local, addr])\n line = line.replace(addr, addr + ' ' + sym.strip())\n except subprocess.CalledProcessError:\n pass\n print(line)\n", 325 "@@@STEP_LOG_LINE@python.inline@ local = os.path.join(ou [all...] |
| /third_party/node/deps/npm/node_modules/@npmcli/fs/lib/ |
| H A D | readdir-scoped.js | 2 const { join } = require('path') 9 for (const scopedItem of await readdir(join(dir, item))) { 10 results.push(join(item, scopedItem))
|
| /third_party/typescript/tests/cases/fourslash/ |
| H A D | refactorConvertImport_namedToNamespace7.ts | 3 /////*a*/import { join } from "path"; 6 ////join('a', 'b'); 17 path.join('a', 'b');`,
|
| /third_party/python/Lib/distutils/command/ |
| H A D | build_ext.py | 160 self.include_dirs.append(os.path.join(sys.exec_prefix, 'include')) 193 self.library_dirs.append(os.path.join(sys.exec_prefix, 'libs')) 195 self.library_dirs.append(os.path.join(sys.base_exec_prefix, 'libs')) 197 self.build_temp = os.path.join(self.build_temp, "Debug") 199 self.build_temp = os.path.join(self.build_temp, "Release") 214 new_lib = os.path.join(sys.exec_prefix, 'PCbuild') 216 new_lib = os.path.join(new_lib, suffix) 222 if sys.executable.startswith(os.path.join(sys.exec_prefix, "bin")): 224 self.library_dirs.append(os.path.join(sys.prefix, "lib", 264 user_include = os.path.join(USER_BAS [all...] |
| /foundation/arkui/ace_engine/test/component_test/tools/middle_ground/ |
| H A D | get_csv_data.js | 35 const projectPath = path.join(casePath, "test", "component_test", "test_cases", "components"); 40 const componentName = await getFolders(path.join(projectPath, 45 const fileNames = await getFolders(path.join(projectPath, projectNames[i], 65 path: path.join(__dirname, '..', 'data.csv'),
|
| /foundation/graphic/graphic_2d/utils/build/ |
| H A D | copy_arkui_adapters.py | 45 if not os.path.isdir(os.path.join(source_dir, item)): 48 file_path = os.path.join(source_dir, item, "build", "platform.gni") 52 dest_dir_build_folder = os.path.join(dest_dir, item, "build") 54 shutil.copytree(os.path.join(source_dir, item, "build"), dest_dir_build_folder, dirs_exist_ok=True)
|
| /foundation/resourceschedule/ffrt/benchmarks/serial_sched_time/ |
| H A D | plot.py | 35 plt.title(''.join( 52 marker='s', linestyle='-.', label=''.join(['base avg:', str(round(base_avg, 2))])) 57 color='r', marker='o', linestyle='-', label=''.join(['current avg:', str(round(current_avg, 2))])) 64 plt.title(''.join(['ffrt serial sched time vs base [Ratio:', str(
|
| /third_party/harfbuzz/ |
| H A D | install.py | 41 src_file = os.path.join(src_path, file) 42 dst_file = os.path.join(dst_path, file) 74 tar_file_path = os.path.join(args.source_dir, "harfbuzz-2.8.2.tar.xz") 75 target_dir = os.path.join(args.gen_dir, "harfbuzz-2.8.2")
|
| /third_party/node/test/parallel/ |
| H A D | test-snapshot-error.js | 15 const blobPath = path.join(tmpdir.path, 'snapshot.blob'); 34 assert(!fs.existsSync(path.join(tmpdir.path, 'snapshot.blob'))); 52 assert(!fs.existsSync(path.join(tmpdir.path, 'snapshot.blob'))); 72 assert(!fs.existsSync(path.join(tmpdir.path, 'snapshot.blob')));
|