Searched refs:items_written (Results 1 – 4 of 4) sorted by relevance
/third_party/glib/tests/ |
D | unicode-encoding.c | 102 glong items_read, items_written; in process() local 153 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, &items_written, &error); in process() 162 items_written != ucs4_len) in process() 166 print_ucs4 ("received: ", ucs4_result, items_written); in process() 178 ucs4_result = g_utf8_to_ucs4_fast (utf8, -1, &items_written); in process() 181 items_written != ucs4_len) in process() 185 print_ucs4 ("received: ", ucs4_result, items_written); in process() 189 utf8_result = g_ucs4_to_utf8 (ucs4_result, -1, &items_read, &items_written, &error); in process() 198 items_written != strlen (utf8)) in process() 254 if (!(utf16_from_utf8 = g_utf8_to_utf16 (utf8, -1, &items_read, &items_written, &error))) in process() [all …]
|
/third_party/glib/glib/tests/ |
D | convert.c | 148 glong items_written, items_written2; in check_utf8_to_ucs4() local 155 result = g_utf8_to_ucs4_fast (utf8, utf8_len, &items_written); in check_utf8_to_ucs4() 157 g_assert_cmpint (items_written, ==, ucs4_len); in check_utf8_to_ucs4() 159 for (i = 0; i <= items_written; i++) in check_utf8_to_ucs4() 166 result = g_utf8_to_ucs4 (utf8, utf8_len, &items_read, &items_written, &error); in check_utf8_to_ucs4() 174 g_assert (error || items_written2 == items_written); in check_utf8_to_ucs4() 178 for (i = 0; i <= items_written; i++) in check_utf8_to_ucs4() 193 g_assert_cmpint (items_written, ==, ucs4_len); in check_utf8_to_ucs4() 195 for (i = 0; i <= items_written; i++) in check_utf8_to_ucs4() 214 g_assert_cmpint (items_written, ==, ucs4_len); in check_utf8_to_ucs4() [all …]
|
/third_party/glib/glib/ |
D | gutf8.c | 724 glong *items_written) in g_utf8_to_ucs4_fast() argument 805 if (items_written) in g_utf8_to_ucs4_fast() 806 *items_written = i; in g_utf8_to_ucs4_fast() 851 glong *items_written, in g_utf8_to_ucs4() argument 897 if (items_written) in g_utf8_to_ucs4() 898 *items_written = n_chars; in g_utf8_to_ucs4() 933 glong *items_written, in g_ucs4_to_utf8() argument 969 if (items_written) in g_ucs4_to_utf8() 970 *items_written = p - result; in g_ucs4_to_utf8() 1019 glong *items_written, in g_utf16_to_utf8() argument [all …]
|
D | gunicode.h | 823 glong *items_written, 829 glong *items_written, 834 glong *items_written) G_GNUC_MALLOC; 839 glong *items_written, 845 glong *items_written, 851 glong *items_written, 857 glong *items_written,
|