Home
last modified time | relevance | path

Searched refs:entry_path (Results 1 – 17 of 17) sorted by relevance

/external/google-breakpad/src/common/tests/
Dauto_tempdir.h78 string entry_path = path + "/" + entry->d_name; in DeleteRecursively() local
80 EXPECT_TRUE(lstat(entry_path.c_str(), &stats) == 0); in DeleteRecursively()
82 DeleteRecursively(entry_path); in DeleteRecursively()
84 EXPECT_TRUE(unlink(entry_path.c_str()) == 0); in DeleteRecursively()
/external/crosvm/devices/src/virtio/gpu/
Dsnapshot.rs19 let entry_path = entry.path(); in get_files_recursively() localVariable
20 if entry_path.is_dir() { in get_files_recursively()
21 get_files_recursively(&entry_path, paths)?; in get_files_recursively()
23 paths.push(entry_path.to_path_buf()); in get_files_recursively()
/external/autotest/client/common_lib/cros/
Dsmbprovider.py200 def get_metadata(self, mount_id, entry_path): argument
212 logging.info("Getting metadata for %s", entry_path)
220 proto.entry_path = entry_path
339 def delete_entry(self, mount_id, entry_path, recursive): argument
352 logging.info("Deleting entry: %s", entry_path)
358 proto.entry_path = entry_path
/external/python/cpython3/Lib/
Dglob.py441 entry_path = self.parse_entry(entry)
443 yield from select_next(entry_path, exists=True)
445 yield entry_path
499 entry_path = self.parse_entry(entry)
500 if match is None or match(str(entry_path), match_pos):
502 yield from select_next(entry_path, exists=True)
506 yield entry_path
508 stack.append(entry_path)
/external/autotest/client/bin/result_tools/
Dview.py362 entry_path = '%s/%s' % (parent_path, name)
366 PATH: entry_path,
379 entry.files, entry_path, subdir_total_size,
/external/zlib/google/
Dzip.cc32 const base::FilePath& entry_path) { in CreateDirectory() argument
33 const base::FilePath dir = extract_dir.Append(entry_path); in CreateDirectory()
42 const base::FilePath& entry_path) { in CreateFilePathWriterDelegate() argument
44 extract_dir.Append(entry_path)); in CreateFilePathWriterDelegate()
Dzip_unittest.cc901 base::BindLambdaForTesting([this](const base::FilePath& entry_path) { in TEST_F() argument
902 return base::CreateDirectory(test_dir_.Append(entry_path)); in TEST_F()
905 base::BindLambdaForTesting([this](const base::FilePath& entry_path) in TEST_F()
908 test_dir_.Append(entry_path)); in TEST_F()
928 base::BindLambdaForTesting([this](const base::FilePath& entry_path) { in TEST_F() argument
929 return base::CreateDirectory(test_dir_.Append(entry_path)); in TEST_F()
934 base::BindLambdaForTesting([](const base::FilePath& entry_path) { in TEST_F() argument
/external/mesa3d/src/util/
Ddisk_cache_os.c1203 char *entry_path = NULL; in delete_dir() local
1209 UNUSED int _unused = asprintf(&entry_path, "%s/%s", path, p->d_name); in delete_dir()
1210 if (!entry_path) in delete_dir()
1214 if (stat(entry_path, &st)) { in delete_dir()
1215 free(entry_path); in delete_dir()
1219 delete_dir(entry_path); in delete_dir()
1221 unlink(entry_path); in delete_dir()
1223 free(entry_path); in delete_dir()
/external/cronet/tot/net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/
Dquiche_file_utils_impl.cc169 const std::string entry_path = JoinPathImpl(path, filename); in EnumerateDirectoryImpl() local
171 if (stat(entry_path.c_str(), &stat_entry) != 0) { in EnumerateDirectoryImpl()
/external/cronet/stable/net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/
Dquiche_file_utils_impl.cc169 const std::string entry_path = JoinPathImpl(path, filename); in EnumerateDirectoryImpl() local
171 if (stat(entry_path.c_str(), &stat_entry) != 0) { in EnumerateDirectoryImpl()
/external/bcc/src/cc/
Dlibbpf.c1374 static int _find_archive_path_and_offset(const char *entry_path, in _find_archive_path_and_offset() argument
1377 const char *separator = strstr(entry_path, "!/"); in _find_archive_path_and_offset()
1378 if (separator == NULL || (separator - entry_path) >= PATH_MAX) { in _find_archive_path_and_offset()
1384 bcc_zip_archive_open_and_find(entry_path, &entry); in _find_archive_path_and_offset()
1393 strncpy(out_path, entry_path, separator - entry_path); in _find_archive_path_and_offset()
1394 out_path[separator - entry_path] = 0; in _find_archive_path_and_offset()
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py719 def stat(self, entry_path: AnyStr, follow_symlinks: bool = True):
736 entry_path,
743 file_object = self.resolve(entry_path)
751 entry_path, file_object, follow_symlinks
758 entry_path: AnyStr,
763 if self.ends_with_path_separator(entry_path):
766 link_object = self.resolve(entry_path)
771 self.raise_os_error(errno.EINVAL, entry_path)
783 self.raise_os_error(error_nr, entry_path)
/external/rust/android-crates-io/crates/p9/src/server/
Dtests.rs579 let entry_path = dir.join(&dirent.name); in tree_walk() localVariable
581 entry_path.exists(), in tree_walk()
583 entry_path.display() in tree_walk()
585 let md = fs::symlink_metadata(&entry_path).expect("failed to get metadata for entry"); in tree_walk()
/external/cronet/stable/net/disk_cache/
Dentry_unittest.cc3175 const base::FilePath entry_path = cache_path_.AppendASCII( in TEST_F() local
3179 EXPECT_TRUE(TruncatePath(entry_path, invalid_size)); in TEST_F()
4387 const base::FilePath entry_path = cache_path_.AppendASCII( in TruncateFileFromEnd() local
4389 EXPECT_TRUE(TruncatePath(entry_path, new_size)); in TruncateFileFromEnd()
Dbackend_unittest.cc749 base::FilePath entry_path = cache_path_.AppendASCII( in TEST_F() local
751 std::optional<int64_t> size = base::GetFileSize(entry_path); in TEST_F()
/external/cronet/tot/net/disk_cache/
Dentry_unittest.cc3175 const base::FilePath entry_path = cache_path_.AppendASCII( in TEST_F() local
3179 EXPECT_TRUE(TruncatePath(entry_path, invalid_size)); in TEST_F()
4387 const base::FilePath entry_path = cache_path_.AppendASCII( in TruncateFileFromEnd() local
4389 EXPECT_TRUE(TruncatePath(entry_path, new_size)); in TruncateFileFromEnd()
Dbackend_unittest.cc749 base::FilePath entry_path = cache_path_.AppendASCII( in TEST_F() local
751 std::optional<int64_t> size = base::GetFileSize(entry_path); in TEST_F()