/external/tensorflow/tensorflow/python/tools/ |
D | saved_model_cli_test.py | 63 base_path = test.test_src_dir_path(SAVED_MODEL_PATH) 65 args = self.parser.parse_args(['show', '--dir', base_path, '--all']) 310 base_path = test.test_src_dir_path(SAVED_MODEL_PATH) 312 args = self.parser.parse_args(['show', '--dir', base_path]) 321 base_path = test.test_src_dir_path(SAVED_MODEL_PATH) 324 ['show', '--dir', base_path, '--tag_set', 'serve']) 342 base_path = test.test_src_dir_path(SAVED_MODEL_PATH) 345 ['show', '--dir', base_path, '--tag_set', 'badtagset']) 350 base_path = test.test_src_dir_path(SAVED_MODEL_PATH) 353 'show', '--dir', base_path, '--tag_set', 'serve', '--signature_def', [all …]
|
D | module_util.py | 56 base_path = spec[1] 64 base_path = os.path.dirname(spec.origin) 65 return os.path.join(base_path, *name_split[1:-1])
|
/external/autotest/site_utils/lxc/ |
D | base_image.py | 94 base_path = os.path.join(self.container_path, self.base_name) 95 if lxc_utils.path_exists(base_path): 137 base_path = os.path.join(self.container_path, self.base_name) 147 path_to_cleanup = [tar_path, base_path] 157 config_path = os.path.join(base_path, 'config') 158 rootfs_path = os.path.join(base_path, 'rootfs') 171 base_path = os.path.join(self.container_path, self.base_name) 172 utils.run('sudo chown -R root "%s"' % base_path) 173 utils.run('sudo chgrp -R root "%s"' % base_path)
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | test_utils.py | 96 self.base_path = None 98 self.base_path = tempfile.mkdtemp() 247 self.os.symlink(self.base_path, link_path) 269 path = self.base_path 274 return self.os.path.join(self.base_path, *args) 328 old_base_path = self.base_path 329 self.base_path = self.filesystem.path_separator + 'basepath' 331 self.base_path = 'C:' + self.base_path 332 if old_base_path != self.base_path: 335 if not self.filesystem.exists(self.base_path): [all …]
|
D | fake_os_test.py | 170 self.assertEqual(files, sorted(self.os.listdir(self.base_path))) 332 stat = self.os.lstat(self.base_path) 334 self.os.lstat(self.base_path + self.path_separator())) 336 self.base_path + self.path_separator() + self.path_separator())) 339 stat_str = self.os.stat(self.base_path) 340 base_path_bytes = self.base_path.encode('utf8') 345 stat_str = self.os.lstat(self.base_path) 346 base_path_bytes = self.base_path.encode('utf8') 377 self.os.symlink(self.base_path, link_path) 386 self.os.symlink(self.base_path, link_path) [all …]
|
/external/webrtc/test/logging/ |
D | file_log_writer.cc | 49 FileLogWriterFactory::FileLogWriterFactory(std::string base_path) in FileLogWriterFactory() argument 50 : base_path_(base_path) { in FileLogWriterFactory() 51 for (size_t i = 0; i < base_path.size(); ++i) { in FileLogWriterFactory() 52 if (base_path[i] == '/') in FileLogWriterFactory() 53 test::CreateDir(base_path.substr(0, i)); in FileLogWriterFactory()
|
/external/webrtc/tools_webrtc/ |
D | gn_check_autofix.py | 98 def Rebase(base_path, dependency_path, dependency): argument 121 base_path = base_path.split(os.path.sep) 125 shortest_length = min(len(dependency_path), len(base_path)) 127 if dependency_path[i] != base_path[i]: 132 base_path = base_path[first_difference:] 134 rebased = os.path.sep.join((['..'] * len(base_path)) + dependency_path)
|
/external/bcc/src/lua/src/ |
D | squish.lua | 17 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/toolchain-utils/binary_search_tool/sysroot_wrapper/ |
D | testing_test.py | 20 base_path = ('/var/cache/chromeos-chrome/chrome-src-internal/src/out_daisy/' variable 23 os.path.join(base_path, 'base/base.cpu.o'), 24 os.path.join(base_path, 'base/base.version.o'), 25 os.path.join(base_path, 'apps/apps.launcher.o')
|
/external/libchrome/base/files/ |
D | scoped_temp_dir_unittest.cc | 67 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()
|
D | scoped_temp_dir.cc | 38 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/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_import.py | 90 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):
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_import.py | 90 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):
|
/external/autotest/client/ |
D | setup_modules.py | 108 def setup(base_path, root_module_name=""): argument 126 base_path = os.path.abspath(os.path.join(base_path, '..')) 129 _import_children_into_module(root_module_name, base_path) 137 sys.path.insert(0, os.path.join(base_path, "site-packages"))
|
/external/jsoncpp/test/ |
D | pyjsontestrunner.py | 20 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'
|
D | runjsontests.py | 122 base_path = os.path.splitext(input_path)[0] 123 actual_output = safeReadFile(base_path + '.actual') 124 actual_rewrite_output = safeReadFile(base_path + '.actual-rewrite') 125 open(base_path + '.process-output', 'wt', encoding = 'utf-8').write(process_output)
|
/external/libabigail/tests/ |
D | test-symtab.cc | 336 const std::string base_path = variable 339 GIVEN("The binaries in " + base_path) 352 const std::string binary = base_path + "single_function.ko"; 364 const std::string binary = base_path + "single_function_gpl.ko"; 376 const std::string binary = base_path + "single_variable.ko"; 388 const std::string binary = base_path + "single_variable_gpl.ko"; 400 const std::string binary = base_path + "one_of_each.ko"; 417 const std::string base_path = "kernel-modversions/"; variable 421 const std::string binary = base_path + "one_of_each.ko";
|
/external/perfetto/bazel/ |
D | proto_gen.bzl | 55 base_path = src.path[:-len(".proto")] 56 if base_path.startswith(strip_base_path): 57 base_path = base_path[len(strip_base_path):] 58 out_files += [ctx.actions.declare_file(base_path + ".%s.h" % suffix)] 59 out_files += [ctx.actions.declare_file(base_path + ".%s.cc" % suffix)]
|
/external/iproute2/ip/ |
D | ipvrf.c | 113 static void read_cgroup_pids(const char *base_path, char *name) in read_cgroup_pids() argument 120 base_path, name, CGRP_PROC_FILE) >= sizeof(path)) in read_cgroup_pids() 145 static int recurse_dir(char *base_path, char *name, const char *netns) in recurse_dir() argument 153 d = opendir(base_path); in recurse_dir() 162 const char *pdir = strrchr(base_path, '/'); in recurse_dir() 169 read_cgroup_pids(base_path, name); in recurse_dir() 176 base_path, de->d_name) >= sizeof(path)) in recurse_dir()
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | dependency_manager_util.py | 38 base_path = ResolvePath(os.getcwd()) + os.path.sep 40 if not ResolvePath(os.path.join(base_path, member)).startswith(base_path):
|
D | dependency_manager_util_unittest.py | 108 base_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 109 archive_path = shutil.make_archive(base_path, 'zip', dir_path) 153 base_path = os.path.join(tempfile.gettempdir(), str(uuid.uuid4())) 154 archive_path = shutil.make_archive(base_path, 'zip', dir_path)
|
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/ |
D | kernel_CrosECSysfsAccel.py | 113 base_path = self.sysfs_accel_paths[name] 115 base_path = self.sysfs_accel_old_path 118 axis_path = os.path.join(base_path, '_'.join(name_list))
|
/external/autotest/site_utils/admin_audit/ |
D | verifiers.py | 470 def _get_device_path(self, base_path, vid, pid): argument 493 if not base_path: 494 base_path = '/sys/bus/usb/devices/*/' 496 base_path += '*/' 498 vid_path = _run(cmd_template % (vid, base_path, 'idVendor')) 502 pid_path = _run(cmd_template % (pid, base_path, 'idProduct'))
|
/external/python/cpython3/Lib/test/ |
D | test_modulefinder.py | 383 base_path = os.path.join(TEST_DIR, 'a') 384 source_path = base_path + importlib.machinery.SOURCE_SUFFIXES[0] 385 bytecode_path = base_path + importlib.machinery.BYTECODE_SUFFIXES[0]
|
/external/autotest/client/tests/netpipe/ |
D | netpipe.py | 25 base_path = os.path.join(self.srcdir, 'NPtcp -h') 26 self.client_path = '%s %%s -o %s %%s' % (base_path, self.NP_FILE)
|