Searched refs:kChunkSize (Results 1 – 6 of 6) sorted by relevance
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer_test.cpp | 316 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 …]
|
D | image_manager.cpp | 229 static constexpr size_t kChunkSize = 4096; in ZeroFillNewImage() local 230 std::string zeroes(kChunkSize, '\0'); in ZeroFillNewImage()
|
/system/memory/libmemunreachable/ |
D | Allocator.cpp | 58 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/ |
D | bzip_extent_writer_unittest.cc | 92 const size_t kChunkSize = 3; in TEST_F() local 106 i += kChunkSize) { in TEST_F() 107 size_t this_chunk_size = min(kChunkSize, compressed_data.size() - i); in TEST_F()
|
/system/core/logd/ |
D | SerializedFlushToStateTest.cpp | 29 constexpr size_t kChunkSize = 3 * 4096; variable 152 auto chunk = SerializedLogChunk{kChunkSize}; in AddChunkWithMessages()
|
D | SerializedLogChunkTest.cpp | 150 static constexpr size_t kChunkSize = 10 * 4096; member in UidClearTest 154 SerializedLogChunk chunk_{kChunkSize};
|