Home
last modified time | relevance | path

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

/external/libpng/
Dpngmem.c109 png_malloc_array_checked(png_const_structrp png_ptr, int nelements, in png_malloc_array_checked() argument
112 png_alloc_size_t req = (png_alloc_size_t)nelements; /* known to be > 0 */ in png_malloc_array_checked()
122 png_malloc_array,(png_const_structrp png_ptr, int nelements,
125 if (nelements <= 0 || element_size == 0)
128 return png_malloc_array_checked(png_ptr, nelements, element_size);
Dpngpriv.h1007 int nelements, size_t element_size),PNG_ALLOCATED);
/external/pdfium/third_party/libpng16/
Dpngmem.c112 png_malloc_array_checked(png_const_structrp png_ptr, int nelements, in png_malloc_array_checked() argument
115 png_alloc_size_t req = nelements; /* known to be > 0 */ in png_malloc_array_checked()
125 png_malloc_array,(png_const_structrp png_ptr, int nelements,
128 if (nelements <= 0 || element_size == 0)
131 return png_malloc_array_checked(png_ptr, nelements, element_size);
Dpngpriv.h933 int nelements, size_t element_size),PNG_ALLOCATED);
/external/mesa3d/src/glx/
Dglxglvnddispatchfuncs.h18 int *nelements, __GLXvendorInfo *vendor) in AddFBConfigsMapping() argument
22 if (!nelements || !ret) in AddFBConfigsMapping()
25 for (i = 0; i < *nelements; i++) { in AddFBConfigsMapping()
Dg_glxglvnddispatchfuncs.c132 int *nelements) in dispatch_ChooseFBConfigSGIX() argument
146 ret = (*pChooseFBConfigSGIX)(dpy, screen, attrib_list, nelements); in dispatch_ChooseFBConfigSGIX()
147 if (AddFBConfigsMapping(dpy, ret, nelements, dd)) { in dispatch_ChooseFBConfigSGIX()
Dglxcmds.c1654 glXGetFBConfigs(Display * dpy, int screen, int *nelements) in glXGetFBConfigs() argument
1662 *nelements = 0; in glXGetFBConfigs()
1678 *nelements = num_configs; in glXGetFBConfigs()
1935 int *nelements), (dpy, screen, attrib_list, nelements),
/external/autotest/client/deps/glbench/src/
Dglx_stuff.cc78 int nelements; in GetXVisual() local
80 glXChooseFBConfig(g_xlib_display, screen, attrib, &nelements); in GetXVisual()
81 CHECK(nelements >= 1); in GetXVisual()
/external/mesa3d/include/GL/
Dglxext.h110 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
111 …g *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
128 GLXFBConfig *glXGetFBConfigs (Display *dpy, int screen, int *nelements);
129 GLXFBConfig *glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements);
546 …def unsigned int *( *PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
549 unsigned int *glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
584 …eDeviceNV *( *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
590 …VideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
730 …GIX *( *PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
737 GLXFBConfigSGIX *glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
Dglx.h249 int *nelements );
291 typedef GLXFBConfig * (* PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
292 … * (* PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
/external/swiftshader/include/GL/
Dglxext.h110 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
111 …g *( *PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
128 GLXFBConfig *glXGetFBConfigs (Display *dpy, int screen, int *nelements);
129 GLXFBConfig *glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements);
560 …def unsigned int *( *PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
563 unsigned int *glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
598 …eDeviceNV *( *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
604 …VideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
744 …GIX *( *PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
751 GLXFBConfigSGIX *glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
/external/mesa3d/src/gallium/state_trackers/glx/xlib/
Dglx_api.c1839 glXGetFBConfigs( Display *dpy, int screen, int *nelements ) in glXGetFBConfigs() argument
1847 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements); in glXGetFBConfigs()
1848 if (*nelements > 0) { in glXGetFBConfigs()
1849 XMesaVisual *results = malloc(*nelements * sizeof(XMesaVisual)); in glXGetFBConfigs()
1851 *nelements = 0; in glXGetFBConfigs()
1854 for (i = 0; i < *nelements; i++) { in glXGetFBConfigs()
1857 *nelements = i; in glXGetFBConfigs()
2388 int *nelements) in glXChooseFBConfigSGIX() argument
2391 attrib_list, nelements); in glXChooseFBConfigSGIX()
/external/mesa3d/src/mesa/drivers/x11/
Dfakeglx.c1900 Fake_glXGetFBConfigs( Display *dpy, int screen, int *nelements ) in Fake_glXGetFBConfigs() argument
1908 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements); in Fake_glXGetFBConfigs()
1909 if (*nelements > 0) { in Fake_glXGetFBConfigs()
1911 results = malloc(*nelements * sizeof(XMesaVisual)); in Fake_glXGetFBConfigs()
1913 *nelements = 0; in Fake_glXGetFBConfigs()
1916 for (i = 0; i < *nelements; i++) { in Fake_glXGetFBConfigs()
2436 Fake_glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) in Fake_glXChooseFBConfigSGIX() argument
2438 return (GLXFBConfig *) Fake_glXChooseFBConfig(dpy, screen, attrib_list, nelements); in Fake_glXChooseFBConfigSGIX()
Dglxapi.c502 glXGetFBConfigs(Display *dpy, int screen, int *nelements) in glXGetFBConfigs() argument
508 return t->GetFBConfigs(dpy, screen, nelements); in glXGetFBConfigs()
725 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) in glXChooseFBConfigSGIX() argument
731 return t->ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements); in glXChooseFBConfigSGIX()
Dglxapi.h100 GLXFBConfig *(*GetFBConfigs)(Display *dpy, int screen, int *nelements);
/external/python/cpython3/Modules/
Dreadline.c267 int nelements; in append_history_file() local
271 if (!PyArg_ParseTuple(args, "i|O:append_history_file", &nelements, &filename_obj)) in append_history_file()
281 errno = err = append_history(nelements, filename); in append_history_file()
/external/eigen/test/
Dsparse_basic.cpp624 double nelements = density * rows*cols; in big_sparse_triplet() local
625 VERIFY(nelements>=0 && nelements < NumTraits<StorageIndex>::highest()); in big_sparse_triplet()
626 Index ntriplets = Index(nelements); in big_sparse_triplet()
/external/python/cpython3/Doc/library/
Dreadline.rst111 .. function:: append_history_file(nelements[, filename])
113 Append the last *nelements* items of history to a file. The default filename is