HomeSort by relevance Sort by last modified time
    Searched refs:dir_path (Results 1 - 25 of 94) sorted by null

1 2 3 4

  /external/libmojo/third_party/catapult/devil/devil/utils/
zip_utils.py 19 for dir_path, _, file_names in os.walk(path):
20 dir_arc_path = os.path.join(arc_path, os.path.relpath(dir_path, path))
21 logging.debug('dir: %s -> %s', dir_path, dir_arc_path)
22 zip_file.write(dir_path, dir_arc_path, zipfile.ZIP_STORED)
24 file_path = os.path.join(dir_path, f)
  /test/vts-testcase/hal/script/build/
build_rule_gen_utils.py 41 dir_path = os.path.dirname(file_path)
43 if not os.path.exists(dir_path):
44 os.makedirs(dir_path)
67 def RemoveFilesInDirIf(dir_path, condition):
71 dir_path: string, path to directory
75 for base, _, files in os.walk(dir_path):
  /external/libxcam/xcore/
x3a_analyzer_manager.cpp 65 const char *dir_path = NULL; local
70 dir_path = getenv ("XCAM_3A_LIB");
71 if (!dir_path) {
72 dir_path = XCAM_DEFAULT_3A_LIB_DIR;
73 XCAM_LOG_INFO ("doesn't find environment=>XCAM_3A_LIB, change to default dir:%s", dir_path);
75 dir_3a = opendir (dir_path);
81 snprintf (lib_path, sizeof(lib_path), "%s/%s", dir_path, dirent_3a->d_name);
smart_analyzer_loader.h 46 static SmartHandlerList load_smart_handlers (const char *dir_path);
49 static AnalyzerLoaderList create_analyzer_loader (const char *dir_path);
smart_analyzer_loader.cpp 47 SmartAnalyzerLoader::load_smart_handlers (const char *dir_path)
50 AnalyzerLoaderList loaders = create_analyzer_loader (dir_path);
70 SmartAnalyzerLoader::create_analyzer_loader (const char *dir_path)
72 XCAM_ASSERT (dir_path);
81 lib_dir = opendir (dir_path);
87 snprintf (lib_path, sizeof(lib_path), "%s/%s", dir_path, dirent_lib->d_name);
  /test/vts-testcase/kernel/api/rootdir/
VtsKernelRootDirTest.py 170 def _ListDir(self, dir_path, file_type="all"):
171 """Lists files in dir_path with specific file_type.
174 dir_path: The current directory to list content.
190 # FindFiles will include dir_path if file_type is "all" or "dir".
191 # Excludes dir_path before return.
193 self._shell, dir_path, "*", find_option)) - set([dir_path])
201 def _TraverseRootDir(self, dir_path="/"):
203 # dir_path is eligible to check when being invoked here.
204 dirs = [dir_path]
    [all...]
  /test/vts/agents/hal/
VtsAgentMain.cpp 126 char* dir_path; local
127 dir_path = (char*)malloc(strlen(argv[0]) + 1);
128 strcpy(dir_path, argv[0]);
130 if (dir_path[index] == '/') {
131 dir_path[index] = '\0';
135 chdir(dir_path);
  /external/tensorflow/tensorflow/python/lib/io/
file_io_test.py 140 dir_path = os.path.join(self._base_dir, "temp_dir")
141 file_io.create_dir(dir_path)
144 file_path = os.path.join(dir_path, name)
146 expected_match = [os.path.join(dir_path, name) for name in files]
148 file_io.get_matching_files(os.path.join(dir_path, "file*.txt")),
152 os.path.join(dir_path, files[0]), os.path.join(dir_path, files[2])
156 file_io.delete_recursively(dir_path)
157 self.assertFalse(file_io.file_exists(os.path.join(dir_path, "file3.txt")))
160 dir_path = os.path.join(self._base_dir, "temp_dir/temp_dir1/temp_dir2"
    [all...]
  /bootable/recovery/otautil/
DirUtil.cpp 87 std::string dir_path = path.substr(0, next_end); local
89 switch (dir_status(dir_path)) {
96 selabel_lookup(const_cast<selabel_handle*>(sehnd), &secontext, dir_path.c_str(), mode);
99 int err = mkdir(dir_path.c_str(), mode);
  /test/vts/utils/python/coverage/
coverage_report_test.py 35 dir_path = os.path.dirname(os.path.realpath(__file__))
36 gcno_path = os.path.join(dir_path, cls.GOLDEN_GCNO_PATH)
39 gcda_path = os.path.join(dir_path, cls.GOLDEN_GCDA_PATH)
  /external/webrtc/webrtc/base/
filerotatingstream.h 30 FileRotatingStream(const std::string& dir_path,
35 FileRotatingStream(const std::string& dir_path,
86 FileRotatingStream(const std::string& dir_path,
147 explicit CallSessionFileRotatingStream(const std::string& dir_path);
151 CallSessionFileRotatingStream(const std::string& dir_path,
filerotatingstream.cc 26 FileRotatingStream::FileRotatingStream(const std::string& dir_path,
28 : FileRotatingStream(dir_path, file_prefix, 0, 0, kRead) {
31 FileRotatingStream::FileRotatingStream(const std::string& dir_path,
35 : FileRotatingStream(dir_path,
44 FileRotatingStream::FileRotatingStream(const std::string& dir_path,
49 : dir_path_(dir_path),
58 RTC_DCHECK(Filesystem::IsFolder(dir_path));
310 Pathname dir_path; local
311 dir_path.SetFolder(dir_path_);
312 if (!it.Iterate(dir_path)) {
    [all...]
  /external/chromium-trace/catapult/dependency_manager/dependency_manager/
dependency_manager_util.py 23 def RemoveDir(dir_path):
24 assert os.path.isabs(dir_path)
26 dir_path = u'\\\\?\\' + dir_path
27 if os.path.isdir(dir_path):
28 shutil.rmtree(dir_path, onerror=_WinReadOnlyHandler)
  /external/autotest/site_utils/admin/
clean_staged_images.py 40 for dir_path, dir_names, file_names in os.walk(root):
41 if os.path.basename(dir_path) in _EXEMPTED_DIRECTORIES:
42 logging.debug('Skipping %s', dir_path)
46 yield dir_path
  /external/jsoncpp/devtools/
antglob.py 96 def glob(dir_path,
105 dir_path = dir_path.replace('/',os.path.sep)
124 dir_path = child_dirs.pop()
125 for entry in listdir( dir_path ):
126 full_path = os.path.join( dir_path, entry )
149 yield os.path.join( dir_path, entry )
152 return list( glob_impl( dir_path ) )
  /external/mesa3d/src/util/
disk_cache.c 368 choose_random_file_matching(const char *dir_path,
370 const char *dir_path))
377 dir = opendir(dir_path);
387 if (!predicate(entry, dir_path))
407 if (!predicate(entry, dir_path))
420 if (asprintf(&filename, "%s/%s", dir_path, entry->d_name) < 0)
505 char *dir_path; local
516 if (asprintf(&dir_path, "%s/%c%c", cache->path, hex[a], hex[b]) < 0)
519 size = unlink_random_file_from_directory(dir_path);
521 free(dir_path);
    [all...]
  /external/chromium-trace/catapult/devil/devil/utils/
zip_utils.py 41 for dir_path, _, file_names in os.walk(path):
42 dir_arc_path = os.path.join(arc_path, os.path.relpath(dir_path, path))
43 logger.debug('dir: %s -> %s', dir_path, dir_arc_path)
44 zip_file.write(dir_path, dir_arc_path, zipfile.ZIP_STORED)
46 file_path = os.path.join(dir_path, f)
  /test/vts-testcase/fuzz/iface_fuzzer/
ProtoFuzzerUtils.cpp 83 string dir_path; local
86 while (std::getline(iss, dir_path, ':')) {
89 if (!(dir = opendir(dir_path.c_str()))) {
90 cerr << "Could not open directory: " << dir_path << endl;
96 string vts_spec_path = dir_path + "/" + vts_spec_name;
  /system/core/mkbootimg/
unpack_bootimg 27 def create_out_dir(dir_path):
28 """creates a directory 'dir_path' if it does not exist"""
29 if not os.path.exists(dir_path):
30 os.makedirs(dir_path)
  /system/media/camera/docs/
metadata-generate 92 local dir_path="$(dirname "$file")"
93 echo "Trying to cd into $dir_path" >& /dev/null
95 local git_path="$(cd "$dir_path";
99 local diff_result="$(cd "$dir_path";
  /test/vts-testcase/vndk/files/
VtsVndkFilesTest.py 56 def _ListFiles(self, dir_path):
60 dir_path: A string, path to the directory on device.
65 if not target_file_utils.Exists(dir_path, self._shell):
66 logging.info("%s not found", dir_path)
68 return target_file_utils.FindFiles(self._shell, dir_path, "*",
  /development/gsi/gsi_util/gsi_util/mounters/
adb_mounter.py 42 dir_path = os.path.dirname(filename)
44 os.makedirs(dir_path)
  /external/adhd/cras/src/tests/
file_wait_unittest.cc 104 std::string dir_path; local
109 dir_path = tmp_dir + "/" + pid_buf;
110 subdir_path = dir_path + "/subdir";
144 ASSERT_EQ(0, RmRF(dir_path));
145 ASSERT_EQ(0, mkdir(dir_path.c_str(), 0700));
250 file_path = dir_path + "//does_not_exist_too";
258 ASSERT_EQ(0, chdir(dir_path.c_str()));
271 EXPECT_EQ(0, RmRF(dir_path));
  /external/autotest/utils/
unittest_suite.py 177 for dir_path, sub_dirs, file_names in os.walk(start):
183 os.unlink(os.path.join(dir_path, file_name))
187 print 'Skipping', dir_path
194 file_path = os.path.join(dir_path, file_name)
202 path_no_py = os.path.join(dir_path, file_name).rstrip('.py')
  /external/libese/libese-hw/nxp/pn80t/
linux_spidev.c 81 char dir_path[256]; local
93 if (snprintf(dir_path, sizeof(dir_path), "/sys/class/gpio/gpio%d/direction",
94 num) >= (int)sizeof(dir_path)) {
109 fd = open(dir_path, O_WRONLY);

Completed in 847 milliseconds

1 2 3 4