Searched refs:ptrSize (Results 1 – 4 of 4) sorted by relevance
86 int ptrSize = sizeof(void*); in deAlignedMalloc() local87 deUintptr origPtr = (deUintptr)deMalloc(numBytes + ptrSize + alignBytes); in deAlignedMalloc()90 deUintptr alignedPtr = (deUintptr)deAlignPtr((void*)(origPtr + ptrSize), alignBytes); in deAlignedMalloc()91 deUintptr ptrPtr = (alignedPtr - ptrSize); in deAlignedMalloc()124 int ptrSize = sizeof(void*); in deAlignedFree() local125 deUintptr ptrPtr = (deUintptr)ptr - ptrSize; in deAlignedFree()
302 CharUnits ptrSize, ptrAlign, intSize, intAlign; in initializeForBlockHeader() local303 std::tie(ptrSize, ptrAlign) = C.getTypeInfoInChars(C.VoidPtrTy); in initializeForBlockHeader()307 assert(intSize <= ptrSize && "layout assumptions horribly violated"); in initializeForBlockHeader()309 CharUnits headerSize = ptrSize; in initializeForBlockHeader()310 if (2 * intSize < ptrAlign) headerSize += ptrSize; in initializeForBlockHeader()312 headerSize += 2 * ptrSize; in initializeForBlockHeader()
2788 var ptrSize = 4;2795 HEAP32[(((envPtr)+(i * ptrSize))>>2)]=poolPtr;2798 HEAP32[(((envPtr)+(strings.length * ptrSize))>>2)]=0;
2683 var ptrSize = 4;2690 HEAP32[(((envPtr)+(i * ptrSize))>>2)]=poolPtr;2693 HEAP32[(((envPtr)+(strings.length * ptrSize))>>2)]=0;