Searched refs:bytes_remaining (Results 1 – 5 of 5) sorted by relevance
63 static uint8_t random_length(size_t bytes_remaining) { in random_length() argument68 return bytes_remaining + (randomness & 0xff); in random_length()70 return bytes_remaining - (randomness & 0xff); in random_length()72 return bytes_remaining + (randomness & 0xf); in random_length()74 return bytes_remaining - (randomness & 0xf); in random_length()77 return bytes_remaining + (randomness & 0x3); in random_length()80 return bytes_remaining - (randomness & 0x3); in random_length()82 return bytes_remaining; in random_length()99 static size_t random_data_length(size_t length, size_t bytes_remaining) { in random_data_length() argument104 return bytes_remaining; in random_data_length()[all …]
226 uint64_t bytes_remaining = bytes; in Write() local227 while (bytes_remaining) { in Write()259 uint64_t bytes_to_write = std::min(file_bytes_left, bytes_remaining); in Write()265 bytes_remaining -= bytes_to_write; in Write()
332 uint64_t bytes_remaining = in WriteExtent() local342 while (bytes_remaining > 0) { in WriteExtent()343 uint64_t bytes = std::min((uint64_t)sizeof(buffer), bytes_remaining); in WriteExtent()352 bytes_remaining -= bytes; in WriteExtent()
387 uint64_t bytes_remaining = SnapshotTestHarness::kCowDeviceSize; in TEST() local389 while (bytes_remaining) { in TEST()395 bytes_remaining -= data.size(); in TEST()400 if (!bytes_remaining) { in TEST()
400 const unsigned int bytes_remaining = length - i; in HexDumpArray() local402 min(bytes_per_line, bytes_remaining); in HexDumpArray()