Home
last modified time | relevance | path

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

/external/zlib/google/
Dzip.cc39 const base::FilePath& entry_path) { in CreateDirectory() argument
40 return base::CreateDirectory(extract_dir.Append(entry_path)); in CreateDirectory()
46 const base::FilePath& entry_path) { in CreateFilePathWriterDelegate() argument
48 extract_dir.Append(entry_path)); in CreateFilePathWriterDelegate()
132 const base::FilePath& entry_path = iter->path; in Zip() local
134 ((!params.include_hidden_files() && IsHiddenFile(entry_path)) || in Zip()
135 (filter_callback && !filter_callback.Run(entry_path)))) { in Zip()
143 params.src_dir().AppendRelativePath(entry_path, &relative_path); in Zip()
150 params.file_accessor()->ListDirectoryContent(entry_path); in Zip()
211 const base::FilePath& entry_path = reader.current_entry_info()->file_path(); in UnzipWithFilterAndWriters() local
[all …]
Dzip_unittest.cc383 [](const base::FilePath& extract_dir, const base::FilePath& entry_path) { in TEST_F() argument
384 return base::CreateDirectory(extract_dir.Append(entry_path)); in TEST_F()
388 [](const base::FilePath& extract_dir, const base::FilePath& entry_path) in TEST_F()
391 extract_dir.Append(entry_path)); in TEST_F()
/external/angle/third_party/zlib/google/
Dzip.cc34 const base::FilePath& entry_path) { in CreateDirectory() argument
35 return base::CreateDirectory(extract_dir.Append(entry_path)); in CreateDirectory()
41 const base::FilePath& entry_path) { in CreateFilePathWriterDelegate() argument
43 extract_dir.Append(entry_path)); in CreateFilePathWriterDelegate()
207 const base::FilePath& entry_path = reader.current_entry_info()->file_path(); in UnzipWithFilterAndWriters() local
209 DLOG(WARNING) << "Found an unsafe file in zip " << entry_path; in UnzipWithFilterAndWriters()
212 if (filter_cb.Run(entry_path)) { in UnzipWithFilterAndWriters()
214 if (!directory_creator.Run(entry_path)) in UnzipWithFilterAndWriters()
217 std::unique_ptr<WriterDelegate> writer = writer_factory.Run(entry_path); in UnzipWithFilterAndWriters()
220 DLOG(WARNING) << "Failed to extract " << entry_path; in UnzipWithFilterAndWriters()
[all …]
Dzip_unittest.cc414 [](const base::FilePath& extract_dir, const base::FilePath& entry_path) { in TEST_F() argument
415 return base::CreateDirectory(extract_dir.Append(entry_path)); in TEST_F()
419 [](const base::FilePath& extract_dir, const base::FilePath& entry_path) in TEST_F()
422 extract_dir.Append(entry_path)); in TEST_F()
/external/google-breakpad/src/common/tests/
Dauto_tempdir.h79 string entry_path = path + "/" + entry->d_name; in DeleteRecursively() local
81 EXPECT_TRUE(lstat(entry_path.c_str(), &stats) == 0); in DeleteRecursively()
83 DeleteRecursively(entry_path); in DeleteRecursively()
85 EXPECT_TRUE(unlink(entry_path.c_str()) == 0); in DeleteRecursively()
/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/autotest/client/site_tests/enterprise_SmbProviderDaemon/
Denterprise_SmbProviderDaemon.py201 def _check_get_metadata(self, mount_id, entry_path): argument
214 entry_path)
220 def _check_metadata(self, entry_path, size, is_dir, metadata_blob): argument
231 if entry_path != metadata_blob.name or \
353 def _check_delete_entry(self, mount_id, entry_path, recursive): argument
364 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/cros/system_api/dbus/smbprovider/
Ddirectory_entry.proto99 optional string entry_path = 2; field
139 optional string entry_path = 2; field
216 optional string entry_path = 2; field
/external/vm_tools/p9/src/server/
Dtests.rs551 let entry_path = dir.join(&dirent.name); in tree_walk() localVariable
553 entry_path.exists(), in tree_walk()
555 entry_path.display() in tree_walk()
557 let md = fs::symlink_metadata(&entry_path).expect("failed to get metadata for entry"); in tree_walk()
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem.py1119 def stat(self, entry_path, follow_symlinks=True): argument
1135 entry_path, follow_symlinks,
1144 entry_path, file_object, follow_symlinks)
1148 def raise_for_filepath_ending_with_separator(self, entry_path, argument
1152 if self.ends_with_path_separator(entry_path):
1155 link_object = self.resolve(entry_path)
1160 self.raise_os_error(errno.EINVAL, entry_path)
1173 self.raise_os_error(error_nr, entry_path)