Home
last modified time | relevance | path

Searched refs:AllocatedSize (Results 1 - 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DMemory.h34 MemoryBlock() : Address(nullptr), AllocatedSize(0) {} in MemoryBlock()
36 : Address(addr), AllocatedSize(allocatedSize) {} in MemoryBlock()
40 size_t allocatedSize() const { return AllocatedSize; } in allocatedSize()
44 size_t AllocatedSize; ///< Size, in bytes of the memory area member in llvm::sys::MemoryBlock
/third_party/node/deps/v8/src/heap/cppgc/
H A Dfree-list.cc148 if (!entry || entry->AllocatedSize() < allocation_size) break; in Allocate()
157 return {entry, entry->AllocatedSize()}; in Allocate()
174 size += entry->AllocatedSize(); in Size()
191 reinterpret_cast<Address>(entry) + entry->AllocatedSize())) in ContainsForTesting()
220 entry_size += entry->AllocatedSize(); in CollectStatistics()
H A Dheap-object-header.h78 inline size_t AllocatedSize() const;
211 AllocatedSize<mode>(); in ObjectEnd()
222 size_t HeapObjectHeader::AllocatedSize() const { in AllocatedSize() function in cppgc::internal::HeapObjectHeader
247 DCHECK_GT(AllocatedSize<mode>(), sizeof(HeapObjectHeader)); in ObjectSize()
248 return AllocatedSize<mode>() - sizeof(HeapObjectHeader); in ObjectSize()
253 return AllocatedSize<mode>() == kLargeObjectSizeInHeader; in IsLargeObject()
H A Dexplicit-management.cc52 const size_t header_size = header.AllocatedSize(); in FreeUnreferencedObject()
82 DCHECK_GE(new_size, header.AllocatedSize() + kAllocationGranularity); in Grow()
101 DCHECK_GE(header.AllocatedSize(), new_size + kAllocationGranularity); in Shrink()
153 const size_t old_size = header.AllocatedSize(); in Resize()
H A Dheap-page.h121 const size_t size = p_->AllocatedSize(); in operator ++()
286 header->AllocatedSize<AccessMode::kAtomic>()); in ObjectHeaderFromInnerAddressImpl()
H A Dheap-statistics-collector.cc177 : header.AllocatedSize(); in VisitHeapObjectHeader()
H A Dsweeper.cc320 const size_t size = header->AllocatedSize(); in SweepNormalPage()
418 const size_t size = header->AllocatedSize(); in FinalizePage()
H A Dcompactor.cc334 size_t size = header->AllocatedSize(); in CompactPage()
H A Dmarking-state.h349 : header.AllocatedSize<AccessMode::kAtomic>()); in AccountMarkedBytes()
/third_party/node/deps/v8/src/objects/
H A Dfixed-array.h219 int AllocatedSize();
328 int AllocatedSize();
401 int AllocatedSize();
H A Dfixed-array-inl.h243 inline int FixedArray::AllocatedSize() { return SizeFor(length(kAcquireLoad)); } in AllocatedSize() function in v8::internal::FixedArray
244 inline int WeakFixedArray::AllocatedSize() { in AllocatedSize() function in v8::internal::WeakFixedArray
247 inline int WeakArrayList::AllocatedSize() { return SizeFor(capacity()); } in AllocatedSize() function in v8::internal::WeakArrayList
H A Dstring.h749 int AllocatedSize();
796 int AllocatedSize();
H A Dstring-inl.h1062 inline int SeqOneByteString::AllocatedSize() { in AllocatedSize() function in v8::internal::SeqOneByteString
1065 inline int SeqTwoByteString::AllocatedSize() { in AllocatedSize() function in v8::internal::SeqTwoByteString
H A Dscope-info.cc616 // AllocatedSize() is generated by Torque and represents the size in bytes of in length()
619 return (AllocatedSize() - HeapObject::kHeaderSize) / kTaggedSize; in length()
H A Dobjects.cc2287 return TypeName::unchecked_cast(*this).AllocatedSize(); \ in SizeFromMap()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcord_rep_flat.h128 size_t AllocatedSize() const { return TagToAllocatedSize(tag); } in AllocatedSize() function
H A Dcordz_info.cc177 size_t size = rep.rep->flat()->AllocatedSize(); in CountLinearReps()
H A Dcordz_info_statistics_test.cc125 return rep->AllocatedSize(); in SizeOf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DInlineCost.cpp221 uint64_t AllocatedSize = 0; member in __anon23907::CallAnalyzer
724 AllocatedSize = SaturatingMultiplyAdd( in visitAlloca()
726 AllocatedSize); in visitAlloca()
734 AllocatedSize = in visitAlloca()
735 SaturatingAdd(DL.getTypeAllocSize(Ty).getFixedSize(), AllocatedSize); in visitAlloca()
1800 AllocatedSize > InlineConstants::TotalAllocaSizeRecursiveCaller) { in analyzeBlock()
/third_party/node/deps/v8/src/heap/cppgc-js/
H A Dcpp-snapshot.cc438 new EmbedderNode(header.GetName(), header.AllocatedSize())})); in AddNode()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcord.cc513 *total_mem_usage += maybe_sub_size + rep->flat()->AllocatedSize(); in RepMemoryUsageDataEdge()
533 *total_mem_usage += rep->flat()->AllocatedSize(); in RepMemoryUsageLeaf()

Completed in 49 milliseconds