/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/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/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/tensorflow/tensorflow/core/platform/ |
D | env_test.cc | 181 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() local 182 const string child_dir1 = io::JoinPath(parent_dir, "child_dir1"); in TEST_F() 183 const string child_dir2 = io::JoinPath(parent_dir, "child_dir2"); in TEST_F() 184 TF_EXPECT_OK(env_->CreateDir(parent_dir)); in TEST_F() 185 const string root_file1 = io::JoinPath(parent_dir, "root_file1"); in TEST_F() 186 const string root_file2 = io::JoinPath(parent_dir, "root_file2"); in TEST_F() 187 const string root_file3 = io::JoinPath(parent_dir, ".root_file3"); in TEST_F() 198 env_->DeleteRecursively(parent_dir, &undeleted_files, &undeleted_dirs)); in TEST_F() 209 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() local 213 env_->DeleteRecursively(parent_dir, &undeleted_files, &undeleted_dirs); in TEST_F()
|
/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/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/cpython3/Lib/test/ |
D | test_support.py | 112 parent_dir = tempfile.mkdtemp() 113 parent_dir = os.path.realpath(parent_dir) 116 path = os.path.join(parent_dir, 'temp') 123 support.rmtree(parent_dir) 215 with support.temp_dir() as parent_dir: 216 non_existent_dir = os.path.join(parent_dir, 'does_not_exist') 226 with support.temp_dir() as parent_dir: 227 bad_dir = os.path.join(parent_dir, 'does_not_exist')
|
D | test_doctest.py | 695 with tempfile.TemporaryDirectory() as parent_dir: 696 pkg_dir = os.path.join(parent_dir, pkg_name) 698 sys.path.append(parent_dir)
|
D | test_httpservers.py | 600 self.parent_dir = tempfile.mkdtemp() 601 self.cgi_dir = os.path.join(self.parent_dir, 'cgi-bin') 615 self.pythonexe = os.path.join(self.parent_dir, 'python') 629 self.nocgi_path = os.path.join(self.parent_dir, 'nocgi.py') 654 os.chdir(self.parent_dir) 673 os.rmdir(self.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/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/v8/ |
D | PRESUBMIT.py | 172 parent_dir = os.path.dirname(deps_file) 173 for relative_f in input_api.change.AllFiles(parent_dir): 174 abs_f = os.path.join(parent_dir, relative_f)
|
/external/libvpx/libvpx/test/android/ |
D | README | 27 NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
|
/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/toolchain-utils/llvm_tools/ |
D | update_chromeos_llvm_next_hash.py | 265 parent_dir = os.path.dirname(ebuild_path) 268 stage_changes_cmd = ['git', '-C', parent_dir, 'add', ebuild_path]
|
/external/tensorflow/tensorflow/tools/def_file_filter/ |
D | def_file_filter.py.tpl | 206 parent_dir = path_to_lib[0] 208 parent_dir = "" 209 if cc_target in lib and parent_dir in lib:
|
/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()
|