Home
last modified time | relevance | path

Searched refs:base_path (Results 1 - 25 of 37) sorted by relevance

12

/third_party/python/Lib/lib2to3/fixes/
H A Dfix_import.py90 base_path = dirname(self.filename)
91 base_path = join(base_path, imp_name)
94 if not exists(join(dirname(base_path), "__init__.py")):
97 if exists(base_path + ext):
/third_party/node/tools/gyp/pylib/gyp/generator/
H A Danalyzer.py151 def _AddSources(sources, base_path, base_path_components, result):
153 source file is relative to |base_path|, but may contain '..'. To make
155 directories in |base_path|. Additionally each source may contain variables.
170 result.append(base_path + source)
175 def _ExtractSourcesFromAction(action, base_path, base_path_components, results):
177 _AddSources(action["inputs"], base_path, base_path_components, results)
193 base_path = posixpath.dirname(_ToLocalPath(toplevel_dir, _ToGypPath(target)))
194 base_path_components = base_path.split("/")
197 if len(base_path):
198 base_path
[all...]
H A Dandroid.py115 base_path,
128 base_path: path relative to source root we're building in, used to resolve
145 self.path = base_path
1047 base_path = gyp.common.RelativePath(os.path.dirname(build_file), options.depth)
1048 # We write the file in the base_path directory.
1049 output_file = os.path.join(options.depth, base_path, base_name)
1053 base_path = gyp.common.RelativePath(
1056 return base_path, output_file
1117 base_path, output_file = CalculateMakefilePath(
1135 base_path,
[all...]
H A Dcmake.py96 def NormjoinPathForceCMakeSource(base_path, rel_path):
97 """Resolves rel_path against base_path and returns the result.
100 Otherwise it is resolved against base_path and normalized.
108 # TODO: do we need to check base_path for absolute variables as well?
110 "${CMAKE_CURRENT_LIST_DIR}", os.path.normpath(os.path.join(base_path, rel_path))
114 def NormjoinPath(base_path, rel_path):
115 """Resolves rel_path against base_path and returns the result.
118 Otherwise it is resolved against base_path if relative, then normalized.
122 return os.path.normpath(os.path.join(base_path, rel_path))
329 def NormjoinRulePathForceCMakeSource(base_path, rel_pat
[all...]
H A Dmake.py808 self, qualified_target, base_path, output_filename, spec, configs, part_of_all
814 base_path: path relative to source root we're building in, used to resolve
827 self.path = base_path
2399 base_path = gyp.common.RelativePath(os.path.dirname(build_file), options.depth)
2400 # We write the file in the base_path directory.
2401 output_file = os.path.join(options.depth, base_path, base_name)
2404 options.depth, options.generator_output, base_path, base_name
2406 base_path = gyp.common.RelativePath(
2409 return base_path, output_file
2609 base_path, output_fil
[all...]
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/
H A Danalyzer.py151 def _AddSources(sources, base_path, base_path_components, result):
153 source file is relative to |base_path|, but may contain '..'. To make
155 directories in |base_path|. Additionally each source may contain variables.
170 result.append(base_path + source)
175 def _ExtractSourcesFromAction(action, base_path, base_path_components, results):
177 _AddSources(action["inputs"], base_path, base_path_components, results)
193 base_path = posixpath.dirname(_ToLocalPath(toplevel_dir, _ToGypPath(target)))
194 base_path_components = base_path.split("/")
197 if len(base_path):
198 base_path
[all...]
H A Dandroid.py115 base_path,
128 base_path: path relative to source root we're building in, used to resolve
145 self.path = base_path
1047 base_path = gyp.common.RelativePath(os.path.dirname(build_file), options.depth)
1048 # We write the file in the base_path directory.
1049 output_file = os.path.join(options.depth, base_path, base_name)
1053 base_path = gyp.common.RelativePath(
1056 return base_path, output_file
1117 base_path, output_file = CalculateMakefilePath(
1135 base_path,
[all...]
H A Dcmake.py96 def NormjoinPathForceCMakeSource(base_path, rel_path):
97 """Resolves rel_path against base_path and returns the result.
100 Otherwise it is resolved against base_path and normalized.
108 # TODO: do we need to check base_path for absolute variables as well?
110 "${CMAKE_CURRENT_LIST_DIR}", os.path.normpath(os.path.join(base_path, rel_path))
114 def NormjoinPath(base_path, rel_path):
115 """Resolves rel_path against base_path and returns the result.
118 Otherwise it is resolved against base_path if relative, then normalized.
122 return os.path.normpath(os.path.join(base_path, rel_path))
329 def NormjoinRulePathForceCMakeSource(base_path, rel_pat
[all...]
H A Dmake.py817 self, qualified_target, base_path, output_filename, spec, configs, part_of_all
823 base_path: path relative to source root we're building in, used to resolve
836 self.path = base_path
2405 base_path = gyp.common.RelativePath(os.path.dirname(build_file), options.depth)
2406 # We write the file in the base_path directory.
2407 output_file = os.path.join(options.depth, base_path, base_name)
2410 options.depth, options.generator_output, base_path, base_name
2412 base_path = gyp.common.RelativePath(
2415 return base_path, output_file
2637 base_path, output_fil
[all...]
/third_party/node/deps/v8/tools/testrunner/outproc/
H A Dmessage.py41 base_path = self._basepath + '.js'
42 if not os.path.exists(base_path):
43 base_path = self._basepath + '.mjs'
46 'basename': os.path.basename(base_path),
/third_party/gn/src/base/files/
H A Dscoped_temp_dir.cc38 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { in CreateUniqueTempDirUnderPath() argument
42 // If |base_path| does not exist, create it. in CreateUniqueTempDirUnderPath()
43 if (!base::CreateDirectory(base_path)) in CreateUniqueTempDirUnderPath()
46 // Create a new, uniquely named directory under |base_path|. in CreateUniqueTempDirUnderPath()
47 if (!base::CreateTemporaryDirInDir(base_path, kScopedDirPrefix, &path_)) in CreateUniqueTempDirUnderPath()
/third_party/libabigail/tests/
H A Dtest-symtab.cc333 const std::string base_path = variable
336 GIVEN("The binaries in " + base_path)
344 // assert_symbol_count(base_path + "empty.so");
349 const std::string binary = base_path + "single_function.ko";
361 const std::string binary = base_path + "single_function_gpl.ko";
373 const std::string binary = base_path + "single_variable.ko";
385 const std::string binary = base_path + "single_variable_gpl.ko";
397 const std::string binary = base_path + "one_of_each.ko";
414 const std::string base_path = "kernel-modversions/"; variable
418 const std::string binary = base_path
[all...]
/third_party/node/deps/v8/tools/release/
H A Dlist_deprecated.py167 base_path = Path(__file__).parent.parent
168 options.include_dir = str((base_path / 'include').relative_to(base_path))
/third_party/python/Lib/test/
H A Dtest_modulefinder.py384 base_path = os.path.join(self.test_dir, 'a')
385 source_path = base_path + importlib.machinery.SOURCE_SUFFIXES[0]
386 bytecode_path = base_path + importlib.machinery.BYTECODE_SUFFIXES[0]
H A Dtest_shelve.py188 x = shelve.open(self.base_path + str(self.counter), **self._args)
196 self.base_path = os.path.join(dirname, "shelftemp.db")
H A Dtest_pkgutil.py504 base_path = os.path.join(self.basedir, base.replace('.', os.path.sep))
505 os.makedirs(base_path, exist_ok=True)
506 with open(os.path.join(base_path, final + ".py"), 'w') as f:
/third_party/skia/third_party/externals/tint/tools/
H A Drun_tests.py171 base_path = os.path.abspath(
177 default=os.path.join(base_path, 'out', 'Debug'),
187 default=os.path.join(base_path, 'tools', 'known_tint_failures'),
/third_party/python/Lib/test/support/
H A Dos_helper.py559 base_path = base.name
560 case_path = base_path.upper()
561 if case_path == base_path:
562 case_path = base_path.lower()
564 return os.path.samefile(base_path, case_path)
/third_party/skia/third_party/externals/dawn/scripts/
H A Dperf_test_runner.py25 base_path = os.path.abspath( variable
88 binary_path = os.path.join(base_path, path, binary_name)
/third_party/skia/third_party/externals/angle2/scripts/
H A Dperf_test_runner.py21 base_path = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..')) variable
116 binary_path = os.path.join(base_path, path, args.suite)
/third_party/nghttp2/src/
H A Dhttp2.cc1378 std::string path_join(const StringRef &base_path, const StringRef &base_query,
1382 return path_join(balloc, base_path, base_query, rel_path, rel_query).str();
1728 StringRef path_join(BlockAllocator &balloc, const StringRef &base_path,
1732 balloc, std::max(static_cast<size_t>(1), base_path.size()) +
1738 if (base_path.empty()) {
1741 p = std::copy(std::begin(base_path), std::end(base_path), p);
1765 } else if (base_path.empty()) {
1768 p = std::copy(std::begin(base_path), std::end(base_path),
[all...]
/third_party/node/deps/v8/tools/unittests/
H A Drun_perf_test.py101 base_path = os.path.join(TEST_DATA, 'builddirs', 'dir1', 'out')
102 expected_path = os.path.join(base_path, 'build')
104 run_perf.find_build_directory(base_path, 'x64'))
/third_party/vk-gl-cts/external/amber/src/tests/
H A Drun_tests.py289 base_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
294 default=os.path.join(base_path, 'out', 'Debug'),
/third_party/python/Lib/importlib/
H A D_bootstrap_external.py1627 base_path = _path_join(self.path, tail_module)
1630 full_path = _path_join(base_path, init_filename)
1632 return self._get_spec(loader_class, fullname, full_path, [base_path], target)
1636 is_namespace = _path_isdir(base_path)
1649 _bootstrap._verbose_message('possible namespace for {}', base_path)
1651 spec.submodule_search_locations = [base_path]
/third_party/python/Mac/BuildScript/
H A Dbuild-installer.py617 base_path = '/bin:/sbin:/usr/bin:/usr/sbin'
619 base_path = os.environ['SDK_TOOLS_BIN'] + ':' + base_path
624 base_path = base_path + ':' + OLD_DEVELOPER_TOOLS
625 os.environ['PATH'] = base_path

Completed in 25 milliseconds

12