Home
last modified time | relevance | path

Searched refs:max_devices (Results 1 – 5 of 5) sorted by relevance

/external/libdrm/tests/
Ddrmdevice.c113 int fd, ret, max_devices; in main() local
115 max_devices = drmGetDevices2(0, NULL, 0); in main()
117 if (max_devices <= 0) { in main()
118 printf("drmGetDevices2() has returned %d\n", max_devices); in main()
122 devices = calloc(max_devices, sizeof(drmDevicePtr)); in main()
128 ret = drmGetDevices2(0, devices, max_devices); in main()
/external/libdrm/
Dxf86drm.h840 extern int drmGetDevices(drmDevicePtr devices[], int max_devices);
845 extern int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices);
Dxf86drm.c3928 int drmGetDevices2(uint32_t flags, drmDevicePtr devices[], int max_devices) in drmGetDevices2() argument
4034 if ((devices != NULL) && (device_count < max_devices)) in drmGetDevices2()
4067 int drmGetDevices(drmDevicePtr devices[], int max_devices) in drmGetDevices() argument
4069 return drmGetDevices2(DRM_DEVICE_GET_PCI_REVISION, devices, max_devices); in drmGetDevices()
/external/mesa3d/include/EGL/
Deglext.h553 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi…
558 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…
/external/swiftshader/include/EGL/
Deglext.h621 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEVICESEXTPROC) (EGLint max_devices, EGLDeviceEXT *devi…
626 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDevicesEXT (EGLint max_devices, EGLDeviceEXT *devices, EGLint…