Lines Matching +defs:table +defs:list
2741 * data, and to build up a list of the pairs which must be swapped in the
2745 swapLocally(ToSwap * list, int *count, ColorRes * fg, ColorRes * bg hc_param)
2761 if ((list[n].fg == fg_color && list[n].bg == bg_color)
2762 || (list[n].fg == bg_color && list[n].bg == fg_color)) {
2768 list[*count].fg = fg_color;
2769 list[*count].bg = bg_color;
2778 reallySwapColors(XtermWidget xw, ToSwap * list, int count)
2785 redoCgs(xw, list[j].fg, list[j].bg, (CgsEnum) k);
5564 #define FLAG(n) *(Boolean *)(((char *)rp) + table[n].offset)
5569 } table[] = {
5595 for (n = 0; n < XtNumber(table); ++n)
5596 init_keyboard_type(xw, table[n].type, FLAG(n));
5602 for (n = 0; n < XtNumber(table); ++n)
5603 init_keyboard_type(xw, table[n].type, False);
5619 for (n = 0; n < XtNumber(table); ++n) {
5620 if (!x_strcasecmp(rp->keyboardType, table[n].name + 1)) {
5626 init_keyboard_type(xw, table[n].type, FLAG(n));
5737 extendedBoolean(const char *value, const FlagList * table, Cardinal limit)
5758 if (table[n].name == NULL) {
5760 } else if (x_strcasecmp(value, table[n].name) == 0) {
5761 result = table[n].code;