Searched refs:allocator (Results 1 – 4 of 4) sorted by relevance
91 BufferAllocator allocator; in LLVMFuzzerInitialize() local93 wv_msg_buf_fd.reset(allocator.Alloc(kDmabufSystemHeapName, WV_MESSAGE_BUFFER_SIZE)); in LLVMFuzzerInitialize()106 wv_shared_buf_fd.reset(allocator.Alloc(kDmabufSystemHeapName, WV_SHARED_BUFFER_SIZE)); in LLVMFuzzerInitialize()
272 Allocator allocator; in CreateNewImage() local278 new_image = writer.CreateImage(&allocator, &new_image_size); in CreateNewImage()287 allocator.Free(new_image); in CreateNewImage()
186 dex::u1* CreateImage(Allocator* allocator, size_t* new_image_size);
244 dex::u1* Writer::CreateImage(Allocator* allocator, size_t* new_image_size) { in CreateImage() argument297 dex::u1* image = static_cast<dex::u1*>(allocator->Allocate(image_size)); in CreateImage()