Lines Matching defs:nSyms

152     int nSyms[XkbNumKbdGroups];
160 nSyms[i] = xkb->map->types[types_inout[i]].num_levels;
161 if (nSyms[i] > groupsWidth)
162 groupsWidth = nSyms[i];
166 nSyms[i] = 2;
169 if (nSyms[XkbGroup1Index] < 2)
170 nSyms[XkbGroup1Index] = 2;
171 if (nSyms[XkbGroup2Index] < 2)
172 nSyms[XkbGroup2Index] = 2;
178 for (i = 2; i < nSyms[XkbGroup1Index]; i++) {
183 tmp = 2 + (nSyms[XkbGroup1Index] - 2); /* offset to extra group2 syms */
184 for (i = 2; i < nSyms[XkbGroup2Index]; i++) {
187 tmp = nSyms[XkbGroup1Index] + nSyms[XkbGroup2Index];
191 nSyms[XkbGroup3Index] = 0;
192 nSyms[XkbGroup4Index] = 0;
197 for (i = 0; i < nSyms[XkbGroup3Index]; i++, tmp++) {
202 for (i = 0; i < nSyms[XkbGroup4Index]; i++, tmp++) {
207 nSyms[XkbGroup4Index] = 0;
216 if ((nSyms[i] > 1) && (syms[1] == NoSymbol) && (syms[0] != NoSymbol)) {
228 /* nSyms[i]= 1; */
247 for (n = 1, found = False; (!found) && (n < nSyms[i]); n++) {
270 nSyms[XkbGroup2Index] = nSyms[XkbGroup1Index];
276 memcpy((char *) &xkb_syms_rtrn[nSyms[XkbGroup1Index]],
278 nSyms[XkbGroup1Index] * sizeof(KeySym));
304 for (s = 0; identical && (s < nSyms[i]); s++) {
315 syms = &xkb_syms_rtrn[nSyms[XkbGroup1Index]];
316 nSyms[XkbGroup1Index] = 1;
319 syms += nSyms[i];
320 nSyms[i] = 1;
432 int n, nSyms, found;
449 nSyms = XkbKeyNumSyms(xkb, key);
451 if (nSyms > IBUF_SIZE) {
452 interps = _XkbTypedCalloc(nSyms, XkbSymInterpretPtr);
455 nSyms = IBUF_SIZE;
462 for (n = 0; n < nSyms; n++) {
486 pActs = XkbResizeKeyActions(xkb, key, nSyms);
488 if (nSyms > IBUF_SIZE)
493 for (n = 0; n < nSyms; n++) {