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

/external/bluetooth/glib/tests/
H A Dconvert-test.c146 glong items_read, items_read2; local
165 result = g_utf8_to_ucs4 (utf8, utf8_len, &items_read, &items_written, &error);
172 g_assert (error || items_read2 == items_read);
191 g_assert (items_read == error_pos);
201 g_assert (items_read == error_pos);
211 g_assert (items_read == utf8_len);
235 glong items_read, items_read2; local
240 result = g_ucs4_to_utf8 (ucs4, ucs4_len, &items_read, &items_written, &error);
248 g_assert (error || items_read2 == items_read);
267 g_assert (items_read
299 glong items_read, items_read2; local
375 glong items_read, items_read2; local
447 glong items_read, items_read2; local
515 glong items_read, items_read2; local
[all...]
H A Dunicode-encoding.c90 glong items_read, items_written; local
126 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, NULL, &error);
128 if (!ucs4_result || items_read == strlen (utf8))
142 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, &items_written, &error);
150 items_read != strlen (utf8) ||
168 utf8_result = g_ucs4_to_utf8 (ucs4_result, -1, &items_read, &items_written, &error);
176 items_read != ucs4_len ||
233 if (!(utf16_from_utf8 = g_utf8_to_utf16 (utf8, -1, &items_read, &items_written, &error)))
239 if (items_read != strlen (utf8) ||
246 if (!(utf16_from_ucs4 = g_ucs4_to_utf16 (ucs4, -1, &items_read,
[all...]
/external/srec/portable/src/
H A DPFileWrap.c44 size_t items_read; local
47 items_read = fread ( buffer, size, *count, (FILE *)self );
49 if ( items_read > 0 )
52 *count = items_read;
61 *count = items_read;
/external/bluetooth/glib/glib/
H A Dgutf8.c924 * @items_read: location to store number of bytes read, or %NULL.
948 glong *items_read,
965 if (items_read)
997 if (items_read)
998 *items_read = in - str;
1008 * @items_read: location to store number of characters read, or %NULL.
1022 * @error set. In that case, @items_read will be
1029 glong *items_read,
1067 if (items_read)
1068 *items_read
946 g_utf8_to_ucs4(const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) argument
1027 g_ucs4_to_utf8(const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) argument
1106 g_utf16_to_utf8(const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) argument
1250 g_utf16_to_ucs4(const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) argument
1392 g_utf8_to_utf16(const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) argument
1507 g_ucs4_to_utf16(const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) argument
[all...]

Completed in 49 milliseconds