Lines Matching +defs:table +defs:list

228  * for each new ".screen" field added to this resource list.
1408 const PARSE_T *table;
1460 #define WHICH_TABLE(name) if (table == name) result = #name
1462 which_table(const PARSE_T * table)
1467 if (table == all_tables[n].table) {
1487 const PARSE_T *table = all_tables[n].table;
1491 * as the "ansi" table.
1498 PARSE_T st_l = table[ch];
1499 PARSE_T st_r = table[c1];
1516 PARSE_T st_l = table[ch];
1517 PARSE_T st_r = table[ch + 128];
1532 switch (table[ch]) {
1563 } table[] = {
1608 for (j = 0; table[j].mode >= 0; ++j) {
1609 TRACE(("%4X %8X %s\n", table[j].mode, table[j].code, table[j].name));
1610 if (table[j].mode & dMSK) {
1612 for (k = 0; table[k].mode >= 0; ++k) {
1615 if (table[k].mode & dMSK)
1617 if ((table[j].mode & table[k].mode) != 0)
1618 mask |= table[k].mode;
1620 if (mask != table[j].mode) {
1624 for (k = 0; table[k].mode >= 0; ++k) {
1627 if (table[k].mode & dMSK)
1629 if ((table[j].code & table[k].code) != 0) {
1630 TRACE(("...same bits %s\n", table[k].name));
1906 TRACE(("setting G%d to table #%d %s",
2085 * string might be a list of parameters, as done in ISO-8613-3 (nor does
3284 * parsing controls with a 7-bit table, precluding the use of
3346 * If the parameter list has subparameters (tokens separated by ":")
3385 * in the table that processed the parameter list.
3687 * Mark the parameter list so that we can exclude (most) bogus
6702 XVaNestedList list;
6708 list = XVaCreateNestedList(0,
6713 XSetICValues(input->xic, XNPreeditAttributes, list, (void *) 0);
6714 XFree(list);
8567 char **list = NULL;
8588 (rc = xtermUtf8ToTextList(xw, text, &list, &length)) < 0)
8591 if ((rc = XmbTextPropertyToTextList(dpy, text, &list, &length)) < 0)
8592 rc = XTextPropertyToStringList(text, &list, &length);
8600 char *s = list[n];
8614 XFreeStringList(list);
9888 } table[] = {
9906 for (n = 0; n < XtNumber(table); ++n) {
9907 if (!x_strncasecmp(table[n].name, value, (unsigned) (next - value))) {
9908 screen->selectMap[item] = table[n].code;
9910 if (table[n].code == Select_REGEX) {
9927 * Parse a comma-separated list, returning a string which the caller must
9966 const FlagList * list)
9987 for (n = 0; list[n].name != NULL; ++n) {
9988 if (list[n].code == value) {
9991 TRACE(("...found %s (%d)\n", list[n].name, value));
9997 for (n = 0; list[n].name != NULL; ++n) {
9998 if (!x_wildstrcmp(next, list[n].name)) {
9999 int value = list[n].code;
10002 TRACE(("...found %s (%d)\n", list[n].name, value));
10051 String *list = TypeMallocN(String, XtNumber(xterm_resources));
10055 if (list == NULL)
10060 list[n] = (((int) xterm_resources[n].resource_offset < 0)
10064 width = (int) strlen(list[n]);
10068 qsort(list, (size_t) XtNumber(xterm_resources), sizeof(String), cmp_resources);
10070 char *value = vt100ResourceToString(xw, list[n]);
10071 printf("%-*s : %s\n", widest, list[n], value ? value : "(skip)");
10074 free(list);
10090 * X Toolkit "compiles" the resource-list into quarks and changes the
10312 } table[] = {
10325 for (j = 0; j < XtNumber(table); ++j) {
10326 if (!x_strcasecmp(value, table[j].name)) {
10327 const char *flags = (char *) screen + table[j].offset;
10329 for (k = 0; k < table[j].length; ++k) {
10331 const FlagList *codes = table[j].codes;
10471 * resource list.
11038 * values in our table are sufficient. Fake the resource setting by
11039 * copying the default value from the table. The #define's can be
14558 } table[] = {
14678 for (item = 0; item < XtNumber(table); ++item) {
14679 table[item].wanted = True;
14689 for (item = 0; item < XtNumber(table); ++item) {
14690 if (!strcmp(table[item].name, "fullscreen")) {
14691 table[item].wanted = False;
14692 TRACE(("omit(%s):\n%s\n", table[item].name, table[item].value));
14705 for (item = 0; item < XtNumber(table); ++item) {
14706 if (strlen(table[item].name) >= len
14707 && x_strncasecmp(table[item].name,
14710 table[item].wanted = False;
14711 TRACE(("omit(%s):\n%s\n", table[item].name, table[item].value));
14721 for (item = 0; item < XtNumber(table); ++item) {
14722 if (table[item].wanted) {
14724 strcat(result, table[item].value);
14726 needed += strlen(table[item].value) + 1;