Home
last modified time | relevance | path

Searched refs:items_read (Results 1 – 9 of 9) sorted by relevance

/third_party/glib/glib/tests/
Dconvert.c147 glong items_read, items_read2; in check_utf8_to_ucs4() local
166 result = g_utf8_to_ucs4 (utf8, utf8_len, &items_read, &items_written, &error); in check_utf8_to_ucs4()
173 g_assert (error || items_read2 == items_read); in check_utf8_to_ucs4()
192 g_assert_cmpint (items_read, ==, error_pos); in check_utf8_to_ucs4()
203 g_assert_cmpint (items_read, ==, error_pos); in check_utf8_to_ucs4()
213 g_assert_cmpint (items_read, ==, utf8_len); in check_utf8_to_ucs4()
237 glong items_read, items_read2; in check_ucs4_to_utf8() local
242 result = g_ucs4_to_utf8 (ucs4, ucs4_len, &items_read, &items_written, &error); in check_ucs4_to_utf8()
250 g_assert (error || items_read2 == items_read); in check_ucs4_to_utf8()
269 g_assert_cmpint (items_read, ==, error_pos); in check_ucs4_to_utf8()
[all …]
/third_party/glib/tests/
Dunicode-encoding.c102 glong items_read, items_written; in process() local
138 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, NULL, &error); in process()
140 if (!ucs4_result || items_read == strlen (utf8)) in process()
153 ucs4_result = g_utf8_to_ucs4 (utf8, -1, &items_read, &items_written, &error); in process()
161 items_read != strlen (utf8) || in process()
189 utf8_result = g_ucs4_to_utf8 (ucs4_result, -1, &items_read, &items_written, &error); in process()
197 items_read != ucs4_len || in process()
254 if (!(utf16_from_utf8 = g_utf8_to_utf16 (utf8, -1, &items_read, &items_written, &error))) in process()
260 if (items_read != strlen (utf8) || in process()
267 if (!(utf16_from_ucs4 = g_ucs4_to_utf16 (ucs4, -1, &items_read, &items_written, &error))) in process()
[all …]
/third_party/glib/glib/
Dgutf8.c850 glong *items_read, in g_utf8_to_ucs4() argument
867 if (items_read) in g_utf8_to_ucs4()
901 if (items_read) in g_utf8_to_ucs4()
902 *items_read = in - str; in g_utf8_to_ucs4()
932 glong *items_read, in g_ucs4_to_utf8() argument
973 if (items_read) in g_ucs4_to_utf8()
974 *items_read = i; in g_ucs4_to_utf8()
1018 glong *items_read, in g_utf16_to_utf8() argument
1080 if (high_surrogate && !items_read) in g_utf16_to_utf8()
1130 if (items_read) in g_utf16_to_utf8()
[all …]
Dgunicode.h822 glong *items_read,
828 glong *items_read,
838 glong *items_read,
844 glong *items_read,
850 glong *items_read,
856 glong *items_read,
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/
DSDL_x11video.c323 unsigned long items_read = 0, items_left = 0; in X11_CheckWindowManager() local
335 …PORTING_WM_CHECK, 0L, 1L, False, XA_WINDOW, &real_type, &real_format, &items_read, &items_left, &p… in X11_CheckWindowManager()
337 if (items_read) { in X11_CheckWindowManager()
347 …PORTING_WM_CHECK, 0L, 1L, False, XA_WINDOW, &real_type, &real_format, &items_read, &items_left, &p… in X11_CheckWindowManager()
348 if (status != Success || !items_read || wm_window != ((Window*)propdata)[0]) { in X11_CheckWindowManager()
DSDL_x11events.c1072 unsigned long items_read, items_left; in X11_DispatchEvent() local
1080 …ty.atom, 0L, 8192L, False, AnyPropertyType, &real_type, &real_format, &items_read, &items_left, &p… in X11_DispatchEvent()
1081 if (status == Success && items_read > 0) { in X11_DispatchEvent()
1086 for (i = 0; i < items_read; i++) { in X11_DispatchEvent()
1095 for (i = 0; i < items_read; i++) { in X11_DispatchEvent()
1103 for (i = 0; i < items_read; i++) { in X11_DispatchEvent()
1111 for (i = 0; i < items_read; i++) { in X11_DispatchEvent()
1123 for (i = 0; i < items_read; i++) { in X11_DispatchEvent()
DSDL_x11modes.c1076 unsigned long items_read = 0, items_left = 0; in X11_GetDisplayUsableBounds() local
1086 &real_type, &real_format, &items_read, in X11_GetDisplayUsableBounds()
1088 if ((status == Success) && (items_read >= 4)) { in X11_GetDisplayUsableBounds()
DSDL_x11window.c671 unsigned long items_read, items_left; in X11_GetWindowTitle() local
677 &items_read, &items_left, &propdata); in X11_GetWindowTitle()
684 &items_read, &items_left, &propdata); in X11_GetWindowTitle()
686 title = SDL_iconv_string("UTF-8", "", SDL_static_cast(char*, propdata), items_read+1); in X11_GetWindowTitle()
/third_party/libsnd/docs/
DFAQ.md270 sf_count items_read = sf_read_short (file, data, 200) ;
271 assert (items_read == 200) ;