Searched refs:nelements (Results 1 - 18 of 18) sorted by relevance

/external/libpng/
H A Dpngmem.c106 png_malloc_array_checked(png_const_structrp png_ptr, int nelements, argument
109 png_alloc_size_t req = nelements; /* known to be > 0 */
119 png_malloc_array,(png_const_structrp png_ptr, int nelements,
122 if (nelements <= 0 || element_size == 0)
125 return png_malloc_array_checked(png_ptr, nelements, element_size);
118 PNG_FUNCTION(png_voidp , png_malloc_array,(png_const_structrp png_ptr, int nelements, size_t element_size),PNG_ALLOCATED) argument
H A Dpngpriv.h916 int nelements, size_t element_size),PNG_ALLOCATED);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
H A Drealglx.h119 _real_glXGetFBConfigs( Display *dpy, int screen, int *nelements );
221 _real_glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements);
H A Dfakeglx.c1970 Fake_glXGetFBConfigs( Display *dpy, int screen, int *nelements )
1978 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1979 if (*nelements > 0) {
1981 results = (XMesaVisual *) malloc(*nelements * sizeof(XMesaVisual));
1983 *nelements = 0;
1986 for (i = 0; i < *nelements; i++) {
2523 Fake_glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
2525 return (GLXFBConfig *) Fake_glXChooseFBConfig(dpy, screen, attrib_list, nelements);
H A Dglxapi.c546 glXGetFBConfigs(Display *dpy, int screen, int *nelements) argument
552 return (t->GetFBConfigs)(dpy, screen, nelements);
772 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
778 return (t->ChooseFBConfigSGIX)(dpy, screen, attrib_list, nelements);
H A Dglxapi.h101 GLXFBConfig *(*GetFBConfigs)(Display *dpy, int screen, int *nelements);
/external/mesa3d/src/mesa/drivers/x11/
H A Drealglx.h119 _real_glXGetFBConfigs( Display *dpy, int screen, int *nelements );
221 _real_glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements);
H A Dfakeglx.c1970 Fake_glXGetFBConfigs( Display *dpy, int screen, int *nelements )
1978 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1979 if (*nelements > 0) {
1981 results = (XMesaVisual *) malloc(*nelements * sizeof(XMesaVisual));
1983 *nelements = 0;
1986 for (i = 0; i < *nelements; i++) {
2523 Fake_glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
2525 return (GLXFBConfig *) Fake_glXChooseFBConfig(dpy, screen, attrib_list, nelements);
H A Dglxapi.c546 glXGetFBConfigs(Display *dpy, int screen, int *nelements) argument
552 return (t->GetFBConfigs)(dpy, screen, nelements);
772 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
778 return (t->ChooseFBConfigSGIX)(dpy, screen, attrib_list, nelements);
H A Dglxapi.h101 GLXFBConfig *(*GetFBConfigs)(Display *dpy, int screen, int *nelements);
/external/chromium_org/third_party/mesa/src/include/GL/
H A Dglxext.h528 extern GLXFBConfig * glXGetFBConfigs (Display *dpy, int screen, int *nelements);
529 extern GLXFBConfig * glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements);
547 typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
548 typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
683 extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
690 typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
909 extern unsigned int * glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
912 typedef unsigned int * ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
956 extern GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
962 typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
[all...]
H A Dglx.h262 int *nelements );
304 typedef GLXFBConfig * (* PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
305 typedef GLXFBConfig * (* PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
/external/mesa3d/include/GL/
H A Dglxext.h528 extern GLXFBConfig * glXGetFBConfigs (Display *dpy, int screen, int *nelements);
529 extern GLXFBConfig * glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements);
547 typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
548 typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
683 extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
690 typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
909 extern unsigned int * glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
912 typedef unsigned int * ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
956 extern GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
962 typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
[all...]
H A Dglx.h262 int *nelements );
304 typedef GLXFBConfig * (* PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
305 typedef GLXFBConfig * (* PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
H A Dglx_api.c1772 glXGetFBConfigs( Display *dpy, int screen, int *nelements )
1780 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1781 if (*nelements > 0) {
1783 results = (XMesaVisual *) malloc(*nelements * sizeof(XMesaVisual));
1785 *nelements = 0;
1788 for (i = 0; i < *nelements; i++) {
1791 *nelements = i;
2321 int *nelements)
2324 attrib_list, nelements);
2320 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
H A Dglx_api.c1772 glXGetFBConfigs( Display *dpy, int screen, int *nelements )
1780 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1781 if (*nelements > 0) {
1783 results = (XMesaVisual *) malloc(*nelements * sizeof(XMesaVisual));
1785 *nelements = 0;
1788 for (i = 0; i < *nelements; i++) {
1791 *nelements = i;
2321 int *nelements)
2324 attrib_list, nelements);
2320 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
/external/chromium_org/third_party/mesa/src/src/glx/
H A Dglxcmds.c1663 glXGetFBConfigs(Display * dpy, int screen, int *nelements) argument
1671 *nelements = 0;
1687 *nelements = num_configs;
1931 int *nelements), (dpy, screen, attrib_list, nelements),
/external/mesa3d/src/glx/
H A Dglxcmds.c1663 glXGetFBConfigs(Display * dpy, int screen, int *nelements) argument
1671 *nelements = 0;
1687 *nelements = num_configs;
1931 int *nelements), (dpy, screen, attrib_list, nelements),

Completed in 321 milliseconds