Home
last modified time | relevance | path

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

/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp230 uint64_t bytes_remaining = bytes; in Write() local
231 while (bytes_remaining) { in Write()
263 uint64_t bytes_to_write = std::min(file_bytes_left, bytes_remaining); in Write()
269 bytes_remaining -= bytes_to_write; in Write()
/system/update_engine/liburing_cpp/tests/
DBasicTests.cpp71 const auto bytes_remaining = len - i; in Write() local
72 if (bytes_remaining) { in Write()
73 ASSERT_TRUE(ring->PrepWrite(fd, buf + i, bytes_remaining, i).IsOk()); in Write()
/system/extras/partition_tools/
Dlpadd.cc345 uint64_t bytes_remaining = in WriteExtent() local
355 while (bytes_remaining > 0) { in WriteExtent()
356 uint64_t bytes = std::min((uint64_t)sizeof(buffer), bytes_remaining); in WriteExtent()
365 bytes_remaining -= bytes; in WriteExtent()
/system/core/fs_mgr/libdm/
Ddm_test.cpp415 uint64_t bytes_remaining = SnapshotTestHarness::kCowDeviceSize; in TEST_F() local
417 while (bytes_remaining) { in TEST_F()
423 bytes_remaining -= data.size(); in TEST_F()
428 if (!bytes_remaining) { in TEST_F()
/system/update_engine/common/
Dutils.cc464 const unsigned int bytes_remaining = length - i; in HexDumpArray() local
466 min(bytes_per_line, bytes_remaining); in HexDumpArray()