Home | History | Annotate | Download | only in lcUniConv

Lines Matching refs:ucs4_t

9 utf8_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
23 *pwc = ((ucs4_t) (c & 0x1f) << 6)
24 | (ucs4_t) (s[1] ^ 0x80);
32 *pwc = ((ucs4_t) (c & 0x0f) << 12)
33 | ((ucs4_t) (s[1] ^ 0x80) << 6)
34 | (ucs4_t) (s[2] ^ 0x80);
43 *pwc = ((ucs4_t) (c & 0x07) << 18)
44 | ((ucs4_t) (s[1] ^ 0x80) << 12)
45 | ((ucs4_t) (s[2] ^ 0x80) << 6)
46 | (ucs4_t) (s[3] ^ 0x80);
55 *pwc = ((ucs4_t) (c & 0x03) << 24)
56 | ((ucs4_t) (s[1] ^ 0x80) << 18)
57 | ((ucs4_t) (s[2] ^ 0x80) << 12)
58 | ((ucs4_t) (s[3] ^ 0x80) << 6)
59 | (ucs4_t) (s[4] ^ 0x80);
69 *pwc = ((ucs4_t) (c & 0x01) << 30)
70 | ((ucs4_t) (s[1] ^ 0x80) << 24)
71 | ((ucs4_t) (s[2] ^ 0x80) << 18)
72 | ((ucs4_t) (s[3] ^ 0x80) << 12)
73 | ((ucs4_t) (s[4] ^ 0x80) << 6)
74 | (ucs4_t) (s[5] ^ 0x80);
81 utf8_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n) /* n == 0 is acceptable */