Lines Matching refs:cdr
518 CentralDirectoryRecord cdr = {}; in Finish() local
519 cdr.record_signature = CentralDirectoryRecord::kSignature; in Finish()
521 cdr.gpb_flags |= kGPBDDFlagMask; in Finish()
523 cdr.compression_method = file.compression_method; in Finish()
524 cdr.last_mod_time = file.last_mod_time; in Finish()
525 cdr.last_mod_date = file.last_mod_date; in Finish()
526 cdr.crc32 = file.crc32; in Finish()
527 cdr.compressed_size = file.compressed_size; in Finish()
528 cdr.uncompressed_size = file.uncompressed_size; in Finish()
531 cdr.file_name_length = static_cast<uint16_t>(file.path.size()); in Finish()
534 cdr.local_file_header_offset = static_cast<uint32_t>(file.local_file_header_offset); in Finish()
535 if (fwrite(&cdr, sizeof(cdr), 1, file_) != 1) { in Finish()
543 current_offset_ += sizeof(cdr) + file.path.size(); in Finish()