Home
last modified time | relevance | path

Searched refs:Alloc (Results 1 – 16 of 16) sorted by relevance

/system/memory/libmemunreachable/
DLeakPipe.h114 template <class T, class Alloc = std::allocator<T>>
115 bool SendVector(const std::vector<T, Alloc>& vector) { in SendVector()
152 template <class T, class Alloc = std::allocator<T>>
153 bool ReceiveVector(std::vector<T, Alloc>& vector) { in ReceiveVector()
DAllocator.cpp77 void* Alloc(size_t size);
171 void* Alloc();
247 void* Chunk::Alloc() { in Alloc() function in android::Chunk
355 void* HeapImpl::Alloc(size_t size) { in Alloc() function in android::HeapImpl
369 return free_chunks_[bucket].next()->data()->Alloc(); in AllocLocked()
453 return impl_->Alloc(size); in allocate()
/system/memory/libdmabufheap/tests/
Ddmabuf_heap_test.cpp147 int fd = allocator->Alloc(kDmabufSystemHeapName, size, ION_FLAG_CACHED_NEEDS_SYNC in TEST_F()
181 map_fd = allocator->Alloc(kDmabufSystemHeapName, kAllocSizeInBytes); in TEST_F()
203 map_fd = allocator->Alloc(kDmabufSystemHeapName, kAllocSizeInBytes); in TEST_F()
225 int map_fd = allocator->Alloc(kDmabufSystemHeapName, kAllocSizeInBytes); in TEST_F()
260 int map_fd = allocator->Alloc(kDmabufSystemHeapName, size); in TEST_F()
/system/extras/memory_replay/
DAndroid.bp52 "Alloc.cpp",
119 "Alloc.cpp",
/system/memory/libdmabufheap/
DBufferAllocatorWrapper.cpp36 return buffer_allocator->Alloc(heap_name, len, heap_flags, legacy_align); in DmabufHeapAlloc()
DBufferAllocator.cpp245 int BufferAllocator::Alloc(const std::string& heap_name, size_t len, in Alloc() function in BufferAllocator
284 return Alloc(kDmabufSystemHeapName, len, heap_flags, legacy_align); in AllocSystem()
/system/memory/libdmabufheap/include/BufferAllocator/
DBufferAllocator.h82 …int Alloc(const std::string& heap_name, size_t len, unsigned int heap_flags = 0, size_t legacy_ali…
/system/core/trusty/apploader/fuzz/
Dapp_fuzzer.cpp112 unique_fd dma_buf(alloc.Alloc(kDmabufSystemHeapName, shm_len)); in LLVMFuzzerTestOneInput()
/system/core/trusty/confirmationui/fuzz/
Dmsg_fuzzer.cpp63 dma_buf.reset(allocator.Alloc(kDmabufSystemHeapName, CONFIRMATIONUI_MAX_MSG_SIZE)); in LLVMFuzzerInitialize()
/system/core/trusty/confirmationui/
DTrustyApp.cpp104 unique_fd dma_buf(allocator.Alloc("system", shm_len)); in TrustyApp()
/system/core/trusty/apploader/
Dapploader.cpp123 unique_fd dmabuf_fd(alloc.Alloc(kDmabufSystemHeapName, file_page_size)); in read_file()
/system/core/trusty/utils/acvp/
Dtrusty_modulewrapper.cpp123 dmabuf_fd_.reset(alloc.Alloc(kDmabufSystemHeapName, shm_size_)); in SendMessage()
/system/core/trusty/coverage/
Dcoverage.cpp143 fd = allocator.Alloc("system", shm_len_); in Open()
/system/chre/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h1095 template<typename T, typename Alloc>
1096 const T *data(const std::vector<T, Alloc> &v) {
1102 template<typename T, typename Alloc> T *data(std::vector<T, Alloc> &v) {
1861 template<typename T, typename Alloc>
1863 const std::vector<T, Alloc> &v) {
/system/unwinding/libunwindstack/
DMemory.cpp650 alloc.Alloc = [](ISzAllocPtr, size_t size) { return malloc(size); }; in ReadBlocks()
745 alloc.Alloc = [](ISzAllocPtr, size_t size) { return malloc(size); }; in Decompress()
/system/extras/simpleperf/
Dutils.cpp271 alloc.Alloc = xz_alloc; in XzDecompress()