Home
last modified time | relevance | path

Searched refs:parent_dir (Results 1 – 25 of 27) 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/skia/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/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/tensorflow/tensorflow/core/platform/
Denv_test.cc166 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/
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/autotest/scheduler/
Ddrone_utility_unittest.py171 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/
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/python/cpython3/Lib/test/
Dtest_support.py114 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')
Dtest_doctest.py691 with tempfile.TemporaryDirectory() as parent_dir:
692 pkg_dir = os.path.join(parent_dir, pkg_name)
694 sys.path.append(parent_dir)
Dtest_httpservers.py599 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/
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/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/autotest/site_utils/chromeos_proxy/
Dswarming_bots.py109 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/
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/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/libvpx/libvpx/test/android/
DREADME26 NOTE: Built_libs defaults to parent_dir/libs/armeabi-v7a
/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