Home
last modified time | relevance | path

Searched refs:parent_dir (Results 1 – 25 of 28) sorted by relevance

12

/external/autotest/client/bin/result_tools/
Dresult_info.py87 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 …]
Ddedupe_file_throttler.py90 info.parent_dir = os.path.dirname(info.path)
104 '"%s"' % (infos[0].parent_dir, infos[0].prefix))
Dthrottler_lib_unittest.py70 summary = result_info.ResultInfo(parent_dir='',
80 summary = result_info.ResultInfo(parent_dir='',
Dzip_file_throttler_unittest.py114 parent_dir=self.test_dir, original_info=SUMMARY_AFTER_TRIMMING)
Dshrink_file_throttler_unittest.py129 parent_dir=self.test_dir, name=utils_lib.ROOT_DIR,
/external/skqp/infra/bots/assets/mips64el_toolchain_linux/
Dcreate.py57 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/
Dclean_staged_images.py83 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/
Denv_test.cc181 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/
Dtest_test_support.py126 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')
Dtest_httpservers.py460 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)
Dtest_runpy.py212 parent_dir = module_dir
220 uncle_dir = os.path.join(parent_dir, "uncle")
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dgce_adb_wrapper.py65 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/
Dtest_support.py112 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')
Dtest_doctest.py695 with tempfile.TemporaryDirectory() as parent_dir:
696 pkg_dir = os.path.join(parent_dir, pkg_name)
698 sys.path.append(parent_dir)
Dtest_httpservers.py600 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/
Dtest_find_packages.py77 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/
Dbuild.py42 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/
Ddebug_io_utils.cc661 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/
Dsite_sysinfo.py83 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/
DPRESUBMIT.py172 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/
DREADME27 NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
/external/autotest/utils/
Dtest_importer.py350 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/
Dupdate_chromeos_llvm_next_hash.py265 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/
Ddef_file_filter.py.tpl206 parent_dir = path_to_lib[0]
208 parent_dir = ""
209 if cc_target in lib and parent_dir in lib:
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc160 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()

12