Searched refs:kChunkSize (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/libfiemap_writer/ |
D | fiemap_writer_test.cpp | 310 static constexpr size_t kChunkSize = 32768; in TEST_F() local 311 static constexpr size_t kSize = kChunkSize * 3; in TEST_F() 312 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F() 328 static constexpr size_t kChunkSize = 32768; in TEST_F() local 329 static constexpr size_t kSize = kChunkSize * 3; in TEST_F() 330 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F() 355 static constexpr size_t kChunkSize = 32768; in TEST_F() local 356 static constexpr size_t kSize = kChunkSize * 3; in TEST_F() 357 auto ptr = SplitFiemap::Create(testfile, kSize, kChunkSize); in TEST_F() 369 size_t to_write = std::min(kSize - bytes_written, kChunkSize); in TEST_F() [all …]
|
/system/core/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()
|