Lines Matching defs:ep
95 #define INCR(ep) do { \
96 if (++ep >= endelem) \
97 ep = getptrs(ep); \
124 struct entry *ep;
150 ep = getptrs(NULL);
154 ep->w = mbsavis(&ep->s, curline);
155 if (maxwidth < ep->w)
156 maxwidth = ep->w;
157 INCR(ep); /* prepare for next entry */
167 ep->s = ""; /* empty column */
168 ep->w = 0;
170 ep->w = mbsavis(&ep->s, strsep(&p, delim));
171 if (maxwidth < ep->w)
172 maxwidth = ep->w;
173 INCR(ep); /* prepare for next entry */
178 while (ep < padto) {
179 ep->s = "";
180 ep->w = 0;
181 INCR(ep);
185 nelem = ep - elem;
191 struct entry *ep;
194 ep = elem;
198 prints(ep + j, (j - i) / orows);
206 prints(ep++, j);
214 prints(struct entry *ep, int col)
218 n = (flags & ONEOSEPONLY ? 1 : colwidths[col] - ep->w);
222 fputs(ep->s, stdout);
241 struct entry *ep;
275 for (ep = elem + nelem; ep < lp; ep++)
276 memcpy(ep, ep - nelem, sizeof(*ep));
282 for (ep = elem, i = 0; i < ocols; i++) {
285 for (j = 0; j < orows; j++, ep++)
286 if (ep->w > max)
287 max = ep->w;
290 if (ep[j].w > max)
291 max = ep[j].w;