/external/webrtc/webrtc/base/ |
D | filerotatingstream.cc | 26 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 …]
|
D | 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,
|
D | filerotatingstream_unittest.cc | 58 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/libmojo/third_party/catapult/devil/devil/utils/ |
D | 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/devil/devil/utils/ |
D | 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/jsoncpp/devtools/ |
D | antglob.py | 96 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/dependency_manager/dependency_manager/ |
D | dependency_manager_util.py | 22 def RemoveDir(dir_path): argument 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)
|
D | dependency_manager_util_unittest.py | 106 def CreateZipArchiveFromDir(self, dir_path): argument 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/mesa3d/src/util/ |
D | disk_cache.c | 368 choose_random_file_matching(const char *dir_path, in choose_random_file_matching() argument 370 const char *dir_path)) in choose_random_file_matching() 377 dir = opendir(dir_path); in choose_random_file_matching() 387 if (!predicate(entry, dir_path)) in choose_random_file_matching() 407 if (!predicate(entry, dir_path)) in choose_random_file_matching() 420 if (asprintf(&filename, "%s/%s", dir_path, entry->d_name) < 0) in choose_random_file_matching() 505 char *dir_path; in evict_random_item() local 516 if (asprintf(&dir_path, "%s/%c%c", cache->path, hex[a], hex[b]) < 0) in evict_random_item() 519 size = unlink_random_file_from_directory(dir_path); in evict_random_item() 521 free(dir_path); in evict_random_item() [all …]
|
/external/autotest/site_utils/admin/ |
D | 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/autotest/utils/ |
D | unittest_suite.py | 173 for dir_path, sub_dirs, file_names in os.walk(start): 179 os.unlink(os.path.join(dir_path, file_name)) 183 print 'Skipping', dir_path 190 file_path = os.path.join(dir_path, file_name) 198 path_no_py = os.path.join(dir_path, file_name).rstrip('.py')
|
D | run_pylint.py | 294 def check_dir(dir_path, base_opts): argument 301 os.path.walk(dir_path, visit, base_opts)
|
/external/libese/libese-hw/nxp/pn80t/ |
D | linux_spidev.c | 81 char dir_path[256]; in gpio_configure() local 93 if (snprintf(dir_path, sizeof(dir_path), "/sys/class/gpio/gpio%d/direction", in gpio_configure() 94 num) >= (int)sizeof(dir_path)) { in gpio_configure() 109 fd = open(dir_path, O_WRONLY); in gpio_configure()
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
D | bwe_test_baselinefile.cc | 120 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/webrtc/tools/autoroller/ |
D | roll_chromium_revision.py | 169 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/common/py_utils/py_utils/ |
D | 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')
|
/external/libmojo/build/android/gyp/util/ |
D | build_utils.py | 44 def MakeDirectory(dir_path): argument 46 os.makedirs(dir_path) 51 def DeleteDirectory(dir_path): argument 52 if os.path.exists(dir_path): 53 shutil.rmtree(dir_path)
|
/external/jsoncpp/ |
D | makerelease.py | 41 def rmdir_if_exist( dir_path ): argument 42 if os.path.isdir( dir_path ): 43 shutil.rmtree( dir_path )
|
/external/libchrome/base/files/ |
D | file_util.cc | 170 bool IsDirectoryEmpty(const FilePath& dir_path) { in IsDirectoryEmpty() argument 171 FileEnumerator files(dir_path, false, in IsDirectoryEmpty()
|
/external/libyuv/files/tools_libyuv/autoroller/ |
D | roll_deps.py | 181 def GetMatchingDepsEntries(depsentry_dict, dir_path): argument 195 if path == dir_path: 200 for i, part in enumerate(dir_path.split('/'))):
|
/external/f2fs-tools/fsck/ |
D | sload.c | 68 const char *dir_path, const char *target_out_dir, in build_directory() argument 96 dir_path, namelist[i]->d_name); in build_directory()
|
/external/chromium-trace/catapult/tracing/tracing/trace_data/ |
D | trace_data.py | 76 def _GetFilePathForTrace(trace, dir_path): argument 85 with tempfile.NamedTemporaryFile(mode='w', dir=dir_path, delete=False) as fp:
|
/external/toybox/toys/pending/ |
D | bootchartd.c | 146 char *dir, dir_path[] = "/tmp/bootchart.XXXXXX"; in create_tmp_dir() local 148 if ((dir = mkdtemp(dir_path))) { in create_tmp_dir()
|
/external/skia/infra/bots/recipe_modules/swarming_client/ |
D | api.py | 51 dir_path=self._client_path,
|
/external/chromium-trace/catapult/devil/devil/android/tools/ |
D | provision_devices.py | 300 dir_path = posixpath.dirname(adb_wrapper.ADB_KEYS_FILE) 301 device.RunShellCommand(['mkdir', '-p', dir_path], 303 device.RunShellCommand(['restorecon', dir_path],
|