Home
last modified time | relevance | path

Searched refs:original_size (Results 1 – 2 of 2) sorted by relevance

/art/runtime/base/
Darena_allocator_test.cc159 const size_t original_size = ArenaAllocator::kAlignment * 2; in TEST_F() local
160 void* original_allocation = allocator.Alloc(original_size); in TEST_F()
163 void* realloc_allocation = allocator.Realloc(original_allocation, original_size, new_size); in TEST_F()
172 const size_t original_size = ArenaAllocator::kAlignment * 2; in TEST_F() local
173 void* original_allocation = allocator.Alloc(original_size); in TEST_F()
176 void* realloc_allocation = allocator.Realloc(original_allocation, original_size, new_size); in TEST_F()
185 const size_t original_size = ArenaAllocator::kAlignment * 2 + (ArenaAllocator::kAlignment / 2); in TEST_F() local
186 void* original_allocation = allocator.Alloc(original_size); in TEST_F()
189 void* realloc_allocation = allocator.Realloc(original_allocation, original_size, new_size); in TEST_F()
198 const size_t original_size = ArenaAllocator::kAlignment * 2 + (ArenaAllocator::kAlignment / 2); in TEST_F() local
[all …]
/art/patchoat/
Dpatchoat.cc181 size_t original_size = original.Size(); in GeneratePatch() local
183 if (original_size != relocated_size) { in GeneratePatch()
186 "Original and relocated image sizes differ: %zu vs %zu", original_size, relocated_size); in GeneratePatch()
189 if ((original_size % 4) != 0) { in GeneratePatch()
190 *error_msg = StringPrintf("Image size not multiple of 4: %zu", original_size); in GeneratePatch()
193 if (original_size > UINT32_MAX) { in GeneratePatch()
194 *error_msg = StringPrintf("Image too large: %zu" , original_size); in GeneratePatch()
211 SHA256(original_bytes, original_size, output->data()); in GeneratePatch()
217 for (size_t offset = 0; offset < original_size; offset += 4) { in GeneratePatch()