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

1 2 3

  /external/chromium-trace/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)
  /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...]
filerotatingstream_unittest.cc 58 const std::string& dir_path,
61 stream.reset(new FileRotatingStream(dir_path, file_prefix));
217 const std::string& dir_path) {
219 new CallSessionFileRotatingStream(dir_path));
  /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";
  /external/autotest/utils/
unittest_suite.py 171 for dir_path, sub_dirs, file_names in os.walk(start):
177 os.unlink(os.path.join(dir_path, file_name))
181 print 'Skipping', dir_path
188 file_path = os.path.join(dir_path, file_name)
196 path_no_py = os.path.join(dir_path, file_name).rstrip('.py')
  /system/extras/simpleperf/
utils.cpp 168 std::string dir_path = path.substr(0, next_end); local
169 if (!IsDir(dir_path)) {
171 int ret = mkdir(dir_path.c_str());
173 int ret = mkdir(dir_path.c_str(), 0755);
176 PLOG(ERROR) << "failed to create dir " << dir_path;
  /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);
  /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)
  /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 220 dir_path = 'real_dir_path'
221 self.fs.CreateDirectory(dir_path)
222 file_path = os.path.join(dir_path, 'file1')
238 cloud_storage.GetFilesInDirectoryIfChanged(dir_path, 'bucket')
  /hardware/qcom/display/msm8996/sdm/libs/hwc/
hwc_display.cpp 854 char dir_path[PATH_MAX]; local
860 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString());
862 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) {
863 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno));
868 if (errno == EEXIST && chmod(dir_path, 0777) != 0) {
869 DLOGW("Failed to change permissions on %s directory", dir_path);
890 dir_path, i, pvt_handle->width, pvt_handle->height,
905 char dir_path[PATH_MAX]; local
907 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString())
    [all...]
  /hardware/qcom/display/msmcobalt/sdm/libs/hwc/
hwc_display.cpp 911 char dir_path[PATH_MAX]; local
917 snprintf(dir_path, sizeof(dir_path), "/data/misc/display/frame_dump_%s", GetDisplayString());
919 if (mkdir(dir_path, 0777) != 0 && errno != EEXIST) {
920 DLOGW("Failed to create %s directory errno = %d, desc = %s", dir_path, errno, strerror(errno));
925 if (errno == EEXIST && chmod(dir_path, 0777) != 0) {
926 DLOGW("Failed to change permissions on %s directory", dir_path);
962 char dir_path[PATH_MAX]; local
    [all...]
  /external/webrtc/tools/autoroller/
roll_chromium_revision.py 169 def GetMatchingDepsEntries(depsentry_dict, dir_path):
173 Example: dir_path='src/testing' would give results containing both
175 Example 2: dir_path='src/build' should return 'src/build' but not
183 if path == dir_path:
188 for i, part in enumerate(dir_path.split('/'))):
216 dir_path = 'src/%s' % deps_dir
218 for entry in GetMatchingDepsEntries(current_entries, dir_path):
  /hardware/qcom/display/msm8996/sdm/libs/hwc2/
hwc_display.cpp 1100 char dir_path[PATH_MAX]; local
1153 char dir_path[PATH_MAX]; local
    [all...]
  /hardware/qcom/display/msmcobalt/sdm/libs/hwc2/
hwc_display.cpp 1096 char dir_path[PATH_MAX]; local
1149 char dir_path[PATH_MAX]; local
    [all...]
  /external/chromium-trace/catapult/telemetry/telemetry/value/
trace.py 157 def Serialize(self, dir_path):
165 file_path = os.path.abspath(os.path.join(dir_path, file_name))
  /external/libchrome/base/files/
file_util.cc 169 bool IsDirectoryEmpty(const FilePath& dir_path) {
170 FileEnumerator files(dir_path, false,
  /system/connectivity/shill/
connection_info_reader_unittest.cc 73 const FilePath& dir_path, FilePath* file_path) {
74 ASSERT_TRUE(base::CreateTemporaryFileInDir(dir_path, file_path));

Completed in 1471 milliseconds

1 2 3