Searched refs:ndx (Results 1 - 25 of 35) sorted by relevance

12

/xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
H A Dglut_cindex.c15 glutSetColor(int ndx, GLfloat red, GLfloat green, GLfloat blue) argument
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]
130 glutGetColor(int ndx,int comp) argument
[all...]
H A Dglut_shapes.c423 drawtriangle(int i, GLfloat data[][3], int ndx[][3], argument
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/
H A Dmaprules.c234 get_index(char *str, int *ndx) argument
240 *ndx = 0;
246 *ndx = -1;
250 *ndx = -1;
255 *ndx = atoi(ndx_buf);
265 int len, ndx; local in function:SetUpRemap
284 char *end = get_index(tok+len, &ndx);
286 *end != '\0' || ndx == -1)
288 if (ndx < 1 || ndx > XkbNumKbdGroup
737 int len, ndx; local in function:XkbRF_SubstituteVars
[all...]
H A DxkbPrKeyEv.c53 unsigned ndx; local in function:XkbProcessKeyboardEvent
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);
H A Dxkbtext.c105 XkbVModIndexText(XkbDescPtr xkb,unsigned ndx,unsigned format) argument
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) argument
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 in function:XkbBehaviorText
[all...]
H A DxkbSwap.c80 register unsigned bit,ndx,maskLeft,dataLeft,size; local in function:SProcXkbSelectEvents
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/
H A Dmaprules.c232 get_index(char *str, int *ndx) argument
238 *ndx = 0;
244 *ndx = -1;
248 *ndx = -1;
252 *ndx = atoi(ndx_buf);
262 int len, ndx; local in function:SetUpRemap
280 char *end = get_index(tok + len, &ndx);
283 *end != '\0' || ndx == -1)
285 if (ndx < 1 || ndx > XkbNumKbdGroup
756 int len, ndx; local in function:XkbRF_SubstituteVars
[all...]
H A DxkbPrKeyEv.c53 unsigned ndx; local in function:XkbProcessKeyboardEvent
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);
H A Dxkbtext.c117 XkbVModIndexText(XkbDescPtr xkb, unsigned ndx, unsigned format) argument
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) argument
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 in function:XkbBehaviorText
[all...]
H A DxkbSwap.c76 register unsigned bit, ndx, maskLeft, dataLeft, size; local in function:SProcXkbSelectEvents
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/
H A Dkeycodes.c62 int ndx; member in struct:_IndicatorNameInfo
98 ii->ndx = 0;
131 FindIndicatorByIndex(KeyNamesInfo * info, int ndx) argument
136 if (old->ndx == ndx)
170 if (old->ndx == new->ndx)
189 ACTION("Ignoring %d, using %d\n", old->ndx, new->ndx);
191 ACTION("Using %d, ignoring %d\n", old->ndx, ne
[all...]
H A Dsymbols.c914 unsigned ndx, nSyms; local in function:AddSymbolsToKey
916 if (!GetGroupIndex(key, arrayNdx, SYMBOLS, &ndx))
920 key->symsDefined |= (1U << ndx);
927 ACTION("Ignoring symbols for group %d of %s\n", ndx,
931 if (key->syms[ndx] != NULL)
934 longText(key->name, XkbMessage), ndx);
938 if (((key->numLevels[ndx] < nSyms) || (key->syms[ndx] == NULL)) &&
939 (!ResizeKeyGroup(key, ndx, nSyms, False)))
941 WSGO("Could not resize group %d of key %s\n", ndx,
970 unsigned ndx, nActs; local in function:AddActionsToKey
1109 ExprResult ndx; local in function:SetSymbolsField
[all...]
H A Dgeometry.c2126 ExprDef *ndx; local in function:HandleGeometryVar
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, stm
2497 ExprDef *ndx; local in function:HandleDoodadDef
2589 ExprDef *ndx; local in function:HandleComplexKey
2651 ExprDef *ndx; local in function:HandleRowBody
2715 ExprDef *ndx; local in function:HandleSectionBody
[all...]
H A Dvmod.c219 unsigned ndx = val_rtrn->uval; local in function:LookupVModMask
220 val_rtrn->uval = (1U << (XkbNumModifiers + ndx));
H A Daction.c1031 unsigned ndx; local in function:HandleActionMessage
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 in function:HandlePrivate
1252 ndx = rtrn.uval;
1253 if (ndx > 6)
1256 ACTION("Attempt to use data[%d] ignored\n", ndx);
1267 action->data[ndx]
[all...]
H A Dcompat.c602 ExprDef *ndx; local in function:HandleInterpVar
604 if (ExprResolveLhs(stmt->name, &elem, &field, &ndx) == 0)
607 return SetInterpField(&info->dflt, xkb, field.str, ndx, stmt->value,
611 return SetIndicatorMapField(&info->ledDflt, xkb, field.str, ndx,
614 return SetActionField(xkb, elem.str, field.str, ndx, stmt->value,
H A Dparseutils.c383 IndicatorNameCreate(int ndx, ExprDef * name, Bool virtual) argument
394 .ndx = ndx,
/xsrc/external/mit/libxkbfile/dist/src/
H A Dmaprules.c256 get_index(char *str, int *ndx) argument
263 *ndx = 0;
269 *ndx = -1;
273 *ndx = -1;
278 *ndx = atoi(ndx_buf);
288 int len, ndx; local in function:SetUpRemap
311 char *end = get_index(tok + len, &ndx);
314 *end != '\0' || ndx == -1)
316 if (ndx < 1 || ndx > XkbNumKbdGroup
806 int len, ndx; local in function:XkbRF_SubstituteVars
[all...]
H A Dxkbtext.c106 XkbVModIndexText(Display *dpy, XkbDescPtr xkb, unsigned ndx, unsigned format) argument
118 if (ndx >= XkbNumVirtualMods)
120 else if (vmodNames && (vmodNames[ndx] != None))
121 tmp = XkbAtomGetString(dpy, vmodNames[ndx]);
124 snprintf(tmp, 20, "%d", ndx);
237 XkbModIndexText(unsigned ndx, unsigned format) argument
243 if (ndx < XkbNumModifiers)
244 snprintf(buf, sizeof(buf), "%sMapIndex", modNames[ndx]);
245 else if (ndx == XkbNoModifier)
248 snprintf(buf, sizeof(buf), "0x%02x", ndx);
1493 int ndx, kc; local in function:XkbBehaviorText
[all...]
/xsrc/external/mit/libXt/dist/src/
H A DTMaction.c252 register Cardinal ndx; local in function:BindActions
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 in function:BindProcs
332 &ndx);
694 _XtRemoveBindProcsByIndex(Widget w,TMBindData bindData,TMShortCard ndx) argument
[all...]
/xsrc/external/mit/libXfont/dist/src/bitmap/
H A Dbdfread.c265 ndx, local in function:bdfReadCharacters
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/
H A Dbdfread.c267 ndx, local in function:bdfReadCharacters
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/bdftopcf/dist/
H A Dbdfread.c256 int i, ndx, nchars, nignored; local in function:bdfReadCharacters
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/MesaGLUT/dist/src/glut/beos/
H A Dglut_shapes.c423 drawtriangle(int i, GLfloat data[][3], int ndx[][3], argument
428 x0 = data[ndx[i][0]];
429 x1 = data[ndx[i][1]];
430 x2 = data[ndx[i][2]];
/xsrc/external/mit/setxkbmap/dist/
H A Dsetxkbmap.c347 int ndx; local in function:setOptString
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];

Completed in 105 milliseconds

12