Home
last modified time | relevance | path

Searched refs:filenc (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/mandoc/
H A Dpreconv.c33 int *filenc) in preconv_encode() argument
42 if ( ! (*filenc & MPARSE_UTF8)) in preconv_encode()
97 *filenc &= ~MPARSE_LATIN1; in preconv_encode()
101 if ( ! (*filenc & MPARSE_LATIN1)) in preconv_encode()
107 *filenc &= ~MPARSE_UTF8; in preconv_encode()
H A Dread.c63 int filenc; /* encoding of the current file */ member
180 curp->filenc & MPARSE_UTF8 && in mparse_buf_r()
181 curp->filenc & MPARSE_LATIN1) in mparse_buf_r()
182 curp->filenc = preconv_cue(&blk, i); in mparse_buf_r()
217 if ( ! (curp->filenc && preconv_encode( in mparse_buf_r()
218 &blk, &i, &ln, &pos, &curp->filenc))) { in mparse_buf_r()
583 save_filenc = curp->filenc; in mparse_readfd()
588 curp->filenc = curp->options & (MPARSE_UTF8 | MPARSE_LATIN1); in mparse_readfd()
593 if (curp->filenc & MPARSE_UTF8 && blk.sz > 2 && in mparse_readfd()
598 curp->filenc &= ~MPARSE_LATIN1; in mparse_readfd()
[all …]