Home
last modified time | relevance | path

Searched refs:g_assert_cmpuint (Results 1 – 25 of 120) sorted by relevance

12345

/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-ot-collect-glyphs.c52 g_assert_cmpuint (0, ==, hb_set_get_population (before)); in test_ot_layout_lookup_collect_glyphs_source_sans()
53 g_assert_cmpuint (684, ==, hb_set_get_population (input)); in test_ot_layout_lookup_collect_glyphs_source_sans()
56 g_assert_cmpuint (54, ==, g); in test_ot_layout_lookup_collect_glyphs_source_sans()
57 g_assert_cmpuint (0, ==, hb_set_get_population (after)); in test_ot_layout_lookup_collect_glyphs_source_sans()
58 g_assert_cmpuint (372, ==, hb_set_get_population (output)); in test_ot_layout_lookup_collect_glyphs_source_sans()
61 g_assert_cmpuint (574, ==, g); in test_ot_layout_lookup_collect_glyphs_source_sans()
66 g_assert_cmpuint (0, ==, hb_set_get_population (before)); in test_ot_layout_lookup_collect_glyphs_source_sans()
68 g_assert_cmpuint (143, ==, hb_set_get_population (input)); in test_ot_layout_lookup_collect_glyphs_source_sans()
71 g_assert_cmpuint (2, ==, g); in test_ot_layout_lookup_collect_glyphs_source_sans()
73 g_assert_cmpuint (0, ==, hb_set_get_population (after)); in test_ot_layout_lookup_collect_glyphs_source_sans()
[all …]
Dtest-ot-layout.c44 g_assert_cmpuint (3, ==, total); in test_ot_layout_table_get_script_tags()
48 g_assert_cmpuint (3, ==, count); in test_ot_layout_table_get_script_tags()
49 g_assert_cmpuint (HB_TAG ('a','r','a','b'), ==, tags[0]); in test_ot_layout_table_get_script_tags()
50 g_assert_cmpuint (HB_TAG ('d','f','l','t'), ==, tags[1]); in test_ot_layout_table_get_script_tags()
51 g_assert_cmpuint (HB_TAG ('l','a','t','n'), ==, tags[2]); in test_ot_layout_table_get_script_tags()
59 g_assert_cmpuint (1, ==, total); in test_ot_layout_table_get_script_tags()
63 g_assert_cmpuint (1, ==, count); in test_ot_layout_table_get_script_tags()
64 g_assert_cmpuint (HB_TAG ('a','r','a','b'), ==, tags[0]); in test_ot_layout_table_get_script_tags()
78 g_assert_cmpuint (0, ==, index); in test_ot_layout_table_find_script()
80 g_assert_cmpuint (1, ==, index); in test_ot_layout_table_find_script()
[all …]
Dtest-ot-ligature-carets.c42 g_assert_cmpuint (0, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
46 g_assert_cmpuint (0, ==, caret_count); in test_ot_layout_get_ligature_carets_ot_gdef()
52 g_assert_cmpuint (0, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
56 g_assert_cmpuint (0, ==, caret_count); in test_ot_layout_get_ligature_carets_ot_gdef()
62 g_assert_cmpuint (3, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
66 g_assert_cmpuint (3, ==, caret_count); in test_ot_layout_get_ligature_carets_ot_gdef()
67 g_assert_cmpuint (2718, ==, caret_array[0]); in test_ot_layout_get_ligature_carets_ot_gdef()
68 g_assert_cmpuint (5438, ==, caret_array[1]); in test_ot_layout_get_ligature_carets_ot_gdef()
69 g_assert_cmpuint (8156, ==, caret_array[2]); in test_ot_layout_get_ligature_carets_ot_gdef()
77 g_assert_cmpuint (3, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
[all …]
Dtest-aat-layout.c41 g_assert_cmpuint (11, ==, hb_aat_layout_get_feature_types (face, 0, &count, features)); in test_aat_get_feature_types()
43 g_assert_cmpuint (1, ==, features[0]); in test_aat_get_feature_types()
44 g_assert_cmpuint (3, ==, features[1]); in test_aat_get_feature_types()
45 g_assert_cmpuint (6, ==, features[2]); in test_aat_get_feature_types()
47 g_assert_cmpuint (258, ==, hb_aat_layout_feature_type_get_name_id (face, features[0])); in test_aat_get_feature_types()
48 g_assert_cmpuint (261, ==, hb_aat_layout_feature_type_get_name_id (face, features[1])); in test_aat_get_feature_types()
49 g_assert_cmpuint (265, ==, hb_aat_layout_feature_type_get_name_id (face, features[2])); in test_aat_get_feature_types()
59 g_assert_cmpuint (4, ==, hb_aat_layout_feature_type_get_selector_infos (face, in test_aat_get_feature_selectors()
63 g_assert_cmpuint (3, ==, count); in test_aat_get_feature_selectors()
64 g_assert_cmpuint (0, ==, default_index); in test_aat_get_feature_selectors()
[all …]
Dtest-collect-unicodes.c41 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format4()
43 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format4()
45 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format4()
63 g_assert_cmpuint (0x20, ==, cp); in test_collect_unicodes_format12_notdef()
65 g_assert_cmpuint (0x21, ==, cp); in test_collect_unicodes_format12_notdef()
67 g_assert_cmpuint (0x22, ==, cp); in test_collect_unicodes_format12_notdef()
84 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format12()
86 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format12()
88 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format12()
106 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes()
[all …]
Dtest-ot-color.c305 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
306 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 1), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
307 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
308 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
309 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 1), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
310 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
311 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
312 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 1), ==, 256); in test_hb_ot_color_palette_color_get_name_id()
313 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
324 g_assert_cmpuint (hb_ot_color_glyph_get_layers (cpal_v1, 0, 0, in test_hb_ot_color_glyph_get_layers()
[all …]
Dtest-ot-alternates.c37g_assert_cmpuint (7, ==, hb_ot_layout_lookup_get_glyph_alternates (face, 1, 1091, 2, &alternates_c… in test_ot_layout_lookup_get_glyph_alternates()
39 g_assert_cmpuint (3, ==, alternates_count); in test_ot_layout_lookup_get_glyph_alternates()
40 g_assert_cmpuint (1606, ==, alternates[0]); in test_ot_layout_lookup_get_glyph_alternates()
41 g_assert_cmpuint (1578, ==, alternates[1]); in test_ot_layout_lookup_get_glyph_alternates()
42 g_assert_cmpuint (1592, ==, alternates[2]); in test_ot_layout_lookup_get_glyph_alternates()
/third_party/harfbuzz/test/api/
Dtest-ot-ligature-carets.c42 g_assert_cmpuint (0, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
46 g_assert_cmpuint (0, ==, caret_count); in test_ot_layout_get_ligature_carets_ot_gdef()
52 g_assert_cmpuint (0, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
56 g_assert_cmpuint (0, ==, caret_count); in test_ot_layout_get_ligature_carets_ot_gdef()
62 g_assert_cmpuint (3, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
66 g_assert_cmpuint (3, ==, caret_count); in test_ot_layout_get_ligature_carets_ot_gdef()
67 g_assert_cmpuint (2718, ==, caret_array[0]); in test_ot_layout_get_ligature_carets_ot_gdef()
68 g_assert_cmpuint (5438, ==, caret_array[1]); in test_ot_layout_get_ligature_carets_ot_gdef()
69 g_assert_cmpuint (8156, ==, caret_array[2]); in test_ot_layout_get_ligature_carets_ot_gdef()
77 g_assert_cmpuint (3, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_LTR, in test_ot_layout_get_ligature_carets_ot_gdef()
[all …]
Dtest-aat-layout.c41 g_assert_cmpuint (11, ==, hb_aat_layout_get_feature_types (face, 0, &count, features)); in test_aat_get_feature_types()
43 g_assert_cmpuint (1, ==, features[0]); in test_aat_get_feature_types()
44 g_assert_cmpuint (3, ==, features[1]); in test_aat_get_feature_types()
45 g_assert_cmpuint (6, ==, features[2]); in test_aat_get_feature_types()
47 g_assert_cmpuint (258, ==, hb_aat_layout_feature_type_get_name_id (face, features[0])); in test_aat_get_feature_types()
48 g_assert_cmpuint (261, ==, hb_aat_layout_feature_type_get_name_id (face, features[1])); in test_aat_get_feature_types()
49 g_assert_cmpuint (265, ==, hb_aat_layout_feature_type_get_name_id (face, features[2])); in test_aat_get_feature_types()
59 g_assert_cmpuint (4, ==, hb_aat_layout_feature_type_get_selector_infos (face, in test_aat_get_feature_selectors()
63 g_assert_cmpuint (3, ==, count); in test_aat_get_feature_selectors()
64 g_assert_cmpuint (0, ==, default_index); in test_aat_get_feature_selectors()
[all …]
Dtest-collect-unicodes.c41 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format4()
43 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format4()
45 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format4()
63 g_assert_cmpuint (0x20, ==, cp); in test_collect_unicodes_format12_notdef()
65 g_assert_cmpuint (0x21, ==, cp); in test_collect_unicodes_format12_notdef()
67 g_assert_cmpuint (0x22, ==, cp); in test_collect_unicodes_format12_notdef()
84 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format12()
86 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format12()
88 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format12()
106 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes()
[all …]
Dtest-ot-color.c305 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
306 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 1), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
307 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
308 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
309 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 1), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
310 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
311 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
312 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 1), ==, 256); in test_hb_ot_color_palette_color_get_name_id()
313 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
324 g_assert_cmpuint (hb_ot_color_glyph_get_layers (cpal_v1, 0, 0, in test_hb_ot_color_glyph_get_layers()
[all …]
Dtest-ot-alternates.c37g_assert_cmpuint (7, ==, hb_ot_layout_lookup_get_glyph_alternates (face, 1, 1091, 2, &alternates_c… in test_ot_layout_lookup_get_glyph_alternates()
39 g_assert_cmpuint (3, ==, alternates_count); in test_ot_layout_lookup_get_glyph_alternates()
40 g_assert_cmpuint (1606, ==, alternates[0]); in test_ot_layout_lookup_get_glyph_alternates()
41 g_assert_cmpuint (1578, ==, alternates[1]); in test_ot_layout_lookup_get_glyph_alternates()
42 g_assert_cmpuint (1592, ==, alternates[2]); in test_ot_layout_lookup_get_glyph_alternates()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
Dtest-aat-layout.c41 g_assert_cmpuint (11, ==, hb_aat_layout_get_feature_types (face, 0, &count, features)); in test_aat_get_feature_types()
43 g_assert_cmpuint (1, ==, features[0]); in test_aat_get_feature_types()
44 g_assert_cmpuint (3, ==, features[1]); in test_aat_get_feature_types()
45 g_assert_cmpuint (6, ==, features[2]); in test_aat_get_feature_types()
47 g_assert_cmpuint (258, ==, hb_aat_layout_feature_type_get_name_id (face, features[0])); in test_aat_get_feature_types()
48 g_assert_cmpuint (261, ==, hb_aat_layout_feature_type_get_name_id (face, features[1])); in test_aat_get_feature_types()
49 g_assert_cmpuint (265, ==, hb_aat_layout_feature_type_get_name_id (face, features[2])); in test_aat_get_feature_types()
59 g_assert_cmpuint (4, ==, hb_aat_layout_feature_type_get_selector_infos (face, in test_aat_get_feature_selectors()
63 g_assert_cmpuint (3, ==, count); in test_aat_get_feature_selectors()
64 g_assert_cmpuint (0, ==, default_index); in test_aat_get_feature_selectors()
[all …]
Dtest-ot-ligature-carets.c39 g_assert_cmpuint (2, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_RTL, in test_ot_layout_feature_get_name_ids_and_characters()
43 g_assert_cmpuint (2, ==, caret_count); in test_ot_layout_feature_get_name_ids_and_characters()
44 g_assert_cmpuint (1130, ==, caret_array[0]); in test_ot_layout_feature_get_name_ids_and_characters()
45 g_assert_cmpuint (2344, ==, caret_array[1]); in test_ot_layout_feature_get_name_ids_and_characters()
47 g_assert_cmpuint (2, ==, hb_ot_layout_get_ligature_carets (font, HB_DIRECTION_BTT, in test_ot_layout_feature_get_name_ids_and_characters()
51 g_assert_cmpuint (2, ==, caret_count); in test_ot_layout_feature_get_name_ids_and_characters()
52 g_assert_cmpuint (2260, ==, caret_array[0]); in test_ot_layout_feature_get_name_ids_and_characters()
53 g_assert_cmpuint (4688, ==, caret_array[1]); in test_ot_layout_feature_get_name_ids_and_characters()
Dtest-collect-unicodes.c41 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format4()
43 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format4()
45 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format4()
63 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format12()
65 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format12()
67 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format12()
85 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes()
87 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes()
89 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes()
Dtest-ot-color.c303 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
304 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 1), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
305 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (empty, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
306 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
307 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 1), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
308 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v0, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
309 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 0), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
310 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 1), ==, 256); in test_hb_ot_color_palette_color_get_name_id()
311 g_assert_cmpuint (hb_ot_color_palette_color_get_name_id (cpal_v1, 2), ==, HB_OT_NAME_ID_INVALID); in test_hb_ot_color_palette_color_get_name_id()
322 g_assert_cmpuint (hb_ot_color_glyph_get_layers (cpal_v1, 0, 0, in test_hb_ot_color_glyph_get_layers()
[all …]
Dtest-ot-name.c83 g_assert_cmpuint (12, ==, num_entries); in test_ot_name()
85 g_assert_cmpuint (3, ==, name_id); in test_ot_name()
88 g_assert_cmpuint (27, ==, hb_ot_name_get_utf8 (face, name_id, lang, &text_size, text)); in test_ot_name()
89 g_assert_cmpuint (9, ==, text_size); in test_ot_name()
/third_party/glib/gio/tests/
Dcredentials.c54 g_assert_cmpuint (g_credentials_get_unix_user (creds, &error), ==, in test_basic()
73 g_assert_cmpuint (g_credentials_get_unix_user (other, &error), ==, not_me); in test_basic()
81 g_assert_cmpuint (g_credentials_get_unix_user (other, &error), ==, geteuid ()); in test_basic()
99 g_assert_cmpuint (native->uid, ==, geteuid ()); in test_basic()
100 g_assert_cmpuint (native->pid, ==, getpid ()); in test_basic()
107 g_assert_cmpuint (native->cr_version, ==, XUCRED_VERSION); in test_basic()
108 g_assert_cmpuint (native->cr_uid, ==, geteuid ()); in test_basic()
115 g_assert_cmpuint (native->cmcred_euid, ==, geteuid ()); in test_basic()
116 g_assert_cmpuint (native->cmcred_pid, ==, getpid ()); in test_basic()
123 g_assert_cmpuint (native->unp_euid, ==, geteuid ()); in test_basic()
[all …]
Dglistmodel.c89 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, 0); in test_store_boundaries()
94 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, 1); in test_store_boundaries()
102 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, 0); in test_store_boundaries()
116 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, 1); in test_store_boundaries()
122 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, 1); in test_store_boundaries()
139 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, 0); in test_store_refcounts()
153 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, n_items); in test_store_refcounts()
163 g_assert_cmpuint (g_list_model_get_n_items (G_LIST_MODEL (store)), ==, n_items); in test_store_refcounts()
287 g_assert_cmpuint (g_list_model_get_n_items (model), ==, 3); in test_store_splice_replace_middle()
301 g_assert_cmpuint (g_list_model_get_n_items (model), ==, 4); in test_store_splice_replace_middle()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dvideo.c3493 g_assert_cmpuint (GST_VIDEO_INFO_HEIGHT (&info), ==, 1080); in GST_START_TEST()
3494 g_assert_cmpuint (GST_VIDEO_INFO_FIELD_HEIGHT (&info), ==, 1080); in GST_START_TEST()
3495 g_assert_cmpuint (GST_VIDEO_INFO_SIZE (&info), ==, 1920 * 1080 * 1.5); in GST_START_TEST()
3501 g_assert_cmpuint (plane_size[0], ==, 1920 * 1080); in GST_START_TEST()
3502 g_assert_cmpuint (plane_size[1], ==, 1920 * 1080 / 2); in GST_START_TEST()
3503 g_assert_cmpuint (plane_size[2], ==, 0); in GST_START_TEST()
3504 g_assert_cmpuint (plane_size[3], ==, 0); in GST_START_TEST()
3506 g_assert_cmpuint (GST_VIDEO_INFO_PLANE_STRIDE (&info, 0), ==, 1920); in GST_START_TEST()
3507 g_assert_cmpuint (GST_VIDEO_INFO_PLANE_STRIDE (&info, 1), ==, 1920); in GST_START_TEST()
3508 g_assert_cmpuint (GST_VIDEO_INFO_PLANE_STRIDE (&info, 2), ==, 0); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dh265parser.c324 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
327 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
330 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
334 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
347 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
352 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
357 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
362 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
411 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
415 g_assert_cmpuint (gst_h265_profile_tier_level_get_profile (&ptl), ==, in GST_START_TEST()
[all …]
/third_party/glib/glib/tests/
Datomic.c114 g_assert_cmpuint (gs2, ==, 0); in test_types()
117 g_assert_cmpuint (gs, ==, 0); in test_types()
119 g_assert_cmpuint (gs2, ==, 0); in test_types()
120 g_assert_cmpuint (gs, ==, 5); in test_types()
122 g_assert_cmpuint (gs2, ==, 5); in test_types()
123 g_assert_cmpuint (gs, ==, 4); in test_types()
125 g_assert_cmpuint (gs2, ==, 4); in test_types()
126 g_assert_cmpuint (gs, ==, 12); in test_types()
128 g_assert_cmpuint (gs2, ==, 12); in test_types()
129 g_assert_cmpuint (gs, ==, 8); in test_types()
[all …]
Doverflow.c43 g_assert_cmpuint (cases[i].success, ==, g_uint_checked_add (&result, cases[i].a, cases[i].b)); in test_checked_guint_add()
45 g_assert_cmpuint (cases[i].c, ==, result); in test_checked_guint_add()
70 g_assert_cmpuint (cases[i].success, ==, g_uint_checked_mul (&result, cases[i].a, cases[i].b)); in test_checked_guint_mul()
72 g_assert_cmpuint (cases[i].c, ==, result); in test_checked_guint_mul()
98g_assert_cmpuint (cases[i].success, ==, g_uint64_checked_add (&result, cases[i].a, cases[i].b)); in test_checked_guint64_add()
100 g_assert_cmpuint (cases[i].c, ==, result); in test_checked_guint64_add()
125g_assert_cmpuint (cases[i].success, ==, g_uint64_checked_mul (&result, cases[i].a, cases[i].b)); in test_checked_guint64_mul()
127 g_assert_cmpuint (cases[i].c, ==, result); in test_checked_guint64_mul()
153 g_assert_cmpuint (cases[i].success, ==, g_size_checked_add (&result, cases[i].a, cases[i].b)); in test_checked_gsize_add()
155 g_assert_cmpuint (cases[i].c, ==, result); in test_checked_gsize_add()
[all …]
Dbytes.c43 g_assert_cmpuint (size, ==, 4); in test_new()
44 g_assert_cmpuint (g_bytes_get_size (bytes), ==, 4); in test_new()
61 g_assert_cmpuint (size, ==, 4); in test_new_take()
62 g_assert_cmpuint (g_bytes_get_size (bytes), ==, 4); in test_new_take()
78 g_assert_cmpuint (size, ==, 4); in test_new_static()
79 g_assert_cmpuint (g_bytes_get_size (bytes), ==, 4); in test_new_static()
176 g_assert_cmpuint (size, ==, 4); in test_new_with_free_func()
177 g_assert_cmpuint (g_bytes_get_size (bytes), ==, 4); in test_new_with_free_func()
180 g_assert_cmpuint (count, ==, 1); in test_new_with_free_func()
297 g_assert_cmpuint (size, ==, N_NYAN); in test_to_data_two_refs()
[all …]
Darray-test.c50 g_assert_cmpuint (garray->len, ==, n_expected_elements); in assert_int_array_equal()
87 g_assert_cmpuint (garray->len, ==, 0); in array_set_size()
91 g_assert_cmpuint (garray->len, ==, 5); in array_set_size()
110 g_assert_cmpuint (garray->len, ==, 0); in array_set_size_sized()
114 g_assert_cmpuint (garray->len, ==, 5); in array_set_size_sized()
132 g_assert_cmpuint (garray->len, ==, 0); in array_new_zero_terminated()
135 g_assert_cmpuint (garray->len, ==, 5); in array_new_zero_terminated()
350 g_assert_cmpuint (garray->len, ==, G_N_ELEMENTS (expected_vals5)); in array_insert_vals()
549 g_assert_cmpuint (g_array_index (array, gint, i), ==, in array_copy()
833 g_assert_cmpuint (array2->len, ==, array1->len); in test_array_copy_sized()
[all …]

12345