Lines Matching refs:uc

73 	unsigned int uc;  in conv_to_java()  local
74 str += u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str); in conv_to_java()
75 length += (uc <= 0x007f ? 1 : uc < 0x10000 ? 6 : 12); in conv_to_java()
88 unsigned int uc; in conv_to_java() local
89 str += u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str); in conv_to_java()
90 if (uc <= 0x007f) in conv_to_java()
95 *newstr++ = uc; in conv_to_java()
96 else if (uc < 0x10000) in conv_to_java()
100 hexdigit[(uc >> 12) & 0x0f], hexdigit[(uc >> 8) & 0x0f], in conv_to_java()
101 hexdigit[(uc >> 4) & 0x0f], hexdigit[uc & 0x0f]); in conv_to_java()
107 unsigned int uc1 = 0xd800 + ((uc - 0x10000) >> 10); in conv_to_java()
108 unsigned int uc2 = 0xdc00 + ((uc - 0x10000) & 0x3ff); in conv_to_java()
135 unsigned int uc; in write_escaped_string() local
136 str += u8_mbtouc (&uc, (const unsigned char *) str, str_limit - str); in write_escaped_string()
138 if (uc == 0x0020 && (first || in_key)) in write_escaped_string()
143 else if (uc == 0x0009) in write_escaped_string()
148 else if (uc == 0x000a) in write_escaped_string()
153 else if (uc == 0x000d) in write_escaped_string()
158 else if (uc == 0x000c) in write_escaped_string()
164 uc == '\\' in write_escaped_string()
166 || uc == '#' || uc == '!' in write_escaped_string()
168 || uc == '=' || uc == ':') in write_escaped_string()
171 putc (uc, fp); in write_escaped_string()
173 else if (uc >= 0x0020 && uc <= 0x007e) in write_escaped_string()
179 putc (uc, fp); in write_escaped_string()
181 else if (uc < 0x10000) in write_escaped_string()
185 hexdigit[(uc >> 12) & 0x0f], hexdigit[(uc >> 8) & 0x0f], in write_escaped_string()
186 hexdigit[(uc >> 4) & 0x0f], hexdigit[uc & 0x0f]); in write_escaped_string()
191 unsigned int uc1 = 0xd800 + ((uc - 0x10000) >> 10); in write_escaped_string()
192 unsigned int uc2 = 0xdc00 + ((uc - 0x10000) & 0x3ff); in write_escaped_string()