Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/hwui/utils/
H A 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()
/aosp14/system/core/mkbootfs/
H A Dmkbootfs.c170 names = realloc(names, size * sizeof(char*)); in _archive_dir()
272 canned_config = (struct fs_config_entry*)realloc( in read_canned_config()
292 canned_config = (struct fs_config_entry*)realloc( in read_canned_config()
/aosp14/system/core/libutils/
H A DSharedBuffer.cpp78 buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize); in editResize()
/aosp14/system/core/toolbox/
H A Dgetevent.c113 bits = realloc(bits, bits_size * 2); in print_possible_events()
362 new_ufds = realloc(ufds, sizeof(ufds[0]) * (nfds + 1)); in open_device()
368 new_device_names = realloc(device_names, sizeof(device_names[0]) * (nfds + 1)); in open_device()
/aosp14/system/core/libsysutils/src/
H A DSocketClient.cpp159 result = (char *)realloc(result, current-result); in quoteArg()
/aosp14/frameworks/base/libs/hwui/pipeline/skia/
H A DShaderCache.cpp120 void* newValueBuffer = realloc(valueBuffer, mObservedBlobValueSize); in load()
/aosp14/frameworks/base/libs/hwui/canvas/
H A DOpBuffer.h125 mBuffer = reinterpret_cast<BufferHeader*>(realloc(mBuffer, adjustedSize)); in resize()
/aosp14/frameworks/base/tools/aapt/
H A DAaptAssets.cpp449 void* buf = realloc(mData, allocSize); in editData()
/aosp14/frameworks/base/libs/hwui/
H A DRecordingCanvas.cpp729 fBytes.realloc(fReserved); in push()
/aosp14/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp1644 nPorts = (struct audio_port_v7 *)realloc(nPorts, numPorts * sizeof(struct audio_port_v7)); in android_media_AudioSystem_listAudioPorts()
1872 nPatches = (struct audio_patch *)realloc(nPatches, numPatches * sizeof(struct audio_patch)); in android_media_AudioSystem_listAudioPatches()
/aosp14/frameworks/base/libs/androidfw/
H A DAssetManager2.cpp1325 new_bag.reset(reinterpret_cast<ResolvedBag*>(realloc( in GetBag()
H A DResourceTypes.cpp4852 set = (bag_set*)realloc(set, in getBagLocked()