Lines Matching refs:fwrite
275 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in StartAlignedEntryWithTime()
279 if (fwrite(path.data(), 1, path.size(), file_) != path.size()) { in StartAlignedEntryWithTime()
283 if (file_entry.padding_length != 0 && fwrite(zero_padding, 1, file_entry.padding_length, in StartAlignedEntryWithTime()
377 if (fwrite(data, 1, len, file_) != len) { in StoreBytes()
405 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in CompressBytes()
432 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()
448 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()
483 if (fwrite(dataDescriptor.data(), dataDescriptor.size() * sizeof(uint32_t), 1, file_) != 1) { in FinishEntry()
497 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in FinishEntry()
535 if (fwrite(&cdr, sizeof(cdr), 1, file_) != 1) { in Finish()
539 if (fwrite(file.path.data(), 1, file.path.size(), file_) != file.path.size()) { in Finish()
560 if (fwrite(&er, sizeof(er), 1, file_) != 1) { in Finish()