Home
last modified time | relevance | path

Searched refs:utf16_surr (Results 1 – 3 of 3) sorted by relevance

/third_party/gettext/gettext-tools/src/
Dread-properties.c388 unsigned short utf16_surr; in read_escaped_string() local
451 utf16_surr = 0; in read_escaped_string()
480 if (utf16_surr != 0 in read_escaped_string()
487 utf16buf[0] = utf16_surr; in read_escaped_string()
505 utf16_surr = 0; in read_escaped_string()
509 if (utf16_surr != 0) in read_escaped_string()
511 utf8_buffer_append_lone_surrogate (utf16_surr, utf16_surr_line); in read_escaped_string()
512 utf16_surr = 0; in read_escaped_string()
517 utf16_surr = UTF16_VALUE (c); in read_escaped_string()
545 if (utf16_surr != 0) in read_escaped_string()
[all …]
Dxg-mixed-string.c411 bp->utf16_surr = 0; in mixed_string_buffer_init()
507 if (bp->utf16_surr != 0) in mixed_string_buffer_flush_utf16_surr()
509 mixed_string_buffer_append_lone_surrogate (bp, bp->utf16_surr); in mixed_string_buffer_flush_utf16_surr()
510 bp->utf16_surr = 0; in mixed_string_buffer_flush_utf16_surr()
571 assert (bp->utf16_surr == 0); in mixed_string_buffer_append_unicode()
576 if (bp->utf16_surr != 0 && (c >= 0xdc00 && c < 0xe000)) in mixed_string_buffer_append_unicode()
581 utf16buf[0] = bp->utf16_surr; in mixed_string_buffer_append_unicode()
587 bp->utf16_surr = 0; in mixed_string_buffer_append_unicode()
594 bp->utf16_surr = c; in mixed_string_buffer_append_unicode()
Dxg-mixed-string.h119 unsigned short utf16_surr; member