Lines Matching refs:uchar

99   uchar *text;
168 one_utf8_to_cppchar (const uchar **inbufp, size_t *inbytesleftp, in one_utf8_to_cppchar()
171 static const uchar masks[6] = { 0x7F, 0x1F, 0x0F, 0x07, 0x03, 0x01 }; in one_utf8_to_cppchar()
172 static const uchar patns[6] = { 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; in one_utf8_to_cppchar()
175 const uchar *inbuf = *inbufp; in one_utf8_to_cppchar()
228 one_cppchar_to_utf8 (cppchar_t c, uchar **outbufp, size_t *outbytesleftp) in one_cppchar_to_utf8()
230 static const uchar masks[6] = { 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; in one_cppchar_to_utf8()
231 static const uchar limits[6] = { 0x80, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE }; in one_cppchar_to_utf8()
233 uchar buf[6], *p = &buf[6]; in one_cppchar_to_utf8()
234 uchar *outbuf = *outbufp; in one_cppchar_to_utf8()
279 one_utf8_to_utf32 (iconv_t bigend, const uchar **inbufp, size_t *inbytesleftp, in one_utf8_to_utf32()
280 uchar **outbufp, size_t *outbytesleftp) in one_utf8_to_utf32()
282 uchar *outbuf; in one_utf8_to_utf32()
306 one_utf32_to_utf8 (iconv_t bigend, const uchar **inbufp, size_t *inbytesleftp, in one_utf32_to_utf8()
307 uchar **outbufp, size_t *outbytesleftp) in one_utf32_to_utf8()
311 const uchar *inbuf; in one_utf32_to_utf8()
336 one_utf8_to_utf16 (iconv_t bigend, const uchar **inbufp, size_t *inbytesleftp, in one_utf8_to_utf16()
337 uchar **outbufp, size_t *outbytesleftp) in one_utf8_to_utf16()
341 const uchar *save_inbuf = *inbufp; in one_utf8_to_utf16()
343 uchar *outbuf = *outbufp; in one_utf8_to_utf16()
399 one_utf16_to_utf8 (iconv_t bigend, const uchar **inbufp, size_t *inbytesleftp, in one_utf16_to_utf8()
400 uchar **outbufp, size_t *outbytesleftp) in one_utf16_to_utf8()
403 const uchar *inbuf = *inbufp; in one_utf16_to_utf8()
454 conversion_loop (int (*const one_conversion)(iconv_t, const uchar **, size_t *, in conversion_loop() argument
455 uchar **, size_t *), in conversion_loop()
456 iconv_t cd, const uchar *from, size_t flen, struct _cpp_strbuf *to) in conversion_loop()
458 const uchar *inbuf; in conversion_loop()
459 uchar *outbuf; in conversion_loop()
488 to->text = XRESIZEVEC (uchar, to->text, to->asize); in conversion_loop()
505 convert_utf8_utf16 (iconv_t cd, const uchar *from, size_t flen, in convert_utf8_utf16()
512 convert_utf8_utf32 (iconv_t cd, const uchar *from, size_t flen, in convert_utf8_utf32()
519 convert_utf16_utf8 (iconv_t cd, const uchar *from, size_t flen, in convert_utf16_utf8()
526 convert_utf32_utf8 (iconv_t cd, const uchar *from, size_t flen, in convert_utf32_utf8()
535 const uchar *from, size_t flen, struct _cpp_strbuf *to) in convert_no_conversion()
541 to->text = XRESIZEVEC (uchar, to->text, to->asize); in convert_no_conversion()
556 to->text = XRESIZEVEC (uchar, to->text, to->asize); \
561 convert_using_iconv (iconv_t cd, const uchar *from, size_t flen, in convert_using_iconv()
772 uchar sbuf[1]; in cpp_host_to_exec_charset()
793 tbuf.text = XNEWVEC (uchar, tbuf.asize); in cpp_host_to_exec_charset()
1041 _cpp_valid_ucn (cpp_reader *pfile, const uchar **pstr, in _cpp_valid_ucn()
1042 const uchar *limit, int identifier_pos, in _cpp_valid_ucn()
1049 const uchar *str = *pstr; in _cpp_valid_ucn()
1050 const uchar *base = str - 2; in _cpp_valid_ucn()
1163 static const uchar *
1164 convert_ucn (cpp_reader *pfile, const uchar *from, const uchar *limit, in convert_ucn()
1171 uchar buf[6]; in convert_ucn()
1172 uchar *bufp = buf; in convert_ucn()
1235 const uchar **pstr, in _cpp_valid_utf8()
1236 const uchar *limit, in _cpp_valid_utf8()
1241 const uchar *base = *pstr; in _cpp_valid_utf8()
1318 tbuf->text = XRESIZEVEC (uchar, tbuf->text, tbuf->asize); in emit_numeric_escape()
1336 tbuf->text = XRESIZEVEC (uchar, tbuf->text, tbuf->asize); in emit_numeric_escape()
1351 static const uchar *
1352 convert_hex (cpp_reader *pfile, const uchar *from, const uchar *limit, in convert_hex()
1421 static const uchar *
1422 convert_oct (cpp_reader *pfile, const uchar *from, const uchar *limit, in convert_oct()
1471 static const uchar *
1472 convert_escape (cpp_reader *pfile, const uchar *from, const uchar *limit, in convert_escape()
1479 static const uchar charconsts[] = { 7, 8, 27, 12, 10, 13, 9, 11 }; in convert_escape()
1481 static const uchar charconsts[] = { 47, 22, 39, 12, 21, 13, 5, 11 }; in convert_escape()
1486 uchar c; in convert_escape()
1618 const uchar *p, *base, *limit; in cpp_interpret_string_1()
1628 tbuf.text = XNEWVEC (uchar, tbuf.asize); in cpp_interpret_string_1()
1654 const uchar *prefix; in cpp_interpret_string_1()
1753 tbuf.text = XRESIZEVEC (uchar, tbuf.text, tbuf.len); in cpp_interpret_string_1()
2073 _cpp_interpret_identifier (cpp_reader *pfile, const uchar *id, size_t len) in _cpp_interpret_identifier()
2077 uchar * buf = (uchar *) alloca (len + 1); in _cpp_interpret_identifier()
2078 uchar * bufp = buf; in _cpp_interpret_identifier()
2136 uchar *
2138 uchar *input, size_t size, size_t len, in _cpp_convert_input()
2155 to.text = XNEWVEC (uchar, to.asize); in _cpp_convert_input()
2177 to.text = XRESIZEVEC (uchar, to.text, to.len + 16); in _cpp_convert_input()
2289 compute_next_display_width (const uchar **inbufp, size_t *inbytesleftp) in compute_next_display_width()
2316 const uchar *udata = (const uchar *) data; in cpp_byte_column_to_display_column()
2334 const uchar *udata = (const uchar *) data; in cpp_display_column_to_byte_column()