Home
last modified time | relevance | path

Searched full:source_path (Results 1 – 25 of 52) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_py_compile.py57 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 …]
Dtest_compileall.py59 self.source_path = os.path.join(self.directory, '_test.py')
60 self.bc_path = importlib.util.cache_from_source(self.source_path)
61 with open(self.source_path, 'w', encoding="utf-8") as file:
65 shutil.copyfile(self.source_path, self.source_path2)
69 shutil.copyfile(self.source_path, self.source_path3)
82 mtime = int(os.stat(self.source_path).st_mtime)
91 os.utime(self.source_path, (2**32 - 1, 2**32 - 1))
95 self.assertTrue(compileall.compile_file(self.source_path))
101 os.utime(self.source_path, (2**35, 2**35))
105 self.assertTrue(compileall.compile_file(self.source_path))
[all …]
Dtest_modulefinder.py384 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/skia/third_party/externals/angle2/tools/android/modularization/convenience/
Dlookup_dep.py215 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/unity/examples/example_3/
Dtarget_gcc_32.yml6 source_path: &source_path 'src/'
19 - *source_path
/third_party/opencl-headers/tests/
DCMakeLists.txt16 set(SOURCE_PATH "${CPP_SOURCE_PATH}") variable
19 set(SOURCE_PATH "../${SOURCE}") variable
26 add_executable(${TEST_EXE} "${SOURCE_PATH}")
/third_party/python/Lib/distutils/command/
Dcheck.py126 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/curl/projects/
Dbuild-openssl.bat35 set SOURCE_PATH= variable
245 set "SOURCE_PATH=%CD%"
258 set "TMP_BUILD_PATH=%SOURCE_PATH%"
259 set "TMP_INSTALL_PATH=%SOURCE_PATH%"
261 set "TMP_BUILD_PATH=%SOURCE_PATH%\build\tmp_build"
262 set "TMP_INSTALL_PATH=%SOURCE_PATH%\build\tmp_install"
441 perl "%SOURCE_PATH%\Configure" %options% "--prefix=%TMP_INSTALL_PATH%"
502 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1)
572 cd /d "%SOURCE_PATH%" || (echo Error: Failed cd source & exit /B 1)
642 if not "%SOURCE_PATH%" == "%TMP_BUILD_PATH%" (
[all …]
/third_party/skia/tools/
Dimgcvt.cpp22 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.py504 source_path = source_from_cache(bytecode_path)
506 source_path = bytecode_path[:-1]
507 return source_path if _path_isfile(source_path) else bytecode_path
670 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): argument
675 if source_path is not None:
676 _imp._fix_co_filename(code, source_path)
915 def _cache_bytecode(self, source_path, cache_path, data): argument
957 source_path = self.get_filename(fullname)
964 bytecode_path = cache_from_source(source_path)
969 st = self.path_stats(source_path)
[all …]
/third_party/json/tools/amalgamate/
Damalgamate.py45 # 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/node/tools/
Dinstall.py32 def try_symlink(source_path, link_path): argument
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/typescript/
Dcompile_typescript.py38 source_path = args[0]
39 run_pack(source_path)
/third_party/ffmpeg/ffbuild/
Dpkgconfig_generate.sh47 includedir=${source_path}
53 includedir=${source_path}
/third_party/gn/src/gn/
Dxcode_object.cc586 const std::string& source_path) { in AddSourceFile() argument
588 DCHECK(!source_path.empty()); in AddSourceFile()
599 child_as_file_reference->path() == source_path) { in AddSourceFile()
604 return CreateChild<PBXFileReference>(navigator_path, source_path, in AddSourceFile()
628 return group->AddSourceFile(navigator_path.substr(sep + 1), source_path); in AddSourceFile()
750 const std::string& source_path, in PBXProject() argument
756 sources_ = main_group_->CreateChild<PBXGroup>(source_path, "Source"); in PBXProject()
769 const std::string& source_path) { in AddSourceFileToIndexingTarget() argument
773 AddSourceFile(navigator_path, source_path, target_for_indexing_); in AddSourceFileToIndexingTarget()
777 const std::string& source_path, in AddSourceFile() argument
[all …]
/third_party/cef/cmake/
Dcef_macros.cmake.in201 set(SOURCE_PATH ${FILENAME}) variable
203 set(SOURCE_PATH "${source_dir}/${FILENAME}") variable
217 COMMAND /usr/bin/ibtool --output-format binary1 --compile "${TARGET_PATH}" "${SOURCE_PATH}"
225 COMMAND ${CMAKE_COMMAND} -E copy "${SOURCE_PATH}" "${TARGET_PATH}"
/third_party/libphonenumber/tools/cpp/src/cpp-build/
Dgenerate_geocoding_data.cc643 string source_path(argv[2]); in Main() local
644 std::replace(source_path.begin(), source_path.end(), '\\', '/'); in Main()
645 string base_name = source_path; in Main()
651 FILE* source_fp = fopen(source_path.c_str(), "w"); in Main()
653 fprintf(stderr, "failed to open %s\n", source_path.c_str()); in Main()
/third_party/node/tools/gyp/pylib/gyp/
Dmac_tool.py480 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)
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dmac_tool.py480 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)
/third_party/cups-filters/
DBUILD.gn81 source_path = rebase_path("//third_party/cups-filters", root_build_dir)
86 "$source_path",
/third_party/skia/third_party/externals/abseil-cpp/absl/cleanup/
Dcleanup.h25 // absl::Status CopyGoodData(const char* source_path, const char* sink_path) {
26 // FILE* source_file = fopen(source_path, "r");
/third_party/cJSON/tests/unity/test/targets/
Dgcc_auto_limits.yml3 source_path: '../src/'
Dgcc_manual_math.yml3 source_path: '../src/'
Dgcc_32.yml3 source_path: '../src/'
Dgcc_64.yml3 source_path: '../src/'

123