Home
last modified time | relevance | path

Searched refs:realloc (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/libs/hwui/utils/
DAutoMalloc.h44 void realloc(size_t count) { fPtr.reset(reallocIfCountThrowOnFail(count)); } in realloc() function
86 newPtr = (T*)std::realloc(fPtr.release(), count * sizeof(T)); in reallocIfCountThrowOnFail()
/frameworks/native/libs/binder/
DBufferedTextOutput.cpp55 void* b = realloc(buffer, newSize); in append()
69 void* b = realloc(buffer, 256); in restart()
DParcel.cpp584 binder_size_t* objects = (binder_size_t*)realloc(kernelFields->mObjects, in appendFrom()
1826 (binder_size_t*)realloc(kernelFields->mObjects, newSize * sizeof(binder_size_t)); in writeObject()
2954 return (uint8_t*)realloc(data, newCapacity); in reallocZeroFree()
3149 (binder_size_t*)realloc(kernelFields->mObjects, in continueWrite()
/frameworks/base/libs/hwui/jni/
DCreateJavaOutputStreamAdaptor.cpp201 data = (char*)realloc(data, bufferSize); in CopyJavaInputStream()
212 data = (char*)realloc(data, streamLen); in CopyJavaInputStream()
/frameworks/av/services/audiopolicy/tests/
Daudio_health_tests.cpp54 audioPorts = (struct audio_port_v7 *)realloc( in TEST()
/frameworks/av/media/mtp/
DMtpPacket.cpp58 mBuffer = (uint8_t *)realloc(mBuffer, newLength); in allocate()
/frameworks/av/media/module/foundation/
DAString.cpp196 mData = (char *)realloc(mData, mAllocSize); in append()
300 mData = (char *)realloc(mData, mAllocSize); in insert()
/frameworks/rs/cpp/
DRenderScript.cpp222 void *tmpBuf = realloc(rbuf, rbuf_size); in threadProc()
/frameworks/libs/native_bridge_support/android_api/libc/proxy/
Dtrampolines_riscv64_to_x86_64-inl.h57 …dge_realloc", GetTrampolineFunc<auto(void*, size_t) -> void*>(), reinterpret_cast<void*>(realloc)},
Dtrampolines_arm64_to_x86_64-inl.h57 …dge_realloc", GetTrampolineFunc<auto(void*, size_t) -> void*>(), reinterpret_cast<void*>(realloc)},
Dtrampolines_arm_to_x86-inl.h55 …dge_realloc", GetTrampolineFunc<auto(void*, size_t) -> void*>(), reinterpret_cast<void*>(realloc)},
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp124 void* newValueBuffer = realloc(valueBuffer, mObservedBlobValueSize); in load()
/frameworks/av/media/module/codecs/flac/dec/
DFLACDecoder.cpp432 mBuffer = (uint8_t*)realloc(mBuffer, mBufferDataSize + inBufferLen); in addDataToBuffer()
/frameworks/base/libs/hwui/canvas/
DOpBuffer.h125 mBuffer = reinterpret_cast<BufferHeader*>(realloc(mBuffer, adjustedSize)); in resize()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h722 void realloc(std::function<sp<Codec2Buffer>()> alloc);
1064 void realloc(const std::shared_ptr<C2Buffer> &c2buffer);
DCCodecBuffers.cpp868 void BuffersArrayImpl::realloc(std::function<sp<Codec2Buffer>()> alloc) { in realloc() function in android::BuffersArrayImpl
1400 void OutputBuffersArray::realloc(const std::shared_ptr<C2Buffer> &c2buffer) { in realloc() function in android::OutputBuffersArray
1440 mImpl.realloc(mAlloc); in realloc()
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp311 pContext->replyData = (char *)realloc(pContext->replyData, tmpSize); in Effect_command()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp546 char *newParam = (char *)realloc(*param, *totSize); in growParamSize()
607 char *newParam = (char *)realloc(*param, *totSize); in readParamValue()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h74 void* new_data = data_ ? std::realloc(data_, size) : std::malloc(size); in reserve()
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
DFwdLockConv.c452 char *newPtr = realloc(pString->ptr, newMaxLength + 1); in FwdLockConv_StringAppend()
839 pBuffer = realloc(pOutput->fromConvertData.pBuffer, pSession->outputBufferSize); in FwdLockConv_WriteEncryptedChar()
/frameworks/rs/toolkit/
DBlur.cpp394 mScratch[threadIndex] = realloc(mScratch[threadIndex], (mSizeX + 1) * 16); in kernelU4()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp319 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16); in kernelU4()
/frameworks/av/media/libmediametrics/include/media/
DMediaMetricsItem.h649 void *newptr = realloc(*mBaseRealloc, minimum); in reallocFor()
/frameworks/base/tools/aapt/
DAaptAssets.cpp451 void* buf = realloc(mData, allocSize); in editData()
/frameworks/rs/driver/
DrsdAllocation.cpp607 uint8_t *ptr = (uint8_t *)realloc(oldPtr, s); in rsdAllocationResize()

12