Searched refs:allocate (Results 1 – 14 of 14) sorted by relevance
/chre-3.4.0/util/tests/ |
D | memory_pool_test.cc | 13 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST() 15 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST() 17 EXPECT_NE(memoryPool.allocate(), nullptr); in TEST() 19 EXPECT_EQ(memoryPool.allocate(), nullptr); in TEST() 27 int *element1 = memoryPool.allocate(); in TEST() 28 int *element2 = memoryPool.allocate(); in TEST() 29 int *element3 = memoryPool.allocate(); in TEST() 40 element1 = memoryPool.allocate(); in TEST() 44 EXPECT_EQ(memoryPool.allocate(), nullptr); in TEST() 79 .allocation = memoryPool.allocate(), in TEST()
|
/chre-3.4.0/util/include/chre/util/ |
D | synchronized_memory_pool_impl.h | 27 ElementType *SynchronizedMemoryPool<ElementType, kSize>::allocate( in allocate() function 30 return mMemoryPool.allocate(args...); in allocate()
|
D | synchronized_memory_pool.h | 41 ElementType *allocate(Args &&... args);
|
D | memory_pool.h | 66 ElementType *allocate(Args &&... args);
|
D | memory_pool_impl.h | 39 ElementType *MemoryPool<ElementType, kSize>::allocate(Args &&... args) { in allocate() function
|
/chre-3.4.0/java/test/chqts/src/com/google/android/chre/test/chqts/ |
D | ContextHubEstimatedHostTimeTestExecutor.java | 49 ByteBuffer buffer = ByteBuffer.allocate(8) in handleMessageFromNanoApp()
|
D | ContextHubInfoByIdTestExecutor.java | 55 ByteBuffer buffer = ByteBuffer.allocate(4) in handleMessageFromNanoApp()
|
D | ContextHubNanoAppInfoEventsTestExecutor.java | 94 buffer = ByteBuffer.allocate(4) in handleMessageFromNanoApp()
|
D | ContextHubEventBetweenAppsTestExecutor.java | 110 buffer = ByteBuffer.allocate(4) in handleMessageFromNanoApp()
|
D | ContextHubGeneralTestExecutor.java | 346 ByteBuffer newData = ByteBuffer.allocate(4 + origData.length); in hackMessageToNanoApp()
|
/chre-3.4.0/util/include/chre/util/flatbuffers/ |
D | helpers.h | 31 uint8_t *allocate(size_t size) override { in allocate() function
|
/chre-3.4.0/core/ |
D | host_comms_manager.cc | 45 MessageToHost *msgToHost = mMessagePool.allocate(); in sendMessageToHostFromNanoapp() 84 MessageFromHost *msgFromHost = mMessagePool.allocate(); in craftNanoappMessageFromHost()
|
D | event_loop.cc | 282 mEventPool.allocate(eventType, eventData, callback, extraData); in postSystemEvent() 384 mEventPool.allocate(eventType, eventData, freeCallback, senderInstanceId, in allocateAndPostEvent()
|
/chre-3.4.0/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 615 virtual uint8_t *allocate(size_t size) = 0; 629 uint8_t *new_p = allocate(new_size); 654 uint8_t *allocate(size_t size) FLATBUFFERS_OVERRIDE { 674 return allocator ? allocator->allocate(size) 675 : DefaultAllocator().allocate(size); 678 return allocator->allocate(size);
|