Home
last modified time | relevance | path

Searched refs:items_written (Results 1 – 6 of 6) sorted by relevance

/external/bluetooth/glib/tests/
Dconvert-test.c147 glong items_written, items_written2; in check_utf8_to_ucs4() local
154 result = g_utf8_to_ucs4_fast (utf8, utf8_len, &items_written); in check_utf8_to_ucs4()
156 g_assert (items_written == ucs4_len); in check_utf8_to_ucs4()
158 for (i = 0; i <= items_written; i++) in check_utf8_to_ucs4()
165 result = g_utf8_to_ucs4 (utf8, utf8_len, &items_read, &items_written, &error); in check_utf8_to_ucs4()
177 for (i = 0; i <= items_written; i++) in check_utf8_to_ucs4()
192 g_assert (items_written == ucs4_len); in check_utf8_to_ucs4()
194 for (i = 0; i <= items_written; i++) in check_utf8_to_ucs4()
212 g_assert (items_written == ucs4_len); in check_utf8_to_ucs4()
214 for (i = 0; i <= items_written; i++) in check_utf8_to_ucs4()
[all …]
Dunicode-encoding.c90 glong items_read, items_written; in process() local
142 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, &items_written, &error); in process()
151 items_written != ucs4_len) in process()
159 ucs4_result = g_utf8_to_ucs4_fast (utf8, -1, &items_written); in process()
162 items_written != ucs4_len) in process()
168 utf8_result = g_ucs4_to_utf8 (ucs4_result, -1, &items_read, &items_written, &error); in process()
177 items_written != strlen (utf8)) in process()
233 if (!(utf16_from_utf8 = g_utf8_to_utf16 (utf8, -1, &items_read, &items_written, &error))) in process()
240 utf16_count (utf16_from_utf8) != items_written) in process()
246 if (!(utf16_from_ucs4 = g_ucs4_to_utf16 (ucs4, -1, &items_read, &items_written, &error))) in process()
[all …]
/external/bluetooth/glib/glib/
Dgutf8.c836 glong *items_written) in g_utf8_to_ucs4_fast() argument
916 if (items_written) in g_utf8_to_ucs4_fast()
917 *items_written = i; in g_utf8_to_ucs4_fast()
952 glong *items_written, in g_utf8_to_ucs4() argument
996 if (items_written) in g_utf8_to_ucs4()
997 *items_written = n_chars; in g_utf8_to_ucs4()
1033 glong *items_written, in g_ucs4_to_utf8() argument
1066 if (items_written) in g_ucs4_to_utf8()
1067 *items_written = p - result; in g_ucs4_to_utf8()
1112 glong *items_written, in g_utf16_to_utf8() argument
[all …]
Dgunicode.h314 glong *items_written,
319 glong *items_written,
323 glong *items_written) G_GNUC_MALLOC;
327 glong *items_written,
332 glong *items_written,
337 glong *items_written,
342 glong *items_written,
/external/srec/portable/src/
DPFileWrap.c76 size_t items_written; in PFileWrite() local
78 items_written = fwrite ( buffer, size, *count, (FILE *)self ); in PFileWrite()
80 if ( items_written == ( *count ) ) in PFileWrite()
83 *count = items_written; in PFileWrite()
/external/bluetooth/glib/
DChangeLog.pre-2-10381 items_written in error cases where it is not set.