Lines Matching refs:syms
225 KeySym tsyms[XkbMaxSymsPerKey],*syms;
236 syms= &pCore->map[(first - pCore->minKeyCode) * pCore->mapWidth];
237 for (key=first; key<(first+num); key++,syms+= pCore->mapWidth) {
243 nG= XkbKeyTypesForCoreSymbols(xkb,pCore->mapWidth,syms,explicit,types,
367 KeySymsPtr syms;
416 syms = calloc(1, sizeof(*syms));
417 if (!syms)
424 * symbols on a keyboard that has 3 groups -> 12 syms per key */
428 syms->mapWidth = maxSymsPerKey;
429 syms->minKeyCode = xkb->min_key_code;
430 syms->maxKeyCode = xkb->max_key_code;
432 tmp = syms->mapWidth * (xkb->max_key_code - xkb->min_key_code + 1);
433 syms->map = calloc(tmp, sizeof(*syms->map));
434 if (!syms->map) {
435 free(syms);
444 n= (key-xkb->min_key_code)*syms->mapWidth;
445 pCore= &syms->map[n];
469 if (groupWidth > 0 && syms->mapWidth >= 3)
471 if (groupWidth > 1 && syms->mapWidth >= 4)
476 while (groupWidth > 2 && idx < syms->mapWidth &&
514 return syms;
923 if (src->map->syms) {
925 tmp = realloc(dst->map->syms,
929 dst->map->syms = tmp;
932 memcpy(dst->map->syms, src->map->syms,
936 free(dst->map->syms);
937 dst->map->syms = NULL;