Lines Matching defs:of
19 * Top-level functions of the mandoc(3) parser:
21 * handling of input bytes, characters, lines, and files,
22 * handling of roff(7) loops and file inclusion,
23 * and steering of the various parsers.
58 struct buf *secondary; /* copy of top level input */
63 int filenc; /* encoding of the current file */
146 * It can recurse directly (for invocations of user-defined
157 size_t spos; /* at the start of the current line parse */
159 int of;
205 * case of 12 bytes: "\\[u10ffff]\n\0"
247 * Maintain a lookaside buffer of all lines.
265 * XXX Ugly hack to mark the end of the input,
279 * A significant amount of complexity is contained by
287 of = 0;
290 &ln, &of, start && spos == 0 ? pos : 0);
356 mdoc_parseln(curp->man, curp->line, ln.buf, of) :
357 man_parseln(curp->man, curp->line, ln.buf, of)
371 result = mparse_buf_r(curp, ln, of, 0);
385 mandoc_strdup(ln.buf + of);
388 if ((fd = mparse_open(curp, ln.buf + of)) != -1) {
389 mparse_readfd(curp, fd, ln.buf + of);
393 curp->line, of, ".so %s: %s",
394 ln.buf + of, strerror(errno));
397 ln.buf + of);
400 of = 0;
401 mparse_buf_r(curp, ln, of, 0);
420 of = 0;
584 * Save some properties of the parent file.