Lines Matching defs:f

66 #define	Status(f, s)		((f) -> status & (s))  argument
67 #define Set(f, s) ((f) -> status |= (s)) argument
68 #define Clr(f, s) ((f) -> status &= ~(s)) argument
70 #define Opt(f, x) ((f) -> opts & (x)) argument
77 #define MakeArg(f, p, err) (_makearg((f) -> type, p, err)) argument
78 #define CopyArg(f, err) (_copyarg((f) -> type, (f) -> arg, err)) argument
79 #define FreeArg(f) (_freearg((f) -> type, (f) -> arg)) argument
80 #define CheckField(f) (_checkfield((f) -> type, (f), (f) -> arg)) argument
81 #define CheckChar(f, c) (_checkchar((f) -> type, (c), (f) -> arg)) argument
82 #define NextChoice(f) (_nextchoice((f) -> type, (f), (f) -> arg)) argument
83 #define PrevChoice(f) (_prevchoice((f) -> type, (f), (f) -> arg)) argument
87 #define init_field(f) { \ argument
95 #define term_field(f) { \ argument
103 #define init_form(f) { \ argument
111 #define term_form(f) { \ argument
120 #define P(f) ((f) -> curpage) argument
121 #define Pmin(f, p) ((f) -> page [p].pmin) argument
122 #define Pmax(f, p) ((f) -> page [p].pmax) argument
123 #define Smin(f, p) ((f) -> page [p].smin) argument
124 #define Smax(f, p) ((f) -> page [p].smax) argument
126 #define Form(f) ((f) ? (f) : _DEFAULT_FORM) argument
127 #define ValidIndex(f, i) ((i) >= 0 && (i) < (f) -> maxfield) argument
128 #define ValidPage(f, i) ((i) >= 0 && (i) < (f) -> maxpage) argument
129 #define C(f) ((f) -> current) argument
130 #define W(f) ((f) -> w) argument
131 #define X(f) ((f) -> curcol) argument
132 #define Y(f) ((f) -> currow) argument
133 #define T(f) ((f) -> toprow) argument
134 #define B(f) ((f) -> begincol) argument
135 #define Xmax(f) (C(f) -> dcols) argument
136 #define Ymax(f) (C(f) -> drows) argument
137 #define Win(f) ((f) -> win ? (f) -> win : stdscr) argument
138 #define Sub(f) ((f) -> sub ? (f) -> sub : Win(f)) argument
140 #define Field(f) ((f) ? (f) : _DEFAULT_FIELD) argument
141 #define Buf(f) ((f) -> buf) argument
142 #define OneRow(f) ((f)->rows + (f)->nrow == 1) argument
143 #define GrowSize(f) (((f) -> rows + (f) -> nrow) * (f) -> cols) argument
144 #define BufSize(f) ((f) -> drows * (f) -> dcols) argument
145 #define Buffer(f, n) (Buf(f) + (n) * (BufSize(f) + 1)) argument
146 #define LineBuf(f, n) (Buf(f) + (n) * (f) -> dcols) argument
147 #define TotalBuf(f) ((BufSize(f) + 1) * ((f) -> nbuf + 1)) argument
148 #define Just(f) ((f) -> just) argument
149 #define Fore(f) ((f) -> fore) argument
150 #define Back(f) ((f) -> back) argument
151 #define Pad(f) ((f) -> pad) argument