| /third_party/python/Lib/test/ |
| D | test_py_compile.py | 55 self.source_path = os.path.join(self.directory, '_test.py') 56 self.pyc_path = self.source_path + 'c' 57 self.cache_path = importlib.util.cache_from_source(self.source_path) 60 # current working directory path and the 'self.source_path' might be 63 drive = os.path.splitdrive(self.source_path)[0] 66 with open(self.source_path, 'w') as file: 75 py_compile.compile(self.source_path, self.pyc_path) 89 py_compile.compile(self.source_path, self.pyc_path) 97 py_compile.compile(self.source_path, os.devnull) 100 py_compile.compile(self.source_path) [all …]
|
| D | test_compileall.py | 33 self.source_path = os.path.join(self.directory, '_test.py') 34 self.bc_path = importlib.util.cache_from_source(self.source_path) 35 with open(self.source_path, 'w') as file: 39 shutil.copyfile(self.source_path, self.source_path2) 43 shutil.copyfile(self.source_path, self.source_path3) 56 mtime = int(os.stat(self.source_path).st_mtime) 65 py_compile.compile(self.source_path) 92 self.assertTrue(compileall.compile_file(self.source_path, 114 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path))) 120 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path), [all …]
|
| D | test_modulefinder.py | 384 source_path = base_path + importlib.machinery.SOURCE_SUFFIXES[0] 386 with open_file(source_path) as file: 388 py_compile.compile(source_path, cfile=bytecode_path) 389 os.remove(source_path)
|
| /third_party/boost/tools/inspect/ |
| D | link_check.cpp | 252 const path & source_path, bool no_link_errors, bool allow_external_content, in do_url() argument 254 // precondition: source_path.is_complete() in do_url() 259 error( library_name, source_path, "Empty URL.", ln ); in do_url() 264 string decoded_url = is_css(source_path) ? url : decode_ampersands(url); in do_url() 269 error( library_name, source_path, in do_url() 280 error( library_name, source_path, "Invalid URL: " + decoded_url, ln ); in do_url() 301 error( library_name, source_path, "External content: " + decoded_url, ln ); in do_url() 315 error( library_name, source_path, "No hostname: " + decoded_url, ln ); in do_url() 325 error( library_name, source_path, in do_url() 330 if ( !no_link_errors && is_css(source_path) ) { in do_url() [all …]
|
| /third_party/jsoncpp/devtools/ |
| D | tarball.py | 40 source_path = source 42 for dirpath, dirnames, filenames in os.walk(source_path): 45 path_in_tar = archive_name(source_path) 46 tar.add(source_path, path_in_tar) # filename, arcname
|
| /third_party/unity/examples/example_3/ |
| D | target_gcc_32.yml | 6 source_path: &source_path 'src/' 19 - *source_path
|
| /third_party/node/tools/ |
| D | install.py | 31 def try_symlink(source_path, link_path): argument 32 print('symlinking %s -> %s' % (source_path, link_path)) 35 os.symlink(source_path, link_path) 62 source_path, target_path = mkpaths(path, dst) 66 return shutil.copy2(source_path, target_path) 69 source_path, target_path = mkpaths(path, dst)
|
| /third_party/python/Lib/distutils/command/ |
| D | check.py | 124 source_path = self.distribution.script_name or 'setup.py' 130 reporter = SilentReporter(source_path, 138 document = nodes.document(settings, reporter, source=source_path) 139 document.note_source(source_path, -1)
|
| /third_party/curl/projects/ |
| D | build-openssl.bat | 33 set SOURCE_PATH= variable 253 set "SOURCE_PATH=%CD%" 266 set "TMP_BUILD_PATH=%SOURCE_PATH%" 267 set "TMP_INSTALL_PATH=%SOURCE_PATH%" 269 set "TMP_BUILD_PATH=%SOURCE_PATH%\build\tmp_build" 270 set "TMP_INSTALL_PATH=%SOURCE_PATH%\build\tmp_install" 449 perl "%SOURCE_PATH%\Configure" %options% "--prefix=%TMP_INSTALL_PATH%" 510 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1) 580 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1) 640 if not "%SOURCE_PATH%" == "%TMP_BUILD_PATH%" ( [all …]
|
| /third_party/flutter/skia/tools/ |
| D | imgcvt.cpp | 22 const char* source_path = argc > 1 ? argv[1] : nullptr; in main() local 23 if (!source_path) { in main() 40 auto blob = SkData::MakeFromFileName(source_path); in main() 76 SkDebugf("Couldn't decode %s as an SkImage or an ICC profile.\n", source_path); in main()
|
| /third_party/python/Lib/importlib/ |
| D | _bootstrap_external.py | 418 source_path = source_from_cache(bytecode_path) 420 source_path = bytecode_path[:-1] 421 return source_path if _path_isfile(source_path) else bytecode_path 578 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): argument 583 if source_path is not None: 584 _imp._fix_co_filename(code, source_path) 814 def _cache_bytecode(self, source_path, cache_path, data): argument 856 source_path = self.get_filename(fullname) 863 bytecode_path = cache_from_source(source_path) 868 st = self.path_stats(source_path) [all …]
|
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
| D | mac_tool.py | 391 source_path = resource_rules 396 if not source_path: 397 source_path = os.path.join( 399 shutil.copy2(source_path, target_path) 415 source_path, provisioning_data, team_id = self._FindProvisioningProfile( 421 shutil.copy2(source_path, target_path) 573 source_path = entitlements 577 if not source_path: 578 source_path = os.path.join( 581 shutil.copy2(source_path, target_path)
|
| /third_party/json/third_party/amalgamate/ |
| D | amalgamate.py | 45 # Prepends self.source_path to file_path if needed. 48 file_path = os.path.join(self.source_path, file_path) 72 self.source_path = args.source_path 288 argsparser.add_argument("-s", "--source", dest="source_path",
|
| /third_party/flutter/engine/flutter/sky/tools/roll/ |
| D | roll.py | 112 source_path = os.path.join(source_dir, f) 113 if not os.path.isfile(source_path): 117 system(["cp", source_path, dest_path], cwd=source_dir)
|
| /third_party/ffmpeg/ffbuild/ |
| D | pkgconfig_generate.sh | 47 includedir=${source_path} 53 includedir=${source_path}
|
| /third_party/gn/src/gn/ |
| D | xcode_object.cc | 527 const std::string& source_path) { in AddSourceFile() argument 529 DCHECK(!source_path.empty()); in AddSourceFile() 540 child_as_file_reference->path() == source_path) { in AddSourceFile() 546 navigator_path, source_path, std::string())); in AddSourceFile() 571 return group->AddSourceFile(navigator_path.substr(sep + 1), source_path); in AddSourceFile() 661 const std::string& source_path, in PBXProject() argument 668 main_group_->AddChild(std::make_unique<PBXGroup>(source_path, "Source"))); in PBXProject() 681 const std::string& source_path, in AddSourceFileToIndexingTarget() argument 686 AddSourceFile(navigator_path, source_path, compiler_flag, in AddSourceFileToIndexingTarget() 691 const std::string& source_path, in AddSourceFile() argument [all …]
|
| D | xcode_writer.cc | 290 std::string source_path = RebasePath(source.value(), source_dir, in AddXCTestFilesToTestModuleTarget() local 297 project->AddSourceFile(source_path, source_path, CompilerFlags::HELP, in AddXCTestFilesToTestModuleTarget() 386 const std::string source_path = FilePathToUTF8( in RunAndWriteFiles() local 408 workspace.CreateProductsProject(targets, all_targets, attributes, source_path, in RunAndWriteFiles() 481 const std::string& source_path, in CreateProductsProject() argument 489 new PBXProject("products", config_name, source_path, attributes)); in CreateProductsProject()
|
| /third_party/boost/tools/build/src/tools/ |
| D | symlink.py | 95 source_path = bjam.call("get-target-variable", sources[0], "LOCATE")[0] 97 rel = os.path.relpath(source_path, target_path)
|
| /third_party/libphonenumber/tools/cpp/src/cpp-build/ |
| D | generate_geocoding_data.cc | 638 string source_path(argv[2]); in Main() local 639 std::replace(source_path.begin(), source_path.end(), '\\', '/'); in Main() 640 string base_name = source_path; in Main() 646 FILE* source_fp = fopen(source_path.c_str(), "w"); in Main() 648 fprintf(stderr, "failed to open %s\n", source_path.c_str()); in Main()
|
| /third_party/node/tools/gyp/pylib/gyp/ |
| D | mac_tool.py | 447 source_path, provisioning_data, team_id = self._FindProvisioningProfile( 453 shutil.copy2(source_path, target_path) 605 source_path = entitlements 609 if not source_path: 610 source_path = os.path.join( 613 shutil.copy2(source_path, target_path)
|
| /third_party/unity/test/targets/ |
| D | gcc_32.yml | 3 source_path: '../src/'
|
| D | gcc_64.yml | 3 source_path: '../src/'
|
| D | gcc_auto_limits.yml | 3 source_path: '../src/'
|
| /third_party/cJSON/tests/unity/test/targets/ |
| D | gcc_64.yml | 3 source_path: '../src/'
|
| D | gcc_32.yml | 3 source_path: '../src/'
|