Searched refs:nSyms (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/xorg-server.old/dist/xkb/
H A DXKBMisc.c57 int nSyms[XkbNumKbdGroups]; local in function:XkbKeyTypesForCoreSymbols
66 nSyms[i]= xkb->map->types[types_inout[i]].num_levels;
67 if (nSyms[i]>groupsWidth)
68 groupsWidth= nSyms[i];
72 nSyms[i]= 2;
75 if (nSyms[XkbGroup1Index]<2)
76 nSyms[XkbGroup1Index]= 2;
77 if (nSyms[XkbGroup2Index]<2)
78 nSyms[XkbGroup2Index]= 2;
84 for (i=2;i<nSyms[XkbGroup1Inde
371 int n,nSyms,found; local in function:XkbApplyCompatMapToKey
[all...]
H A DXKBMAlloc.c366 register int i,g,nSyms; local in function:XkbResizeKeyType
393 nSyms= 1;
401 memcpy(&newSyms[nSyms+(new_num_lvls*g)],&pOld[width*g],
404 xkb->map->key_sym_map[i].offset= nSyms;
405 nSyms+= XkbKeyNumGroups(xkb,i)*new_num_lvls;
408 memcpy(&newSyms[nSyms],XkbKeySymsPtr(xkb,i),
410 xkb->map->key_sym_map[i].offset= nSyms;
411 nSyms+= XkbKeyNumSyms(xkb,i);
417 xkb->map->num_syms= nSyms;
465 register int i,nSyms,nKeySym local in function:XkbResizeKeySyms
[all...]
H A Dxkmread.c761 int nSyms; local in function:ReadXkmSymbols
765 nSyms= XkbNumGroups(wireMap.num_groups)*wireMap.width;
766 sym= XkbResizeKeySyms(xkb,i,nSyms);
769 for (s=0;s<nSyms;s++) {
774 act= XkbResizeKeyActions(xkb,i,nSyms);
775 for (s=0;s<nSyms;s++,act++) {
H A Dxkb.c1063 unsigned nSyms,nSymsThisKey; local in function:XkbSizeKeySyms
1074 for (i=nSyms=0;i<rep->nKeySyms;i++,symMap++) {
1077 nSyms+= nSymsThisKey;
1080 len+= nSyms*4;
1081 rep->totalSyms= nSyms;
1120 outMap->nSyms = symMap->width*XkbNumGroups(symMap->group_info);
1122 if (outMap->nSyms==0)
1126 memcpy((char *)buf,(char *)pSym,outMap->nSyms*4);
1128 register int n,nSyms= outMap->nSyms; local in function:XkbWriteKeySyms
2355 int i, map_count, nSyms; local in function:_XkbSetMapCheckLength
[all...]
/xsrc/external/mit/xorg-server/dist/xkb/
H A DXKBMisc.c54 int nSyms[XkbNumKbdGroups]; local in function:XkbKeyTypesForCoreSymbols
63 nSyms[i] = xkb->map->types[types_inout[i]].num_levels;
64 if (nSyms[i] > groupsWidth)
65 groupsWidth = nSyms[i];
69 nSyms[i] = 2;
72 if (nSyms[XkbGroup1Index] < 2)
73 nSyms[XkbGroup1Index] = 2;
74 if (nSyms[XkbGroup2Index] < 2)
75 nSyms[XkbGroup2Index] = 2;
81 for (i = 2; i < nSyms[XkbGroup1Inde
380 int n, nSyms, found; local in function:XkbApplyCompatMapToKey
[all...]
H A DXKBMAlloc.c364 register int i, g, nSyms; local in function:XkbResizeKeyType
395 nSyms = 1;
404 memcpy(&newSyms[nSyms + (new_num_lvls * g)],
407 xkb->map->key_sym_map[i].offset = nSyms;
408 nSyms += XkbKeyNumGroups(xkb, i) * new_num_lvls;
411 memcpy(&newSyms[nSyms], XkbKeySymsPtr(xkb, i),
413 xkb->map->key_sym_map[i].offset = nSyms;
414 nSyms += XkbKeyNumSyms(xkb, i);
420 xkb->map->num_syms = nSyms;
473 register int i, nSyms, nKeySym local in function:XkbResizeKeySyms
[all...]
H A Dxkmread.c801 int nSyms; local in function:ReadXkmSymbols
805 nSyms = XkbNumGroups(wireMap.num_groups) * wireMap.width;
806 sym = XkbResizeKeySyms(xkb, i, nSyms);
809 for (s = 0; s < nSyms; s++) {
815 act = XkbResizeKeyActions(xkb, i, nSyms);
816 for (s = 0; s < nSyms; s++, act++) {
H A Dxkb.c1084 unsigned nSyms, nSymsThisKey; local in function:XkbSizeKeySyms
1095 for (i = nSyms = 0; i < rep->nKeySyms; i++, symMap++) {
1099 nSyms += nSymsThisKey;
1101 len += nSyms * 4;
1102 rep->totalSyms = nSyms;
1142 outMap->nSyms = symMap->width * XkbNumGroups(symMap->group_info);
1144 if (outMap->nSyms == 0)
1148 memcpy((char *) buf, (char *) pSym, outMap->nSyms * 4);
1150 register int nSyms = outMap->nSyms; local in function:XkbWriteKeySyms
2399 int i, map_count, nSyms; local in function:_XkbSetMapCheckLength
[all...]
/xsrc/external/mit/libX11/dist/src/xkb/
H A DXKBMisc.c152 int nSyms[XkbNumKbdGroups]; local in function:XkbKeyTypesForCoreSymbols
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[XkbGroup1Inde
432 int n, nSyms, found; local in function:XkbApplyCompatMapToKey
[all...]
H A DXKBMAlloc.c434 register int i, g, nSyms; local in function:XkbResizeKeyType
465 nSyms = 1;
474 memcpy(&newSyms[nSyms + (new_num_lvls * g)],
477 xkb->map->key_sym_map[i].offset = nSyms;
478 nSyms += XkbKeyNumGroups(xkb, i) * new_num_lvls;
481 memcpy(&newSyms[nSyms], XkbKeySymsPtr(xkb, i),
483 xkb->map->key_sym_map[i].offset = nSyms;
484 nSyms += XkbKeyNumSyms(xkb, i);
490 xkb->map->num_syms = nSyms;
543 register int i, nSyms, nKeySym local in function:XkbResizeKeySyms
[all...]
H A DXKBGetMap.c182 if (offset + newMap->nSyms >= map->size_syms) {
185 sz = offset + newMap->nSyms;
194 if (newMap->nSyms > 0) {
196 newMap->nSyms) == 0)
198 offset += newMap->nSyms;
219 if (newMap->nSyms > 0)
220 tmp = newMap->nSyms;
227 if (newMap->nSyms > 0) {
228 if (_XkbReadBufferCopyKeySyms(buf, newSyms, newMap->nSyms) == 0)
H A DXKBSetMap.c107 unsigned nSyms; local in function:_XkbSizeKeySyms
116 for (i = nSyms = 0; i < req->nKeySyms; i++) {
117 nSyms += XkbKeyNumSyms(xkb, i + req->firstKeySym);
119 len += nSyms * sizeof(CARD32);
120 req->totalSyms = nSyms;
146 desc->nSyms = XkbKeyNumSyms(xkb, i + req->firstKeySym);
148 if (desc->nSyms > 0) {
150 _XkbWriteCopyKeySyms(pSym, outSym, desc->nSyms);
/xsrc/external/mit/xkbcomp/dist/
H A Dparseutils.c436 def->value.list.nSyms = 1;
644 if (list->value.list.nSyms >= list->value.list.szSyms)
648 list->value.list.nSyms,
657 list->value.list.syms[list->value.list.nSyms++] = sym;
H A Dxkbcomp.h160 int nSyms; member in struct:_Expr::__anonff6c3c06010a::__anonff6c3c060608
H A Dsymbols.c914 unsigned ndx, nSyms; local in function:AddSymbolsToKey
937 nSyms = value->value.list.nSyms;
938 if (((key->numLevels[ndx] < nSyms) || (key->syms[ndx] == NULL)) &&
939 (!ResizeKeyGroup(key, ndx, nSyms, False)))
947 for (int i = 0; i < nSyms; i++) {
/xsrc/external/mit/libxkbfile/dist/src/
H A Dxkmread.c699 int nSyms; local in function:ReadXkmSymbols
703 nSyms = XkbNumGroups(wireMap.num_groups) * wireMap.width;
704 sym = XkbResizeKeySyms(xkb, i, nSyms);
707 for (s = 0; s < nSyms; s++) {
713 act = XkbResizeKeyActions(xkb, i, nSyms);
714 for (s = 0; s < nSyms; s++, act++) {
H A Dxkmout.c489 register int i, nSyms; local in function:SizeXKMSymbols
510 nSyms = XkbKeyNumSyms(xkb, i);
511 size += SIZEOF(xkmKeySymMapDesc) + (nSyms * 4);
529 size += nSyms * SIZEOF(xkmActionDesc);
/xsrc/external/mit/xorgproto/dist/include/X11/extensions/
H A DXKBproto.h271 CARD16 nSyms; member in struct:_xkbSymMapWireDesc

Completed in 37 milliseconds