Home
last modified time | relevance | path

Searched refs:bytes_remaining (Results 1 – 5 of 5) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dbroken_adv.cc63 static uint8_t random_length(size_t bytes_remaining) { in random_length() argument
68 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() argument
104 return bytes_remaining; in random_data_length()
[all …]
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp226 uint64_t bytes_remaining = bytes; in Write() local
227 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()
/system/extras/partition_tools/
Dlpadd.cc332 uint64_t bytes_remaining = in WriteExtent() local
342 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()
/system/core/fs_mgr/libdm/
Ddm_test.cpp387 uint64_t bytes_remaining = SnapshotTestHarness::kCowDeviceSize; in TEST() local
389 while (bytes_remaining) { in TEST()
395 bytes_remaining -= data.size(); in TEST()
400 if (!bytes_remaining) { in TEST()
/system/update_engine/common/
Dutils.cc400 const unsigned int bytes_remaining = length - i; in HexDumpArray() local
402 min(bytes_per_line, bytes_remaining); in HexDumpArray()