Home
last modified time | relevance | path

Searched refs:content_types (Results 1 – 7 of 7) sorted by relevance

/third_party/glib/gio/
Dgdesktopappinfo.c3478 char **content_types; in update_mimeapps_list() local
3504 content_types = g_new (char *, 2); in update_mimeapps_list()
3505 content_types[0] = g_strdup (content_type); in update_mimeapps_list()
3506 content_types[1] = NULL; in update_mimeapps_list()
3510 content_types = g_key_file_get_keys (key_file, DEFAULT_APPLICATIONS_GROUP, NULL, NULL); in update_mimeapps_list()
3513 for (k = 0; content_types && content_types[k]; k++) in update_mimeapps_list()
3518 content_types[k], in update_mimeapps_list()
3534 content_types[k], in update_mimeapps_list()
3539 content_types[k], in update_mimeapps_list()
3551 g_strfreev (content_types); in update_mimeapps_list()
[all …]
/third_party/glib/gio/tests/
Dappinfo.c519 const char * const *content_types; in test_supported_types() local
524 content_types = g_app_info_get_supported_types (appinfo); in test_supported_types()
526 g_assert_cmpint (g_strv_length ((char**)content_types), ==, 2); in test_supported_types()
527 g_assert_cmpstr (content_types[0], ==, "image/png"); in test_supported_types()
/third_party/libcoap/examples/
Dcoap-client.c553 static content_type_t content_types[] = { in cmdline_content_type() local
581 content_types[i].media_type && in cmdline_content_type()
582 strncmp(arg, content_types[i].media_type, strlen(arg)) != 0 ; in cmdline_content_type()
586 if (content_types[i].media_type) { in cmdline_content_type()
587 value = content_types[i].code; in cmdline_content_type()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvp9enc.cpp85 static const GEnumValue content_types[] = { in gst_mf_vp9_enc_content_type_get_type() local
94 g_enum_register_static ("GstMFVP9EncContentType", content_types); in gst_mf_vp9_enc_content_type_get_type()
Dgstmfh265enc.cpp86 static const GEnumValue content_types[] = { in gst_mf_h265_enc_content_type_get_type() local
95 g_enum_register_static ("GstMFH265EncContentType", content_types); in gst_mf_h265_enc_content_type_get_type()
Dgstmfh264enc.cpp126 static const GEnumValue content_types[] = { in gst_mf_h264_enc_content_type_get_type() local
135 g_enum_register_static ("GstMFH264EncContentType", content_types); in gst_mf_h264_enc_content_type_get_type()
/third_party/chromium/patch/
D0003-3.2-Beta3-1115.patch42355 - EXPECT_EQ(content_types.size(), 2U);
42356 + EXPECT_EQ(content_types.size(), 3U);
42357 EXPECT_EQ(content_types[0], "audio/mpeg");
42358 EXPECT_EQ(content_types[1], "video/mp4");
42359 + EXPECT_EQ(content_types[2], "image/gif");