Home
last modified time | relevance | path

Searched refs:allocation_size (Results 1 - 25 of 25) sorted by relevance

/third_party/node/deps/v8/src/heap/cppgc/
H A Dobject-allocator.h85 const size_t allocation_size = in AllocateObject() local
88 GetInitialSpaceIndexForSize(allocation_size); in AllocateObject()
90 allocation_size, gcinfo); in AllocateObject()
96 const size_t allocation_size = in AllocateObject() local
99 GetInitialSpaceIndexForSize(allocation_size); in AllocateObject()
101 allocation_size, alignment, gcinfo); in AllocateObject()
107 const size_t allocation_size = in AllocateObject() local
111 allocation_size, gcinfo); in AllocateObject()
118 const size_t allocation_size = in AllocateObject() local
122 allocation_size, alignmen in AllocateObject()
[all...]
H A Dpage-memory.cc64 size_t allocation_size) { in ReserveMemoryRegion()
66 allocator.AllocatePages(nullptr, allocation_size, kPageSize, in ReserveMemoryRegion()
72 allocation_size); in ReserveMemoryRegion() local
73 DCHECK_EQ(reserved_region.base() + allocation_size, reserved_region.end()); in ReserveMemoryRegion()
62 ReserveMemoryRegion(PageAllocator& allocator, FatalOutOfMemoryHandler& oom_handler, size_t allocation_size) ReserveMemoryRegion() argument
H A Dfree-list.cc132 FreeList::Block FreeList::Allocate(size_t allocation_size) { in Allocate() argument
144 if (allocation_size > bucket_size) { in Allocate()
148 if (!entry || entry->AllocatedSize() < allocation_size) break; in Allocate()
H A Dheap-page.cc228 const size_t allocation_size = AllocationSize(size); in Create() local
231 void* memory = page_backend.AllocateLargePageMemory(allocation_size); in Create()
234 page->heap().stats_collector()->NotifyAllocatedMemory(allocation_size); in Create()
/third_party/node/deps/v8/src/compiler/
H A Dzone-stats.cc19 size_t size = static_cast<size_t>(zone->allocation_size()); in StatsScope()
39 total += static_cast<size_t>(zone->allocation_size()); in GetCurrentAllocatedBytes()
80 total += static_cast<size_t>(zone->allocation_size()); in GetCurrentAllocatedBytes()
108 total_deleted_bytes_ += static_cast<size_t>(zone->allocation_size()); in ReturnZone()
H A Dpipeline-statistics.h42 return static_cast<size_t>(outer_zone_->allocation_size()); in OuterZoneSize()
H A Dwasm-compiler.cc8503 static_cast<int>(mcgraph->graph()->zone()->allocation_size());
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dnine_memory_helper.c165 unsigned allocation_size; member
423 insert_new_allocation(struct nine_allocator *allocator, struct nine_allocation *new_allocation, unsigned allocation_size) in insert_new_allocation() argument
438 if (region->size <= min_blocksize && region->size >= allocation_size) { in insert_new_allocation()
444 if (min_blocksize == allocation_size) in insert_new_allocation()
454 best_region->size = DIVUP(allocation_size, allocator->page_size) * allocator->page_size; in insert_new_allocation()
690 unsigned allocation_size) in nine_memfd_allocator()
695 allocation_size = DIVUP(allocation_size, allocator->page_size) * allocator->page_size; in nine_memfd_allocator()
704 if (insert_new_allocation(allocator, new_allocation, allocation_size)) in nine_memfd_allocator()
715 memfd_file->filesize = MAX2(allocation_size, allocato in nine_memfd_allocator()
688 nine_memfd_allocator(struct nine_allocator *allocator, struct nine_allocation *new_allocation, unsigned allocation_size) nine_memfd_allocator() argument
[all...]
/third_party/node/deps/v8/src/heap/
H A Dfree-list-inl.h19 void FreeListCategory::UpdateCountersAfterAllocation(size_t allocation_size) { in UpdateCountersAfterAllocation() argument
20 available_ -= allocation_size; in UpdateCountersAfterAllocation()
H A Dspaces.cc392 // object). allocation_size is the size of the actual allocation which needs to
398 size_t allocation_size) { in InvokeAllocationObservers()
400 DCHECK_LE(aligned_size_in_bytes, allocation_size); in InvokeAllocationObservers()
402 aligned_size_in_bytes == allocation_size); in InvokeAllocationObservers()
406 if (allocation_size >= allocation_counter_.NextBytes()) { in InvokeAllocationObservers()
412 DCHECK_EQ(allocation_info_->top() + allocation_size - aligned_size_in_bytes, in InvokeAllocationObservers()
432 allocation_size); in InvokeAllocationObservers()
396 InvokeAllocationObservers( Address soon_object, size_t size_in_bytes, size_t aligned_size_in_bytes, size_t allocation_size) InvokeAllocationObservers() argument
H A Dread-only-spaces.cc672 int allocation_size = size_in_bytes; in AllocateRawAligned() local
674 HeapObject object = TryAllocateLinearlyAligned(allocation_size, alignment); in AllocateRawAligned()
678 EnsureSpaceForAllocation(allocation_size + in AllocateRawAligned()
680 allocation_size = size_in_bytes; in AllocateRawAligned()
H A Dfree-list.h86 // allocation of size |allocation_size|.
87 inline void UpdateCountersAfterAllocation(size_t allocation_size);
H A Dspaces.h497 size_t allocation_size);
H A Dheap.h1477 AlignWithFiller(HeapObject object, int object_size, int allocation_size,
H A Dheap.cc3227 int allocation_size, in AlignWithFiller()
3229 int filler_size = allocation_size - object_size; in AlignWithFiller()
3226 AlignWithFiller(HeapObject object, int object_size, int allocation_size, AllocationAlignment alignment) AlignWithFiller() argument
/third_party/googletest/googletest/samples/
H A Dsample10_unittest.cc51 void* operator new(size_t allocation_size) { in operator new() argument
53 return malloc(allocation_size); in operator new()
56 void operator delete(void* block, size_t /* allocation_size */) { in operator delete()
/third_party/node/deps/v8/src/zone/
H A Dzone.cc94 DCHECK_LT(allocation_size(), kAlignmentInBytes); in Reset()
104 allocation_size_ = allocation_size(); in DeleteAll()
176 allocation_size_ = allocation_size(); in NewExpand()
H A Dzone.h148 size_t allocation_size() const { in allocation_size() function in v8::internal::final
/third_party/node/deps/v8/src/snapshot/
H A Dserializer.cc623 int allocation_size; in SerializeExternalStringAsSequentialString() local
630 allocation_size = SeqOneByteString::SizeFor(length); in SerializeExternalStringAsSequentialString()
636 allocation_size = SeqTwoByteString::SizeFor(length); in SerializeExternalStringAsSequentialString()
643 SerializePrologue(space, allocation_size, map); in SerializeExternalStringAsSequentialString()
646 int bytes_to_output = allocation_size - HeapObject::kHeaderSize; in SerializeExternalStringAsSequentialString()
665 int padding_size = allocation_size - SeqString::kHeaderSize - content_size; in SerializeExternalStringAsSequentialString()
/third_party/node/deps/v8/src/profiler/
H A Dallocation-tracker.h40 unsigned allocation_size() const { return total_size_; } in allocation_size() function in v8::internal::AllocationTraceNode
H A Dheap-snapshot-generator.cc3007 buffer_pos = utoa(node->allocation_size(), buffer, buffer_pos); in SerializeTraceNode()
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-constructor-gen.cc601 TNode<IntPtrT> allocation_size = instance_size; in CreateShallowObjectLiteral()
606 allocation_size = in CreateShallowObjectLiteral()
611 UncheckedCast<HeapObject>(AllocateInNewSpace(allocation_size)); in CreateShallowObjectLiteral()
/third_party/curl/lib/
H A Dsmb.c170 curl_off_t allocation_size; member
194 curl_off_t allocation_size; member
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module.cc625 (module->signature_zone ? module->signature_zone->allocation_size() in EstimateStoredSize()
/third_party/node/deps/v8/src/wasm/baseline/
H A Dliftoff-compiler.cc6650 << zone.allocation_size() << " bytes; bodysize "

Completed in 57 milliseconds