/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | PoolAlloc.cpp | 217 // much memory the caller asked for. allocationSize is the total 220 size_t allocationSize = TAllocation::allocationSize(numBytes); local 222 if (allocationSize < numBytes) 229 if (allocationSize <= pageSize - currentPageOffset) { 234 currentPageOffset += allocationSize; 240 if (allocationSize > pageSize - headerSkip) { 245 size_t numBytesToAlloc = allocationSize + headerSkip; 247 if (numBytesToAlloc < allocationSize) 282 currentPageOffset = (headerSkip + allocationSize [all...] |
H A D | PoolAlloc.h | 68 inline static size_t allocationSize(size_t size) { function in class:TAllocation
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | CollectionItemsCache.h | 54 ptrdiff_t allocationSize() const { return m_cachedList.capacity() * sizeof(NodeType*); } function in class:blink::CollectionItemsCache 73 if (ptrdiff_t diff = allocationSize()) 95 ptrdiff_t oldCapacity = allocationSize(); 100 if (ptrdiff_t diff = allocationSize() - oldCapacity)
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/heap_snapshot_worker/ |
H A D | AllocationProfile.js | 232 node.allocationSize, 282 this.allocationSize = size; 298 this.allocationSize = 0; 379 this.totalSize += node.allocationSize; 404 var size = node.allocationSize; 410 bottomUpNode.allocationSize += size;
|
/external/chromium_org/third_party/angle/src/common/ |
H A D | utilities.cpp | 319 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize) argument 321 ASSERT(allocationSize <= bitsSize); 323 unsigned int mask = std::numeric_limits<unsigned int>::max() >> (std::numeric_limits<unsigned int>::digits - allocationSize); 325 for (unsigned int i = 0; i < bitsSize - allocationSize + 1; i++)
|
H A D | utilities.h | 35 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
|
/external/chromium_org/third_party/WebKit/Source/platform/heap/ |
H A D | Heap.cpp | 222 size_t allocationSize = size + blinkPageSize; local 223 base = static_cast<Address>(mmap(alignedRandomAddress, allocationSize, PROT_NONE, MAP_ANON | MAP_PRIVATE, -1, 0)); 226 Address end = base + allocationSize; 254 size_t allocationSize = size + blinkPageSize; local 256 base = static_cast<Address>(VirtualAlloc(0, allocationSize, MEM_RESERVE, PAGE_NOACCESS)); 270 base = static_cast<Address>(VirtualAlloc(0, allocationSize, MEM_RESERVE, PAGE_NOACCESS)); 344 size_t allocationSize = payloadSize + 2 * osPageSize(); local 345 PageMemoryRegion* pageMemoryRegion = PageMemoryRegion::allocate(allocationSize, 1); 632 size_t allocationSize = allocationSizeFromSize(size); local 639 ensureCurrentAllocation(allocationSize, gcInf 917 size_t allocationSize = sizeof(LargeHeapObject<Header>) + size; local [all...] |
H A D | Heap.h | 1447 size_t allocationSize = size + sizeof(Header); 1449 allocationSize = (allocationSize + allocationMask) & ~allocationMask; 1450 return allocationSize; 1456 size_t allocationSize = allocationSizeFromSize(size); 1457 bool isLargeObject = allocationSize > blinkPageSize / 2; 1459 return allocateLargeObject(allocationSize, gcInfo); 1460 if (m_remainingAllocationSize < allocationSize) 1463 m_currentAllocationPoint += allocationSize; 1464 m_remainingAllocationSize -= allocationSize; [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | Vector.h | 294 size_t sizeToAllocate = allocationSize(newCapacity); 299 size_t allocationSize(size_t capacity) const function in class:WTF::VectorBufferBase 375 using Base::allocationSize; 446 size_t allocationSize(size_t capacity) const function in class:WTF::VectorBuffer 450 return Base::allocationSize(capacity); 731 using Base::allocationSize; 982 if (Base::allocationSize(capacity()) == Base::allocationSize(newCapacity))
|
/external/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 546 // care because it only overflows if allocationSize does, too, and 553 llvm::APInt allocationSize local 561 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); 563 allocationSize = allocationSize.uadd_ov(cookieSize, overflow); 571 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize);
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
H A D | StringImpl.cpp | 299 StringImpl* string = static_cast<StringImpl*>(partitionAllocGeneric(Partitions::getBufferPartition(), allocationSize<LChar>(length))); 315 StringImpl* string = static_cast<StringImpl*>(partitionAllocGeneric(Partitions::getBufferPartition(), allocationSize<UChar>(length))); 330 size_t size = is8Bit ? allocationSize<LChar>(length) : allocationSize<UChar>(length);
|
H A D | StringImpl.h | 428 template<typename CharType> static size_t allocationSize(unsigned length)
|
/external/clang/lib/AST/ |
H A D | Decl.cpp | 3612 size_t allocationSize = NumCaptures * sizeof(Capture); local 3613 void *buffer = Context.Allocate(allocationSize, /*alignment*/sizeof(void*)); 3614 memcpy(buffer, begin, allocationSize);
|