Home
last modified time | relevance | path

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

/hardware/google/gchips/GrallocHAL/src/hidl_common/
DAllocator.cpp52 buffer_handle_t tmpBuffer = nullptr; in allocate() local
60 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate()
65 allocResult = mali_gralloc_buffer_allocate(grallocBufferDescriptor, 1, &tmpBuffer, nullptr); in allocate()
72 auto hnd = const_cast<private_handle_t *>(reinterpret_cast<const private_handle_t *>(tmpBuffer)); in allocate()
122 mali_gralloc_buffer_free(tmpBuffer); in allocate()
128 grallocBuffers.emplace_back(hidl_handle(tmpBuffer)); in allocate()
/hardware/google/gchips/gralloc4/src/hidl_common/
DAllocator.cpp57 buffer_handle_t tmpBuffer = nullptr; in allocate() local
65 allocResult = fb_allocator(&bufferDescriptor, &tmpBuffer); in allocate()
70 allocResult = mali_gralloc_buffer_allocate(grallocBufferDescriptor, 1, &tmpBuffer, nullptr); in allocate()
77 auto hnd = const_cast<private_handle_t *>(reinterpret_cast<const private_handle_t *>(tmpBuffer)); in allocate()
137 mali_gralloc_buffer_free(tmpBuffer); in allocate()
143 grallocBuffers.emplace_back(hidl_handle(tmpBuffer)); in allocate()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc0Hal.h88 const native_handle_t* tmpBuffer; in allocateBuffers() local
90 error = allocateOneBuffer(descriptorInfo, &tmpBuffer, &tmpStride); in allocateBuffers()
95 buffers.push_back(tmpBuffer); in allocateBuffers()
DGralloc1Hal.h103 const native_handle_t* tmpBuffer; in allocateBuffers() local
105 error = allocateOneBuffer(desc, &tmpBuffer, &tmpStride); in allocateBuffers()
110 buffers.push_back(tmpBuffer); in allocateBuffers()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp138 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
141 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp313 get_mapper()->importBuffer(handle, [&](const auto& tmpError, const auto& tmpBuffer) { in import_buffer() argument
318 bufferHandle = static_cast<native_handle_t*>(tmpBuffer); in import_buffer()
/hardware/libhardware/modules/camera/3_4/arc/
Dexif_utils.cpp399 void* tmpBuffer = exif_mem_alloc(mem, size); in AddVariableLengthEntry() local
400 if (!tmpBuffer) { in AddVariableLengthEntry()
406 entry->data = static_cast<unsigned char*>(tmpBuffer); in AddVariableLengthEntry()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp159 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
162 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp225 mMapper->importBuffer(rawHandle, [&](auto error, void* tmpBuffer) { in importBuffer() argument
230 bufferHandle = static_cast<native_handle_t*>(tmpBuffer); in importBuffer()
/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp193 mMapper->importBuffer(rawHandle, [&](const auto& tmpError, const auto& tmpBuffer) { in importBuffer() argument
198 bufferHandle = static_cast<const native_handle_t*>(tmpBuffer); in importBuffer()
/hardware/interfaces/camera/common/1.0/default/
DExif.cpp838 void* tmpBuffer = exif_mem_alloc(mem, size); in addVariableLengthEntry() local
839 if (!tmpBuffer) { in addVariableLengthEntry()
845 entry->data = static_cast<unsigned char*>(tmpBuffer); in addVariableLengthEntry()