Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/webrtc/base/
Dfilerotatingstream.cc26 FileRotatingStream::FileRotatingStream(const std::string& dir_path, in FileRotatingStream() argument
28 : FileRotatingStream(dir_path, file_prefix, 0, 0, kRead) { in FileRotatingStream()
31 FileRotatingStream::FileRotatingStream(const std::string& dir_path, in FileRotatingStream() argument
35 : FileRotatingStream(dir_path, in FileRotatingStream()
44 FileRotatingStream::FileRotatingStream(const std::string& dir_path, in FileRotatingStream() argument
49 : dir_path_(dir_path), in FileRotatingStream()
58 RTC_DCHECK(Filesystem::IsFolder(dir_path)); in FileRotatingStream()
310 Pathname dir_path; in GetFilesWithPrefix() local
311 dir_path.SetFolder(dir_path_); in GetFilesWithPrefix()
312 if (!it.Iterate(dir_path)) { in GetFilesWithPrefix()
[all …]
Dfilerotatingstream.h30 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,
Dfilerotatingstream_unittest.cc58 const std::string& dir_path, in VerifyStreamRead() argument
61 stream.reset(new FileRotatingStream(dir_path, file_prefix)); in VerifyStreamRead()
217 const std::string& dir_path) { in VerifyStreamRead() argument
219 new CallSessionFileRotatingStream(dir_path)); in VerifyStreamRead()
/external/chromium-trace/catapult/devil/devil/utils/
Dzip_utils.py19 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/jsoncpp/devtools/
Dantglob.py96 def glob(dir_path, argument
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/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dtest_runner.py63 def AddDirectory(self, dir_path, test_file_pattern="*test.py"): argument
64 assert os.path.isdir(dir_path)
66 self._loader.discover_calls.append((dir_path, test_file_pattern, dir_path))
/external/autotest/site_utils/admin/
Dclean_staged_images.py40 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/autotest/utils/
Dunittest_suite.py171 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')
Drun_pylint.py291 def check_dir(dir_path, base_opts): argument
298 os.path.walk(dir_path, visit, base_opts)
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_util.py22 def RemoveDir(dir_path): argument
23 if os.path.isdir(dir_path):
24 shutil.rmtree(dir_path, onerror=_WinReadOnlyHandler)
Ddependency_manager_util_unittest.py106 def CreateZipArchiveFromDir(self, dir_path): argument
109 archive_path = shutil.make_archive(base_path, 'zip', dir_path)
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_baselinefile.cc120 std::string dir_path = webrtc::test::OutputPath() + kResourceSubDir; in VerifyOrWrite() local
121 if (!webrtc::test::CreateDir(dir_path)) { in VerifyOrWrite()
122 printf("WARNING: Cannot create output dir: %s\n", dir_path.c_str()); in VerifyOrWrite()
/external/chromium-trace/catapult/catapult_base/catapult_base/
Dcloud_storage_unittest.py220 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')
/external/webrtc/tools/autoroller/
Droll_chromium_revision.py169 def GetMatchingDepsEntries(depsentry_dict, dir_path): argument
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):
/external/chromium-trace/catapult/telemetry/telemetry/core/
Ddiscover.py33 for dir_path, _, filenames in os.walk(start_dir):
45 os.path.join(dir_path, filename), top_level_dir)
Dmemory_cache_http_server.py206 dir_path = os.path.dirname(file_path)
207 self.resource_map[dir_path] = self.resource_map[file_path]
/external/chromium-trace/catapult/telemetry/telemetry/value/
Dtrace.py121 def Serialize(self, dir_path): argument
125 file_path = os.path.abspath(os.path.join(dir_path, file_name))
/external/jsoncpp/
Dmakerelease.py41 def rmdir_if_exist( dir_path ): argument
42 if os.path.isdir( dir_path ):
43 shutil.rmtree( dir_path )
/external/libchrome/base/files/
Dfile_util.cc169 bool IsDirectoryEmpty(const FilePath& dir_path) { in IsDirectoryEmpty() argument
170 FileEnumerator files(dir_path, false, in IsDirectoryEmpty()
Dfile_util.h206 BASE_EXPORT bool IsDirectoryEmpty(const FilePath& dir_path);
/external/toybox/toys/pending/
Dbootchartd.c145 char *dir, dir_path[] = "/tmp/bootchart.XXXXXX"; in create_tmp_dir() local
147 if ((dir = mkdtemp(dir_path))) { in create_tmp_dir()
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/
Dpage_test_results.py241 def _SerializeTracesToDirPath(self, dir_path): argument
245 fh = value.Serialize(dir_path)
/external/autotest/client/common_lib/
Dbase_packages.py565 def upload_pkg_dir(self, dir_path, upload_path): argument
574 local_path = os.path.join(dir_path, "*")
592 % (dir_path, upload_path, why))
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dutil.py222 def CreateDirIfNeeded(dir_path, mode=0777): argument
224 if not os.path.exists(dir_path):
228 os.makedirs(dir_path, mode)
/external/webrtc/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc2058 std::string dir_path = JavaToStdString(jni, j_dirPath); in JOW() local
2060 new rtc::CallSessionFileRotatingLogSink(dir_path, j_maxFileSize); in JOW()
2063 "Failed to init CallSessionFileRotatingLogSink for path " << dir_path; in JOW()
2082 std::string dir_path = JavaToStdString(jni, j_dirPath); in JOW() local
2084 new rtc::CallSessionFileRotatingStream(dir_path)); in JOW()
2087 "Failed to open CallSessionFileRotatingStream for path " << dir_path; in JOW()
2093 "CallSessionFileRotatingStream returns 0 size for path " << dir_path; in JOW()

12