Home
last modified time | relevance | path

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

/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/tensorflow/tensorflow/core/platform/
Denv_test.cc164 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() local
165 const string child_dir1 = io::JoinPath(parent_dir, "child_dir1"); in TEST_F()
166 const string child_dir2 = io::JoinPath(parent_dir, "child_dir2"); in TEST_F()
167 TF_EXPECT_OK(env_->CreateDir(parent_dir)); in TEST_F()
168 const string root_file1 = io::JoinPath(parent_dir, "root_file1"); in TEST_F()
169 const string root_file2 = io::JoinPath(parent_dir, "root_file2"); in TEST_F()
170 const string root_file3 = io::JoinPath(parent_dir, ".root_file3"); in TEST_F()
181 env_->DeleteRecursively(parent_dir, &undeleted_files, &undeleted_dirs)); in TEST_F()
192 const string parent_dir = io::JoinPath(BaseDir(), "root_dir"); in TEST_F() local
196 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/cpython3/Lib/test/
Dtest_support.py108 parent_dir = tempfile.mkdtemp()
109 parent_dir = os.path.realpath(parent_dir)
112 path = os.path.join(parent_dir, 'temp')
119 support.rmtree(parent_dir)
181 with support.temp_dir() as parent_dir:
182 non_existent_dir = os.path.join(parent_dir, 'does_not_exist')
192 with support.temp_dir() as parent_dir:
193 bad_dir = os.path.join(parent_dir, 'does_not_exist')
Dtest_httpservers.py536 self.parent_dir = tempfile.mkdtemp()
537 self.cgi_dir = os.path.join(self.parent_dir, 'cgi-bin')
550 self.pythonexe = os.path.join(self.parent_dir, 'python')
564 self.nocgi_path = os.path.join(self.parent_dir, 'nocgi.py')
589 os.chdir(self.parent_dir)
608 os.rmdir(self.parent_dir)
Dtest_runpy.py374 parent_dir = module_dir
381 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/libmojo/third_party/catapult/devil/devil/android/sdk/
Dgce_adb_wrapper.py63 parent_dir = remote[0:remote.rfind('/')]
64 if parent_dir:
65 self.Shell('mkdir -p %s' % cmd_helper.SingleQuote(parent_dir))
/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.py104 def __init__(self, bot_id, parent_dir, swarming_proxy): argument
116 self.parent_dir = os.path.abspath(os.path.expanduser(parent_dir))
117 self.bot_dir = os.path.join(self.parent_dir,
/external/tensorflow/tensorflow/core/debug/
Ddebug_io_utils.cc645 string parent_dir = io::Dirname(dir).ToString(); in RecursiveCreateDir() local
646 if (!env->FileExists(parent_dir).ok()) { in RecursiveCreateDir()
648 Status s = RecursiveCreateDir(env, parent_dir); // Recursive call in RecursiveCreateDir()
652 strings::StrCat("Failed to create directory ", parent_dir)); in RecursiveCreateDir()
654 } else if (env->FileExists(parent_dir).ok() && in RecursiveCreateDir()
655 !env->IsDirectory(parent_dir).ok()) { in RecursiveCreateDir()
658 strings::StrCat("Failed to create directory ", parent_dir, in RecursiveCreateDir()
669 strings::StrCat("Failed to create directory ", parent_dir)); in RecursiveCreateDir()
/external/autotest/client/bin/
Dsite_sysinfo.py82 parent_dir = os.path.dirname(from_dir)
83 utils.system("mkdir -p %s%s" % (log_dir, parent_dir))
92 % (" ".join(excludes), from_dir, log_dir, parent_dir))
/external/python/cpython2/Lib/test/
Dtest_httpservers.py459 self.parent_dir = tempfile.mkdtemp()
460 self.cgi_dir = os.path.join(self.parent_dir, 'cgi-bin')
468 self.pythonexe = os.path.join(self.parent_dir, 'python')
473 self.nocgi_path = os.path.join(self.parent_dir, 'nocgi.py')
499 os.chdir(self.parent_dir)
513 os.rmdir(self.parent_dir)
Dtest_runpy.py212 parent_dir = module_dir
220 uncle_dir = os.path.join(parent_dir, "uncle")
/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.cc155 FilePath parent_dir; in SetUp() local
156 ASSERT_TRUE(android::GetExternalStorageDirectory(&parent_dir)); in SetUp()
157 ASSERT_TRUE(temp_dir_.CreateUniqueTempDirUnderPath(parent_dir)); in SetUp()