/external/autotest/client/bin/result_tools/ |
D | result_info.py | 87 def __init__(self, parent_dir, name=None, parent_result_info=None, argument 127 self._init_from_file(parent_dir, name) 129 self._init_with_original_info(parent_dir, original_info) 135 def _init_from_file(self, parent_dir, name): argument 151 self._path = os.path.join(parent_dir, self.name).rstrip(os.sep) 167 def _init_with_original_info(self, parent_dir, original_info): argument 192 self._path = os.path.join(parent_dir, self.name).rstrip(os.sep) 239 def build_from_path(parent_dir, argument 258 top_dir = top_dir or parent_dir 264 if not os.path.isdir(parent_dir) and name == utils_lib.ROOT_DIR: [all …]
|
D | dedupe_file_throttler.py | 90 info.parent_dir = os.path.dirname(info.path) 104 '"%s"' % (infos[0].parent_dir, infos[0].prefix))
|
D | throttler_lib_unittest.py | 70 summary = result_info.ResultInfo(parent_dir='', 80 summary = result_info.ResultInfo(parent_dir='',
|
D | zip_file_throttler_unittest.py | 114 parent_dir=self.test_dir, original_info=SUMMARY_AFTER_TRIMMING)
|
D | shrink_file_throttler_unittest.py | 129 parent_dir=self.test_dir, name=utils_lib.ROOT_DIR,
|
/external/skia/infra/bots/assets/mips64el_toolchain_linux/ |
D | create.py | 57 parent_dir = os.path.join(target_dir, 'usr') 60 os.remove(os.path.join(parent_dir, 62 shutil.rmtree(os.path.join(parent_dir, 'share')) 64 for d in os.listdir(parent_dir): 65 os.rename(os.path.join(parent_dir, d), os.path.join(target_dir, d)) 66 os.rmdir(parent_dir)
|
/external/skqp/infra/bots/assets/mips64el_toolchain_linux/ |
D | create.py | 57 parent_dir = os.path.join(target_dir, 'usr') 60 os.remove(os.path.join(parent_dir, 62 shutil.rmtree(os.path.join(parent_dir, 'share')) 64 for d in os.listdir(parent_dir): 65 os.rename(os.path.join(parent_dir, d), os.path.join(target_dir, d)) 66 os.rmdir(parent_dir)
|
/external/tensorflow/tensorflow/core/platform/ |
D | env_test.cc | 166 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() local 167 const string child_dir1 = io::JoinPath(parent_dir, "child_dir1"); in TEST_F() 168 const string child_dir2 = io::JoinPath(parent_dir, "child_dir2"); in TEST_F() 169 TF_EXPECT_OK(env_->CreateDir(parent_dir)); in TEST_F() 170 const string root_file1 = io::JoinPath(parent_dir, "root_file1"); in TEST_F() 171 const string root_file2 = io::JoinPath(parent_dir, "root_file2"); in TEST_F() 172 const string root_file3 = io::JoinPath(parent_dir, ".root_file3"); in TEST_F() 183 env_->DeleteRecursively(parent_dir, &undeleted_files, &undeleted_dirs)); in TEST_F() 194 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() local 198 env_->DeleteRecursively(parent_dir, &undeleted_files, &undeleted_dirs); in TEST_F()
|
/external/autotest/site_utils/admin/ |
D | clean_staged_images.py | 83 parent_dir = os.path.abspath(os.path.join(path, os.pardir)) 84 if parent_dir == root: 88 os.rmdir(parent_dir) 89 try_delete_parent_dir(parent_dir, root)
|
/external/autotest/scheduler/ |
D | drone_utility_unittest.py | 171 parent_dir = self._tempdir.name 173 parent_dir = os.path.join(parent_dir, subdir) 174 os.makedirs(parent_dir) 175 path = os.path.join(parent_dir, filename)
|
/external/python/cpython2/Lib/test/ |
D | test_test_support.py | 126 parent_dir = tempfile.mkdtemp() 127 parent_dir = os.path.realpath(parent_dir) 130 path = os.path.join(parent_dir, 'temp') 137 support.rmtree(parent_dir) 229 with support.temp_dir() as parent_dir: 230 non_existent_dir = os.path.join(parent_dir, 'does_not_exist') 241 with support.temp_dir() as parent_dir: 242 bad_dir = os.path.join(parent_dir, 'does_not_exist')
|
D | test_httpservers.py | 460 self.parent_dir = tempfile.mkdtemp() 461 self.cgi_dir = os.path.join(self.parent_dir, 'cgi-bin') 469 self.pythonexe = os.path.join(self.parent_dir, 'python') 474 self.nocgi_path = os.path.join(self.parent_dir, 'nocgi.py') 500 os.chdir(self.parent_dir) 514 os.rmdir(self.parent_dir)
|
D | test_runpy.py | 212 parent_dir = module_dir 220 uncle_dir = os.path.join(parent_dir, "uncle")
|
/external/python/cpython3/Lib/test/ |
D | test_support.py | 114 parent_dir = tempfile.mkdtemp() 115 parent_dir = os.path.realpath(parent_dir) 118 path = os.path.join(parent_dir, 'temp') 125 support.rmtree(parent_dir) 217 with support.temp_dir() as parent_dir: 218 non_existent_dir = os.path.join(parent_dir, 'does_not_exist') 228 with support.temp_dir() as parent_dir: 229 bad_dir = os.path.join(parent_dir, 'does_not_exist')
|
D | test_doctest.py | 691 with tempfile.TemporaryDirectory() as parent_dir: 692 pkg_dir = os.path.join(parent_dir, pkg_name) 694 sys.path.append(parent_dir)
|
D | test_httpservers.py | 599 self.parent_dir = tempfile.mkdtemp() 600 self.cgi_dir = os.path.join(self.parent_dir, 'cgi-bin') 613 self.pythonexe = os.path.join(self.parent_dir, 'python') 627 self.nocgi_path = os.path.join(self.parent_dir, 'nocgi.py') 652 os.chdir(self.parent_dir) 671 os.rmdir(self.parent_dir)
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | gce_adb_wrapper.py | 65 parent_dir = remote[0:remote.rfind('/')] 66 if parent_dir: 67 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
|
/external/python/setuptools/setuptools/tests/ |
D | test_find_packages.py | 77 def _mkdir(self, path, parent_dir=None): argument 78 if parent_dir: 79 path = os.path.join(parent_dir, path)
|
/external/vulkan-validation-layers/build-android/ |
D | build.py | 42 parent_dir = os.path.normpath(os.path.join(dst_dir, '..')) 43 if not os.path.exists(parent_dir): 44 os.makedirs(parent_dir)
|
/external/autotest/site_utils/chromeos_proxy/ |
D | swarming_bots.py | 109 def __init__(self, bot_id, parent_dir, swarming_proxy, argument 126 self.parent_dir = os.path.abspath(os.path.expanduser(parent_dir)) 127 self.bot_dir = os.path.join(self.parent_dir,
|
/external/tensorflow/tensorflow/core/debug/ |
D | debug_io_utils.cc | 661 string parent_dir(io::Dirname(dir)); in RecursiveCreateDir() local 662 if (!env->FileExists(parent_dir).ok()) { in RecursiveCreateDir() 664 Status s = RecursiveCreateDir(env, parent_dir); // Recursive call in RecursiveCreateDir() 668 strings::StrCat("Failed to create directory ", parent_dir)); in RecursiveCreateDir() 670 } else if (env->FileExists(parent_dir).ok() && in RecursiveCreateDir() 671 !env->IsDirectory(parent_dir).ok()) { in RecursiveCreateDir() 674 strings::StrCat("Failed to create directory ", parent_dir, in RecursiveCreateDir() 685 strings::StrCat("Failed to create directory ", parent_dir)); in RecursiveCreateDir()
|
/external/autotest/client/bin/ |
D | site_sysinfo.py | 83 parent_dir = os.path.dirname(from_dir) 84 utils.system("mkdir -p %s%s" % (log_dir, parent_dir)) 93 % (" ".join(excludes), from_dir, log_dir, parent_dir))
|
/external/autotest/utils/ |
D | test_importer.py | 350 def get_tests_from_fs(parent_dir, control_pattern, add_noncompliant=False): argument 362 if 'client/profilers' in parent_dir: 364 for dir in [ parent_dir ]:
|
/external/libvpx/libvpx/test/android/ |
D | README | 26 NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
|
/external/libchrome/base/files/ |
D | file_path_watcher_unittest.cc | 160 FilePath parent_dir; in SetUp() local 161 ASSERT_TRUE(android::GetExternalStorageDirectory(&parent_dir)); in SetUp() 162 ASSERT_TRUE(temp_dir_.CreateUniqueTempDirUnderPath(parent_dir)); in SetUp()
|