Home
last modified time | relevance | path

Searched full:source_path (Results 1 – 25 of 75) 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.py54 self.source_path = os.path.join(self.directory, '_test.py')
55 self.bc_path = importlib.util.cache_from_source(self.source_path)
56 with open(self.source_path, 'w') as file:
60 shutil.copyfile(self.source_path, self.source_path2)
64 shutil.copyfile(self.source_path, self.source_path3)
77 mtime = int(os.stat(self.source_path).st_mtime)
86 py_compile.compile(self.source_path)
113 self.assertTrue(compileall.compile_file(self.source_path,
135 self.assertTrue(compileall.compile_file(pathlib.Path(self.source_path)))
141 self.assertTrue(compileall.compile_file(pathlib.Path(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/boost/tools/inspect/
Dlink_check.cpp252 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/
Dtarball.py40 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/
Dtarget_gcc_32.yml6 source_path: &source_path 'src/'
19 - *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/node/tools/
Dinstall.py31 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/
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/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/flutter/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/curl/projects/
Dbuild-openssl.bat33 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/python/Lib/importlib/
D_bootstrap_external.py425 source_path = source_from_cache(bytecode_path)
427 source_path = bytecode_path[:-1]
428 return source_path if _path_isfile(source_path) else bytecode_path
585 def _compile_bytecode(data, name=None, bytecode_path=None, source_path=None): argument
590 if source_path is not None:
591 _imp._fix_co_filename(code, source_path)
821 def _cache_bytecode(self, source_path, cache_path, data): argument
863 source_path = self.get_filename(fullname)
870 bytecode_path = cache_from_source(source_path)
875 st = self.path_stats(source_path)
[all …]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
Dmac_tool.py391 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/flutter/engine/flutter/sky/tools/roll/
Droll.py112 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/json/third_party/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/ffmpeg/ffbuild/
Dpkgconfig_generate.sh47 includedir=${source_path}
53 includedir=${source_path}
/third_party/gn/src/gn/
Dxcode_object.cc527 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 …]
Dxcode_writer.cc290 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/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/boost/tools/build/src/tools/
Dsymlink.py95 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/
Dgenerate_geocoding_data.cc638 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/unity/test/targets/
Dgcc_manual_math.yml3 source_path: '../src/'
/third_party/cJSON/tests/unity/test/targets/
Dgcc_manual_math.yml3 source_path: '../src/'
Dgcc_64.yml3 source_path: '../src/'

123