Home
last modified time | relevance | path

Searched refs:zip_file_ (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/zlib/google/
Dzip_reader.cc145 DCHECK(!zip_file_); in Open()
149 zip_file_ = internal::OpenForUnzipping(zip_file_path.AsUTF8Unsafe()); in Open()
150 if (!zip_file_) { in Open()
158 DCHECK(!zip_file_); in OpenFromPlatformFile()
161 zip_file_ = internal::OpenFdForUnzipping(zip_fd); in OpenFromPlatformFile()
163 zip_file_ = internal::OpenHandleForUnzipping(zip_fd); in OpenFromPlatformFile()
165 if (!zip_file_) { in OpenFromPlatformFile()
173 zip_file_ = internal::PrepareMemoryForUnzipping(data); in OpenFromString()
174 if (!zip_file_) in OpenFromString()
180 if (zip_file_) { in Close()
[all …]
Dzip_writer.cc123 : zip_file_(zip_file), root_dir_(root_dir), file_accessor_(file_accessor) {} in ZipWriter()
134 DCHECK(zip_file_); in AddEntries()
141 zipClose(zip_file_, nullptr) == ZIP_OK; in Close()
142 zip_file_ = nullptr; in Close()
177 if (!AddFileEntryToZip(zip_file_, relative_path, std::move(file))) { in FlushEntriesIfNeeded()
192 if (!AddDirectoryEntryToZip(zip_file_, relative_path, last_modified)) { in FlushEntriesIfNeeded()
Dzip_writer.h77 zipFile zip_file_; variable
Dzip_reader.h222 unzFile zip_file_; variable
/third_party/node/deps/v8/third_party/zlib/google/
Dzip_reader.cc131 DCHECK(!zip_file_); in Open()
135 zip_file_ = internal::OpenForUnzipping(zip_path.AsUTF8Unsafe()); in Open()
136 if (!zip_file_) { in Open()
145 DCHECK(!zip_file_); in OpenFromPlatformFile()
148 zip_file_ = internal::OpenFdForUnzipping(zip_fd); in OpenFromPlatformFile()
150 zip_file_ = internal::OpenHandleForUnzipping(zip_fd); in OpenFromPlatformFile()
152 if (!zip_file_) { in OpenFromPlatformFile()
161 zip_file_ = internal::PrepareMemoryForUnzipping(data); in OpenFromString()
162 if (!zip_file_) in OpenFromString()
168 if (zip_file_) { in Close()
[all …]
Dzip_writer.cc50 if (zipWriteInFileInZip(zip_file_, buf, num_bytes) != ZIP_OK) { in AddFileContent()
79 return zip::internal::ZipOpenNewFileInZip(zip_file_, str_path, last_modified, in OpenNewFileEntry()
84 return zipCloseFileInZip(zip_file_) == ZIP_OK; in CloseNewFileEntry()
161 : zip_file_(zip_file), file_accessor_(file_accessor) {} in ZipWriter()
164 if (zip_file_) in ~ZipWriter()
165 zipClose(zip_file_, nullptr); in ~ZipWriter()
169 const bool success = zipClose(zip_file_, nullptr) == ZIP_OK; in Close()
170 zip_file_ = nullptr; in Close()
Dzip_writer.h124 zipFile zip_file_; variable
Dzip_reader.h279 unzFile zip_file_; variable
/third_party/node/deps/zlib/google/
Dzip_reader.cc131 DCHECK(!zip_file_); in Open()
135 zip_file_ = internal::OpenForUnzipping(zip_path.AsUTF8Unsafe()); in Open()
136 if (!zip_file_) { in Open()
145 DCHECK(!zip_file_); in OpenFromPlatformFile()
148 zip_file_ = internal::OpenFdForUnzipping(zip_fd); in OpenFromPlatformFile()
150 zip_file_ = internal::OpenHandleForUnzipping(zip_fd); in OpenFromPlatformFile()
152 if (!zip_file_) { in OpenFromPlatformFile()
161 zip_file_ = internal::PrepareMemoryForUnzipping(data); in OpenFromString()
162 if (!zip_file_) in OpenFromString()
168 if (zip_file_) { in Close()
[all …]
Dzip_writer.cc50 if (zipWriteInFileInZip(zip_file_, buf, num_bytes) != ZIP_OK) { in AddFileContent()
79 return zip::internal::ZipOpenNewFileInZip(zip_file_, str_path, last_modified, in OpenNewFileEntry()
84 return zipCloseFileInZip(zip_file_) == ZIP_OK; in CloseNewFileEntry()
161 : zip_file_(zip_file), file_accessor_(file_accessor) {} in ZipWriter()
164 if (zip_file_) in ~ZipWriter()
165 zipClose(zip_file_, nullptr); in ~ZipWriter()
169 const bool success = zipClose(zip_file_, nullptr) == ZIP_OK; in Close()
170 zip_file_ = nullptr; in Close()
Dzip_writer.h124 zipFile zip_file_; variable
Dzip_reader.h311 unzFile zip_file_; variable