HomeSort by relevance Sort by last modified time
    Searched refs:allocation_size (Results 1 - 25 of 28) sorted by null

1 2

  /external/compiler-rt/test/asan/TestCases/
mmap_limit_mb.cc 22 long allocation_size = atoi(argv[2]); local
23 fprintf(stderr, "total_mb: %zd allocation_size: %zd\n", total_mb,
24 allocation_size);
26 for (long total = total_mb << 20; total > 0; total -= allocation_size)
27 v.push_back(new char[allocation_size]);
  /external/chromium_org/base/allocator/
win_allocator.cc 53 size_t allocation_size = size + (alignment - 1) + sizeof(void*); local
56 DCHECK_LT(size, allocation_size);
57 DCHECK_LT(alignment, allocation_size);
61 void* ptr = win_heap_malloc(allocation_size);
  /external/protobuf/gtest/samples/
sample10_unittest.cc 56 void* operator new(size_t allocation_size) {
58 return malloc(allocation_size);
61 void operator delete(void* block, size_t allocation_size) {
  /art/runtime/gc/space/
large_object_space.cc 123 size_t allocation_size = mem_map->Size(); local
126 byte* obj_end = reinterpret_cast<byte*>(obj) + allocation_size;
130 *bytes_allocated = allocation_size;
132 *usable_size = allocation_size;
134 num_bytes_allocated_ += allocation_size;
135 total_bytes_allocated_ += allocation_size;
149 size_t allocation_size = found->second->Size(); local
150 num_bytes_allocated_ -= allocation_size;
154 return allocation_size;
346 const size_t allocation_size = info->ByteSize() local
412 const size_t allocation_size = RoundUp(num_bytes, kAlignment); local
    [all...]
dlmalloc_space-inl.h 61 size_t allocation_size = AllocationSizeNonvirtual(result, usable_size); local
63 *bytes_allocated = allocation_size;
large_object_space_test.cc 51 size_t allocation_size = 0; local
52 mirror::Object* obj = los->Alloc(Thread::Current(), request_size, &allocation_size,
55 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr));
56 ASSERT_GE(allocation_size, request_size);
space_test.h 348 size_t allocation_size, usable_size; local
350 lots_of_objects[i] = Alloc(space, self, size_of_zero_length_byte_array, &allocation_size,
354 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size));
363 size_t allocation_size, usable_size; local
364 lots_of_objects[i] = AllocWithGrowth(space, self, 1024, &allocation_size, &usable_size);
367 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size));
434 size_t allocation_size = space->AllocationSize(object.Get(), nullptr); local
435 EXPECT_EQ(bytes_allocated, allocation_size);
437 EXPECT_GE(allocation_size, static_cast<size_t>(object_size));
439 EXPECT_GE(allocation_size, 8u)
489 size_t allocation_size = space->AllocationSize(object, nullptr); local
    [all...]
  /external/chromium_org/testing/gtest/samples/
sample10_unittest.cc 56 void* operator new(size_t allocation_size) {
58 return malloc(allocation_size);
61 void operator delete(void* block, size_t /* allocation_size */) {
  /ndk/sources/third_party/googletest/googletest/samples/
sample10_unittest.cc 56 void* operator new(size_t allocation_size) {
58 return malloc(allocation_size);
61 void operator delete(void* block, size_t /* allocation_size */) {
  /art/compiler/utils/
scoped_arena_allocator.cc 58 size_t allocation_size = std::max(Arena::kDefaultSize, rounded_bytes); local
60 top_arena_ = bottom_arena_ = stats_and_pool_.pool->AllocArena(allocation_size);
62 } else if (top_arena_->next_ != nullptr && top_arena_->next_->Size() >= allocation_size) {
66 top_arena_->next_ = stats_and_pool_.pool->AllocArena(allocation_size);
arena_allocator.cc 254 void ArenaAllocator::ObtainNewArenaForAllocation(size_t allocation_size) {
256 Arena* new_arena = pool_->AllocArena(std::max(Arena::kDefaultSize, allocation_size));
arena_allocator.h 191 void ObtainNewArenaForAllocation(size_t allocation_size);
  /external/chromium_org/chrome_elf/create_file/
chrome_create_file_unittest.cc 38 PLARGE_INTEGER allocation_size; member in struct:__anon10674::ChromeCreateFileTest::NtCreateFileParams
58 PLARGE_INTEGER allocation_size,
69 allocation_size,
133 PLARGE_INTEGER allocation_size,
144 allocation_size,
159 allocation_size,
170 PLARGE_INTEGER allocation_size,
187 params->allocation_size = allocation_size;
210 EXPECT_EQ(kernel_params_.allocation_size, elf_params_.allocation_size)
    [all...]
  /external/chromium_org/content/browser/loader/
resource_buffer.cc 165 int allocation_size = alloc_sizes_.front(); local
168 alloc_start_ += allocation_size;
  /external/chromium_org/sandbox/win/src/
filesystem_interception.h 19 PIO_STATUS_BLOCK io_status, PLARGE_INTEGER allocation_size,
filesystem_interception.cc 22 PLARGE_INTEGER allocation_size,
28 io_status, allocation_size,
interceptors_64.cc 77 PLARGE_INTEGER allocation_size, ULONG file_attributes, ULONG sharing,
82 io_status, allocation_size, file_attributes,
interceptors_64.h 54 PLARGE_INTEGER allocation_size, ULONG file_attributes, ULONG sharing,
  /external/lldb/source/Expression/
IRMemoryMap.cpp 244 size_t allocation_size; local
247 allocation_size = alignment;
249 allocation_size = (size & alignment_mask) ? ((size + alignment) & (~alignment_mask)) : size;
258 allocation_address = FindSpace(allocation_size);
270 allocation_address = process_sp->AllocateMemory(allocation_size, permissions, error);
277 allocation_address = FindSpace(allocation_size);
292 allocation_address = process_sp->AllocateMemory(allocation_size, permissions, error);
318 allocation_size,
344 (uint64_t)allocation_size,
  /external/chromium_org/v8/src/
allocation-tracker.h 27 unsigned allocation_size() const { return total_size_; } function in class:v8::internal::AllocationTraceNode
zone.h 66 inline unsigned allocation_size() const { return allocation_size_; } function in class:v8::internal::Zone
compiler.cc     [all...]
  /external/chromium_org/v8/src/compiler/
pipeline.cc 45 size_(info->zone()->allocation_size()) {
54 size_t bytes = info_->zone()->allocation_size() - size_;
  /external/chromium_org/v8/src/heap/
heap.cc 1953 int allocation_size = object_size; local
1993 int allocation_size = object_size; local
    [all...]
  /external/chromium_org/v8/test/cctest/
test-heap-profiler.cc     [all...]

Completed in 704 milliseconds

1 2