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

12

/xsrc/external/mit/libX11/dist/src/
H A DChProp.c41 int nelements)
52 if (nelements < 0) {
56 req->nUnits = (CARD32) nelements;
62 len = ((long)nelements + 3)>>2;
65 Data (dpy, (_Xconst char *)data, nelements);
70 len = ((long)nelements + 1)>>1;
73 len = (long)nelements << 1;
79 len = nelements;
82 len = (long)nelements << 2;
33 XChangeProperty(register Display * dpy,Window w,Atom property,Atom type,int format,int mode,_Xconst unsigned char * data,int nelements) argument
H A DTextToStr.c47 int nelements; /* return value */ local in function:XTextPropertyToStringList
67 nelements = 1; /* since null-separated */
69 if (*cp == '\0') nelements++;
75 list = Xmallocarray (nelements, sizeof (char *));
105 *count_return = nelements;
/xsrc/external/mit/libXi/dist/src/
H A DXChDProp.c46 _Xconst unsigned char *data, int nelements)
64 if (nelements < 0) {
68 req->nUnits = nelements;
74 len = ((long)nelements + 3) >> 2;
77 Data (dpy, (_Xconst char *)data, nelements);
82 len = ((long)nelements + 1) >> 1;
85 len = (long)nelements << 1;
91 len = nelements;
94 len = (long)nelements << 2;
43 XChangeDeviceProperty(Display * dpy,XDevice * dev,Atom property,Atom type,int format,int mode,_Xconst unsigned char * data,int nelements) argument
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Dglxglvnddispatchfuncs.h18 int *nelements, __GLXvendorInfo *vendor)
22 if (!nelements || !ret)
25 for (i = 0; i < *nelements; i++) {
17 AddFBConfigsMapping(Display * dpy,const GLXFBConfig * ret,int * nelements,__GLXvendorInfo * vendor) argument
H A Dg_glxglvnddispatchfuncs.c132 int *nelements)
146 ret = (*pChooseFBConfigSGIX)(dpy, screen, attrib_list, nelements);
147 if (AddFBConfigsMapping(dpy, ret, nelements, dd)) {
130 dispatch_ChooseFBConfigSGIX(Display * dpy,int screen,int * attrib_list,int * nelements) argument
/xsrc/external/mit/MesaLib/dist/src/glx/
H A Dglxglvnddispatchfuncs.h18 int *nelements, __GLXvendorInfo *vendor)
22 if (!nelements || !ret)
25 for (i = 0; i < *nelements; i++) {
17 AddFBConfigsMapping(Display * dpy,const GLXFBConfig * ret,int * nelements,__GLXvendorInfo * vendor) argument
/xsrc/external/mit/libXrandr/dist/src/
H A DXrrProperty.c171 _Xconst unsigned char *data, int nelements)
187 if (nelements < 0) {
191 req->nUnits = nelements;
197 len = ((long)nelements + 3) >> 2;
200 Data (dpy, (char *)data, nelements);
205 len = ((long)nelements + 1) >> 1;
208 len = (long)nelements << 1;
214 len = nelements;
217 len = (long)nelements << 2;
168 XRRChangeOutputProperty(Display * dpy,RROutput output,Atom property,Atom type,int format,int mode,_Xconst unsigned char * data,int nelements) argument
H A DXrrProviderProperty.c171 _Xconst unsigned char *data, int nelements)
187 if (nelements < 0) {
191 req->nUnits = nelements;
197 len = ((long)nelements + 3) >> 2;
200 Data (dpy, (char *)data, nelements);
205 len = ((long)nelements + 1) >> 1;
208 len = (long)nelements << 1;
214 len = nelements;
217 len = (long)nelements << 2;
168 XRRChangeProviderProperty(Display * dpy,RRProvider provider,Atom property,Atom type,int format,int mode,_Xconst unsigned char * data,int nelements) argument
/xsrc/external/mit/xterm/dist/
H A Dxutf8.c190 int nelements; local in function:Xutf8TextPropertyToTextList
214 nelements = 1;
217 nelements++;
220 list = TypeMallocN(char *, (unsigned) nelements);
251 *count_return = nelements;
/xsrc/external/mit/xinput/dist/src/
H A Dproperty.c313 int old_format, nelements = 0; local in function:do_set_prop_xi1
354 nelements = argc - 2;
378 data.c = calloc(nelements, sizeof(long));
380 for (i = 0; i < nelements; i++)
423 data.c, nelements);
618 int old_format, nelements = 0; local in function:do_set_prop_xi2
652 nelements = argc - 2;
676 data.c = calloc(nelements, sizeof(int32_t));
678 for (i = 0; i < nelements; i++)
721 data.c, nelements);
[all...]
/xsrc/external/mit/xprop/dist/
H A Dxprop.c1651 int nelements = 0; local in function:Set_Property
1669 nelements = strlen(value);
1676 nelements = strlen(value);
1689 nelements = textprop.nitems;
1700 nelements = 1;
1715 data8[nelements] = intvalue; break;
1717 data16[nelements] = intvalue; break;
1719 data32[nelements] = intvalue; break;
1721 nelements++;
1722 if(nelements
[all...]
/xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/
H A Dephyr_glamor_glx.c401 int event_base = 0, error_base = 0, nelements; local in function:ephyr_glamor_get_visual
407 fbconfigs = glXChooseFBConfig(dpy, DefaultScreen(dpy), attribs, &nelements);
408 if (!nelements)
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_blitter.c382 int nelements; local in function:emit_blit_texture
395 nelements = blocksize;
398 nelements = 1;
404 sx1 = sbox->x / blockwidth * nelements;
406 sx2 = DIV_ROUND_UP(sbox->x + sbox->width, blockwidth) * nelements - 1;
409 dx1 = dbox->x / blockwidth * nelements;
411 dx2 = DIV_ROUND_UP(dbox->x + dbox->width, blockwidth) * nelements - 1;
414 uint32_t width = DIV_ROUND_UP(u_minify(src->base.width0, info->src.level), blockwidth) * nelements;
/xsrc/external/mit/MesaLib.old/dist/include/GL/
H A Dglxext.h110 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
111 typedef GLXFBConfig *( *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 typedef unsigned int *( *PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
563 unsigned int *glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
598 typedef GLXVideoCaptureDeviceNV *( *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
604 GLXVideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
744 typedef GLXFBConfigSGIX *( *PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
751 GLXFBConfigSGIX *glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
[all...]
H A Dglx.h249 int *nelements );
291 typedef GLXFBConfig * (* PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
292 typedef GLXFBConfig * (* PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
/xsrc/external/mit/MesaLib/dist/include/GL/
H A Dglxext.h110 typedef GLXFBConfig *( *PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
111 typedef GLXFBConfig *( *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);
576 typedef unsigned int *( *PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
579 unsigned int *glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
614 typedef GLXVideoCaptureDeviceNV *( *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
620 GLXVideoCaptureDeviceNV *glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
760 typedef GLXFBConfigSGIX *( *PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
767 GLXFBConfigSGIX *glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
[all...]
H A Dglx.h244 int *nelements );
286 typedef GLXFBConfig * (* PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
287 typedef GLXFBConfig * (* PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
/xsrc/external/mit/libepoxy/src/
H A Dglx_generated.h489 typedef GLXFBConfig * (GLAPIENTRY *PFNGLXCHOOSEFBCONFIGPROC)(Display * dpy, int screen, const int * attrib_list, int * nelements);
490 typedef GLXFBConfigSGIX * (GLAPIENTRY *PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display * dpy, int screen, int * attrib_list, int * nelements);
520 typedef GLXVideoCaptureDeviceNV * (GLAPIENTRY *PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)(Display * dpy, int screen, int * nelements);
521 typedef unsigned int * (GLAPIENTRY *PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display * dpy, int screen, int * nelements);
538 typedef GLXFBConfig * (GLAPIENTRY *PFNGLXGETFBCONFIGSPROC)(Display * dpy, int screen, int * nelements);
632 EPOXY_PUBLIC GLXFBConfig * (EPOXY_CALLSPEC *epoxy_glXChooseFBConfig)(Display * dpy, int screen, const int * attrib_list, int * nelements);
634 EPOXY_PUBLIC GLXFBConfigSGIX * (EPOXY_CALLSPEC *epoxy_glXChooseFBConfigSGIX)(Display * dpy, int screen, int * attrib_list, int * nelements);
694 EPOXY_PUBLIC GLXVideoCaptureDeviceNV * (EPOXY_CALLSPEC *epoxy_glXEnumerateVideoCaptureDevicesNV)(Display * dpy, int screen, int * nelements);
696 EPOXY_PUBLIC unsigned int * (EPOXY_CALLSPEC *epoxy_glXEnumerateVideoDevicesNV)(Display * dpy, int screen, int * nelements);
730 EPOXY_PUBLIC GLXFBConfig * (EPOXY_CALLSPEC *epoxy_glXGetFBConfigs)(Display * dpy, int screen, int * nelements);
[all...]
H A Dglx_generated_dispatch.c4230 GEN_THUNKS_RET(GLXFBConfig *, glXChooseFBConfig, (Display * dpy, int screen, const int * attrib_list, int * nelements), (dpy, screen, attrib_list, nelements))
4231 GEN_THUNKS_RET(GLXFBConfigSGIX *, glXChooseFBConfigSGIX, (Display * dpy, int screen, int * attrib_list, int * nelements), (dpy, screen, attrib_list, nelements))
4261 GEN_THUNKS_RET(GLXVideoCaptureDeviceNV *, glXEnumerateVideoCaptureDevicesNV, (Display * dpy, int screen, int * nelements), (dpy, screen, nelements))
4262 GEN_THUNKS_RET(unsigned int *, glXEnumerateVideoDevicesNV, (Display * dpy, int screen, int * nelements), (dpy, screen, nelements))
4279 GEN_THUNKS_RET(GLXFBConfig *, glXGetFBConfigs, (Display * dpy, int screen, int * nelements), (dpy, screen, nelements))
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/glx/xlib/
H A Dglx_api.c1842 glXGetFBConfigs( Display *dpy, int screen, int *nelements ) argument
1850 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1851 if (*nelements > 0) {
1852 XMesaVisual *results = malloc(*nelements * sizeof(XMesaVisual));
1854 *nelements = 0;
1857 for (i = 0; i < *nelements; i++) {
1860 *nelements = i;
2391 int *nelements)
2394 attrib_list, nelements);
2390 glXChooseFBConfigSGIX(Display * dpy,int screen,int * attrib_list,int * nelements) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/glx/xlib/
H A Dglx_api.c1792 glXGetFBConfigs( Display *dpy, int screen, int *nelements ) argument
1800 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1801 if (*nelements > 0) {
1802 XMesaVisual *results = malloc(*nelements * sizeof(XMesaVisual));
1804 *nelements = 0;
1807 for (i = 0; i < *nelements; i++) {
1810 *nelements = i;
2338 int *nelements)
2341 attrib_list, nelements);
2337 glXChooseFBConfigSGIX(Display * dpy,int screen,int * attrib_list,int * nelements) argument
/xsrc/external/mit/libXrandr/dist/include/X11/extensions/
H A DXrandr.h329 _Xconst unsigned char *data, int nelements);
541 _Xconst unsigned char *data, int nelements);
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/
H A Dfakeglx.c1901 Fake_glXGetFBConfigs( Display *dpy, int screen, int *nelements ) argument
1909 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1910 if (*nelements > 0) {
1912 results = malloc(*nelements * sizeof(XMesaVisual));
1914 *nelements = 0;
1917 for (i = 0; i < *nelements; i++) {
2437 Fake_glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
2439 return (GLXFBConfig *) Fake_glXChooseFBConfig(dpy, screen, attrib_list, nelements);
H A Dglxapi.c502 glXGetFBConfigs(Display *dpy, int screen, int *nelements) argument
508 return t->GetFBConfigs(dpy, screen, nelements);
725 glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
731 return t->ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/
H A Dfakeglx.c1867 Fake_glXGetFBConfigs( Display *dpy, int screen, int *nelements ) argument
1875 visuals = XGetVisualInfo(dpy, visMask, &visTemplate, nelements);
1876 if (*nelements > 0) {
1878 results = malloc(*nelements * sizeof(XMesaVisual));
1880 *nelements = 0;
1883 for (i = 0; i < *nelements; i++) {
2403 Fake_glXChooseFBConfigSGIX(Display *dpy, int screen, int *attrib_list, int *nelements) argument
2405 return (GLXFBConfig *) Fake_glXChooseFBConfig(dpy, screen, attrib_list, nelements);

Completed in 46 milliseconds

12