Lines Matching refs:tab
83 static const parsent_t tab[] = { variable
110 #define NDEF (sizeof (tab) / sizeof (parsent_t))
133 if (strncmp(cur_p, tab[ind].name, tab[ind].nmsz) == 0) { in scan()
134 *start_p = cur_p + tab[ind].nmsz; in scan()
135 return (&tab[ind]); in scan()
384 if (tab[i].off == skip) in putusrdef()
387 switch (tab[i].type) { in putusrdef()
389 res = fprintf(defptr, "%s%d\n", tab[i].name, in putusrdef()
390 FIELD(defs, &tab[i], int)); in putusrdef()
393 res = fprintf(defptr, "%s%s\n", tab[i].name, in putusrdef()
394 FIELD(defs, &tab[i], char *)); in putusrdef()
397 res = fprintf(defptr, "%s%d\n", tab[i].name, in putusrdef()
398 (int)FIELD(defs, &tab[i], projid_t)); in putusrdef()
422 if (tab[i].uakey != NULL && in update_def()
423 (val = getsetdefval(tab[i].uakey, NULL)) != NULL) in update_def()
424 FIELD(ud, &tab[i], char *) = val; in update_def()
435 if (tab[i].uakey != NULL && tab[i].type == STR) { in import_def()
436 char *val = FIELD(ud, &tab[i], char *); in import_def()
437 if (val == getsetdefval(tab[i].uakey, val)) in import_def()