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

1 2 3

  /external/chromium-trace/catapult/devil/devil/utils/
zip_utils.py 21 for dir_path, _, file_names in os.walk(path):
22 dir_arc_path = os.path.join(arc_path, os.path.relpath(dir_path, path))
23 logger.debug('dir: %s -> %s', dir_path, dir_arc_path)
24 zip_file.write(dir_path, dir_arc_path, zipfile.ZIP_STORED)
26 file_path = os.path.join(dir_path, f)
  /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):
  /test/vts/agents/hal/
VtsAgentMain.cpp 72 char* dir_path; local
73 dir_path = (char*)malloc(strlen(argv[0]) + 1);
74 strcpy(dir_path, argv[0]);
76 if (dir_path[index] == '/') {
77 dir_path[index] = '\0';
81 printf("chdir %s\n", dir_path);
82 chdir(dir_path);
  /external/chromium-trace/catapult/dependency_manager/dependency_manager/
dependency_manager_util.py 22 def RemoveDir(dir_path):
23 assert os.path.isabs(dir_path)
25 dir_path = u'\\\\?\\' + dir_path
26 if os.path.isdir(dir_path):
27 shutil.rmtree(dir_path, onerror=_WinReadOnlyHandler)
dependency_manager_util_unittest.py 106 def CreateZipArchiveFromDir(self, dir_path):
109 archive_path = shutil.make_archive(base_path, 'zip', dir_path)
140 dir_path = self.tmp_dir
142 dir_path = u'\\\\?\\' + dir_path
148 contents_dir_path = os.path.join(dir_path, archive_suffix)
154 archive_path = shutil.make_archive(base_path, 'zip', dir_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/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/chromium-trace/catapult/telemetry/third_party/web-page-replay/
test_runner.py 63 def AddDirectory(self, dir_path, test_file_pattern="*test.py"):
64 assert os.path.isdir(dir_path)
66 self._loader.discover_calls.append((dir_path, test_file_pattern, 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 ) )
  /system/media/camera/docs/
metadata-generate 94 local dir_path="$(dirname "$file")"
95 echo "Trying to cd into $dir_path" >& /dev/null
97 local git_path="$(cd "$dir_path";
101 local diff_result="$(cd "$dir_path";
  /test/vts/compilation_tools/vtsc/
VtsCompilerUtils.h 63 // Returns a string which joins the given dir_path and file_name.
64 string PathJoin(const char* dir_path, const char* file_name);
  /test/vts-testcase/fuzz/iface_fuzzer/
ProtoFuzzerUtils.cpp 93 static vector<CompSpec> ExtractCompSpecs(string dir_path) {
97 if (!(dir = opendir(dir_path.c_str()))) {
98 cerr << "Could not open directory: " << dir_path << endl;
104 string vts_spec_path = dir_path + "/" + vts_spec_name;
  /external/autotest/utils/
unittest_suite.py 170 for dir_path, sub_dirs, file_names in os.walk(start):
176 os.unlink(os.path.join(dir_path, file_name))
180 print 'Skipping', dir_path
187 file_path = os.path.join(dir_path, file_name)
195 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);
  /external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
bwe_test_baselinefile.cc 120 std::string dir_path = webrtc::test::OutputPath() + kResourceSubDir; local
121 if (!webrtc::test::CreateDir(dir_path)) {
122 printf("WARNING: Cannot create output dir: %s\n", dir_path.c_str());
  /bionic/libc/bionic/
scandir.cpp 132 int scandir(const char* dir_path, dirent*** name_list,
135 return scandirat(AT_FDCWD, dir_path, name_list, filter, comparator);
  /test/vts/drivers/hal/common/include/specification_parser/
SpecificationBuilder.h 44 SpecificationBuilder(const string dir_path, int epoch_count,
  /system/extras/simpleperf/
utils.cpp 179 std::string dir_path = path.substr(0, next_end); local
180 if (!IsDir(dir_path)) {
182 int ret = mkdir(dir_path.c_str());
184 int ret = mkdir(dir_path.c_str(), 0755);
187 PLOG(ERROR) << "failed to create dir " << dir_path;
  /external/chromium-trace/catapult/telemetry/telemetry/core/
discover.py 35 for dir_path, _, filenames in sub_paths:
49 os.path.join(dir_path, filename), top_level_dir)
  /test/vts/utils/python/reporting/
report_file_utils.py 82 dir_path = os.path.dirname(src_path)
91 os.path.relpath(dir_path, root_dir), relative_path)
  /development/testrunner/coverage/
coverage.py 268 def _TidyDir(self, dir_path):
269 """Recursively tidy all html files in given dir_path."""
270 html_file_pattern = os.path.join(dir_path, "*.html")
274 sub_dirs = os.listdir(dir_path)
276 sub_dir_path = os.path.join(dir_path, sub_dir_name)
  /external/chromium-trace/catapult/common/py_utils/py_utils/
cloud_storage_unittest.py 225 dir_path = 'real_dir_path'
226 self.fs.CreateDirectory(dir_path)
227 file_path = os.path.join(dir_path, 'file1')
243 cloud_storage.GetFilesInDirectoryIfChanged(dir_path, 'bucket')
  /hardware/qcom/display/msm8996/sdm/libs/hwc/
hwc_display.cpp 856 char dir_path[PATH_MAX]; local
862 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString());
864 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) {
865 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno));
870 if (errno == EEXIST && chmod(dir_path, 0777) != 0) {
871 DLOGW("Failed to change permissions on %s directory", dir_path);
892 dir_path, i, pvt_handle->width, pvt_handle->height,
907 char dir_path[PATH_MAX]; local
909 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString())
    [all...]

Completed in 2423 milliseconds

1 2 3