Home
last modified time | relevance | path

Searched refs:alignmentMask (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
DPoolAlloc.cpp107 alignmentMask = a - 1; in TPoolAllocator()
114 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()
246 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()
289 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
DPoolAlloc.h200 size_t alignmentMask; variable
/external/webkit/Source/JavaScriptCore/wtf/
DPageAllocationAligned.cpp37 size_t alignmentMask = alignment - 1; in allocate() local
50 …vm_map(current_task(), &address, size, alignmentMask, flags, MEMORY_OBJECT_NULL, 0, FALSE, protect… in allocate()
60 void* alignedBase = reinterpret_cast<uintptr_t>(reservationBase) & alignmentMask in allocate()
61 …? reinterpret_cast<void*>((reinterpret_cast<uintptr_t>(reservationBase) & ~alignmentMask) + alignm… in allocate()
/external/webkit/Source/WebKit2/Platform/CoreIPC/
DArgumentDecoder.cpp73 uintptr_t alignmentMask = alignment - 1; in roundUpToAlignment() local
74 …rn reinterpret_cast<uint8_t*>((reinterpret_cast<uintptr_t>(ptr) + alignmentMask) & ~alignmentMask); in roundUpToAlignment()