/packages/modules/Virtualization/vmbase/src/ |
D | heap.rs | 17 use alloc::alloc::alloc; 18 use alloc::alloc::Layout; 19 use alloc::boxed::Box; 21 use core::alloc::GlobalAlloc as _; 69 let ptr = unsafe { alloc(layout) }; in aligned_boxed_slice() 140 HEAP_ALLOCATOR.alloc(layout) in allocate()
|
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/ |
D | decoder-oina.c | 40 uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc, in OI_CODEC_SBC_DecoderConfigureRaw() argument 68 if (alloc > SBC_SNR) { in OI_CODEC_SBC_DecoderConfigureRaw() 81 context->common.frameInfo.alloc = alloc; in OI_CODEC_SBC_DecoderConfigureRaw()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/allocator/ |
D | fuzz_allocator.cc | 112 for (const auto& alloc : alloc_vector) { in LLVMFuzzerTestOneInput() local 113 if (alloc != nullptr) { in LLVMFuzzerTestOneInput() 114 osi_free(alloc); in LLVMFuzzerTestOneInput()
|
/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache.h | 67 std::function<void*(size_t)> alloc); 70 std::function<void*(size_t)> alloc) { in getBlob() argument 72 const ssize_t size = getBlob(key, keySize, &valueVoid, alloc); in getBlob()
|
/packages/services/Car/cpp/evs/sampleDriver/hidl/ |
D | EvsGlDisplay.cpp | 69 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local 70 alloc.free(mBuffer.memHandle); in forceShutdown() 187 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in getTargetBuffer() local 189 alloc.allocate(mBuffer.width, mBuffer.height, mBuffer.format, 1, mBuffer.usage, in getTargetBuffer()
|
D | EvsV4lCamera.cpp | 93 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in shutdown() local 98 alloc.free(rec.handle); in shutdown() 587 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local 594 status_t result = alloc.allocate(mVideo.getWidth(), mVideo.getHeight(), mFormat, 1, mUsage, in increaseAvailableFrames_Locked() 639 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local 647 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
|
/packages/services/DeviceAsWebcam/tests/ |
D | mac_webcam_test.py | 112 delegate = SampleBufferDelegate.alloc().init() 113 session = AVFoundation.AVCaptureSession.alloc().init() 120 video_output = AVFoundation.AVCaptureVideoDataOutput.alloc().init()
|
/packages/services/Car/cpp/evs/apps/default/src/ |
D | StreamHandler.cpp | 54 android::GraphicBufferAllocator& alloc(android::GraphicBufferAllocator::get()); in StreamHandler() local 59 android::status_t result = alloc.allocate(width, height, format, 1, usage, &memHandle, in StreamHandler() 102 android::GraphicBufferAllocator& alloc(android::GraphicBufferAllocator::get()); in shutdown() local 104 alloc.free(android::makeFromAidl(b.buffer.handle)); in shutdown()
|
/packages/modules/Virtualization/vmbase/src/memory/ |
D | shared.rs | 30 use alloc::alloc::{alloc_zeroed, dealloc, handle_alloc_error}; 31 use alloc::boxed::Box; 32 use alloc::collections::BTreeSet; 33 use alloc::vec::Vec; 35 use core::alloc::Layout; 184 pub fn alloc(&mut self, base: usize, size: NonZeroUsize) -> Result<MemoryRange> { in alloc() method
|
/packages/modules/NeuralNetworks/driver/cache/BlobCache/ |
D | BlobCache.h | 130 size_t get(const void* key, size_t keySize, void** value, std::function<void*(size_t)> alloc); 132 size_t get(const void* key, size_t keySize, T** value, std::function<void*(size_t)> alloc) { in get() argument 134 const size_t size = get(key, keySize, &valueVoid, alloc); in get()
|
/packages/modules/Bluetooth/system/osi/src/ |
D | list.cc | 29 list_t* list = (list_t*)zeroed_allocator->alloc(sizeof(list_t)); in list_new_internal() 96 list_node_t* node = (list_node_t*)list->allocator->alloc(sizeof(list_node_t)); in list_insert_after() 111 list_node_t* node = (list_node_t*)list->allocator->alloc(sizeof(list_node_t)); in list_prepend() 125 list_node_t* node = (list_node_t*)list->allocator->alloc(sizeof(list_node_t)); in list_append()
|
/packages/modules/Virtualization/libs/cborutil/src/ |
D | lib.rs | 19 extern crate alloc; 21 use alloc::string::String; 22 use alloc::vec::Vec;
|
/packages/modules/Virtualization/service_vm/requests/src/ |
D | rkp.rs | 20 use alloc::string::String; 21 use alloc::vec; 22 use alloc::vec::Vec;
|
D | cert.rs | 18 use alloc::vec; 19 use alloc::vec::Vec;
|
D | keyblob.rs | 17 use alloc::vec; 18 use alloc::vec::Vec;
|
/packages/modules/Virtualization/libs/bssl/src/ |
D | digest.rs | 18 use alloc::vec; 19 use alloc::vec::Vec;
|
/packages/modules/Virtualization/service_vm/comm/src/ |
D | csr.rs | 18 use alloc::vec; 19 use alloc::vec::Vec;
|
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | EvsEmulatedCamera.cpp | 164 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in shutdown() local 169 alloc.free(rec.handle); in shutdown() 558 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local 565 status_t result = alloc.allocate(mCaptureDeviceDesc.width, mCaptureDeviceDesc.height, in increaseAvailableFrames_Locked() 614 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local 622 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/ |
D | EvsGlDisplay.cpp | 142 ::android::GraphicBufferAllocator& alloc(::android::GraphicBufferAllocator::get()); in initializeGlContextLocked() 146 alloc.allocate(mBuffer.description.width, mBuffer.description.height, in initializeGlContextLocked() 228 ::android::GraphicBufferAllocator& alloc(::android::GraphicBufferAllocator::get()); in renderFrames() 229 alloc.free(mBuffer.handle); in renderFrames()
|
/packages/modules/Bluetooth/system/osi/test/fuzzers/list/ |
D | fuzz_list.cc | 269 for (const auto& alloc : alloc_vector) { in LLVMFuzzerTestOneInput() local 270 if (alloc != nullptr) { in LLVMFuzzerTestOneInput() 271 free(alloc); in LLVMFuzzerTestOneInput()
|
/packages/modules/Virtualization/rialto/src/ |
D | main.rs | 25 extern crate alloc; 30 use alloc::boxed::Box; 105 .alloc(fdt_addr, NonZeroUsize::new(crosvm::FDT_MAX_SIZE).unwrap())?; in try_main()
|
/packages/modules/Virtualization/service_vm/fake_chain/src/ |
D | client_vm.rs | 20 use alloc::vec; 21 use alloc::vec::Vec;
|
D | service_vm.rs | 20 use alloc::vec; 21 use alloc::vec::Vec;
|
/packages/modules/Virtualization/pvmfw/src/ |
D | main.rs | 20 extern crate alloc; 43 use alloc::borrow::Cow; 44 use alloc::boxed::Box;
|
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/include/ |
D | oi_codec_sbc.h | 180 uint8_t alloc; /**< The bit allocation method. Input parameter. */ member 336 uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc,
|