| /third_party/python/Lib/test/ |
| H A D | test_py_compile.py | 57 self.source_path = os.path.join(self.directory, '_test.py') 58 self.pyc_path = self.source_path + 'c' 59 self.cache_path = importlib.util.cache_from_source(self.source_path) 62 # current working directory path and the 'self.source_path' might be 65 drive = os.path.splitdrive(self.source_path)[0] 68 with open(self.source_path, 'w') as file: 77 py_compile.compile(self.source_path, self.pyc_path) 91 py_compile.compile(self.source_path, self.pyc_path) 99 py_compile.compile(self.source_path, os.devnull) 102 py_compile.compile(self.source_path) [all...] |
| H A D | test_modulefinder.py | 385 source_path = base_path + importlib.machinery.SOURCE_SUFFIXES[0] 387 with open_file(source_path) as file: 389 py_compile.compile(source_path, cfile=bytecode_path) 390 os.remove(source_path)
|
| H A D | test_compileall.py | 57 self.source_path = os.path.join(self.directory, '_test.py') 58 self.bc_path = importlib.util.cache_from_source(self.source_path) 59 with open(self.source_path, 'w', encoding="utf-8") as file: 63 shutil.copyfile(self.source_path, self.source_path2) 67 shutil.copyfile(self.source_path, self.source_path3) 80 mtime = int(os.stat(self.source_path).st_mtime) 89 os.utime(self.source_path, (2**32 - 1, 2**32 - 1)) 93 self.assertTrue(compileall.compile_file(self.source_path)) 99 os.utime(self.source_path, (2**35, 2**35)) 103 self.assertTrue(compileall.compile_file(self.source_path)) [all...] |
| H A D | test_posix.py | 2050 source_path = os.path.join(base_path, "source") 2052 with open(source_path, "w") as fp: 2062 os.link(source_path, link_path, follow_symlinks=True) 2065 os.link(source_path, link_path, follow_symlinks=False)
|
| H A D | test_zipfile.py | 3560 source_path = self.zipfile_ondisk(alpharep) 3561 zf = zipfile.ZipFile(source_path) 3564 zf.extractall(source_path.parent)
|
| /third_party/python/Lib/importlib/ |
| H A D | _bootstrap_external.py | 561 source_path = source_from_cache(bytecode_path) 563 source_path = bytecode_path[:-1] 564 return source_path if _path_isfile(source_path) else bytecode_path 727 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): 732 if source_path is not None: 733 _imp._fix_co_filename(code, source_path) 972 def _cache_bytecode(self, source_path, cache_path, data): 1014 source_path = self.get_filename(fullname) 1021 bytecode_path = cache_from_source(source_path) [all...] |
| /third_party/python/Lib/distutils/command/ |
| H A D | check.py | 126 source_path = self.distribution.script_name or 'setup.py' 132 reporter = SilentReporter(source_path, 140 document = nodes.document(settings, reporter, source=source_path) 141 document.note_source(source_path, -1)
|
| /third_party/skia/tools/ |
| H A 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/node/tools/ |
| H A D | install.py | 32 def try_symlink(source_path, link_path): 33 print('symlinking %s -> %s' % (source_path, link_path)) 36 os.symlink(source_path, link_path) 63 source_path, target_path = mkpaths(path, dst) 67 return shutil.copy2(source_path, target_path) 70 source_path, target_path = mkpaths(path, dst)
|
| /third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/ |
| H A D | lookup_dep.py | 215 source_path = pathlib.Path(source_line.strip()) 216 java_class = self._parse_full_java_class(source_path) 288 def _parse_full_java_class(source_path: pathlib.Path) -> str: 290 if source_path.suffix != '.java': 291 logging.warning(f'"{source_path}" does not have the .java suffix') 294 directory_path: pathlib.Path = source_path.parent 303 logging.debug(f'File {source_path} not in a subdir of "org" or "com", ' 308 class_name = source_path.stem
|
| /third_party/typescript/ |
| H A D | compile_typescript.py | 50 source_path = args[0] 52 run_pack(source_path, dest_out_path)
|
| /third_party/gn/src/gn/ |
| H A D | xcode_object.cc | 594 const std::string& source_path) { in AddSourceFile() 596 DCHECK(!source_path.empty()); in AddSourceFile() 637 return group->AddSourceFile(navigator_path.substr(sep + 1), source_path); in AddSourceFile() 696 PBXMainGroup::PBXMainGroup(const std::string& source_path) in PBXMainGroup() argument 697 : PBXGroup(source_path, std::string()) {} in PBXMainGroup() 778 const std::string& source_path, in PBXProject() 781 main_group_ = std::make_unique<PBXMainGroup>(source_path); in PBXProject() 792 const std::string& source_path) { in AddSourceFileToIndexingTarget() 796 AddSourceFile(navigator_path, source_path, target_for_indexing_); in AddSourceFileToIndexingTarget() 800 const std::string& source_path, in AddSourceFile() 593 AddSourceFile(const std::string& navigator_path, const std::string& source_path) AddSourceFile() argument 776 PBXProject(const std::string& name, std::vector<std::string> configs, const std::string& source_path, const PBXAttributes& attributes) PBXProject() argument 790 AddSourceFileToIndexingTarget( const std::string& navigator_path, const std::string& source_path) AddSourceFileToIndexingTarget() argument 799 AddSourceFile(const std::string& navigator_path, const std::string& source_path, PBXNativeTarget* target) AddSourceFile() argument [all...] |
| H A D | xcode_object.h | 285 const std::string& source_path); 321 explicit PBXMainGroup(const std::string& source_path); 373 const std::string& source_path, 378 const std::string& source_path); 380 const std::string& source_path,
|
| H A D | xcode_writer.cc | 307 const std::string source_path = RebasePath( in AddXCTestFilesToTestModuleTarget() local 309 project->AddSourceFile(source_path, source_path, native_target); in AddXCTestFilesToTestModuleTarget() 502 const std::string source_path = in AddToProject() local 504 project.AddSourceFileToIndexingTarget(source_path, source_path); in AddToProject()
|
| /third_party/node/tools/gyp/pylib/gyp/ |
| H A D | mac_tool.py | 480 source_path, provisioning_data, team_id = self._FindProvisioningProfile( 488 shutil.copy2(source_path, target_path) 653 source_path = entitlements 657 if not source_path: 658 source_path = os.path.join(os.environ["SDKROOT"], "Entitlements.plist") 659 shutil.copy2(source_path, target_path)
|
| H A D | common.py | 479 source_path = os.path.join( 482 with open(source_path) as source_file:
|
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
| H A D | mac_tool.py | 480 source_path, provisioning_data, team_id = self._FindProvisioningProfile( 488 shutil.copy2(source_path, target_path) 653 source_path = entitlements 657 if not source_path: 658 source_path = os.path.join(os.environ["SDKROOT"], "Entitlements.plist") 659 shutil.copy2(source_path, target_path)
|
| H A D | common.py | 473 source_path = os.path.join( 476 with open(source_path) as source_file:
|
| /third_party/json/tools/amalgamate/ |
| H A 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/skia/third_party/externals/angle2/scripts/ |
| H A D | generate_loader.py | 73 source_path = registry_xml.path_to(path, file_name) 80 with open(source_path, "w") as out:
|
| /third_party/pulseaudio/src/modules/ |
| H A D | module-rygel-media-server.c | 855 char source_path[sizeof(OBJECT_SOURCES) + 32]; in sinks_and_sources_handler() local 856 char *path_end = source_path + sizeof(OBJECT_SOURCES); in sinks_and_sources_handler() 860 strcpy(source_path, OBJECT_SOURCES "/"); in sinks_and_sources_handler() 866 append_sink_or_source_item_properties(r, &sub, source_path, u, NULL, source, filter, filter_len); in sinks_and_sources_handler()
|
| /third_party/ffmpeg/ |
| H A D | configure | 3970 source_path=. 3972 source_path=src 3974 source_path=$(cd $(dirname "$0"); pwd) 3975 case "$source_path" in 3978 test -e "$source_path/config.h" && 3992 file=$source_path/$3 3998 file=$source_path/$1 4347 target_exec_args="--error-exitcode=1 --malloc-fill=0x2a --track-origins=yes --leak-check=full --gen-suppressions=all --suppressions=$source_path/tests/fate-valgrind.supp" 4365 ld_default="$source_path/compat/windows/mslink" 5722 if [ "$source_path" ! [all...] |
| /third_party/selinux/libsepol/cil/src/ |
| H A D | cil_binary.c | 4616 char *source_path; in __cil_init_sepol_avrule() local 4630 source_node = cil_tree_get_next_path(node, &lm_kind, &hll_line, &source_path); in __cil_init_sepol_avrule() 4632 avrule->source_filename = source_path; in __cil_init_sepol_avrule()
|