Lines Matching refs:num_bytes_read
253 const int num_bytes_read = in ExtractCurrentEntry() local
256 if (num_bytes_read == 0) { in ExtractCurrentEntry()
259 } else if (num_bytes_read < 0) { in ExtractCurrentEntry()
262 } else if (num_bytes_read > 0) { in ExtractCurrentEntry()
264 remaining_capacity, base::checked_cast<uint64_t>(num_bytes_read)); in ExtractCurrentEntry()
267 if (remaining_capacity == base::checked_cast<uint64_t>(num_bytes_read)) { in ExtractCurrentEntry()
414 const int num_bytes_read = unzReadCurrentFile(zip_file_, in ExtractChunk() local
418 if (num_bytes_read == 0) { in ExtractChunk()
421 } else if (num_bytes_read < 0) { in ExtractChunk()
423 << "(" << num_bytes_read << ")"; in ExtractChunk()
426 if (num_bytes_read != output_file.Write(offset, buffer, num_bytes_read)) { in ExtractChunk()
432 int64_t current_progress = offset + num_bytes_read; in ExtractChunk()