Home
last modified time | relevance | path

Searched refs:base_path (Results 1 – 25 of 175) sorted by relevance

1234567

/external/autotest/client/
Dsetup_modules.py133 def _setup_top_level_symlink(base_path): argument
135 if os.path.islink(os.path.join(base_path, 'autotest_lib')):
137 os.chdir(base_path)
141 def _setup_client_symlink(base_path): argument
154 autotest_lib_dir = os.path.join(base_path, 'autotest_lib')
180 def _symlink_check(base_path, root_dir): argument
185 _setup_top_level_symlink(base_path)
187 _setup_client_symlink(base_path)
192 def setup(base_path, root_module_name): argument
193 _symlink_check(base_path, root_module_name)
[all …]
/external/pigweed/pw_build_mcuxpresso/py/pw_build_mcuxpresso/
Dcomponents.py104 base_path = (
108 components[component_id] = (element, base_path)
162 base_path: pathlib.Path | None = None,
180 if base_path is not None and base_path == pathlib.Path(
184 if base_path is None:
186 return base_path / path
191 base_path: pathlib.Path | None,
220 parent / _parse_include_path(include_path, base_path)
233 base_path: pathlib.Path | None,
273 if base_path is not None and base_path == pathlib.Path(
[all …]
/external/tensorflow/tensorflow/python/tools/
Dsaved_model_cli_test.py65 base_path = test.test_src_dir_path(SAVED_MODEL_PATH)
67 args = self.parser.parse_args(['show', '--dir', base_path, '--all'])
312 base_path = test.test_src_dir_path(SAVED_MODEL_PATH)
314 args = self.parser.parse_args(['show', '--dir', base_path])
323 base_path = test.test_src_dir_path(SAVED_MODEL_PATH)
326 ['show', '--dir', base_path, '--tag_set', 'serve'])
344 base_path = test.test_src_dir_path(SAVED_MODEL_PATH)
347 ['show', '--dir', base_path, '--tag_set', 'badtagset'])
352 base_path = test.test_src_dir_path(SAVED_MODEL_PATH)
355 'show', '--dir', base_path, '--tag_set', 'serve', '--signature_def',
[all …]
/external/autotest/site_utils/lxc/
Dbase_image.py100 base_path = os.path.join(self.container_path, self.base_name)
101 if lxc_utils.path_exists(base_path):
143 base_path = os.path.join(self.container_path, self.base_name)
153 path_to_cleanup = [tar_path, base_path]
163 config_path = os.path.join(base_path, 'config')
164 rootfs_path = os.path.join(base_path, 'rootfs')
177 base_path = os.path.join(self.container_path, self.base_name)
178 utils.run('sudo chown -R root "%s"' % base_path)
179 utils.run('sudo chgrp -R root "%s"' % base_path)
/external/webrtc/test/logging/
Dfile_log_writer.cc50 FileLogWriterFactory::FileLogWriterFactory(absl::string_view base_path) in FileLogWriterFactory() argument
51 : base_path_(base_path) { in FileLogWriterFactory()
52 for (size_t i = 0; i < base_path.size(); ++i) { in FileLogWriterFactory()
53 if (base_path[i] == '/') in FileLogWriterFactory()
54 test::CreateDir(base_path.substr(0, i)); in FileLogWriterFactory()
/external/webrtc/tools_webrtc/
Dgn_check_autofix.py104 def Rebase(base_path, dependency_path, dependency): argument
127 base_path = base_path.split(os.path.sep)
131 shortest_length = min(len(dependency_path), len(base_path))
133 if dependency_path[i] != base_path[i]:
138 base_path = base_path[first_difference:]
140 rebased = os.path.sep.join((['..'] * len(base_path)) + dependency_path)
/external/toolchain-utils/binary_search_tool/sysroot_wrapper/
Dtesting_test.py19 base_path = ( variable
24 os.path.join(base_path, "base/base.cpu.o"),
25 os.path.join(base_path, "base/base.version.o"),
26 os.path.join(base_path, "apps/apps.launcher.o"),
/external/bcc/src/lua/src/
Dsquish.lua17 base_path = opt;
106 base_path = (base_path or "."):gsub("/$", "").."/"
107 squishy_file = base_path .. "squishy";
178 return base_path..path;
183 return base_path..path;
209 module.path = module.path:gsub("^"..base_path:gsub("%p", "%%%1"), "");
220 path = base_path..module.path;
247 local res_file, err = io.open(base_path..path, "rb");
302 local fin, err = io.open(base_path..fn);
/external/libchrome/base/files/
Dscoped_temp_dir_unittest.cc67 FilePath base_path; in TEST() local
69 &base_path)); in TEST()
74 EXPECT_TRUE(dir.CreateUniqueTempDirUnderPath(base_path)); in TEST()
77 EXPECT_TRUE(base_path.IsParent(test_path)); in TEST()
78 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos); in TEST()
81 base::DeleteFile(base_path, true); in TEST()
Dscoped_temp_dir.cc38 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { in CreateUniqueTempDirUnderPath() argument
43 if (!base::CreateDirectory(base_path)) in CreateUniqueTempDirUnderPath()
47 if (!base::CreateTemporaryDirInDir(base_path, kScopedDirPrefix, &path_)) in CreateUniqueTempDirUnderPath()
/external/cronet/tot/net/test/url_request/
Durl_request_mock_http_job.cc37 MockJobInterceptor(const base::FilePath& base_path, in MockJobInterceptor() argument
39 : base_path_(base_path), in MockJobInterceptor()
95 void URLRequestMockHTTPJob::AddUrlHandlers(const base::FilePath& base_path) { in AddUrlHandlers() argument
99 CreateInterceptor(base_path)); in AddUrlHandlers()
101 CreateInterceptor(base_path)); in AddUrlHandlers()
116 const base::FilePath& base_path) { in CreateInterceptor() argument
117 return std::make_unique<MockJobInterceptor>(base_path, false); in CreateInterceptor()
/external/cronet/stable/net/test/url_request/
Durl_request_mock_http_job.cc37 MockJobInterceptor(const base::FilePath& base_path, in MockJobInterceptor() argument
39 : base_path_(base_path), in MockJobInterceptor()
95 void URLRequestMockHTTPJob::AddUrlHandlers(const base::FilePath& base_path) { in AddUrlHandlers() argument
99 CreateInterceptor(base_path)); in AddUrlHandlers()
101 CreateInterceptor(base_path)); in AddUrlHandlers()
116 const base::FilePath& base_path) { in CreateInterceptor() argument
117 return std::make_unique<MockJobInterceptor>(base_path, false); in CreateInterceptor()
/external/python/pyfakefs/pyfakefs/tests/
Dtest_utils.py106 self.base_path = None
112 self.base_path = tempfile.mkdtemp()
116 self.os.chdir(os.path.dirname(self.base_path))
117 shutil.rmtree(self.base_path, ignore_errors=True)
294 path = self.base_path
299 return self.os.path.join(self.base_path, *args)
372 old_base_path = self.base_path
373 self.base_path = self.filesystem.path_separator + "basepath"
375 self.base_path = "C:" + self.base_path
376 if old_base_path != self.base_path:
[all …]
/external/autotest/server/cros/repair/
Dmac_address_helper.py137 def _get_device_path(self, host, base_path, vid, pid): argument
162 if not base_path:
163 base_path = '/sys/bus/usb/devices/*/'
165 base_path += '*/'
167 vid_path = _run(cmd_template % (vid, base_path, 'idVendor'))
171 pid_path = _run(cmd_template % (pid, base_path, 'idProduct'))
/external/cronet/tot/base/files/
Dscoped_temp_dir_unittest.cc81 FilePath base_path; in TEST() local
83 CreateNewTempDirectory(FILE_PATH_LITERAL("base_dir"), &base_path)); in TEST()
88 EXPECT_TRUE(dir.CreateUniqueTempDirUnderPath(base_path)); in TEST()
91 EXPECT_TRUE(base_path.IsParent(test_path)); in TEST()
92 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos); in TEST()
95 DeletePathRecursively(base_path); in TEST()
Dscoped_temp_dir.cc48 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { in CreateUniqueTempDirUnderPath() argument
53 if (!CreateDirectory(base_path)) in CreateUniqueTempDirUnderPath()
57 if (!CreateTemporaryDirInDir(base_path, kScopedDirPrefix, &path_)) in CreateUniqueTempDirUnderPath()
/external/cronet/stable/base/files/
Dscoped_temp_dir_unittest.cc81 FilePath base_path; in TEST() local
83 CreateNewTempDirectory(FILE_PATH_LITERAL("base_dir"), &base_path)); in TEST()
88 EXPECT_TRUE(dir.CreateUniqueTempDirUnderPath(base_path)); in TEST()
91 EXPECT_TRUE(base_path.IsParent(test_path)); in TEST()
92 EXPECT_TRUE(test_path.value().find(base_path.value()) != std::string::npos); in TEST()
95 DeletePathRecursively(base_path); in TEST()
Dscoped_temp_dir.cc48 bool ScopedTempDir::CreateUniqueTempDirUnderPath(const FilePath& base_path) { in CreateUniqueTempDirUnderPath() argument
53 if (!CreateDirectory(base_path)) in CreateUniqueTempDirUnderPath()
57 if (!CreateTemporaryDirInDir(base_path, kScopedDirPrefix, &path_)) in CreateUniqueTempDirUnderPath()
/external/sdv/vsomeip/third_party/boost/function_types/include/boost/function_types/detail/
Dpp_arity_loop.hpp35 # define BOOST_FT_AL_FILE(base_path,max_arity,mfp) \ argument
36 BOOST_FT_AL_FILE_I(base_path,max_arity,mfp)
37 # define BOOST_FT_AL_FILE_I(base_path,max_arity,mfp) \ argument
38 <base_path/arity ## max_arity ## _ ## mfp.hpp>
/external/jsoncpp/test/
Dpyjsontestrunner.py20 base_path = os.path.splitext(input_path)[0] variable
21 actual_path = base_path + '.actual'
22 rewrite_path = base_path + '.rewrite'
23 rewrite_actual_path = base_path + '.actual-rewrite'
/external/icu/tools/icu4c_srcgen/
Dgenutil.py79 base_path = android_path('prebuilts/clang/host/linux-x86/')
80 files = [f for f in os.listdir(base_path) if f.startswith('clang-r')]
85 path = os.path.join(base_path, selected)
91 base_path = os.path.join(clang_path, 'lib')
92 files = [f for f in os.listdir(base_path) if f.startswith('libclang.so')]
93 return os.path.join(base_path, files[0])
98 base_path = os.path.join(clang_path, 'lib/clang/')
99 files = os.listdir(base_path)
100 return os.path.join(base_path, files[0], 'include/')
/external/pytorch/tools/code_coverage/package/util/
Dutils.py69 def convert_to_relative_path(whole_path: str, base_path: str) -> str:
71 if base_path not in whole_path:
72 raise RuntimeError(base_path + " is not in " + whole_path)
73 return whole_path[len(base_path) + 1 :]
/external/cronet/tot/testing/scripts/
Dcount_filtered_tests.py58 base_path = args.build_dir
60 [os.path.join(base_path, binary_name), '--gtest_list_tests'])
63 os.path.join(base_path, test_filter_file))
/external/cronet/stable/testing/scripts/
Dcount_filtered_tests.py58 base_path = args.build_dir
60 [os.path.join(base_path, binary_name), '--gtest_list_tests'])
63 os.path.join(base_path, test_filter_file))
/external/perfetto/bazel/
Dproto_gen.bzl63 base_path = src.path[:-len(".proto")]
64 if base_path.startswith(strip_base_path):
65 base_path = base_path[len(strip_base_path):]
66 out_files += [ctx.actions.declare_file(base_path + ".%s.h" % suffix)]
67 out_files += [ctx.actions.declare_file(base_path + ".%s.cc" % suffix)]

1234567