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

1 2

  /external/compiler-rt/test/asan/TestCases/Posix/
mmap_limit_mb.cc 24 long allocation_size = atoi(argv[2]); local
25 fprintf(stderr, "total_mb: %zd allocation_size: %zd\n", total_mb,
26 allocation_size);
28 for (long total = total_mb << 20; total > 0; total -= allocation_size)
29 v.push_back(new char[allocation_size]);
  /external/v8/src/crankshaft/
compilation-phase.cc 17 info_zone_start_allocation_size_ = info->zone()->allocation_size();
24 size_t size = zone()->allocation_size();
25 size += info_->zone()->allocation_size() - info_zone_start_allocation_size_;
  /art/runtime/gc/space/
dlmalloc_space-inl.h 65 size_t allocation_size = AllocationSizeNonvirtual(result, usable_size); local
67 *bytes_allocated = allocation_size;
68 *bytes_tl_bulk_allocated = allocation_size;
large_object_space.cc 148 const size_t allocation_size = mem_map->BaseSize(); local
154 end_ = std::max(end_, reinterpret_cast<uint8_t*>(obj) + allocation_size);
156 *bytes_allocated = allocation_size;
158 *usable_size = allocation_size;
161 *bytes_tl_bulk_allocated = allocation_size;
162 num_bytes_allocated_ += allocation_size;
163 total_bytes_allocated_ += allocation_size;
194 size_t allocation_size = map_size; local
195 num_bytes_allocated_ -= allocation_size;
199 return allocation_size;
409 const size_t allocation_size = info->ByteSize(); local
475 const size_t allocation_size = RoundUp(num_bytes, kAlignment); local
    [all...]
space_test.h 205 size_t allocation_size = space->AllocationSize(object.Get(), nullptr); local
206 EXPECT_EQ(bytes_allocated, allocation_size);
208 EXPECT_GE(allocation_size, static_cast<size_t>(object_size));
210 EXPECT_GE(allocation_size, 8u);
213 bytes_tl_bulk_allocated >= allocation_size);
214 amount_allocated += allocation_size;
262 size_t allocation_size = space->AllocationSize(object, nullptr); local
264 EXPECT_GE(allocation_size, static_cast<size_t>(object_size));
266 EXPECT_GE(allocation_size, 8u);
270 amount_allocated -= allocation_size;
    [all...]
large_object_space_test.cc 60 size_t allocation_size = 0; local
62 mirror::Object* obj = los->Alloc(self, request_size, &allocation_size, nullptr,
65 ASSERT_EQ(allocation_size, los->AllocationSize(obj, nullptr));
66 ASSERT_GE(allocation_size, request_size);
67 ASSERT_EQ(allocation_size, bytes_tl_bulk_allocated);
space_create_test.cc 315 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; local
320 &allocation_size,
325 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size));
328 bytes_tl_bulk_allocated >= allocation_size);
336 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; local
340 &allocation_size,
345 EXPECT_EQ(allocation_size, space->AllocationSize(lots_of_objects[i], &computed_usable_size));
348 bytes_tl_bulk_allocated >= allocation_size);
memory_tool_malloc_space-inl.h 66 // and DlMalloc (allocation_size = (usable_size == num_bytes) + 4, 4 is management)
202 size_t allocation_size = AllocationSize(ptr, &usable_size); local
206 // e.g., whether there's data in the allocation_size (and usable_size can't be trusted).
208 MEMORY_TOOL_MAKE_UNDEFINED(obj_with_rdz, allocation_size);
  /external/v8/src/compiler/
zone-stats.cc 17 size_t size = static_cast<size_t>(zone->allocation_size());
37 total += static_cast<size_t>(zone->allocation_size());
78 total += static_cast<size_t>(zone->allocation_size());
105 total_deleted_bytes_ += static_cast<size_t>(zone->allocation_size());
pipeline-statistics.h 31 return static_cast<size_t>(outer_zone_->allocation_size());
  /external/google-breakpad/src/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 */) {
  /external/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 */) {
  /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 */) {
  /external/v8/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 */) {
  /external/vulkan-validation-layers/tests/gtest-1.7.0/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 */) {
  /prebuilts/ndk/r11/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 */) {
  /prebuilts/ndk/r13/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/runtime/base/
scoped_arena_allocator.cc 57 size_t allocation_size = std::max(arena_allocator::kArenaDefaultSize, rounded_bytes); local
59 top_arena_ = bottom_arena_ = stats_and_pool_.pool->AllocArena(allocation_size);
61 } else if (top_arena_->next_ != nullptr && top_arena_->next_->Size() >= allocation_size) {
65 top_arena_->next_ = stats_and_pool_.pool->AllocArena(allocation_size);
  /external/curl/lib/
smb.h 169 unsigned long long allocation_size; member in struct:smb_nt_create
171 unsigned __int64 allocation_size; member in struct:smb_nt_create
203 unsigned long long allocation_size; member in struct:smb_nt_create_response
206 unsigned __int64 allocation_size; member in struct:smb_nt_create_response
  /bionic/libc/bionic/
pthread_create.cpp 59 size_t allocation_size = BIONIC_TLS_SIZE + 2 * PAGE_SIZE; local
60 void* allocation = mmap(nullptr, allocation_size, PROT_NONE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
67 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, allocation, allocation_size, "bionic TLS guard");
74 munmap(allocation, allocation_size);
  /external/v8/src/heap/
spaces-inl.h 464 int allocation_size = size_in_bytes; local
465 HeapObject* object = AllocateLinearlyAligned(&allocation_size, alignment);
471 allocation_size += filler_size;
472 object = free_list_.Allocate(allocation_size);
474 object = SlowAllocateRaw(allocation_size);
479 Address end = object->address() + allocation_size;
483 object = heap()->AlignWithFiller(object, size_in_bytes, allocation_size,
487 allocation_size = size_in_bytes;
493 MSAN_ALLOCATED_UNINITIALIZED_MEMORY(object->address(), allocation_size);
  /external/v8/src/profiler/
allocation-tracker.h 36 unsigned allocation_size() const { return total_size_; } function in class:v8::internal::AllocationTraceNode
  /external/v8/src/snapshot/
serializer.cc 393 int allocation_size; local
400 allocation_size = SeqOneByteString::SizeFor(length);
407 allocation_size = SeqTwoByteString::SizeFor(length);
414 (allocation_size > kMaxRegularHeapObjectSize) ? LO_SPACE : OLD_SPACE;
415 SerializePrologue(space, allocation_size, map);
418 int bytes_to_output = allocation_size - HeapObject::kHeaderSize;
435 int padding_size = allocation_size - SeqString::kHeaderSize - content_size;
  /external/v8/src/zone/
zone.h 64 size_t allocation_size() const { return allocation_size_; } function in class:v8::internal::final
  /external/v8/src/builtins/
builtins-constructor.cc 676 Node* allocation_size = object_size; local
678 allocation_size =
688 Node* copy = Allocate(allocation_size);

Completed in 562 milliseconds

1 2