Searched refs:memoryAlloc (Results 1 – 13 of 13) sorted by relevance
28 void *memoryAlloc(size_t size);40 T *memoryAlloc(Args&&... args);
26 T *memoryAlloc(Args&&... args) { in memoryAlloc() function27 auto *storage = static_cast<T *>(memoryAlloc(sizeof(T))); in memoryAlloc()
23 void *memoryAlloc(size_t size) { in memoryAlloc() function
63 return memoryAlloc(size); in palSystemApiMemoryAlloc()
56 return chre::memoryAlloc(bytes); in chreHeapAlloc()
93 void *(*memoryAlloc)(size_t size); member
231 event = static_cast<ChreSensorData *>(memoryAlloc(*eventSize)); in allocateLastEvent()401 static_cast<chreSensorThreeAxisData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()412 static_cast<chreSensorFloatData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()423 static_cast<chreSensorByteData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()434 static_cast<chreSensorOccurrenceData *>(memoryAlloc(memorySize)); in allocateAndPopulateEvent()483 auto *callbackData = memoryAlloc<CallbackData>(); in updateLastEvent()938 auto *sensorRequest = memoryAlloc<sns_smgr_buffering_req_msg_v01>(); in setRequest()939 auto *sensorResponse = memoryAlloc<sns_smgr_buffering_resp_msg_v01>(); in setRequest()
125 auto *builder = memoryAlloc<FlatBufferBuilder>( in constructNanoappListCallback()176 auto *builder = memoryAlloc<FlatBufferBuilder>(kInitialBufferSize); in finishLoadingNanoappCallback()
111 mAppBinary = memoryAlloc(appBinaryLen); in loadFromBuffer()
97 auto *cbState = memoryAlloc<CallbackState>(); in handleScanMonitorStateChange()123 auto *cbState = memoryAlloc<CallbackState>(); in handleScanResponse()249 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanMonitorAsyncResultEvent()282 chreAsyncResult *event = memoryAlloc<chreAsyncResult>(); in postScanRequestAsyncResultEvent()
90 return UniquePtr<ObjectType>(memoryAlloc<ObjectType>( in MakeUnique()
144 memoryAlloc(newCapacity * sizeof(ElementType))); in reserve()
523 return static_cast<uint8_t *>(chre::memoryAlloc(size));