Home
last modified time | relevance | path

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

/external/antlr/runtime/C/src/
Dantlr3string.c808 …pANTLR3_UINT8 newAlloc = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(str… in append8() local
809 if (newAlloc == NULL) in append8()
813 string->chars = newAlloc; in append8()
836 …pANTLR3_UINT8 newAlloc = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)((si… in appendUTF16_8() local
837 if (newAlloc == NULL) in appendUTF16_8()
841 string->chars = newAlloc; in appendUTF16_8()
875 …pANTLR3_UINT8 newAlloc = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)( si… in appendUTF16_UTF16() local
876 if (newAlloc == NULL) in appendUTF16_UTF16()
880 string->chars = newAlloc; in appendUTF16_UTF16()
900 …pANTLR3_UINT8 newAlloc = (pANTLR3_UINT8) ANTLR3_REALLOC((void *)string->chars, (ANTLR3_UINT32)(len… in set8() local
[all …]
/external/skqp/src/core/
DSkPathRef.cpp68 void* newAlloc = sk_malloc_canfail(minSize); in shrinkToFit() local
69 if (!newAlloc) { in shrinkToFit()
73 sk_careful_memcpy(newAlloc, fPathRef->fPoints, ptsSize); in shrinkToFit()
74 sk_careful_memcpy((char*)newAlloc + minSize - vrbSize, fPathRef->verbsMemBegin(), vrbSize); in shrinkToFit()
77 fPathRef->fPoints = static_cast<SkPoint*>(newAlloc); in shrinkToFit()
78 fPathRef->fVerbs = (uint8_t*)newAlloc + minSize; in shrinkToFit()
/external/skia/src/core/
DSkPathRef.cpp68 void* newAlloc = sk_malloc_canfail(minSize); in shrinkToFit() local
69 if (!newAlloc) { in shrinkToFit()
73 sk_careful_memcpy(newAlloc, fPathRef->fPoints, ptsSize); in shrinkToFit()
74 sk_careful_memcpy((char*)newAlloc + minSize - vrbSize, fPathRef->verbsMemBegin(), vrbSize); in shrinkToFit()
77 fPathRef->fPoints = static_cast<SkPoint*>(newAlloc); in shrinkToFit()
78 fPathRef->fVerbs = (uint8_t*)newAlloc + minSize; in shrinkToFit()
/external/libxkbcommon/xkbcommon/src/
Ddarray.h157 #define darray_realloc(arr, newAlloc) do { \ argument
159 ((arr).alloc = (newAlloc)) * sizeof(*(arr).item)); \