Lines Matching defs:table
271 struct tbl *table, unsigned int max)
280 for (i = 0; table[i].name != NULL; i++) {
282 n = strlen(table[i].name);
284 (table[i].flags & TOTEXTONLY) == 0 &&
285 strncasecmp(source->base, table[i].name, n) == 0) {
286 *valuep = table[i].value;
295 struct tbl *table)
299 while (table[i].name != NULL) {
300 if (table[i].value == value) {
301 return (str_totext(table[i].name, target));