Searched refs:realloc (Results 1 – 12 of 12) sorted by relevance
/aosp14/frameworks/base/libs/hwui/utils/ |
H A D | AutoMalloc.h | 44 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 D | mkbootfs.c | 170 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 D | SharedBuffer.cpp | 78 buf = (SharedBuffer*)realloc(buf, sizeof(SharedBuffer) + newSize); in editResize()
|
/aosp14/system/core/toolbox/ |
H A D | getevent.c | 113 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 D | SocketClient.cpp | 159 result = (char *)realloc(result, current-result); in quoteArg()
|
/aosp14/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | ShaderCache.cpp | 120 void* newValueBuffer = realloc(valueBuffer, mObservedBlobValueSize); in load()
|
/aosp14/frameworks/base/libs/hwui/canvas/ |
H A D | OpBuffer.h | 125 mBuffer = reinterpret_cast<BufferHeader*>(realloc(mBuffer, adjustedSize)); in resize()
|
/aosp14/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 449 void* buf = realloc(mData, allocSize); in editData()
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.cpp | 729 fBytes.realloc(fReserved); in push()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 1644 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 D | AssetManager2.cpp | 1325 new_bag.reset(reinterpret_cast<ResolvedBag*>(realloc( in GetBag()
|
H A D | ResourceTypes.cpp | 4852 set = (bag_set*)realloc(set, in getBagLocked()
|