/hardware/libhardware/tests/vehicle/ |
vehicle_tests.cpp | 34 int num_configs = -1; local 35 config = vehicle_device()->list_properties(vehicle_device(), &num_configs); 36 ASSERT_TRUE(num_configs > -1) << "list_properties() call failed."; 37 ASSERT_TRUE(num_configs > 0) << "list_properties() returned zero items."; 38 std::cout << "Number of properties reported: " << num_configs << "\n"; local 39 for (int i = 0; i < num_configs; i++) {
|
vehicle-hal-tool.c | 71 int num_configs = -1; local 72 const vehicle_prop_config_t *configs = device->list_properties(device, &num_configs); 73 if (num_configs < 0) { 74 printf("List configs error. %d", num_configs); 80 for (i = 0; i < num_configs; i++) {
|
/external/autotest/client/deps/glbench/src/ |
egl_stuff.cc | 63 EGLint num_configs = -1; local 64 eglGetConfigs(display_, NULL, 0, &num_configs); 67 eglChooseConfig(display_, attribs, &config_, 1, &num_configs);
|
/development/ndk/sources/android/ndk_helper/ |
GLContext.cpp | 113 EGLint num_configs; local 114 eglChooseConfig( display_, attribs, &config_, 1, &num_configs ); 116 if( !num_configs ) 123 eglChooseConfig( display_, attribs, &config_, 1, &num_configs ); 127 if( !num_configs )
|
/external/mesa3d/src/gallium/state_trackers/egl/null/ |
native_null.c | 46 int num_configs; member in struct:null_display 56 null_display_get_configs(struct native_display *ndpy, int *num_configs) 62 configs = MALLOC(sizeof(*configs) * null->num_configs); 64 for (i = 0; i < null->num_configs; i++) 66 if (num_configs) 67 *num_configs = null->num_configs; 111 struct native_config *nconf = &null->configs[null->num_configs]; 115 null->num_configs++;
|
/device/google/marlin/vr/ |
vr.c | 85 int num_configs = (*p_thermal_client_config_query)("ss", &instances); local 86 if (num_configs <= 0) { 89 for (int i = 0; i < num_configs; i++) { 92 if (num_configs > 0) { 93 (*p_thermal_client_config_cleanup)(instances,num_configs); 96 num_configs = (*p_thermal_client_config_query)("monitor", &instances); 97 if (num_configs <= 0) { 100 for (int i = 0; i < num_configs; i++) { 103 if (num_configs > 0) { 104 (*p_thermal_client_config_cleanup)(instances,num_configs); [all...] |
/external/mesa3d/src/gallium/state_trackers/egl/wayland/ |
native_wayland.h | 55 int num_configs; member in struct:wayland_display
|
/external/mesa3d/src/gallium/state_trackers/egl/common/ |
egl_g3d.c | 426 int num_formats, num_configs, i, j; local 429 native_configs = gdpy->native->get_configs(gdpy->native, &num_configs); 430 if (!num_configs) { 446 for (i = 0; i < num_configs; i++) {
|
/external/mesa3d/src/gallium/state_trackers/egl/gdi/ |
native_gdi.c | 47 int num_configs; member in struct:gdi_display 294 gdi_display_get_configs(struct native_display *ndpy, int *num_configs) 322 gdpy->num_configs = count; 325 configs = MALLOC(gdpy->num_configs * sizeof(*configs)); 327 for (i = 0; i < gdpy->num_configs; i++) 329 if (num_configs) 330 *num_configs = gdpy->num_configs;
|
/external/mesa3d/src/gallium/state_trackers/egl/x11/ |
native_ximage.c | 52 int num_configs; member in struct:ximage_display 335 for (i = 0; i < xdpy->num_configs; i++) { 375 ximage_display_get_configs(struct native_display *ndpy, int *num_configs) 424 xdpy->num_configs = count; 427 configs = MALLOC(xdpy->num_configs * sizeof(*configs)); 429 for (i = 0; i < xdpy->num_configs; i++) 431 if (num_configs) 432 *num_configs = xdpy->num_configs; 465 for (i = 0; i < xdpy->num_configs; i++) [all...] |
native_dri2.c | 61 int num_configs; member in struct:dri2_display 511 for (i = 0; i < dri2dpy->num_configs; i++) { 645 dri2_display_get_configs(struct native_display *ndpy, int *num_configs) 682 dri2dpy->num_configs = count; 685 configs = MALLOC(dri2dpy->num_configs * sizeof(*configs)); 687 for (i = 0; i < dri2dpy->num_configs; i++) 689 if (num_configs) 690 *num_configs = dri2dpy->num_configs;
|
/frameworks/base/libs/hwui/renderthread/ |
EglManager.cpp | 164 EGLint num_configs = 1; local 165 if (!eglChooseConfig(mEglDisplay, attribs, &mEglConfig, num_configs, &num_configs) 166 || num_configs != 1) {
|
/external/autotest/client/site_tests/graphics_GLAPICheck/src/ |
gles_APICheck.cc | 202 EGLint num_configs; local 205 &egl_config, 1, &num_configs); 206 if (rt_code == EGL_FALSE || num_configs != 1) {
|
/external/mesa3d/src/gallium/state_trackers/egl/android/ |
native_android.cpp | 64 int num_configs; member in struct:android_display 584 aconf = &adpy->configs[adpy->num_configs++]; 687 android_display_get_configs(struct native_display *ndpy, int *num_configs) 694 MALLOC(adpy->num_configs * sizeof(*configs)); 696 for (i = 0; i < adpy->num_configs; i++) 698 if (num_configs) 699 *num_configs = adpy->num_configs;
|
/external/drm_hwcomposer/ |
glworker.cpp | 453 EGLint num_configs; local 502 &num_configs)) {
|
hwcomposer.cpp | 695 size_t *num_configs) { 696 if (!*num_configs) 717 if (idx == *num_configs) 722 *num_configs = hd->config_ids.size(); 723 return *num_configs == 0 ? -1 : 0; 848 size_t num_configs = 1; local 850 &num_configs); 851 if (ret || !num_configs)
|
/external/mesa3d/src/egl/drivers/dri2/ |
egl_dri2.c | 124 EGLint num_configs = 0; local 225 num_configs = _eglFilterArray(disp->Configs, (void **) &matching_config, 1, 228 if (num_configs == 1) { 239 else if (num_configs == 0) { [all...] |
/external/mesa3d/src/egl/drivers/glx/ |
egl_glx.c | 470 EGLint num_configs = 0, i; local 475 GLX_drv->glXGetFBConfigs(GLX_dpy->dpy, screen, &num_configs); 484 &num_configs); 487 if (!num_configs) 490 for (i = 0; i < num_configs; i++) { [all...] |
/external/mesa3d/src/glx/ |
glxcmds.c | 1156 * \param num_configs Number of elements in the \c configs array. 1668 unsigned num_configs = 0; local [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/ |
dxgi_native.cpp | 249 unsigned num_configs; member in struct:GalliumDXGIAdapter 285 configs = display->get_configs(display, (int*)&num_configs); 286 for(unsigned i = 0; i < num_configs; ++i) [all...] |
/frameworks/av/media/libeffects/preprocessing/ |
PreProcessing.cpp | 1664 size_t num_configs = *((uint32_t *)pCmdData + 1); local [all...] |