Searched refs:nSyms (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | XKBMisc.c | 54 int nSyms[XkbNumKbdGroups]; in XkbKeyTypesForCoreSymbols() local 63 nSyms[i] = xkb->map->types[types_inout[i]].num_levels; in XkbKeyTypesForCoreSymbols() 64 if (nSyms[i] > groupsWidth) in XkbKeyTypesForCoreSymbols() 65 groupsWidth = nSyms[i]; in XkbKeyTypesForCoreSymbols() 69 nSyms[i] = 2; in XkbKeyTypesForCoreSymbols() 72 if (nSyms[XkbGroup1Index] < 2) in XkbKeyTypesForCoreSymbols() 73 nSyms[XkbGroup1Index] = 2; in XkbKeyTypesForCoreSymbols() 74 if (nSyms[XkbGroup2Index] < 2) in XkbKeyTypesForCoreSymbols() 75 nSyms[XkbGroup2Index] = 2; in XkbKeyTypesForCoreSymbols() 81 for (i = 2; i < nSyms[XkbGroup1Index]; i++) { in XkbKeyTypesForCoreSymbols() [all …]
|
| H A D | XKBMAlloc.c | 371 register int i, g, nSyms; in XkbResizeKeyType() local 402 nSyms = 1; in XkbResizeKeyType() 411 memcpy(&newSyms[nSyms + (new_num_lvls * g)], in XkbResizeKeyType() 414 xkb->map->key_sym_map[i].offset = nSyms; in XkbResizeKeyType() 415 nSyms += XkbKeyNumGroups(xkb, i) * new_num_lvls; in XkbResizeKeyType() 418 memcpy(&newSyms[nSyms], XkbKeySymsPtr(xkb, i), in XkbResizeKeyType() 420 xkb->map->key_sym_map[i].offset = nSyms; in XkbResizeKeyType() 421 nSyms += XkbKeyNumSyms(xkb, i); in XkbResizeKeyType() 427 xkb->map->num_syms = nSyms; in XkbResizeKeyType() 480 register int i, nSyms, nKeySyms; in XkbResizeKeySyms() local [all …]
|
| H A D | xkmread.c | 801 int nSyms; in ReadXkmSymbols() local 805 nSyms = XkbNumGroups(wireMap.num_groups) * wireMap.width; in ReadXkmSymbols() 806 sym = XkbResizeKeySyms(xkb, i, nSyms); in ReadXkmSymbols() 809 for (s = 0; s < nSyms; s++) { in ReadXkmSymbols() 815 act = XkbResizeKeyActions(xkb, i, nSyms); in ReadXkmSymbols() 816 for (s = 0; s < nSyms; s++, act++) { in ReadXkmSymbols()
|
| H A D | xkb.c | 1084 unsigned nSyms, nSymsThisKey; in XkbSizeKeySyms() local 1095 for (i = nSyms = 0; i < rep->nKeySyms; i++, symMap++) { in XkbSizeKeySyms() 1098 nSyms += nSymsThisKey; in XkbSizeKeySyms() 1101 len += nSyms * 4; in XkbSizeKeySyms() 1102 rep->totalSyms = nSyms; in XkbSizeKeySyms() 1142 outMap->nSyms = symMap->width * XkbNumGroups(symMap->group_info); in XkbWriteKeySyms() 1144 if (outMap->nSyms == 0) in XkbWriteKeySyms() 1148 memcpy((char *) buf, (char *) pSym, outMap->nSyms * 4); in XkbWriteKeySyms() 1150 register int nSyms = outMap->nSyms; in XkbWriteKeySyms() local 1152 swaps(&outMap->nSyms); in XkbWriteKeySyms() [all …]
|
| /OK3568_Linux_fs/external/xserver/ |
| H A D | ChangeLog | 166915 Apparently it needed to be nSyms*15/10, not *12/10; make it match the
|