Searched refs:alloc (Results 1 – 9 of 9) sorted by relevance
/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()
|
D | nnCache.cpp | 118 std::function<void*(size_t)> alloc) { in getBlob() argument 128 return bc->get(key, keySize, value, alloc); in getBlob()
|
/packages/services/Car/cpp/evs/apps/default/ |
D | StreamHandler.cpp | 46 android::GraphicBufferAllocator &alloc(android::GraphicBufferAllocator::get()); in StreamHandler() local 52 android::status_t result = alloc.allocate(width, in StreamHandler() 104 android::GraphicBufferAllocator &alloc(android::GraphicBufferAllocator::get()); in shutdown() local 106 alloc.free(b.buffer.nativeHandle); in shutdown()
|
/packages/services/Car/cpp/evs/sampleDriver/ |
D | EvsGlDisplay.cpp | 74 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in forceShutdown() local 75 alloc.free(mBuffer.memHandle); in forceShutdown() 196 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in getTargetBuffer() local 197 status_t result = alloc.allocate(mBuffer.width, mBuffer.height, in getTargetBuffer()
|
D | EvsV4lCamera.cpp | 93 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in shutdown() local 98 alloc.free(rec.handle); in shutdown() 617 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local 625 status_t result = alloc.allocate(mVideo.getWidth(), mVideo.getHeight(), in increaseAvailableFrames_Locked() 674 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local 682 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
|
/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()
|
D | BlobCache.cpp | 186 std::function<void*(size_t)> alloc) { in get() argument 205 void* buf = alloc(valueBlobSize); in get()
|
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | EvsEmulatedCamera.cpp | 182 GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); in shutdown() local 187 alloc.free(rec.handle); in shutdown() 610 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in increaseAvailableFrames_Locked() local 617 status_t result = alloc.allocate(mCaptureDeviceDesc.width, mCaptureDeviceDesc.height, in increaseAvailableFrames_Locked() 668 GraphicBufferAllocator &alloc(GraphicBufferAllocator::get()); in decreaseAvailableFrames_Locked() local 676 alloc.free(rec.handle); in decreaseAvailableFrames_Locked()
|
/packages/services/Car/cpp/evs/support_library/ |
D | StreamHandler.cpp | 252 android::GraphicBufferAllocator& alloc(android::GraphicBufferAllocator::get()); in allocate() local 253 android::status_t result = alloc.allocate( in allocate()
|