/third_party/glib/gio/ |
D | giowin32-private.c | 21 g_utf16_len (const gunichar2 *str) in g_utf16_len() 31 static gunichar2 * 32 g_wcsdup (const gunichar2 *str, gssize str_len) in g_wcsdup() 44 g_assert (str_len_unsigned <= G_MAXSIZE / sizeof (gunichar2) - 1); in g_wcsdup() 45 str_size = (str_len_unsigned + 1) * sizeof (gunichar2); in g_wcsdup() 50 static const gunichar2 * 51 g_utf16_wchr (const gunichar2 *str, const wchar_t wchr) in g_utf16_wchr() 61 g_utf16_to_utf8_and_fold (const gunichar2 *str, in g_utf16_to_utf8_and_fold() 95 static const gunichar2 * 96 g_utf16_find_basename (const gunichar2 *filename, in g_utf16_find_basename() [all …]
|
D | gwin32appinfo.c | 126 gunichar2 *name; 127 gunichar2 *shellpath; 171 gunichar2 *schema; 192 gunichar2 *handler_id; 214 gunichar2 *uwp_aumid; 221 gunichar2 *verb_name; 232 gunichar2 *command; 261 gunichar2 *extension; 289 gunichar2 *canonical_name; 298 gunichar2 *pretty_name; [all …]
|
D | gwin32registrykey.c | 129 g_utf16_len (const gunichar2 *str) in g_utf16_len() 139 static gunichar2 * 140 g_wcsdup (const gunichar2 *str, gssize str_len) in g_wcsdup() 152 g_assert (str_len_unsigned <= G_MAXSIZE / sizeof (gunichar2) - 1); in g_wcsdup() 153 str_size = (str_len_unsigned + 1) * sizeof (gunichar2); in g_wcsdup() 283 new_iter->value_data_expanded = g_wcsdup ((gunichar2 *) iter->value_data_expanded, in G_DEFINE_BOXED_TYPE() 284 … iter->value_data_expanded_charsize * sizeof (gunichar2)); in G_DEFINE_BOXED_TYPE() 401 gunichar2 *absolute_path_w; 524 g_win32_registry_key_new_w (const gunichar2 *path, in g_win32_registry_key_new_w() 554 gunichar2 *path; in g_win32_registry_key_initable_init() [all …]
|
D | gwin32registrykey.h | 103 gunichar2 *subkey_name; 118 gunichar2 *value_name; 126 gunichar2 *value_data_expanded; 167 GWin32RegistryKey *g_win32_registry_key_new_w (const gunichar2 *path, 177 … const gunichar2 *subkey, 199 … const gunichar2 **subkey_name, 226 … gunichar2 **value_name, 254 … const gunichar2 * const *mui_dll_dirs, 256 … const gunichar2 *value_name, 266 const gunichar2 *g_win32_registry_key_get_path_w (GWin32RegistryKey *key); [all …]
|
D | gwin32packageparser.h | 35 const gunichar2 *full_package_name, 36 const gunichar2 *package_name, 37 const gunichar2 *app_user_model_id,
|
D | gregistrysettingsbackend.c | 167 gunichar2 *base_pathw; 784 gunichar2 *value_namew; in registry_read() 939 gunichar2 *path_namew; in g_registry_backend_write_one() 941 gunichar2 *value_namew; in g_registry_backend_write_one() 944 gunichar2 *value_dataw; in g_registry_backend_write_one() 1058 value_data_size = (DWORD)((wcslen (value_data) + 1) * sizeof (gunichar2)); in g_registry_backend_write_one() 1150 gunichar2 *path_namew; in g_registry_backend_reset() 1152 gunichar2 *value_namew; in g_registry_backend_reset() 1202 gunichar2 *path_namew; in g_registry_backend_get_writable() 1370 gunichar2 bufferw[MAX_KEY_NAME_LENGTH + 1]; in registry_cache_update() [all …]
|
D | gwin32packageparser.c | 66 g_utf16_len (const gunichar2 *str) in g_utf16_len() 76 static gunichar2 * 77 g_wcsdup (const gunichar2 *str, gssize str_len) in g_wcsdup() 89 g_assert (str_len_unsigned <= G_MAXSIZE / sizeof (gunichar2) - 1); in g_wcsdup() 90 str_size = (str_len_unsigned + 1) * sizeof (gunichar2); in g_wcsdup()
|
D | gwin32mount.c | 109 gunichar2 *wdrive = g_utf8_to_utf16 (drive, -1, NULL, NULL, NULL); in _win32_get_displayname()
|
/third_party/glib/glib/ |
D | gstdio-private.c | 31 _g_win32_strip_extended_ntobjm_prefix (gunichar2 *str, in _g_win32_strip_extended_ntobjm_prefix() 36 const gsize extended_prefix_len_bytes = sizeof (gunichar2) * extended_prefix_len; in _g_win32_strip_extended_ntobjm_prefix() 37 …const gsize extended_prefix_with_drive_len_bytes = sizeof (gunichar2) * (extended_prefix_len + … in _g_win32_strip_extended_ntobjm_prefix() 40 const gsize ntobjm_prefix_len_bytes = sizeof (gunichar2) * ntobjm_prefix_len; in _g_win32_strip_extended_ntobjm_prefix() 41 const gsize ntobjm_prefix_with_drive_len_bytes = sizeof (gunichar2) * (ntobjm_prefix_len + 2); in _g_win32_strip_extended_ntobjm_prefix() 45 if ((*str_size) * sizeof (gunichar2) > extended_prefix_with_drive_len_bytes && in _g_win32_strip_extended_ntobjm_prefix() 56 else if ((*str_size) * sizeof (gunichar2) > ntobjm_prefix_with_drive_len_bytes && in _g_win32_strip_extended_ntobjm_prefix() 73 (*str_size) * sizeof (gunichar2)); in _g_win32_strip_extended_ntobjm_prefix() 82 gunichar2 *buf, in _g_win32_copy_and_maybe_terminate() 84 gunichar2 **alloc_buf, in _g_win32_copy_and_maybe_terminate()
|
D | gutf8.c | 1016 g_utf16_to_utf8 (const gunichar2 *str, in g_utf16_to_utf8() 1025 const gunichar2 *in; in g_utf16_to_utf8() 1038 gunichar2 c = *in; in g_utf16_to_utf8() 1099 gunichar2 c = *in; in g_utf16_to_utf8() 1160 g_utf16_to_ucs4 (const gunichar2 *str, in g_utf16_to_ucs4() 1166 const gunichar2 *in; in g_utf16_to_ucs4() 1179 gunichar2 c = *in; in g_utf16_to_ucs4() 1236 gunichar2 c = *in; in g_utf16_to_ucs4() 1297 gunichar2 * 1304 gunichar2 *result = NULL; in g_utf8_to_utf16() [all …]
|
D | gstdio.c | 368 gunichar2 *buf, in _g_win32_readlink_handle_raw() 370 gunichar2 **alloc_buf, in _g_win32_readlink_handle_raw() 450 _g_win32_readlink_utf16_raw (const gunichar2 *filename, in _g_win32_readlink_utf16_raw() 452 gunichar2 *buf, in _g_win32_readlink_utf16_raw() 454 gunichar2 **alloc_buf, in _g_win32_readlink_utf16_raw() 525 _g_win32_readlink_utf16_handle (const gunichar2 *filename, in _g_win32_readlink_utf16_handle() 528 gunichar2 *buf, in _g_win32_readlink_utf16_handle() 530 gunichar2 **alloc_buf, in _g_win32_readlink_utf16_handle() 553 result -= result % sizeof (gunichar2); in _g_win32_readlink_utf16_handle() 567 string_size = result / sizeof (gunichar2); in _g_win32_readlink_utf16_handle() [all …]
|
D | gunicode.h | 77 typedef guint16 gunichar2; typedef 820 gunichar2 *g_utf8_to_utf16 (const gchar *str, 836 gunichar * g_utf16_to_ucs4 (const gunichar2 *str, 842 gchar* g_utf16_to_utf8 (const gunichar2 *str, 848 gunichar2 *g_ucs4_to_utf16 (const gunichar *str,
|
D | gtimezone.c | 725 std_name = g_utf16_to_utf8 ((gunichar2 *)tzi->StandardName, -1, NULL, NULL, NULL); in rule_from_windows_time_zone_info() 729 dlt_name = g_utf16_to_utf8 ((gunichar2 *)tzi->DaylightName, -1, NULL, NULL, NULL); in rule_from_windows_time_zone_info() 763 const gunichar2 *subkey = in windows_default_tzname() 767 gunichar2 *key_name_w = NULL; in windows_default_tzname() 845 gunichar2 *subkey_w, *subkey_dynamic_w; in rules_from_windows_time_zone()
|
D | genviron.c | 646 gunichar2 *strings; in g_get_environ()
|
/third_party/glib/gio/tests/ |
D | win32-appinfo.c | 29 g_utf16_cmp0 (const gunichar2 *str1, in g_utf16_cmp0() 30 const gunichar2 *str2) in g_utf16_cmp0() 53 const gunichar2 *__s1 = (s1), *__s2 = (s2); \ 66 const gunichar2 utf16[10]; in test_utf16_strfuncs() 93 gunichar2 *str; in test_utf16_strfuncs() 101 str = (gunichar2 *) g_utf16_find_basename (string_cases[i].utf16, -1); in test_utf16_strfuncs() 337 gunichar2 *argument; in test_win32_rundll32_fixup() 338 gunichar2 *expected; in test_win32_rundll32_fixup() 364 gunichar2 *argument; in test_win32_extract_executable() 417 gunichar2 *argument; in test_win32_parse_filename() [all …]
|
/third_party/glib/tests/ |
D | unicode-encoding.c | 60 utf16_equal (gunichar2 *a, gunichar2 *b) in utf16_equal() 72 utf16_count (gunichar2 *a) in utf16_count() 210 gunichar2 *utf16_expected_tmp; in process() 211 gunichar2 *utf16_expected; in process() 212 gunichar2 *utf16_from_utf8; in process() 213 gunichar2 *utf16_from_ucs4; in process() 225 if (!(utf16_expected_tmp = (gunichar2 *)g_convert (utf8, -1, TARGET, "UTF-8", in process() 238 utf16_expected = g_new (gunichar2, n_chars + 1); in process() 239 memcpy (utf16_expected, utf16_expected_tmp + 1, sizeof(gunichar2) * n_chars); in process() 248 utf16_expected = g_new (gunichar2, n_chars + 1); in process() [all …]
|
/third_party/glib/glib/tests/ |
D | convert.c | 296 const gunichar2 *utf16, in check_utf8_to_utf16() 300 gunichar2 *result, *result2, *result3; in check_utf8_to_utf16() 371 check_utf16_to_utf8 (const gunichar2 *utf16, in check_utf16_to_utf8() 446 const gunichar2 *utf16, in check_ucs4_to_utf16() 450 gunichar2 *result, *result2, *result3; in check_ucs4_to_utf16() 512 check_utf16_to_ucs4 (const gunichar2 *utf16, in check_utf16_to_ucs4() 593 gunichar2 utf16[100]; in test_unicode_conversions()
|
D | fileutils.c | 1466 g_wcscmp0 (const gunichar2 *str1, in g_wcscmp0() 1467 const gunichar2 *str2) in g_wcscmp0() 1478 const gunichar2 *__s1 = (s1), *__s2 = (s2); \ 1487 gunichar2 *buf; in test_win32_pathstrip() 1492 gunichar2 *in; in test_win32_pathstrip() 1493 gunichar2 *out; in test_win32_pathstrip() 1545 buf = g_new0 (gunichar2, str_len); in test_win32_pathstrip() 1546 memcpy (buf, testcases[i].in, str_len * sizeof (gunichar2)); in test_win32_pathstrip() 1564 buf = g_new0 (gunichar2, str_len); in test_win32_pathstrip() 1565 memcpy (buf, testcases[i].in, (str_len) * sizeof (gunichar2)); in test_win32_pathstrip() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/asio/ |
D | gstasioutils.cpp | 114 ret->driver_name = g_utf16_to_utf8 ((gunichar2 *) key_name, -1, in gst_asio_enum_new_device_info_from_reg() 124 ret->driver_desc = g_utf16_to_utf8 ((gunichar2 *) desc_data, -1, in gst_asio_enum_new_device_info_from_reg()
|
/third_party/gstreamer/gstplugins_base/ext/pango/ |
D | gstclockoverlay.h | 53 gunichar2 *wformat;
|
D | gstclockoverlay.c | 87 gunichar2 buf[256]; in gst_clock_overlay_render_time()
|
/third_party/gstreamer/gstplugins_bad/sys/directsound/ |
D | gstdirectsounddevice.c | 70 gunichar2 *wstr = NULL; in guid_to_string()
|
/third_party/gstreamer/gstplugins_good/sys/directsound/ |
D | gstdirectsounddevice.c | 70 gunichar2 *wstr = NULL; in guid_to_string()
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfutils.cpp | 695 ret = g_utf16_to_utf8 ((const gunichar2 *) name, -1, NULL, NULL, NULL); in gst_mf_guid_to_string() 742 return g_utf16_to_utf8 ((const gunichar2 *) var.pwszVal, in gst_mf_attribute_value_to_string()
|
D | gstmfsourcereader.cpp | 925 entry->path = g_utf16_to_utf8 ((const gunichar2 *) name, in gst_mf_source_enum_device_activate() 933 entry->name = g_utf16_to_utf8 ((const gunichar2 *) name, in gst_mf_source_enum_device_activate()
|