Home
last modified time | relevance | path

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

/art/compiler/
Doat_test.cc242 explicit ZipBuilder(File* zip_file) : zip_file_(zip_file) { } in ZipBuilder()
245 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in AddFile()
256 if (!zip_file_->WriteFully(&file_header, sizeof(file_header)) || in AddFile()
257 !zip_file_->WriteFully(location, file_header.filename_length) || in AddFile()
258 !zip_file_->WriteFully(data, size)) { in AddFile()
273 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in Finish()
280 if (!zip_file_->WriteFully(&file_data.cdfh, sizeof(file_data.cdfh)) || in Finish()
281 !zip_file_->WriteFully(file_data.location, file_data.cdfh.filename_length)) { in Finish()
292 zip_file_->WriteFully(&eocd_record, sizeof(eocd_record)) && in Finish()
293 zip_file_->Flush() == 0; in Finish()
[all …]