Home
last modified time | relevance | path

Searched refs:newAlloc (Results 1 – 5 of 5) 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/llvm-project/mlir/lib/Transforms/Utils/
DUtils.cpp412 AllocOp newAlloc = b.create<AllocOp>(allocOp.getLoc(), newMemRefType, in normalizeMemRef() local
416 if (failed(replaceAllMemRefUsesWith(oldMemRef, /*newMemRef=*/newAlloc, in normalizeMemRef()
425 newAlloc.erase(); in normalizeMemRef()
432 oldMemRef.replaceAllUsesWith(newAlloc); in normalizeMemRef()
/external/libxkbcommon/src/
Ddarray.h161 #define darray_realloc(arr, newAlloc) do { \ argument
163 ((arr).alloc = (newAlloc)) * sizeof(*(arr).item)); \
/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/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp347 auto newAlloc = rewriter.create<AllocLikeOp>(alloc.getLoc(), newMemRefType, in matchAndRewrite() local
350 auto resultCast = rewriter.create<MemRefCastOp>(alloc.getLoc(), newAlloc, in matchAndRewrite()