Home
last modified time | relevance | path

Searched refs:kChunkSize (Results 1 – 6 of 6) sorted by relevance

/system/core/fs_mgr/libfiemap/
Dfiemap_writer_test.cpp316 static constexpr size_t kChunkSize = 32768; in TEST_F() local
317 static constexpr size_t kSize = kChunkSize * 3; in TEST_F()
318 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F()
334 static constexpr size_t kChunkSize = 32768; in TEST_F() local
335 static constexpr size_t kSize = kChunkSize * 3; in TEST_F()
336 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F()
361 static constexpr size_t kChunkSize = 32768; in TEST_F() local
362 static constexpr size_t kSize = kChunkSize * 3; in TEST_F()
363 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F()
375 size_t to_write = std::min(kSize - bytes_written, kChunkSize); in TEST_F()
[all …]
Dimage_manager.cpp243 static constexpr size_t kChunkSize = 4096; in ZeroFillNewImage() local
244 std::string zeroes(kChunkSize, '\0'); in ZeroFillNewImage()
/system/memory/libmemunreachable/
DAllocator.cpp58 static constexpr size_t kChunkSize = 256 * 1024; variable
59 static constexpr size_t kUsableChunkSize = kChunkSize - kPageSize;
60 static constexpr size_t kMaxBucketAllocationSize = kChunkSize / 4;
177 return reinterpret_cast<Chunk*>(reinterpret_cast<uintptr_t>(ptr) & ~(kChunkSize - 1)); in ptr_to_chunk()
180 return (reinterpret_cast<uintptr_t>(ptr) & (kChunkSize - 1)) != 0; in is_chunk()
216 void* mem = MapAligned(kChunkSize, kChunkSize); in operator new()
227 munmap(ptr, kChunkSize); in operator delete()
391 void* ptr = MapAligned(size, kChunkSize); in MapAlloc()
/system/update_engine/payload_consumer/
Dbzip_extent_writer_unittest.cc90 const size_t kChunkSize = 3; in TEST_F() local
103 i += kChunkSize) { in TEST_F()
104 size_t this_chunk_size = min(kChunkSize, compressed_data.size() - i); in TEST_F()
/system/core/fs_mgr/libsnapshot/
Dcow_decompress.cpp89 static constexpr size_t kChunkSize = 4096; variable
99 uint8_t chunk[kChunkSize]; in Decompress()
128 size_t request_size = std::min(output_bytes_, kChunkSize); in GetFreshBuffer()
/system/logging/logd/
DSerializedFlushToStateTest.cpp29 constexpr size_t kChunkSize = 3 * 4096; variable
152 auto chunk = SerializedLogChunk{kChunkSize}; in AddChunkWithMessages()
297 auto chunk = SerializedLogChunk{kChunkSize}; in TEST()