Lines Matching refs:utf16
66 const gunichar2 utf16[10]; in test_utf16_strfuncs() member
98 len = g_utf16_len (string_cases[i].utf16); in test_utf16_strfuncs()
101 str = (gunichar2 *) g_utf16_find_basename (string_cases[i].utf16, -1); in test_utf16_strfuncs()
103 g_assert_true (string_cases[i].utf16 == str); in test_utf16_strfuncs()
105 str = g_wcsdup (string_cases[i].utf16, string_cases[i].len); in test_utf16_strfuncs()
106 g_assert_cmpmem (string_cases[i].utf16, len, str, len); in test_utf16_strfuncs()
109 str = g_wcsdup (string_cases[i].utf16, -1); in test_utf16_strfuncs()
110 g_assert_cmpmem (string_cases[i].utf16, len, str, len); in test_utf16_strfuncs()
113 success = g_utf16_to_utf8_and_fold (string_cases[i].utf16, -1, NULL, NULL); in test_utf16_strfuncs()
121 success = g_utf16_to_utf8_and_fold (string_cases[i].utf16, -1, &utf8, NULL); in test_utf16_strfuncs()
135 success = g_utf16_to_utf8_and_fold (string_cases[i].utf16, -1, &utf8, &utf8_folded); in test_utf16_strfuncs()
428 const gunichar2 utf16[] = { 0xd800, 0x0000 }; in do_fail_on_broken_utf16_1() local
429 _g_win32_extract_executable (utf16, NULL, NULL, NULL, NULL, NULL); in do_fail_on_broken_utf16_1()
437 const gunichar2 utf16[] = { 0x0072, 0x0075, 0x006E, 0x0064, 0x006C, 0x006C, 0x0033, 0x0032, in do_fail_on_broken_utf16_2() local
439 _g_win32_extract_executable (utf16, NULL, NULL, NULL, NULL, &dll_function); in do_fail_on_broken_utf16_2()