Lines Matching refs:fwrite
219 if (fwrite(&header, sizeof(header), 1, file_) != 1) { in StartAlignedEntryWithTime()
223 if (fwrite(path, sizeof(*path), fileInfo.path.size(), file_) != fileInfo.path.size()) { in StartAlignedEntryWithTime()
228 fwrite(zero_padding.data(), 1, header.extra_field_length, file_) in StartAlignedEntryWithTime()
288 if (fwrite(data, 1, len, file_) != len) { in StoreBytes()
316 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in CompressBytes()
342 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()
357 if (fwrite(buffer_.data(), 1, write_bytes, file_) != write_bytes) { in FlushCompressedBytes()
381 if (fwrite(&sig, sizeof(sig), 1, file_) != 1) { in FinishEntry()
390 if (fwrite(&dd, sizeof(dd), 1, file_) != 1) { in FinishEntry()
417 if (fwrite(&cdr, sizeof(cdr), 1, file_) != 1) { in Finish()
421 if (fwrite(file.path.data(), 1, file.path.size(), file_) != file.path.size()) { in Finish()
437 if (fwrite(&er, sizeof(er), 1, file_) != 1) { in Finish()