| /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/ |
| glut_cindex.c | 15 glutSetColor(int ndx, GLfloat red, GLfloat green, GLfloat blue) 28 if (ndx == __glutCurrentWindow->overlay->transparentPixel) { 31 ndx); 41 if (ndx >= 256 || /* always assume 256 colors on Win32 */ 43 if (ndx >= vis->visual->map_entries || 45 ndx < 0) { 46 __glutWarning("glutSetColor: index %d out of range", ndx); 55 if (i == ndx) { 108 color.pixel = ndx; 110 cmap->cells[ndx].component[GLUT_RED] = red [all...] |
| glut_shapes.c | 423 drawtriangle(int i, GLfloat data[][3], int ndx[][3], 428 x0 = data[ndx[i][0]]; 429 x1 = data[ndx[i][1]]; 430 x2 = data[ndx[i][2]];
|
| /xsrc/external/mit/xorg-server.old/dist/xkb/ |
| maprules.c | 234 get_index(char *str, int *ndx) 240 *ndx = 0; 246 *ndx = -1; 250 *ndx = -1; 255 *ndx = atoi(ndx_buf); 265 int len, ndx; local 284 char *end = get_index(tok+len, &ndx); 286 *end != '\0' || ndx == -1) 288 if (ndx < 1 || ndx > XkbNumKbdGroups) 737 int len, ndx; local [all...] |
| xkbPrKeyEv.c | 53 unsigned ndx; local 89 ndx= (behavior.data&(~XkbKB_RGAllowNone)); 90 if ( ndx<xkbi->nRadioGroups ) { 96 rg = &xkbi->radioGroups[ndx]; 115 else ErrorF("[xkb] InternalError! Illegal radio group %d\n",ndx);
|
| xkbtext.c | 105 XkbVModIndexText(XkbDescPtr xkb,unsigned ndx,unsigned format) 118 if (ndx>=XkbNumVirtualMods) 120 else if (vmodNames&&(vmodNames[ndx]!=None)) 121 tmp= NameForAtom(vmodNames[ndx]); 123 sprintf(numBuf,"%d",ndx); 224 XkbModIndexText(unsigned ndx,unsigned format) 230 if (ndx<XkbNumModifiers) 231 sprintf(buf,"%sMapIndex",modNames[ndx]); 232 else if (ndx==XkbNoModifier) 234 else sprintf(buf,"0x%02x",ndx); 1192 int ndx,kc; local [all...] |
| xkbSwap.c | 80 register unsigned bit,ndx,maskLeft,dataLeft,size; local 85 for (ndx=0,bit=1; (maskLeft!=0); ndx++, bit<<=1) { 86 if (((bit&maskLeft)==0)||(ndx==XkbMapNotify)) 91 switch (ndx) {
|
| /xsrc/external/mit/xorg-server/dist/xkb/ |
| maprules.c | 232 get_index(char *str, int *ndx) 238 *ndx = 0; 244 *ndx = -1; 248 *ndx = -1; 252 *ndx = atoi(ndx_buf); 262 int len, ndx; local 280 char *end = get_index(tok + len, &ndx); 283 *end != '\0' || ndx == -1) 285 if (ndx < 1 || ndx > XkbNumKbdGroups) 760 int len, ndx; local [all...] |
| xkbPrKeyEv.c | 53 unsigned ndx; local 90 ndx = (behavior.data & (~XkbKB_RGAllowNone)); 91 if (ndx < xkbi->nRadioGroups) { 97 rg = &xkbi->radioGroups[ndx]; 118 ErrorF("[xkb] InternalError! Illegal radio group %d\n", ndx);
|
| xkbtext.c | 117 XkbVModIndexText(XkbDescPtr xkb, unsigned ndx, unsigned format) 131 if (ndx >= XkbNumVirtualMods) 133 else if (vmodNames && (vmodNames[ndx] != None)) 134 tmp = NameForAtom(vmodNames[ndx]); 136 snprintf(numBuf, sizeof(numBuf), "%d", ndx); 245 XkbModIndexText(unsigned ndx, unsigned format) 250 if (ndx < XkbNumModifiers) 251 snprintf(buf, sizeof(buf), "%sMapIndex", modNames[ndx]); 252 else if (ndx == XkbNoModifier) 255 snprintf(buf, sizeof(buf), "0x%02x", ndx); 1305 int ndx, kc; local [all...] |
| xkbSwap.c | 76 register unsigned bit, ndx, maskLeft, dataLeft, size; local 81 for (ndx = 0, bit = 1; (maskLeft != 0); ndx++, bit <<= 1) { 82 if (((bit & maskLeft) == 0) || (ndx == XkbMapNotify)) 87 switch (ndx) {
|
| /xsrc/external/mit/xkbcomp/dist/ |
| keycodes.c | 62 int ndx; member in struct:_IndicatorNameInfo 98 ii->ndx = 0; 132 FindIndicatorByIndex(KeyNamesInfo * info, int ndx) 137 if (old->ndx == ndx) 171 if (old->ndx == new->ndx) 190 ACTION("Ignoring %d, using %d\n", old->ndx, new->ndx); 192 ACTION("Using %d, ignoring %d\n", old->ndx, new->ndx) [all...] |
| symbols.c | 928 unsigned ndx, nSyms; local 930 if (!GetGroupIndex(key, arrayNdx, SYMBOLS, &ndx)) 934 key->symsDefined |= (1U << ndx); 941 ACTION("Ignoring symbols for group %d of %s\n", ndx, 945 if (key->syms[ndx] != NULL) 948 longText(key->name, XkbMessage), ndx); 952 if (((key->numLevels[ndx] < nSyms) || (key->syms[ndx] == NULL)) && 953 (!ResizeKeyGroup(key, ndx, nSyms, False))) 955 WSGO("Could not resize group %d of key %s\n", ndx, 987 unsigned ndx, nActs; local 1126 ExprResult ndx; local [all...] |
| geometry.c | 2126 ExprDef *ndx; local 2130 if (ExprResolveLhs(stmt->name, &elem, &field, &ndx) == 0) 2133 return SetShapeField(NULL, field.str, ndx, stmt->value, info); 2136 field.str, ndx, stmt->value, info); 2138 return SetRowField(&info->dfltSection.dfltRow, field.str, ndx, 2142 return SetSectionField(&info->dfltSection, field.str, ndx, 2147 if (ndx != NULL) 2159 return SetDoodadField(di, field.str, ndx, stmt->value, NULL, info); 2167 return SetDoodadField(dflt, field.str, ndx, stmt->value, NULL, info); 2175 return SetDoodadField(dflt, field.str, ndx, stmt->value, NULL, info) 2497 ExprDef *ndx; local 2589 ExprDef *ndx; local 2651 ExprDef *ndx; local 2715 ExprDef *ndx; local [all...] |
| vmod.c | 223 unsigned ndx = val_rtrn->uval; local 224 val_rtrn->uval = (1U << (XkbNumModifiers + ndx));
|
| action.c | 1031 unsigned ndx; local 1038 ndx = rtrn.uval; 1039 if (ndx > 5) 1042 ACTION("Attempt to use data[%d] ignored\n", ndx); 1053 act->message[ndx] = rtrn.uval; 1245 unsigned ndx; local 1252 ndx = rtrn.uval; 1253 if (ndx > 6) 1256 ACTION("Attempt to use data[%d] ignored\n", ndx); 1267 action->data[ndx] = rtrn.uval [all...] |
| compat.c | 613 ExprDef *ndx; local 615 if (ExprResolveLhs(stmt->name, &elem, &field, &ndx) == 0) 618 return SetInterpField(&info->dflt, xkb, field.str, ndx, stmt->value, 622 return SetIndicatorMapField(&info->ledDflt, xkb, field.str, ndx, 625 return SetActionField(xkb, elem.str, field.str, ndx, stmt->value,
|
| parseutils.c | 383 IndicatorNameCreate(int ndx, ExprDef * name, Bool virtual) 394 .ndx = ndx,
|
| /xsrc/external/mit/libxkbfile/dist/src/ |
| maprules.c | 260 get_index(char *str, int *ndx) 267 *ndx = 0; 273 *ndx = -1; 277 *ndx = -1; 282 *ndx = atoi(ndx_buf); 292 int len, ndx; local 315 char *end = get_index(tok + len, &ndx); 318 *end != '\0' || ndx == -1) 320 if (ndx < 1 || ndx > XkbNumKbdGroups) 810 int len, ndx; local [all...] |
| xkbtext.c | 120 XkbVModIndexText(Display *dpy, XkbDescPtr xkb, unsigned ndx, unsigned format) 131 if (ndx >= XkbNumVirtualMods) 133 else if (vmodNames && (vmodNames[ndx] != None)) 134 tmp = XkbAtomGetString(dpy, vmodNames[ndx]); 137 snprintf(tmp, 20, "%d", ndx); 249 XkbModIndexText(unsigned ndx, unsigned format) 254 if (ndx < XkbNumModifiers) 255 snprintf(buf, sizeof(buf), "%sMapIndex", modNames[ndx]); 256 else if (ndx == XkbNoModifier) 259 snprintf(buf, sizeof(buf), "0x%02x", ndx); 1485 int ndx, kc; local [all...] |
| /xsrc/external/mit/libXt/dist/src/ |
| TMaction.c | 252 register Cardinal ndx; local 255 for (ndx = *ndxP; ndx < stateTree->numQuarks; ndx++) { 256 if (procs[ndx] == NULL) { 258 XrmQuark q = stateTree->quarkTbl[ndx]; 262 procs[ndx] = action->proc; 266 *ndxP = ndx; 319 Cardinal ndx = 0; local 332 &ndx); [all...] |
| /xsrc/external/mit/bdftopcf/dist/ |
| bdfread.c | 256 int i, ndx, nchars, nignored; local 279 ndx = 0; 326 for (ndx = 0; (ndx < nchars) && (line) && (bdfIsPrefix(line, "STARTCHAR"));) { 344 bitmapExtra->glyphNames[ndx] = bdfForceMakeAtom(charName, NULL); 405 bitmapExtra->sWidths[ndx] = wx; 483 ndx++; 492 if (ndx + nignored != nchars) { 493 bdfError("%d too few characters\n", nchars - (ndx + nignored)); 496 nchars = ndx; [all...] |
| /xsrc/external/mit/libXfont/dist/src/bitmap/ |
| bdfread.c | 265 ndx, local 289 ndx = 0; 336 for (ndx = 0; (ndx < nchars) && (line) && (bdfIsPrefix(line, "STARTCHAR"));) { 355 bitmapExtra->glyphNames[ndx] = bdfForceMakeAtom(charName, NULL); 414 bitmapExtra->sWidths[ndx] = wx; 488 ndx++; 496 if (ndx + nignored != nchars) { 497 bdfError("%d too few characters\n", nchars - (ndx + nignored)); 500 nchars = ndx; [all...] |
| /xsrc/external/mit/libXfont2/dist/src/bitmap/ |
| bdfread.c | 267 ndx, local 291 ndx = 0; 338 for (ndx = 0; (ndx < nchars) && (line) && (bdfIsPrefix(line, "STARTCHAR"));) { 357 bitmapExtra->glyphNames[ndx] = bdfForceMakeAtom(charName, NULL); 416 bitmapExtra->sWidths[ndx] = wx; 490 ndx++; 498 if (ndx + nignored != nchars) { 499 bdfError("%d too few characters\n", nchars - (ndx + nignored)); 502 nchars = ndx; [all...] |
| /xsrc/external/mit/MesaGLUT/dist/src/glut/beos/ |
| glut_shapes.c | 423 drawtriangle(int i, GLfloat data[][3], int ndx[][3], 428 x0 = data[ndx[i][0]]; 429 x1 = data[ndx[i][1]]; 430 x2 = data[ndx[i][2]];
|
| /xsrc/external/mit/setxkbmap/dist/ |
| setxkbmap.c | 347 int ndx; local 350 ndx = *arg; 351 opt = argv[ndx]; 352 if (ndx >= argc - 1) 358 ndx++; 359 *arg = ndx; 366 argv[ndx]); 378 setting->value = argv[ndx];
|