Searched refs:nitems (Results 1 - 25 of 115) sorted by relevance

12345

/xsrc/external/mit/libX11/dist/src/
H A DGetRGBCMap.c51 unsigned long nitems; /* number of 32bits read */ local in function:XGetRGBColormaps
60 &nitems, &leftover, (unsigned char **)&data)
66 (nitems < OldNumPropStandardColormapElements)) {
75 if (nitems < NumPropStandardColormapElements) {
78 if (nitems < (NumPropStandardColormapElements - 1)) {
91 ncmaps = (nitems / NumPropStandardColormapElements);
93 nitems) {
H A DGetTxtProp.c68 unsigned long nitems = 0L, leftover = 0L; local in function:XGetTextProperty
73 &nitems, &leftover, &prop) == Success &&
79 tp->nitems = nitems;
86 tp->nitems = 0;
H A DGetWMCMapW.c66 unsigned long leftover, nitems; local in function:XGetWMColormapWindows
75 &nitems, &leftover, (unsigned char **) &data)
85 *countReturn = (int) nitems;
H A DGetWMProto.c66 unsigned long leftover, nitems; local in function:XGetWMProtocols
75 &nitems, &leftover, (unsigned char **) &data)
85 *countReturn = (int) nitems;
H A DGetHints.c69 unsigned long nitems; local in function:XGetSizeHints
73 &nitems, &leftover, (unsigned char **)&prop)
77 (nitems < OldNumPropSizeElements) || (actual_format != 32)) {
115 unsigned long nitems; local in function:XGetWMHints
119 &nitems, &leftover, (unsigned char **)&prop)
126 (nitems < (NumPropWMHintsElements - 1)) || (actual_format != 32)) {
140 if (nitems >= NumPropWMHintsElements)
185 unsigned long nitems; local in function:XGetIconSizes
190 &nitems, &leftover, (unsigned char **)&prop)
196 (nitems < NumPropIconSizeElement
276 unsigned long nitems; local in function:XGetTransientForHint
308 unsigned long nitems; local in function:XGetClassHint
[all...]
H A DScrResStr.c38 unsigned long nitems; local in function:XScreenResourceString
47 &nitems, &leftover,
H A DFetchName.c43 unsigned long nitems; local in function:XFetchName
48 &actual_format, &nitems, &leftover, &data) != Success) {
73 unsigned long nitems; local in function:XGetIconName
79 &actual_format, &nitems, &leftover, &data) != Success) {
H A DStBytes.c62 unsigned long nitems; local in function:XFetchBuffer
70 &actual_type, &actual_format, &nitems, &leftover, &data) != Success) {
74 *nbytes = nitems;
H A DGetNrmHint.c74 unsigned long nitems; local in function:XGetWMSizeHints
79 &actual_format, &nitems, &leftover,
85 (nitems < OldNumPropSizeElements) || (actual_format != 32)) {
108 if (nitems >= NumPropSizeElements) {
H A DStrToText.c59 proto.nitems = nbytes - 1; /* subtract one for trailing <NUL> */
61 proto.nitems = 0;
H A DTextToStr.c51 int datalen = (int) tp->nitems; /* for convenience */
87 memcpy (start, (char *) tp->value, tp->nitems);
H A DGetProp.c44 unsigned long *nitems, /* RETURN # of 8-, 16-, or 32-bit entities */
56 *nitems = *bytesafter = 0L;
140 *nitems = reply.nItems;
34 XGetWindowProperty(register Display * dpy,Window w,Atom property,long offset,long length,Bool delete,Atom req_type,Atom * actual_type,int * actual_format,unsigned long * nitems,unsigned long * bytesafter,unsigned char ** prop) argument
/xsrc/external/mit/xcmsdb/dist/
H A Dxcmsdb.c353 unsigned long nitems, nbytes_return;
373 if (_XcmsGetProperty(dpy, root, MatricesAtom, &format, &nitems,
377 else if (nitems != 18) {
379 XDCCC_MATRIX_ATOM_NAME, nitems);
402 (long) _XcmsGetElement(format, &pChar, &nitems)
412 (long) _XcmsGetElement(format, &pChar, &nitems)
425 if (_XcmsGetProperty(dpy, root, CorrectAtom, &format, &nitems,
429 else if (nitems <= 0) {
431 XDCCC_CORRECT_ATOM_NAME, nitems);
445 while (nitems) {
349 unsigned long nitems, nbytes_return; local in function:QuerySCCDataRGB
578 unsigned long nitems, nbytes_return; local in function:QuerySCCDataGray
[all...]
/xsrc/external/mit/libX11/dist/src/xlibi18n/
H A DlcTxtPr.c85 int from_left, to_left, buf_len, nitems, unconv_num = 0, ret, i; local in function:_XTextListToTextProperty
113 nitems = 0;
122 nitems += from_left;
136 nitems = 0;
193 nitems = (int) (to - buf);
195 if (nitems <= 0)
196 nitems = 1;
197 value = Xmalloc(nitems);
202 if (nitems == 1)
205 memcpy(value, buf, (size_t) nitems);
[all...]
H A DlcPrTxt.c39 int nitems)
48 *wstr_list = Xmallocarray(nitems, sizeof(wchar_t));
62 *str_list = Xmalloc(nitems);
125 int unconv_num, nitems = text_prop->nitems; local in function:_XTextPropertyToTextList
131 if (nitems <= 0) {
153 buf_len = (text_prop->nitems + 1) * sizeof(wchar_t);
156 buf_len = text_prop->nitems * 6 + 1;
158 buf_len = text_prop->nitems * XLC_PUBLIC(lcd, mb_cur_max) + 1;
182 if (nitems
36 alloc_list(Bool is_wide_char,int count,int nitems) argument
[all...]
/xsrc/external/mit/libXmu/dist/src/
H A DClientWin.c48 unsigned long nitems, after; local in function:XmuClientWindow
56 &type, &format, &nitems, &after, &data);
76 unsigned long nitems, after; local in function:TryChildren
85 AnyPropertyType, &type, &format, &nitems,
/xsrc/external/mit/xorg-server.old/dist/glx/
H A Dsingle2swap.c121 GLint nitems=0, retBytes=0, retval, newModeCheck; local in function:__glXDispSwap_RenderMode
162 nitems = cx->feedbackBufSize;
164 nitems = retval;
166 retBytes = nitems * __GLX_SIZE_FLOAT32;
168 __GLX_SWAP_FLOAT_ARRAY((GLbyte *)retBuffer, nitems);
174 nitems = cx->selectBufSize;
185 nitems = 0;
194 nitems = bp - cx->selectBuf;
196 retBytes = nitems * __GLX_SIZE_CARD32;
198 __GLX_SWAP_INT_ARRAY((GLbyte *)retBuffer, nitems);
[all...]
H A Dsingle2.c118 GLint nitems=0, retBytes=0, retval, newModeCheck; local in function:__glXDisp_RenderMode
155 nitems = cx->feedbackBufSize;
157 nitems = retval;
159 retBytes = nitems * __GLX_SIZE_FLOAT32;
166 nitems = cx->selectBufSize;
177 nitems = 0;
186 nitems = bp - cx->selectBuf;
188 retBytes = nitems * __GLX_SIZE_CARD32;
199 reply.length = nitems;
203 reply.size = nitems;
[all...]
/xsrc/external/mit/xorg-server.old/dist/hw/dmx/
H A Ddmxprop.c138 || !tproot.nitems) return 0;
147 if (XGetTextProperty(dpy, win, &tp, atom) && tp.nitems) {
161 list[count-1] = malloc(tp.nitems + 2);
162 strncpy(list[count-1], (char *)tp.value, tp.nitems + 1);
195 || !tproot.nitems) return 0;
204 if (XGetTextProperty(dpy, win, &tp, atom) && tp.nitems) {
266 tp0.nitems = 0;
267 tp1.nitems = 0;
274 || !tp0.nitems) {
289 || !tp1.nitems) {
[all...]
/xsrc/external/mit/xorg-server/dist/glx/
H A Dsingle2swap.c118 GLint nitems = 0, retBytes = 0, retval, newModeCheck; local in function:__glXDispSwap_RenderMode
160 nitems = cx->feedbackBufSize;
163 nitems = retval;
165 retBytes = nitems * __GLX_SIZE_FLOAT32;
167 __GLX_SWAP_FLOAT_ARRAY((GLbyte *) retBuffer, nitems);
173 nitems = cx->selectBufSize;
185 nitems = 0;
194 nitems = bp - cx->selectBuf;
196 retBytes = nitems * __GLX_SIZE_CARD32;
198 __GLX_SWAP_INT_ARRAY((GLbyte *) retBuffer, nitems);
[all...]
H A Dsingle2.c113 GLint nitems = 0, retBytes = 0, retval, newModeCheck; local in function:__glXDisp_RenderMode
150 nitems = cx->feedbackBufSize;
153 nitems = retval;
155 retBytes = nitems * __GLX_SIZE_FLOAT32;
162 nitems = cx->selectBufSize;
174 nitems = 0;
183 nitems = bp - cx->selectBuf;
185 retBytes = nitems * __GLX_SIZE_CARD32;
199 .length = nitems,
201 .size = nitems,
[all...]
/xsrc/external/mit/ctwm/dist/
H A Dmwmhints.c30 unsigned long nitems; local in function:GetMWMHints
50 &nitems, /* unsigned long *nitems_return, */
57 nitems >= 3) {
/xsrc/external/mit/xorg-server/dist/hw/xquartz/
H A DX11Application.h52 X11ApplicationSetWindowMenu(int nitems, const char **items,
/xsrc/external/mit/libXaw/dist/include/X11/Xaw/
H A DList.h156 * nitems - number of items in the list
164 * If nitems of longest are <= 0 then they will be calculated
165 * If nitems is <= 0 then the list needs to be NULL terminated
171 int nitems,
/xsrc/external/mit/libX11/dist/modules/im/ximcp/
H A DimTrX.c338 unsigned long nitems; local in function:_XimXGetReadData
370 &type_ret, &format_ret, &nitems, &bytes_after_ret, &prop_ret);
371 if (return_code != Success || format_ret == 0 || nitems == 0) {
376 if (buf_len >= (int)nitems) {
377 (void)memcpy(buf, prop_ret, (int)nitems);
378 *ret_len = (int)nitems;
385 &type_ret, &format_ret, &nitems,
390 (nitems - length));
398 len = nitems - buf_len;
406 &type_ret, &format_ret, &nitems,
[all...]

Completed in 13 milliseconds

12345