/system/chre/util/tests/ |
D | memory_pool_test.cc | 12 ASSERT_NE(memoryPool.allocate(), nullptr); in TEST() 13 ASSERT_NE(memoryPool.allocate(), nullptr); in TEST() 14 ASSERT_NE(memoryPool.allocate(), nullptr); in TEST() 15 ASSERT_EQ(memoryPool.allocate(), nullptr); in TEST() 22 int *element1 = memoryPool.allocate(); in TEST() 23 int *element2 = memoryPool.allocate(); in TEST() 24 int *element3 = memoryPool.allocate(); in TEST() 34 element1 = memoryPool.allocate(); in TEST() 38 ASSERT_EQ(memoryPool.allocate(), nullptr); in TEST() 73 .allocation = memoryPool.allocate(), in TEST()
|
/system/core/libmemunreachable/tests/ |
D | Allocator_test.cpp | 43 void *ptr = allocator.allocate(); in TEST_F() 50 void *ptr1 = allocator.allocate(); in TEST_F() 52 void *ptr2 = allocator.allocate(); in TEST_F() 56 void *ptr3 = allocator.allocate(); in TEST_F() 68 ptr[i] = allocator.allocate(); in TEST_F() 90 void *ptr = allocator.allocate(); in TEST_F() 101 ptr[i] = allocator.allocate(); in TEST_F() 124 void* ptr1 = a.allocate(); in TEST_F() 125 void* ptr2 = b.allocate(); in TEST_F() 126 void* ptr3 = c.allocate(); in TEST_F() [all …]
|
/system/core/libmemunreachable/ |
D | Allocator.h | 52 void* allocate(size_t size); 63 T* allocate() { in allocate() function 64 return reinterpret_cast<T*>(allocate(sizeof(T))); in allocate() 83 return unique_ptr<T>(new (allocate<T>()) T(std::forward<Args>(args)...), in make_unique() 125 T* allocate(std::size_t n) { in allocate() function 126 return reinterpret_cast<T*>(heap_.allocate(n * sizeof(T))); in allocate() 170 using STLAllocator<T>::allocate; 174 T* allocate() { in allocate() function 175 return STLAllocator<T>::allocate(1); in allocate()
|
D | Allocator.cpp | 464 void* Heap::allocate(size_t size) { in allocate() function in Heap
|
/system/libhidl/transport/allocator/1.0/ |
D | IAllocator.hal | 27 * @param size Size of memory to allocate in bytes. 31 allocate(uint64_t size) generates (bool success, memory mem); 36 * @param size Size of memory to allocate in bytes. 37 * @param count Number of memory instances to allocate.
|
/system/chre/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 | 67 ElementType *allocate(Args&&... args);
|
D | memory_pool_impl.h | 39 ElementType *MemoryPool<ElementType, kSize>::allocate(Args&&... args) { in allocate() function
|
/system/sepolicy/private/ |
D | mediadrmserver.te | 5 # allocate and use graphic buffers
|
D | mediaserver.te | 5 # allocate and use graphic buffers
|
/system/libhidl/transport/allocator/1.0/default/ |
D | AshmemAllocator.h | 41 Return<void> allocate(uint64_t size, allocate_cb _hidl_cb) override;
|
D | AshmemAllocator.cpp | 53 Return<void> AshmemAllocator::allocate(uint64_t size, allocate_cb _hidl_cb) { in allocate() function in android::hidl::allocator::V1_0::implementation::AshmemAllocator
|
/system/chre/core/ |
D | host_comms_manager.cc | 48 MessageToHost *msgToHost = mMessagePool.allocate(); in sendMessageToHostFromCurrentNanoapp() 80 MessageFromHost *msgFromHost = mMessagePool.allocate(); in deliverNanoappMessageFromHost()
|
D | event_loop.cc | 178 Event *event = mEventPool.allocate(eventType, eventData, freeCallback, in postEvent()
|
/system/extras/ext4_utils/ |
D | Android.bp | 10 "allocate.c",
|
/system/sepolicy/public/ |
D | mediacodec.te | 40 # allocate and use graphic buffers
|
/system/chre/external/flatbuffers/include/flatbuffers/ |
D | flatbuffers.h | 519 virtual uint8_t *allocate(size_t size) const { 544 buf_(allocator.allocate(reserved_)), 555 buf_ = allocator_.allocate(reserved_); 647 auto new_buf = allocator_.allocate(reserved_);
|
/system/bt/doc/ |
D | style_guide.md | 172 Use `osi_malloc` or `osi_calloc` to allocate bytes instead of plain `malloc`.
|
/system/tools/hidl/test/ |
D | hidl_test_client.cpp | 715 EXPECT_OK(ashmemAllocator->allocate(1024, [&](bool success, const hidl_memory& mem) { in TEST_F()
|
/system/tpm/trunks/generator/ |
D | raw_structures_fixed.txt | 2113 code generation to allocate 25 octets to store the 7426 of persistent handles so that they do not have to allocate from a common range of handles.
|
D | raw_structures.txt | 2113 code generation to allocate 25 octets to store the 7399 of persistent handles so that they do not have to allocate from a common range of handles.
|
D | raw_commands_fixed.txt | 17344 …then the last selection in the pcrAllocation list is the one that the TPM will attempt to allocate. 17345 This command shall not allocate more PCR in any bank than there are PCR attribute definitions. The
|