Lines Matching refs:fwrite
247 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in StartAlignedEntryWithTime()
251 if (fwrite(path, sizeof(*path), file_entry.path.size(), file_) != file_entry.path.size()) { in StartAlignedEntryWithTime()
256 fwrite(zero_padding.data(), 1, file_entry.padding_length, file_) in StartAlignedEntryWithTime()
343 if (fwrite(data, 1, len, file_) != len) { in StoreBytes()
371 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in CompressBytes()
397 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()
412 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()
438 if (fwrite(&sig, sizeof(sig), 1, file_) != 1) { in FinishEntry()
446 if (fwrite(&dd, sizeof(dd), 1, file_) != 1) { in FinishEntry()
459 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in FinishEntry()
493 if (fwrite(&cdr, sizeof(cdr), 1, file_) != 1) { in Finish()
497 if (fwrite(file.path.data(), 1, file.path.size(), file_) != file.path.size()) { in Finish()
513 if (fwrite(&er, sizeof(er), 1, file_) != 1) { in Finish()