Lines Matching refs:tab
84 static const parsent_t tab[] = { variable
109 #define NDEF (sizeof (tab) / sizeof (parsent_t))
132 if (strncmp(cur_p, tab[ind].name, tab[ind].nmsz) == 0) { in scan()
133 *start_p = cur_p + tab[ind].nmsz; in scan()
134 return (&tab[ind]); in scan()
375 if (tab[i].off == skip) in putusrdef()
378 switch (tab[i].type) { in putusrdef()
380 res = fprintf(defptr, "%s%d\n", tab[i].name, in putusrdef()
381 FIELD(defs, &tab[i], int)); in putusrdef()
384 res = fprintf(defptr, "%s%s\n", tab[i].name, in putusrdef()
385 FIELD(defs, &tab[i], char *)); in putusrdef()
388 res = fprintf(defptr, "%s%d\n", tab[i].name, in putusrdef()
389 (int)FIELD(defs, &tab[i], projid_t)); in putusrdef()
413 if (tab[i].uakey != NULL && in update_def()
414 (val = getsetdefval(tab[i].uakey, NULL)) != NULL) in update_def()
415 FIELD(ud, &tab[i], char *) = val; in update_def()
426 if (tab[i].uakey != NULL && tab[i].type == STR) { in import_def()
427 char *val = FIELD(ud, &tab[i], char *); in import_def()
428 if (val == getsetdefval(tab[i].uakey, val)) in import_def()