Lines Matching defs:fp
31 dump(register Rskey_t* kp, Sfio_t* sp, register Rskeyfield_t* fp, const char* type)
33 dump(kp, sp, fp, type)
36 register Rskeyfield_t* fp;
40 sfprintf(sp, "%s[%d]\n", type, fp->index);
41 sfprintf(sp, "\tbegin field = %d\n", fp->begin.field);
42 sfprintf(sp, "\t begin char = %d\n", fp->begin.index);
43 sfprintf(sp, "\t end field = %d\n", fp->end.field);
44 sfprintf(sp, "\t end char = %d\n", fp->end.index);
45 sfprintf(sp, "\t ccode = %d\n", fp->code);
46 sfprintf(sp, "\t coder = %c\n", fp->flag ? fp->flag : '?');
47 sfprintf(sp, "\t keep = %s\n", fp->keep == kp->state->all ? "all" : fp->keep == kp->state->print ? "print" : fp->keep == kp->state->dict ? "dict" : fp->keep ? "UNKNOWN" : "all");
48 sfprintf(sp, "\t trans = %s\n", fp->trans == kp->state->ident ? "ident" : fp->trans == kp->state->fold ? "fold" : fp->trans ? "UNKNOWN" : "ident");
49 sfprintf(sp, "\t bflag = %d\n", fp->bflag);
50 sfprintf(sp, "\t eflag = %d\n", fp->eflag);
51 sfprintf(sp, "\t rflag = %d\n", fp->rflag);
52 sfprintf(sp, "\t style = %s\n", fp->standard ? "standard" : "obsolete");
68 register Rskeyfield_t* fp;
82 for (fp = &kp->field.global; fp; fp = fp->next)
83 dump(kp, sp, fp, "field");
84 for (fp = kp->accumulate.head; fp; fp = fp->next)
85 dump(kp, sp, fp, "accumulate");