Searched defs:low (Results 1 - 4 of 4) sorted by relevance

/dovecot/src/lib/
H A Dtest-unichar.c112 unichar_t orig, high, low; local
116 uni_split_surrogate(orig, &high, &low);
118 test_assert(low == 0xDC37);
119 test_assert(uni_join_surrogate(high, low) == orig);
H A Dunichar.h116 static inline unichar_t uni_join_surrogate(unichar_t high, unichar_t low) argument
119 UTF16_VALID_LOW_SURROGATE(low));
122 (low - UTF16_SURROGATE_LOW_FIRST) +
H A Djson-parser.c259 "but not followed by low surrogate",
777 unichar_t high,low; local
781 uni_split_surrogate(chr, &high, &low);
782 str_printfa(dest, "\\u%04x\\u%04x", high, low);
/dovecot/src/lib-imap/
H A Dimap-utf7.c141 uint16_t high, low; local
177 low = (output[(pos+2)%4] << 8) | output[(pos+3) % 4];
178 if (low < UTF16_SURROGATE_LOW_FIRST || low > UTF16_SURROGATE_LOW_LAST)
183 (low & UTF16_SURROGATE_MASK));

Completed in 230 milliseconds