Home
last modified time | relevance | path

Searched refs:allocate (Results 1 – 11 of 11) sorted by relevance

/system/core/libmemunreachable/tests/
DAllocator_test.cpp43 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/
DAllocator.h52 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()
DAllocator.cpp466 void* Heap::allocate(size_t size) { in allocate() function in Heap
/system/extras/ext4_utils/
DAndroid.mk9 allocate.c \
/system/extras/verity/
DVerityVerifier.java100 byte[] bytes = ByteBuffer.allocate(4).putInt(value).array(); in fromle()
/system/core/metricsd/
DREADME.md102 You should allocate as many buckets as necessary to perform proper analysis
/system/bt/doc/
Dstyle_guide.md168 Use `osi_malloc` or `osi_calloc` to allocate bytes instead of plain `malloc`.
/system/tpm/trunks/generator/
Draw_structures.txt2113 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.
Draw_structures_fixed.txt2113 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.
Draw_commands.txt17333 …then the last selection in the pcrAllocation list is the one that the TPM will attempt to allocate.
17334 This command shall not allocate more PCR in any bank than there are PCR attribute definitions. The
Draw_commands_fixed.txt17344 …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