Home
last modified time | relevance | path

Searched refs:newPtr (Results 1 – 17 of 17) sorted by relevance

/external/deqp/framework/delibs/debase/
DdeMemory.c204 void* const newPtr = deAlignedMalloc(numBytes, alignBytes); in deAlignedRealloc()
206 if (newPtr) in deAlignedRealloc()
210 deMemcpy(newPtr, ptr, copyBytes); in deAlignedRealloc()
213 return newPtr; in deAlignedRealloc()
339 …void* const newPtr = deAlignedRealloc(ptr, s_alignedReallocCases[caseNdx].newSize, s_alignedRea… in deMemory_selfTest() local
345 DE_TEST_ASSERT(newPtr); in deMemory_selfTest()
349 DE_TEST_ASSERT(*((const deUint8*)newPtr + off) == 0xaa); in deMemory_selfTest()
351 deAlignedFree(newPtr); in deMemory_selfTest()
/external/pdfium/third_party/freetype/src/cff/
Dcf2arrst.c190 void* newPtr; in cf2_arrstack_getPointer() local
202 newPtr = (FT_Byte*)arrstack->ptr + idx * arrstack->sizeItem; in cf2_arrstack_getPointer()
204 return newPtr; in cf2_arrstack_getPointer()
232 void* newPtr = (FT_Byte*)arrstack->ptr + offset; in cf2_arrstack_push() local
235 FT_MEM_COPY( newPtr, ptr, arrstack->sizeItem ); in cf2_arrstack_push()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cff/
Dcf2arrst.c190 void* newPtr; in cf2_arrstack_getPointer() local
202 newPtr = (FT_Byte*)arrstack->ptr + idx * arrstack->sizeItem; in cf2_arrstack_getPointer()
204 return newPtr; in cf2_arrstack_getPointer()
232 void* newPtr = (FT_Byte*)arrstack->ptr + offset; in cf2_arrstack_push() local
235 FT_MEM_COPY( newPtr, ptr, arrstack->sizeItem ); in cf2_arrstack_push()
/external/freetype/src/cff/
Dcf2arrst.c190 void* newPtr; in cf2_arrstack_getPointer() local
202 newPtr = (FT_Byte*)arrstack->ptr + idx * arrstack->sizeItem; in cf2_arrstack_getPointer()
204 return newPtr; in cf2_arrstack_getPointer()
232 void* newPtr = (FT_Byte*)arrstack->ptr + offset; in cf2_arrstack_push() local
235 FT_MEM_COPY( newPtr, ptr, arrstack->sizeItem ); in cf2_arrstack_push()
/external/eigen/Eigen/
DQtAlignedMalloc23 void* newPtr = Eigen::internal::aligned_malloc(size);
24 memcpy(newPtr, ptr, size);
26 return newPtr;
/external/libgdx/extensions/gdx-bullet/jni/src/extras/Serialize/BulletFileLoader/
DbFile.cpp972 btPointerUid* newPtr = (btPointerUid*)dst; in safeSwapPtr() local
978 newPtr->m_uniqueIds[0] = oldPtr->m_uniqueIds[0]; in safeSwapPtr()
994 btPointerUid* newPtr = (btPointerUid*)dst; in safeSwapPtr() local
997 newPtr->m_uniqueIds[0] = oldPtr->m_uniqueIds[0]; in safeSwapPtr()
998 newPtr->m_uniqueIds[1] = 0; in safeSwapPtr()
1218 char *newPtr = new char[blockLen * ptrMem]; in resolvePointersMismatch() local
1219 addDataBlock(newPtr); in resolvePointersMismatch()
1220 memset(newPtr, 0, blockLen * ptrMem); in resolvePointersMismatch()
1231 void **tptr = (void**)(newPtr + p * ptrMem); in resolvePointersMismatch()
1238 *ptrptr = newPtr; in resolvePointersMismatch()
/external/deqp/framework/delibs/depool/
DdeMemPool.c538 void* newPtr = deMemPool_alloc(pool, numBytes); in deMemPool_memDup() local
539 if (newPtr) in deMemPool_memDup()
540 memcpy(newPtr, ptr, numBytes); in deMemPool_memDup()
541 return newPtr; in deMemPool_memDup()
/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3string.c151 factory->newPtr = newPtrUTF16_UTF16; in antlr3StringFactoryNew()
167 factory->newPtr = newPtr8; in antlr3StringFactoryNew()
351 return string->factory->newPtr(string->factory, (pANTLR3_UINT8)(string->chars), string->len); in toUTF8_8()
628 return factory->newPtr(factory, ptr, count); in newStrUTF16_UTF16()
1288 …newStr = string->factory->newPtr(string->factory, string->chars + startIndex, endIndex - startInd… in subString8()
1305 …newStr = string->factory->newPtr(string->factory, (pANTLR3_UINT8)((pANTLR3_UINT16)(string->chars)… in subStringUTF16()
Dantlr3inputstream.c605 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, (ANTLR3_UINT32)(stop - … in antlr38BitSubstr()
1048 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, ((ANTLR3_UINT32_CAST(st… in antlr3UTF16Substr()
1622 …return input->strFactory->newPtr(input->strFactory, (pANTLR3_UINT8)start, ((ANTLR3_UINT32_CAST(st… in antlr3UTF32Substr()
Dantlr3commontree.c495 nilNode = tree->strFactory->newPtr(tree->strFactory, (pANTLR3_UINT8)"nil", 3); in toString()
Dantlr3commontreeadaptor.c351 …newToken->tokText.text = adaptor->strFactory->newPtr(adaptor->strFactory, text->chars, text->l… in createTokenFromToken()
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3string.h232 …pANTLR3_STRING (*newPtr) (struct ANTLR3_STRING_FACTORY_struct * factory, pANTLR3_UINT8 string, AN… member
/external/clang/test/Analysis/
Dmalloc.c1434 void *newPtr = realloc(ptr, 4); in test() local
1435 if (newPtr == 0) { in test()
1439 return newPtr; in test()
/external/llvm/test/Transforms/GVN/
Dinvariant.group.ll306 %newPtr = call i8* @getPointer(i8* %ptr)
307 …%c = load i8, i8* %newPtr, !invariant.group !0 ; Can't assume anything, because we only have infor…
/external/clang/lib/CodeGen/
DItaniumCXXABI.cpp1823 Address newPtr, in InitializeArrayCookie() argument
1830 Address cookie = newPtr; in InitializeArrayCookie()
1845 return CGF.Builder.CreateConstInBoundsByteGEP(newPtr, cookieSize); in InitializeArrayCookie()
DMicrosoftCXXABI.cpp2144 Address newPtr, in InitializeArrayCookie() argument
2154 Address cookiePtr = newPtr; in InitializeArrayCookie()
2163 return CGF.Builder.CreateConstInBoundsByteGEP(newPtr, cookieSize); in InitializeArrayCookie()
/external/llvm/docs/
DLangRef.rst4644 %newPtr = call i8* @getPointer(i8* %ptr)
4645 …%c = load i8, i8* %newPtr, !invariant.group !0 ; Can't assume anything, because we only have infor…