Home
last modified time | relevance | path

Searched refs:numFds (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/include/android_stub/cutils/
Dnative_handle.h37 int numFds; /* number of file-descriptors at &data[0] */ member
68 native_handle_t* native_handle_init(char* storage, int numFds, int numInts);
78 native_handle_t* native_handle_create(int numFds, int numInts);
/external/mesa3d/src/freedreno/vulkan/
Dtu_android.c127 const uint32_t *handle_data = &handle_fds[gralloc_info->handle->numFds]; in tu_gralloc_info()
130 if (gralloc_info->handle->numFds == 1) { in tu_gralloc_info()
133 } else if (gralloc_info->handle->numFds == 2) { in tu_gralloc_info()
148 gralloc_info->handle->numFds); in tu_gralloc_info()
170 gralloc_info->handle->numFds); in tu_gralloc_info()
/external/mesa3d/src/intel/vulkan/
Danv_android.c210 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_GetAndroidHardwareBufferPropertiesANDROID()
304 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in anv_import_ahw_memory()
446 if (gralloc_info->handle->numFds != 1) { in anv_image_from_gralloc()
449 "expected 1", gralloc_info->handle->numFds); in anv_image_from_gralloc()
/external/v4l2_codec2/components/
DVideoFrame.cpp21 for (int i = 0; i < handle->numFds; i++) { in Create()
DV4L2EncodeComponent.cpp181 for (int i = 0; i < handle->numFds; i++) { in CreateInputFrame()
/external/mesa3d/src/amd/vulkan/
Dradv_android.c124 if (gralloc_info->handle->numFds != 1) { in radv_image_from_gralloc()
127 "expected 1", gralloc_info->handle->numFds); in radv_image_from_gralloc()
658 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_GetAndroidHardwareBufferPropertiesANDROID()
733 int dma_buf = (handle && handle->numFds) ? handle->data[0] : -1; in radv_import_ahb_memory()
/external/minigbm/cros_gralloc/gralloc3/
DCrosGralloc3Utils.cc354 if (nativeHandle && nativeHandle->numFds > 1) { in convertToFenceFd()
358 *outFenceFd = (nativeHandle && nativeHandle->numFds == 1) ? nativeHandle->data[0] : -1; in convertToFenceFd()
DCrosGralloc3Mapper.cc75 if (!bufferHandle || bufferHandle->numFds == 0) { in importBuffer()
185 hidlCb(Error::NONE, bufferHandle->numFds, bufferHandle->numInts); in getTransportSize()
/external/drm_hwcomposer/bufferinfo/
DBufferInfoMapperMetadata.cpp50 int num_fds = handle->numFds; in GetFds()
/external/minigbm/cros_gralloc/gralloc0/tests/
Dgralloctest.c135 native_handle_t *hnd = native_handle_create(handle->numFds, handle->numInts); in duplicate_buffer_handle()
144 for (i = 0; i < handle->numFds; i++) { in duplicate_buffer_handle()
171 CHECK_NO_MSG(info->handle->numFds >= 0); in allocate()
/external/drm_hwcomposer/bufferinfo/legacy/
DBufferInfoLibdrm.cpp182 if (!GetYuvPlaneInfo(handle->numFds, handle, bo)) in ConvertBoInfo()
/external/angle/src/common/
Dandroid_util.cpp25 int numFds; /* number of file-descriptors at &data[0] */ member
/external/minigbm/cros_gralloc/gralloc4/
DCrosGralloc4Utils.cc359 if (nativeHandle && nativeHandle->numFds > 1) { in convertToFenceFd()
363 *outFenceFd = (nativeHandle && nativeHandle->numFds == 1) ? nativeHandle->data[0] : -1; in convertToFenceFd()
DCrosGralloc4Mapper.cc131 if (!bufferHandle || bufferHandle->numFds == 0) { in importBuffer()
240 hidlCb(Error::NONE, bufferHandle->numFds, bufferHandle->numInts); in getTransportSize()
/external/v4l2_codec2/common/
DV4L2Device.cpp289 bool checkNumFDsForFormat(const size_t numFds) const;
351 bool V4L2BufferRefBase::checkNumFDsForFormat(const size_t numFds) const { in checkNumFDsForFormat()
363 if (numFds < requiredFds) { in checkNumFDsForFormat()
366 numFds, requiredFds); in checkNumFDsForFormat()
371 for (size_t i = mV4l2Buffer.length - 1; i >= numFds; --i) { in checkNumFDsForFormat()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c174 for (int i = 0; i < handle->numFds; i++) in get_native_buffer_fds()
177 return handle->numFds; in get_native_buffer_fds()
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi19021 …<var-decl name='numFds' type-id='95e97e5e' visibility='default' filepath='system/core/libcutils/in…