Home
last modified time | relevance | path

Searched refs:remaining_bytes (Results 1 – 13 of 13) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp95 uint64_t remaining_bytes = file_size; in Create() local
96 while (remaining_bytes) { in Create()
104 uint64_t chunk_size = std::min(max_piece_size, remaining_bytes); in Create()
118 remaining_bytes = remaining_bytes > writer->size() ? (remaining_bytes - writer->size()) : 0; in Create()
/system/core/adb/
Dsysdeps_win32_test.cpp118 std::vector<char> remaining_bytes; in TestParseCompleteUTF8() local
120 &remaining_bytes); in TestParseCompleteUTF8()
122 EXPECT_EQ(expected_remaining_bytes, remaining_bytes); in TestParseCompleteUTF8()
Dsysdeps.h366 size_t ParseCompleteUTF8(const char* first, const char* last, std::vector<char>* remaining_bytes);
Dsysdeps_win32.cpp2443 std::vector<char>* const remaining_bytes) { in ParseCompleteUTF8() argument
2462 remaining_bytes->insert(remaining_bytes->end(), current, last); in ParseCompleteUTF8()
/system/extras/partition_tools/
Dlpunpack.cc266 uint64_t remaining_bytes = extent.num_sectors * LP_SECTOR_SIZE; in WriteExtent() local
267 while (remaining_bytes) { in WriteExtent()
268 if (remaining_bytes < block_size_) { in WriteExtent()
279 remaining_bytes -= block_size_; in WriteExtent()
/system/bt/gd/hci/fuzz/
Dacl_manager_fuzz_test.cc47 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
Dhci_layer_fuzz_test.cc46 while (dataProvider.remaining_bytes() > 0) { in LLVMFuzzerTestOneInput()
/system/update_engine/payload_consumer/
Ddelta_performer_fuzzer.cc87 } while (data_provider.remaining_bytes() > 0); in FuzzDeltaPerformer()
/system/core/libutils/
DBitSet_fuzz.cpp63 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput()
DString16_fuzz.cpp114 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput()
DString8_fuzz.cpp126 while (dataProvider.remaining_bytes() > 0 && opsRun++ < MAX_OPERATIONS) { in LLVMFuzzerTestOneInput()
/system/libziparchive/
Dzip_archive.cc1241 uint64_t remaining_bytes = compressed_length; in Inflate() local
1247 (remaining_bytes > kBufSize) ? kBufSize : static_cast<uint32_t>(remaining_bytes); in Inflate()
1248 const off64_t offset = (compressed_length - remaining_bytes); in Inflate()
1255 remaining_bytes -= read_size; in Inflate()
1296 if (total_output != uncompressed_length || remaining_bytes != 0) { in Inflate()
/system/core/fs_mgr/liblp/
Dreader.cpp199 if (size_t remaining_bytes = header.header_size - sizeof(LpMetadataHeaderV1_0)) { in ReadMetadataHeader() local
201 if (!reader->ReadFully(offset, remaining_bytes)) { in ReadMetadataHeader()