Home
last modified time | relevance | path

Searched refs:G_N_ELEMENTS (Results 1 – 25 of 429) sorted by relevance

12345678910>>...18

/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dsubparse.c374 test_srt_do_test (srt_input, 0, G_N_ELEMENTS (srt_input)); in GST_START_TEST()
377 test_srt_do_test (srt_input, 1, G_N_ELEMENTS (srt_input) - 1); in GST_START_TEST()
378 test_srt_do_test (srt_input, 2, G_N_ELEMENTS (srt_input) - 2); in GST_START_TEST()
379 test_srt_do_test (srt_input, 3, G_N_ELEMENTS (srt_input) - 3); in GST_START_TEST()
380 test_srt_do_test (srt_input, 4, G_N_ELEMENTS (srt_input) - 4); in GST_START_TEST()
383 test_srt_do_test (srt_input, 5, G_N_ELEMENTS (srt_input) - 5); in GST_START_TEST()
386 test_srt_do_test (srt_input0, 0, G_N_ELEMENTS (srt_input0)); in GST_START_TEST()
389 test_srt_do_test (srt_input1, 0, G_N_ELEMENTS (srt_input1)); in GST_START_TEST()
392 test_srt_do_test (srt_input2, 0, G_N_ELEMENTS (srt_input2)); in GST_START_TEST()
395 test_srt_do_test (srt_input3, 0, G_N_ELEMENTS (srt_input3)); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dd3d11colorconvert.c77 for (i = 0; i < G_N_ELEMENTS (test_rgba_reorder); i++) { in GST_START_TEST()
78 for (j = 0; j < G_N_ELEMENTS (test_rgba_reorder); j++) { in GST_START_TEST()
184 for (i = 0; i < G_N_ELEMENTS (YUV_FORMATS); i++) { in GST_START_TEST()
185 for (j = 0; j < G_N_ELEMENTS (YUV_FORMATS); j++) { in GST_START_TEST()
201 for (i = 0; i < G_N_ELEMENTS (YUV_FORMATS); i++) { in GST_START_TEST()
202 for (j = 0; j < G_N_ELEMENTS (RGB_FORMATS); j++) { in GST_START_TEST()
218 for (i = 0; i < G_N_ELEMENTS (YUV_FORMATS); i++) { in GST_START_TEST()
219 for (j = 0; j < G_N_ELEMENTS (GRAY_FORMATS); j++) { in GST_START_TEST()
235 for (i = 0; i < G_N_ELEMENTS (RGB_FORMATS); i++) { in GST_START_TEST()
236 for (j = 0; j < G_N_ELEMENTS (YUV_FORMATS); j++) { in GST_START_TEST()
[all …]
Dcudaconvert.c88 for (i = 0; i < G_N_ELEMENTS (format_list); i++) { in GST_START_TEST()
89 for (j = 0; j < G_N_ELEMENTS (format_list); j++) { in GST_START_TEST()
114 for (i = 0; i < G_N_ELEMENTS (in_format_list); i++) { in GST_START_TEST()
115 for (j = 0; j < G_N_ELEMENTS (out_format_list); j++) { in GST_START_TEST()
138 for (i = 0; i < G_N_ELEMENTS (in_format_list); i++) { in GST_START_TEST()
139 for (j = 0; j < G_N_ELEMENTS (out_format_list); j++) { in GST_START_TEST()
158 for (i = 0; i < G_N_ELEMENTS (format_list); i++) { in GST_START_TEST()
159 for (j = 0; j < G_N_ELEMENTS (format_list); j++) { in GST_START_TEST()
Dccconverter.c232 for (i = 0; i < G_N_ELEMENTS (failure_caps); i++) { in GST_START_TEST()
233 for (j = 0; j < G_N_ELEMENTS (failure_caps); j++) { in GST_START_TEST()
567 check_conversion_multiple (G_N_ELEMENTS (in_len), in, in_len, in GST_START_TEST()
568 G_N_ELEMENTS (out_len), out, out_len, in GST_START_TEST()
624 check_conversion_multiple (G_N_ELEMENTS (in_len), in, in_len, in GST_START_TEST()
625 G_N_ELEMENTS (out_len), out, out_len, in GST_START_TEST()
676 check_conversion_multiple (G_N_ELEMENTS (in_len), in, in_len, in GST_START_TEST()
677 G_N_ELEMENTS (out_len), out, out_len, in GST_START_TEST()
725 check_conversion_multiple (G_N_ELEMENTS (in_len), in, in_len, in GST_START_TEST()
726 G_N_ELEMENTS (out_len), out, out_len, in GST_START_TEST()
[all …]
/third_party/glib/glib/tests/
Dwin32.c38 gchar debugger_not_enough[G_N_ELEMENTS (not_enough)]; in test_subst_pid_and_event()
39 gchar debugger_enough[G_N_ELEMENTS (not_enough) + 1]; in test_subst_pid_and_event()
46 g_assert_false (_g_win32_subst_pid_and_event (debugger_3, G_N_ELEMENTS (debugger_3), in test_subst_pid_and_event()
49 g_assert_false (_g_win32_subst_pid_and_event (debugger_3, G_N_ELEMENTS (debugger_3), in test_subst_pid_and_event()
52 …g_assert_false (_g_win32_subst_pid_and_event (debugger_not_enough, G_N_ELEMENTS (debugger_not_enou… in test_subst_pid_and_event()
56 g_assert_true (_g_win32_subst_pid_and_event (debugger_enough, G_N_ELEMENTS (debugger_enough), in test_subst_pid_and_event()
60 g_assert_true (_g_win32_subst_pid_and_event (debugger_big, G_N_ELEMENTS (debugger_big), in test_subst_pid_and_event()
Donce.c114 for (i = 0; i < G_N_ELEMENTS (threads); i++) in test_once_multi_threaded()
117 GUINT_TO_POINTER (G_N_ELEMENTS (threads))); in test_once_multi_threaded()
122 for (i = 0; i < G_N_ELEMENTS (threads); i++) in test_once_multi_threaded()
183 for (i = 0; i < G_N_ELEMENTS (threads); i++) in test_once_init_multi_threaded()
186 for (i = 0; i < G_N_ELEMENTS (threads); i++) in test_once_init_multi_threaded()
Doverflow.c39 for (i = 0; i < G_N_ELEMENTS (cases); i++) in test_checked_guint_add()
66 for (i = 0; i < G_N_ELEMENTS (cases); i++) in test_checked_guint_mul()
94 for (i = 0; i < G_N_ELEMENTS (cases); i++) in test_checked_guint64_add()
121 for (i = 0; i < G_N_ELEMENTS (cases); i++) in test_checked_guint64_mul()
149 for (i = 0; i < G_N_ELEMENTS (cases); i++) in test_checked_gsize_add()
176 for (i = 0; i < G_N_ELEMENTS (cases); i++) in test_checked_gsize_mul()
Drand.c89 for (n = 1; n < G_N_ELEMENTS (first_numbers); n++) in test_rand()
93 g_rand_set_seed_array (rand, seed_array, G_N_ELEMENTS (seed_array)); in test_rand()
95 for (n = 0; n < G_N_ELEMENTS (array_outputs); n++) in test_rand()
/third_party/glib/glib/
Dgwin32-private.c43 _snprintf_s (pid_str, STR_BUFFER_SIZE, G_N_ELEMENTS (pid_str), "%lu", pid); in _g_win32_subst_pid_and_event()
44 pid_str[G_N_ELEMENTS (pid_str) - 1] = 0; in _g_win32_subst_pid_and_event()
46 _snprintf_s (event_str, STR_BUFFER_SIZE, G_N_ELEMENTS (pid_str), "%Iu", event); in _g_win32_subst_pid_and_event()
47 event_str[G_N_ELEMENTS (pid_str) - 1] = 0; in _g_win32_subst_pid_and_event()
Dgbitlock.c230 guint class = ((gsize) address) % G_N_ELEMENTS (g_bit_lock_contended); in g_bit_lock()
247 guint class = ((gsize) address) % G_N_ELEMENTS (g_bit_lock_contended); in g_bit_lock()
336 guint class = ((gsize) address) % G_N_ELEMENTS (g_bit_lock_contended); in g_bit_unlock()
425 guint class = ((gsize) address) % G_N_ELEMENTS (g_bit_lock_contended);
443 guint class = ((gsize) address) % G_N_ELEMENTS (g_bit_lock_contended);
535 guint class = ((gsize) address) % G_N_ELEMENTS (g_bit_lock_contended);
Dguniprop.c355 for (i = 0; i < G_N_ELEMENTS (title_table); ++i) in g_unichar_istitle()
445 #define G_WIDTH_TABLE_MIDPOINT (G_N_ELEMENTS (g_unicode_width_table_wide) / 2)
451 int upper = G_N_ELEMENTS (g_unicode_width_table_wide) - 1; in g_unichar_iswide_bsearch()
522 G_N_ELEMENTS (g_unicode_width_table_ambiguous), in g_unichar_iswide_cjk()
562 for (i = 0; i < G_N_ELEMENTS (title_table); ++i) in g_unichar_toupper()
603 for (i = 0; i < G_N_ELEMENTS (title_table); ++i) in g_unichar_tolower()
632 for (i = 0; i < G_N_ELEMENTS (title_table); ++i) in g_unichar_totitle()
832 decomp_len = g_unichar_fully_decompose (c, FALSE, decomp, G_N_ELEMENTS (decomp)); in real_toupper()
881 for (i = 0; i < G_N_ELEMENTS (title_table); ++i) in real_toupper()
1077 for (i = 0; i < G_N_ELEMENTS (title_table); ++i) in real_tolower()
[all …]
Dgprimes.c91 for (i = 0; i < G_N_ELEMENTS (g_primes); i++) in g_spaced_primes_closest()
95 return g_primes[G_N_ELEMENTS (g_primes) - 1]; in g_spaced_primes_closest()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstjpeg2000sampling.c55 for (i = 0; i < G_N_ELEMENTS (gst_jpeg2000_sampling_strings); ++i) { in gst_jpeg2000_sampling_from_string()
69 && sampling <= G_N_ELEMENTS (gst_jpeg2000_sampling_strings), NULL); in gst_jpeg2000_sampling_to_string()
118 for (i = 0; i < G_N_ELEMENTS (gst_jpeg2000_colorspace_strings); ++i) { in gst_jpeg2000_colorspace_from_string()
130 && colorspace <= G_N_ELEMENTS (gst_jpeg2000_colorspace_strings), NULL); in gst_jpeg2000_colorspace_to_string()
/third_party/gstreamer/gstreamer/tests/check/generic/
Dstates.c224 g_assert (G_N_ELEMENTS (mid) >= 3); in GST_START_TEST()
230 for (n = 0; n < G_N_ELEMENTS (mid); ++n) { in GST_START_TEST()
239 for (n = 0; n < G_N_ELEMENTS (mid); ++n) in GST_START_TEST()
242 for (n = 0; n < G_N_ELEMENTS (mid); ++n) in GST_START_TEST()
245 for (n = 0; n < G_N_ELEMENTS (mid); ++n) in GST_START_TEST()
252 for (n = 0; n < G_N_ELEMENTS (mid); ++n) in GST_START_TEST()
255 for (n = 0; n < G_N_ELEMENTS (mid); ++n) in GST_START_TEST()
258 for (n = 0; n < G_N_ELEMENTS (mid); ++n) in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Dgstglapi.c58 for (i = 0; i < G_N_ELEMENTS (api_strings); i++) { in GST_START_TEST()
69 for (i = 0; i < G_N_ELEMENTS (from_api_strings); i++) { in GST_START_TEST()
107 for (i = 0; i < G_N_ELEMENTS (platform_strings); i++) { in GST_START_TEST()
118 for (i = 0; i < G_N_ELEMENTS (from_platform_strings); i++) { in GST_START_TEST()
Dgstglsl.c204 for (i = 0; i < G_N_ELEMENTS (glsl_versions); i++) { in GST_START_TEST()
218 for (i = 0; i < G_N_ELEMENTS (glsl_profiles); i++) { in GST_START_TEST()
231 for (i = 0; i < G_N_ELEMENTS (glsl_version_profiles_valid); i++) { in GST_START_TEST()
253 for (i = 0; i < G_N_ELEMENTS (glsl_version_profiles_valid_serialize); i++) { in GST_START_TEST()
266 for (i = 0; i < G_N_ELEMENTS (glsl_version_profiles_valid_deserialize); i++) { in GST_START_TEST()
281 for (i = 0; i < G_N_ELEMENTS (invalid_deserialize_glsl); i++) { in GST_START_TEST()
293 for (i = 0; i < G_N_ELEMENTS (invalid_serialize_glsl); i++) { in GST_START_TEST()
310 for (i = 0; i < G_N_ELEMENTS (glsl_str_map); i++) { in GST_START_TEST()
Dgstglformat.c81 for (i = 0; i < G_N_ELEMENTS (formats); i++) { in GST_START_TEST()
125 for (i = 0; i < G_N_ELEMENTS (sized_formats); i++) { in GST_START_TEST()
168 for (i = 0; i < G_N_ELEMENTS (unsized_formats); i++) { in GST_START_TEST()
195 for (i = 0; i < G_N_ELEMENTS (texture_targets); i++) { in GST_START_TEST()
214 for (i = 0; i < G_N_ELEMENTS (texture_targets); i++) { in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dwlvideoformat.c76 for (i = 0; i < G_N_ELEMENTS (wl_formats); i++) in gst_video_format_to_wl_shm_format()
89 for (i = 0; i < G_N_ELEMENTS (wl_formats); i++) in gst_video_format_to_wl_dmabuf_format()
102 for (i = 0; i < G_N_ELEMENTS (wl_formats); i++) in gst_wl_shm_format_to_video_format()
114 for (i = 0; i < G_N_ELEMENTS (wl_formats); i++) in gst_wl_dmabuf_format_to_video_format()
/third_party/flutter/skia/third_party/externals/harfbuzz/test/api/
Dtest-buffer.c73 for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) in fixture_init()
78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in fixture_init()
82 hb_buffer_add_utf16 (b, utf16, G_N_ELEMENTS (utf16), 1, G_N_ELEMENTS (utf16) - 2); in fixture_init()
86 hb_buffer_add_utf8 (b, utf8, G_N_ELEMENTS (utf8), 1, G_N_ELEMENTS (utf8) - 2); in fixture_init()
387 for (i = 0; i < G_N_ELEMENTS (utf8_conversion_tests); i++) in test_buffer_utf8_conversion()
676 for (i = 0; i < G_N_ELEMENTS (utf8_validity_tests); i++) in test_buffer_utf8_validity()
735 for (i = 0; i < G_N_ELEMENTS (utf16_conversion_tests); i++) in test_buffer_utf16_conversion()
789 for (i = 0; i < G_N_ELEMENTS (utf32_conversion_tests); i++) in test_buffer_utf32_conversion()
835 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in test_buffer_empty()
/third_party/harfbuzz/test/api/
Dtest-buffer.c73 for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) in fixture_init()
78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in fixture_init()
82 hb_buffer_add_utf16 (b, utf16, G_N_ELEMENTS (utf16), 1, G_N_ELEMENTS (utf16) - 2); in fixture_init()
86 hb_buffer_add_utf8 (b, utf8, G_N_ELEMENTS (utf8), 1, G_N_ELEMENTS (utf8) - 2); in fixture_init()
387 for (i = 0; i < G_N_ELEMENTS (utf8_conversion_tests); i++) in test_buffer_utf8_conversion()
676 for (i = 0; i < G_N_ELEMENTS (utf8_validity_tests); i++) in test_buffer_utf8_validity()
735 for (i = 0; i < G_N_ELEMENTS (utf16_conversion_tests); i++) in test_buffer_utf16_conversion()
789 for (i = 0; i < G_N_ELEMENTS (utf32_conversion_tests); i++) in test_buffer_utf32_conversion()
835 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in test_buffer_empty()
881 for (i = 0; i < G_N_ELEMENTS (serialization_tests); i++) in test_buffer_serialize_deserialize()
/third_party/skia/third_party/externals/harfbuzz/test/api/
Dtest-buffer.c73 for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) in fixture_init()
78 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in fixture_init()
82 hb_buffer_add_utf16 (b, utf16, G_N_ELEMENTS (utf16), 1, G_N_ELEMENTS (utf16) - 2); in fixture_init()
86 hb_buffer_add_utf8 (b, utf8, G_N_ELEMENTS (utf8), 1, G_N_ELEMENTS (utf8) - 2); in fixture_init()
387 for (i = 0; i < G_N_ELEMENTS (utf8_conversion_tests); i++) in test_buffer_utf8_conversion()
676 for (i = 0; i < G_N_ELEMENTS (utf8_validity_tests); i++) in test_buffer_utf8_validity()
735 for (i = 0; i < G_N_ELEMENTS (utf16_conversion_tests); i++) in test_buffer_utf16_conversion()
789 for (i = 0; i < G_N_ELEMENTS (utf32_conversion_tests); i++) in test_buffer_utf32_conversion()
835 hb_buffer_add_utf32 (b, utf32, G_N_ELEMENTS (utf32), 1, G_N_ELEMENTS (utf32) - 2); in test_buffer_empty()
881 for (i = 0; i < G_N_ELEMENTS (serialization_tests); i++) in test_buffer_serialize_deserialize()
/third_party/glib/gio/tests/
Dg-file.c132 for (i = 0; i < G_N_ELEMENTS (cmp_paths); i++) in test_g_file_new_for_path()
161 for (i = 0; i < G_N_ELEMENTS (cmp_uris); i++) in test_g_file_new_for_uri()
209 for (i = 0; i < G_N_ELEMENTS (dup_paths); i++) in test_g_file_dup()
272 for (i = 0; i < G_N_ELEMENTS (strings); i++) in test_g_file_get_parse_name_utf8()
333 for (i = 0; i < G_N_ELEMENTS (arg_data); i++) in test_g_file_new_for_commandline_arg()
426 for (i = 0; i < G_N_ELEMENTS (dirs); i++) in test_g_file_has_prefix()
476 for (i = 0; i < G_N_ELEMENTS (files); i++) in roundtrip_parent_child()
501 for (i = 0; i < G_N_ELEMENTS (paths); i++) in test_g_file_get_parent_child()
Dfileattributematcher.c18 for (i = 0; i < G_N_ELEMENTS (exact_matches); i++) in test_exact()
59 for (i = 0; i < G_N_ELEMENTS (equals); i++) in test_equality()
138 for (i = 0; i < G_N_ELEMENTS (subtractions); i++) in test_subtract()
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsutils.c94 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_video_format_from_drm()
107 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_drm_format_from_video()
205 for (i = 0; i < G_N_ELEMENTS (format_map); i++) { in gst_kms_sink_caps_template_fill()
251 for (i = 1; i < G_N_ELEMENTS (device_par_map); i++) { in gst_video_calculate_device_ratio()
/third_party/gstreamer/gstplugins_bad/gst/mxf/
Dmxfquark.c205 if (G_N_ELEMENTS (_quark_strings) != MXF_QUARK_MAX) in mxf_quark_initialize()
207 (int) G_N_ELEMENTS (_quark_strings), MXF_QUARK_MAX); in mxf_quark_initialize()

12345678910>>...18