Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Doat_writer_test.cc328 explicit ZipBuilder(File* zip_file) : zip_file_(zip_file) { } in ZipBuilder()
331 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in AddFile()
342 if (!zip_file_->WriteFully(&file_header, sizeof(file_header)) || in AddFile()
343 !zip_file_->WriteFully(location, file_header.filename_length) || in AddFile()
344 !zip_file_->WriteFully(data, size)) { in AddFile()
359 off_t offset = lseek(zip_file_->Fd(), 0, SEEK_CUR); in Finish()
366 if (!zip_file_->WriteFully(&file_data.cdfh, sizeof(file_data.cdfh)) || in Finish()
367 !zip_file_->WriteFully(file_data.location, file_data.cdfh.filename_length)) { in Finish()
378 zip_file_->WriteFully(&eocd_record, sizeof(eocd_record)) && in Finish()
379 zip_file_->Flush() == 0; in Finish()
[all …]