Home
last modified time | relevance | path

Searched refs:g_utf8_validate (Results 1 – 24 of 24) sorted by relevance

/external/bluetooth/glib/gio/
Dgicon.c263 if (!g_utf8_validate (ret, -1, NULL)) in g_icon_to_string()
280 g_utf8_validate (names[0], -1, NULL) && /* Only return utf8 strings */ in g_icon_to_string()
Dglocalfileinfo.c1008 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in make_valid_utf8()
1028 g_warn_if_fail (g_utf8_validate (string->str, -1, NULL)); in make_valid_utf8()
1038 if (!g_utf8_validate (pwd_str, -1, NULL)) in convert_pwd_string_to_utf8()
Dglocalfile.c398 !g_utf8_validate (string, -1, NULL)) in name_is_valid_for_display()
/external/bluetooth/glib/tests/
Dutf8-pointer.c38 g_assert (g_utf8_validate (string, -1, NULL)); in test_utf8()
Dutf8-validate.c287 result = g_utf8_validate (text, max_len, &end); in do_test()
Dunicode-encoding.c88 gboolean is_valid = g_utf8_validate (utf8, -1, &end); in process()
/external/bluetooth/glib/glib/
Dgutf8.c1754 g_utf8_validate (const char *str, in g_utf8_validate() function
1857 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in _g_utf8_make_valid()
1877 g_assert (g_utf8_validate (string->str, -1, NULL)); in _g_utf8_make_valid()
Dgconvert.c1033 if (!g_utf8_validate (string, len, NULL)) in strdup_len()
1917 !(g_utf8_validate (hostname, -1, NULL) in g_filename_to_uri()
2111 if (g_utf8_validate (filename, -1, NULL)) in g_filename_display_name()
Dgunicode.h356 gboolean g_utf8_validate (const gchar *str,
Dgutils.c1095 g_return_val_if_fail (g_utf8_validate (variable, -1, NULL), NULL); in g_getenv()
1241 g_return_val_if_fail (g_utf8_validate (variable, -1, NULL), FALSE); in g_setenv()
1242 g_return_val_if_fail (g_utf8_validate (value, -1, NULL), FALSE); in g_setenv()
1348 g_return_if_fail (g_utf8_validate (variable, -1, NULL)); in g_unsetenv()
Dgmessages.c602 if (!g_utf8_validate (string, -1, NULL)) in strdup_convert()
Dgkeyfile.c1388 if (!g_utf8_validate (value, -1, NULL)) in g_key_file_get_string()
1503 if (!g_utf8_validate (value, -1, NULL)) in g_key_file_get_string_list()
Dgiochannel.c2171 if (!g_utf8_validate (from_buf, try_len, &badchar)) in g_io_channel_write_chars()
Dgaliasdef.c3566 #undef g_utf8_validate
3567 extern __typeof (g_utf8_validate) g_utf8_validate __attribute((alias("IA__g_utf8_validate"), visibi…
Dgalias.h3555 extern __typeof (g_utf8_validate) IA__g_utf8_validate __attribute((visibility("hidden")));
3556 #define g_utf8_validate IA__g_utf8_validate macro
/external/bluetooth/glib/gio/tests/
Dlive-g-file.c343 utf8_valid = g_utf8_validate (display_name, -1, NULL); in test_attributes()
350 utf8_valid = g_utf8_validate (edit_name, -1, NULL); in test_attributes()
360 utf8_valid = g_utf8_validate (copy_name, -1, NULL); in test_attributes()
Dg-file.c239 is_utf8_valid = g_utf8_validate (parsed_name, -1, NULL); in parse_check_utf8()
/external/bluetooth/bluez/src/
Dsecurity.c738 if (!g_utf8_validate(name, -1, (const char **) &end)) in remote_name_information()
Dadapter.c985 if (!g_utf8_validate(name, -1, NULL)) { in set_name()
/external/bluetooth/glib/docs/reference/glib/
Dglib-sections.txt2486 g_utf8_validate
/external/webkit/WebCore/accessibility/gtk/
DAccessibilityObjectWrapperAtk.cpp836 if (!g_utf8_validate(utf8String, -1, 0)) { in convertUniCharToUTF8()
/external/bluetooth/glib/
DChangeLog.pre-2-6243 * glib/gutf8.c: Replace g_utf8_validate() with an
249 * tests/utf8-validate.c: Unit tests for g_utf8_validate().
DNEWS2243 - Optimize g_utf8_validate()
2271 * Optimize g_utf8_validate() [Owen Taylor, Matthias Clasen]
2996 * Various Unicode handling additions (g_ucs4_to_utf8, g_utf8_validate(),
DChangeLog.pre-2-03957 * gutf8.c (g_utf8_validate):
4170 * gutf8.c (g_utf8_validate): Simplify logic a bit, maybe
5009 * gutf8.c (g_utf8_validate): Add this function.