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