Searched refs:n_chars (Results 1 – 2 of 2) sorted by relevance
/external/bluetooth/glib/tests/ |
D | unicode-encoding.c | 195 gint n_chars; in process() local 213 n_chars = bytes_written / 2; in process() 216 n_chars--; in process() 217 utf16_expected = g_new (gunichar2, n_chars + 1); in process() 218 memcpy (utf16_expected, utf16_expected_tmp + 1, sizeof(gunichar2) * n_chars); in process() 227 utf16_expected = g_new (gunichar2, n_chars + 1); in process() 228 memcpy (utf16_expected, utf16_expected_tmp, sizeof(gunichar2) * n_chars); in process() 231 utf16_expected[n_chars] = '\0'; in process()
|
/external/bluetooth/glib/glib/ |
D | gutf8.c | 840 gint n_chars, i; in g_utf8_to_ucs4_fast() local 846 n_chars = 0; in g_utf8_to_ucs4_fast() 852 ++n_chars; in g_utf8_to_ucs4_fast() 860 ++n_chars; in g_utf8_to_ucs4_fast() 864 result = g_new (gunichar, n_chars + 1); in g_utf8_to_ucs4_fast() 867 for (i=0; i < n_chars; i++) in g_utf8_to_ucs4_fast() 956 gint n_chars, i; in g_utf8_to_ucs4() local 960 n_chars = 0; in g_utf8_to_ucs4() 981 n_chars++; in g_utf8_to_ucs4() 986 result = g_new (gunichar, n_chars + 1); in g_utf8_to_ucs4() [all …]
|