Lines Matching defs:p

65 	struct termp	*p;
69 p = mandoc_calloc(1, sizeof(struct termp));
71 p->symtab = mchars;
72 p->tabwidth = 5;
73 p->defrmargin = p->lastrmargin = 78;
74 p->fontq = mandoc_reallocarray(NULL,
75 (p->fontsz = 8), sizeof(enum termfont));
76 p->fontq[0] = p->fontl = TERMFONT_NONE;
78 p->begin = ascii_begin;
79 p->end = ascii_end;
80 p->hspan = ascii_hspan;
81 p->type = TERMTYPE_CHAR;
83 p->enc = TERMENC_ASCII;
84 p->advance = ascii_advance;
85 p->endline = ascii_endline;
86 p->letter = ascii_letter;
87 p->setwidth = ascii_setwidth;
88 p->width = ascii_width;
96 p->enc = enc;
97 p->advance = locale_advance;
98 p->endline = locale_endline;
99 p->letter = locale_letter;
100 p->width = locale_width;
116 p->defindent = num;
121 p->defrmargin = num;
128 p->mdocstyle = 1;
129 p->defindent = 5;
132 p->synopsisonly = 1;
139 if (p->defrmargin < 58)
140 p->defrmargin = 58;
142 return(p);
167 ascii_setwidth(struct termp *p, int iop, size_t width)
170 p->rmargin = p->defrmargin;
172 p->defrmargin += width;
174 p->defrmargin = width ? width : p->lastrmargin;
175 else if (p->defrmargin > width)
176 p->defrmargin -= width;
178 p->defrmargin = 0;
179 p->lastrmargin = p->rmargin;
180 p->rmargin = p->maxrmargin = p->defrmargin;
186 struct termp *p;
189 p = (struct termp *)arg;
191 for (i = 0; i < p->defrmargin; i++)
198 ascii_width(const struct termp *p, int c)
212 ascii_letter(struct termp *p, int c)
219 ascii_begin(struct termp *p)
222 (*p->headf)(p, p->argf);
226 ascii_end(struct termp *p)
229 (*p->footf)(p, p->argf);
233 ascii_endline(struct termp *p)
240 ascii_advance(struct termp *p, size_t len)
249 ascii_hspan(const struct termp *p, const struct roffsu *su)
315 "p", "q", "r", "s", "t", "u", "v", "w",
353 "O", "o", "OI", "oi", "P", "p", "YR", "2",
374 locale_width(const struct termp *p, int c)
387 locale_advance(struct termp *p, size_t len)
396 locale_endline(struct termp *p)
403 locale_letter(struct termp *p, int c)