Home
last modified time | relevance | path

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

12

/frameworks/av/services/audiopolicy/tests/
Daudio_health_tests.cpp51 audioPorts = (struct audio_port *)realloc(audioPorts, numPorts * sizeof(struct audio_port)); in TEST()
/frameworks/native/libs/binder/
DBufferedTextOutput.cpp56 void* b = realloc(buffer, newSize); in append()
70 void* b = realloc(buffer, 256); in restart()
DParcel.cpp430 (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in appendFrom()
1305 binder_size_t* objects = (binder_size_t*)realloc(mObjects, newSize*sizeof(binder_size_t)); in writeObject()
2455 uint8_t* data = (uint8_t*)realloc(mData, desired); in restartWrite()
2593 (binder_size_t*)realloc(mObjects, objectsSize*sizeof(binder_size_t)); in continueWrite()
2606 uint8_t* data = (uint8_t*)realloc(mData, desired); in continueWrite()
/frameworks/av/media/libstagefright/foundation/
DAString.cpp196 mData = (char *)realloc(mData, mAllocSize); in append()
300 mData = (char *)realloc(mData, mAllocSize); in insert()
/frameworks/av/media/mtp/
DMtpPacket.cpp58 mBuffer = (uint8_t *)realloc(mBuffer, newLength); in allocate()
/frameworks/base/libs/hwui/pipeline/skia/
DShaderCache.cpp121 void* newValueBuffer = realloc(valueBuffer, mObservedBlobValueSize); in load()
/frameworks/rs/cpp/
DRenderScript.cpp222 void *tmpBuf = realloc(rbuf, rbuf_size); in threadProc()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.h692 void realloc(std::function<sp<Codec2Buffer>()> alloc);
1030 void realloc(const std::shared_ptr<C2Buffer> &c2buffer);
DCCodecBuffers.cpp624 void BuffersArrayImpl::realloc(std::function<sp<Codec2Buffer>()> alloc) { in realloc() function in android::BuffersArrayImpl
1120 void OutputBuffersArray::realloc(const std::shared_ptr<C2Buffer> &c2buffer) { in realloc() function in android::OutputBuffersArray
1160 mImpl.realloc(mAlloc); in realloc()
DCCodecBufferChannel.cpp1787 realloc(c2Buffer); in sendOutputBuffers()
/frameworks/av/media/libstagefright/flac/dec/
DFLACDecoder.cpp432 mBuffer = (uint8_t*)realloc(mBuffer, mBufferDataSize + inBufferLen); in addDataToBuffer()
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp301 pContext->replyData = (char *)realloc(pContext->replyData, tmpSize); in Effect_command()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h74 void* new_data = data_ ? std::realloc(data_, size) : std::malloc(size); in reserve()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp602 char *newParam = (char *)realloc(*param, *totSize); in growParamSize()
663 char *newParam = (char *)realloc(*param, *totSize); in readParamValue()
/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/av/media/libeffects/preprocessing/
DPreProcessing.cpp1263 buf = (int16_t *)realloc(session->inBuf, in PreProcessingFx_Process()
1342 buf = (int16_t *)realloc(session->outBuf, in PreProcessingFx_Process()
1805 buf = (int16_t *)realloc(session->revBuf, in PreProcessingFx_ProcessReverse()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBlur.cpp319 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16); in kernelU4()
/frameworks/base/libs/androidfw/
DAssetManager2.cpp1182 new_bag.reset(reinterpret_cast<ResolvedBag*>(realloc( in GetBag()
1416 realloc(type.release(), sizeof(ThemeType) + (new_count * sizeof(ThemeEntry))))); in ApplyStyle()
/frameworks/av/media/libmediametrics/include/media/
DMediaMetricsItem.h615 void *newptr = realloc(*mBaseRealloc, minimum); in reallocFor()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1461 nPorts = (struct audio_port *)realloc(nPorts, numPorts * sizeof(struct audio_port)); in android_media_AudioSystem_listAudioPorts()
1692 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch)); in android_media_AudioSystem_listAudioPatches()
/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()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp532 fBytes.realloc(fReserved); in push()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp2808 uint8_t *updated = (uint8_t *)realloc(mLastTrack->mTx3gBuffer, in parseChunk()
5329 uint8_t * newPtr = (uint8_t*) realloc(mCurrentSampleInfoSizes, smplcnt); in parseSampleAuxiliaryInformationSizes()
5377 uint64_t *newPtr = (uint64_t *)realloc(mCurrentSampleInfoOffsets, entrycount * 8); in parseSampleAuxiliaryInformationOffsets()
/frameworks/av/services/audioflinger/
DEffects.cpp1839 auto *newParam = (effect_param_t *)realloc(param, size); in command()

12