Home
last modified time | relevance | path

Searched refs:allocationSize (Results 1 – 9 of 9) sorted by relevance

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DPoolAlloc.cpp228 size_t allocationSize = TAllocation::allocationSize(numBytes); in allocate() local
240 if (currentPageOffset + allocationSize <= pageSize) { in allocate()
245 currentPageOffset += allocationSize; in allocate()
251 if (allocationSize + headerSkip > pageSize) { in allocate()
256 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate()
289 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
DPoolAlloc.h68 inline static size_t allocationSize(size_t size) { in allocationSize() function
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
Dutilities.cpp162 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize) in AllocateFirstFreeBits() argument
164 ASSERT(allocationSize <= bitsSize); in AllocateFirstFreeBits()
166 …umeric_limits<unsigned int>::max() >> (std::numeric_limits<unsigned int>::digits - allocationSize); in AllocateFirstFreeBits()
168 for (unsigned int i = 0; i < bitsSize - allocationSize + 1; i++) in AllocateFirstFreeBits()
Dutilities.h28 int AllocateFirstFreeBits(unsigned int *bits, unsigned int allocationSize, unsigned int bitsSize);
/external/clang/lib/CodeGen/
DCGExprCXX.cpp636 llvm::APInt allocationSize in EmitCXXNewAllocSize() local
644 sizeWithoutCookie = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize()
646 allocationSize = allocationSize.uadd_ov(cookieSize, overflow); in EmitCXXNewAllocSize()
654 size = llvm::ConstantInt::get(CGF.SizeTy, allocationSize); in EmitCXXNewAllocSize()
/external/webkit/Source/JavaScriptCore/wtf/
DFastMalloc.cpp2271 ALWAYS_INLINE void FetchFromCentralCache(size_t cl, size_t allocationSize);
2892 size_t allocationSize = ByteSizeForClass(cl); in Allocate() local
2894 FetchFromCentralCache(cl, allocationSize); in Allocate()
2897 size_ -= allocationSize; in Allocate()
2913 ALWAYS_INLINE void TCMalloc_ThreadCache::FetchFromCentralCache(size_t cl, size_t allocationSize) { in FetchFromCentralCache() argument
2918 size_ += allocationSize * fetch_count; in FetchFromCentralCache()
/external/clang/lib/AST/
DDecl.cpp2832 size_t allocationSize = NumCaptures * sizeof(Capture); in setCaptures() local
2833 void *buffer = Context.Allocate(allocationSize, /*alignment*/sizeof(void*)); in setCaptures()
2834 memcpy(buffer, begin, allocationSize); in setCaptures()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2008-08-1028221 (KJS::PropertyMapHashTable::allocationSize):
DChangeLog-2009-06-169569 Renamed allocationSize to commitSize because it's the chunk size for