Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mandoc/
H A Dpreconv.c30 int *filenc) in preconv_encode() argument
39 if ( ! (*filenc & MPARSE_UTF8)) in preconv_encode()
94 *filenc &= ~MPARSE_LATIN1; in preconv_encode()
98 if ( ! (*filenc & MPARSE_LATIN1)) in preconv_encode()
104 *filenc &= ~MPARSE_UTF8; in preconv_encode()
H A Dread.c63 int filenc; /* encoding of the current file */ member
349 curp->filenc & MPARSE_UTF8 && in mparse_buf_r()
350 curp->filenc & MPARSE_LATIN1) in mparse_buf_r()
351 curp->filenc = preconv_cue(&blk, i); in mparse_buf_r()
385 if ( ! (curp->filenc && preconv_encode( in mparse_buf_r()
386 &blk, &i, &ln, &pos, &curp->filenc))) { in mparse_buf_r()
732 if (curp->filenc & MPARSE_UTF8 && blk.sz > 2 && in mparse_parse_buffer()
737 curp->filenc &= ~MPARSE_LATIN1; in mparse_parse_buffer()
775 save_filenc = curp->filenc; in mparse_readfd()
776 curp->filenc = curp->options & in mparse_readfd()
[all …]