Home
last modified time | relevance | path

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

123

/third_party/glib/glib/
Dgenviron.c460 g_return_val_if_fail (g_utf8_validate (variable, -1, NULL), NULL); in g_getenv()
540 g_return_val_if_fail (g_utf8_validate (variable, -1, NULL), FALSE); in g_setenv()
541 g_return_val_if_fail (g_utf8_validate (value, -1, NULL), FALSE); in g_setenv()
585 g_return_if_fail (g_utf8_validate (variable, -1, NULL)); in g_unsetenv()
Dgutf8.c1671 g_utf8_validate (const char *str, in g_utf8_validate() function
1830 if (g_utf8_validate (remainder, remaining_bytes, &invalid)) in g_utf8_make_valid()
1851 g_assert (g_utf8_validate (string->str, -1, NULL)); in g_utf8_make_valid()
Dgconvert.c870 if (!g_utf8_validate (string, len, &end_valid)) in strdup_len()
1774 !(g_utf8_validate (hostname, -1, NULL) in g_filename_to_uri()
1934 if (g_utf8_validate (filename, -1, NULL)) in g_filename_display_name()
/third_party/gstreamer/gstplugins_good/gst/multifile/
Dpatternspec.c149 if (!g_utf8_validate (string, string_length, NULL)) in pattern_match()
215 || g_utf8_validate (pattern, -1, NULL)); in pattern_spec_new()
226 if (!g_utf8_validate (pattern, -1, NULL)) in pattern_spec_new()
Dgstsplitutils.c55 !g_utf8_validate (basename, -1, NULL)) { in gst_split_util_find_files()
/third_party/glib/glib/tests/
Dutf8-performance.c159 g_utf8_validate (str, -1, NULL); in grind_utf8_validate()
168 g_utf8_validate (str, len, NULL); in grind_utf8_validate_sized()
Dutf8-validate.c281 result = g_utf8_validate (test->text, test->max_len, &end); in do_test()
288 result = g_utf8_validate (test->text, strlen (test->text), &end); in do_test()
Dutf8-pointer.c37 g_assert (g_utf8_validate (string, -1, NULL)); in test_utf8()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Did3v2frames.c271 if (!g_utf8_validate (text, -1, NULL)) { in parse_comment_frame()
277 if (strlen (description) > 0 && g_utf8_validate (description, -1, NULL) && in parse_comment_frame()
527 g_utf8_validate (data, datalen, NULL)) { in parse_unique_file_identifier()
1025 if (g_utf8_validate (start, size, NULL)) { in string_utf8_dup()
1135 if (field != NULL && n_read > 0 && g_utf8_validate (field, -1, NULL)) { in parse_insert_string_field()
1153 if (field != NULL && n_read > 0 && g_utf8_validate (field, -1, NULL)) in parse_insert_string_field()
1162 if (g_utf8_validate (data, data_size, NULL)) in parse_insert_string_field()
1175 if (g_utf8_validate (field, -1, NULL)) { in parse_insert_string_field()
Dgstvorbistag.c202 g_return_if_fail (g_utf8_validate (tag, -1, NULL)); in gst_vorbis_tag_add()
203 g_return_if_fail (g_utf8_validate (value, -1, NULL)); in gst_vorbis_tag_add()
484 if (value_len == 0 || !g_utf8_validate (value, value_len, NULL)) { in gst_tag_list_from_vorbiscomment()
496 } else if (g_utf8_validate (cur, -1, NULL)) { in gst_tag_list_from_vorbiscomment()
Dtags.c280 g_return_val_if_fail (g_utf8_validate (ext_comment, -1, NULL), FALSE); in gst_tag_parse_extended_comment()
357 if (g_utf8_validate (data, size, NULL)) { in gst_tag_freeform_string_to_utf8()
Dmklangtables.c182 g_return_if_fail (g_utf8_validate (data, len, NULL)); in parse_iso_639_xml()
Dlang.c167 if (g_utf8_validate (xml_data, xml_len, NULL)) { in gst_tag_load_iso_639_xml()
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavisubtitle.c106 g_utf8_validate (data + 3, len - 3, NULL)) { in gst_avi_subtitle_extract_file()
126 } else if (g_utf8_validate (data, len, NULL)) { in gst_avi_subtitle_extract_file()
/third_party/glib/gio/
Dgicon.c229 if (!g_utf8_validate (ret, -1, NULL)) in g_icon_to_string()
251 g_utf8_validate (names[0], -1, NULL) && /* Only return utf8 strings */ in g_icon_to_string()
Dgdatainputstream.c844 if (!g_utf8_validate (res, -1, NULL)) in g_data_input_stream_read_line_utf8()
1262 if (!g_utf8_validate (res, -1, NULL)) in g_data_input_stream_read_line_finish_utf8()
/third_party/gstreamer/gstplugins_good/ext/soup/
Dgstsouphttpsrc.c1426 if (!g_utf8_validate (name, -1, NULL) || !g_utf8_validate (value, -1, NULL)) in insert_http_header()
1564 if (g_utf8_validate (value, -1, NULL)) { in gst_soup_http_src_got_headers()
1583 if (!g_utf8_validate (value, -1, NULL)) { in gst_soup_http_src_got_headers()
1642 if (g_utf8_validate (value, -1, NULL)) { in gst_soup_http_src_got_headers()
1654 if (g_utf8_validate (value, -1, NULL)) { in gst_soup_http_src_got_headers()
1665 if (g_utf8_validate (value, -1, NULL)) { in gst_soup_http_src_got_headers()
1957 if (reason_phrase && !g_utf8_validate (reason_phrase, -1, NULL)) { in gst_soup_http_src_parse_status()
/third_party/libsoup/libsoup/
Dsoup-directory-input-stream.c60 if (!g_utf8_validate (file_name, -1, NULL)) in G_DEFINE_TYPE()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dpbutils.c424 fail_unless (g_utf8_validate (desc, -1, NULL)); in GST_START_TEST()
429 fail_unless (g_utf8_validate (desc, -1, NULL)); in GST_START_TEST()
434 fail_unless (g_utf8_validate (desc, -1, NULL)); in GST_START_TEST()
Dtag.c876 fail_unless (g_utf8_validate (lang_name, -1, NULL)); in GST_START_TEST()
880 fail_unless (g_utf8_validate (c1, -1, NULL)); in GST_START_TEST()
884 fail_unless (g_utf8_validate (c2t, -1, NULL)); in GST_START_TEST()
888 fail_unless (g_utf8_validate (c2b, -1, NULL)); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst/id3tag/
Did3tag.c406 g_return_if_fail (g_utf8_validate (strings_utf8[i], len, NULL)); in id3v2_tag_add_text_frame()
717 g_return_if_fail (g_utf8_validate (desc, desclen, NULL)); in add_comment_tag()
719 g_return_if_fail (g_utf8_validate (val, vallen, NULL)); in add_comment_tag()
/third_party/gstreamer/gstplugins_base/gst/subparse/
Dgstsubparseelement.c326 if (!g_utf8_validate (str, 128, &end) && (end - str) < 120) { in gst_sub_parse_type_find()
Dgstssaparse.c197 if (!g_utf8_validate (ptr, left, &end)) { in gst_ssa_parse_setcaps()
/third_party/glib/tests/
Dunicode-encoding.c100 gboolean is_valid = g_utf8_validate (utf8, -1, &end); in process()
/third_party/glib/gio/tests/
Dlive-g-file.c433 utf8_valid = g_utf8_validate (display_name, -1, NULL); in test_attributes()
440 utf8_valid = g_utf8_validate (edit_name, -1, NULL); in test_attributes()
450 utf8_valid = g_utf8_validate (copy_name, -1, NULL); in test_attributes()

123