Searched defs:chr2 (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib/
H A Dtest-unichar.c130 unichar_t chr, chr2; local
148 test_assert(uni_utf8_get_char(str_c(str), &chr2) == (int)uni_utf8_char_bytes(*str_data(str)));
149 test_assert(chr2 == chr);
156 test_assert(uni_utf8_get_char_n(str_c(str), utf8len, &chr2) == 0);
164 test_assert(uni_utf8_get_char(str_c(str), &chr2) == 0);
178 test_assert(uni_utf8_get_char(overlong_utf8, &chr2) < 0);
H A Distream-jsonstr.c81 unichar_t chr,chr2 = 0; local
98 if (str_to_uint32_hex(chbuf, &chr2)<0)
100 if (!UTF16_VALID_LOW_SURROGATE(chr2))
102 chr = uni_join_surrogate(chr, chr2);
107 *src_size_r = 5 + (chr2>0?6:0);

Completed in 1730 milliseconds