Home
last modified time | relevance | path

Searched refs:PA_ELEMENTSOF (Results 1 – 15 of 15) sorted by relevance

/third_party/pulseaudio/src/tests/
Dformat-test.c52 pa_format_info_set_prop_int_array(f1, PA_PROP_FORMAT_RATE, rates1, PA_ELEMENTSOF(rates1)); in START_TEST()
92 pa_format_info_set_prop_string_array(f1, "format.test_string", strings, PA_ELEMENTSOF(strings)); in START_TEST()
121 pa_format_info_set_prop_int_array(f1, "format.test_string", rates1, PA_ELEMENTSOF(rates1)); in START_TEST()
124 fail_unless(temp_int1 == PA_ELEMENTSOF(rates1)); in START_TEST()
139 pa_format_info_set_prop_string_array(f1, "format.test_string", strings, PA_ELEMENTSOF(strings)); in START_TEST()
142 fail_unless(temp_int1 == PA_ELEMENTSOF(strings)); in START_TEST()
Dsmoother-test.c53 for (m = 0, u = 0; u < PA_ELEMENTSOF(msec); u+= 2) { in START_TEST()
71 while (u < PA_ELEMENTSOF(msec) && (pa_usec_t) msec[u]*PA_USEC_PER_MSEC < x) { in START_TEST()
76 if (u < PA_ELEMENTSOF(msec)) in START_TEST()
Djson-test.c41 for (i = 0; i < PA_ELEMENTSOF(strings_parse); i++) { in START_TEST()
59 for (i = 0; i < PA_ELEMENTSOF(ints_parse); i++) { in START_TEST()
81 for (i = 0; i < PA_ELEMENTSOF(doubles_parse); i++) { in START_TEST()
250 for (i = 0; i < PA_ELEMENTSOF(bad_parse); i++) { in START_TEST()
/third_party/pulseaudio/src/modules/bluetooth/
Da2dp-codec-util.c38 return PA_ELEMENTSOF(pa_a2dp_codecs); in pa_bluetooth_a2dp_codec_count()
Da2dp-codec-sbc.c221 for (i = 0; (unsigned) i < PA_ELEMENTSOF(freq_table); i++) in fill_preferred_configuration()
227 if ((unsigned) i == PA_ELEMENTSOF(freq_table)) { in fill_preferred_configuration()
241 pa_assert((unsigned) i < PA_ELEMENTSOF(freq_table)); in fill_preferred_configuration()
Dmodule-bluez5-device.c194 r = minor < PA_ELEMENTSOF(table) ? table[minor] : PA_BLUETOOTH_FORM_FACTOR_UNKNOWN; in form_factor_from_class()
/third_party/pulseaudio/src/modules/
Dmodule-rygel-media-server.c629 append_variant_unsigned(r, NULL, PA_ELEMENTSOF(array_root_containers)); in root_handler()
633 append_variant_unsigned(r, NULL, PA_ELEMENTSOF(array_no_children)); in root_handler()
637 append_variant_unsigned(r, NULL, PA_ELEMENTSOF(array_root_containers)); in root_handler()
650 … append_property_dict_entry_unsigned(r, &sub, "ChildCount", PA_ELEMENTSOF(array_root_containers)); in root_handler()
651 append_property_dict_entry_unsigned(r, &sub, "ItemCount", PA_ELEMENTSOF(array_no_children)); in root_handler()
652 …append_property_dict_entry_unsigned(r, &sub, "ContainerCount", PA_ELEMENTSOF(array_root_containers… in root_handler()
669 unsigned end = (max != 0 && offset + max < PA_ELEMENTSOF(array_root_containers)) in root_handler()
671 : PA_ELEMENTSOF(array_root_containers); in root_handler()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.c131 for (i = 0; i < PA_ELEMENTSOF(try_order); i++) { in set_format()
1416 bool supported[PA_ELEMENTSOF(all_rates)] = { false, }; in pa_alsa_get_supported_rates()
1428 for (i = 0, n = 0; i < PA_ELEMENTSOF(all_rates); i++) { in pa_alsa_get_supported_rates()
1438 for (i = 0, j = 0; i < PA_ELEMENTSOF(all_rates); i++) { in pa_alsa_get_supported_rates()
1491 bool supported[PA_ELEMENTSOF(all_formats)] = { in pa_alsa_get_supported_formats()
1506 for (i = 0, n = 0; i < PA_ELEMENTSOF(all_formats); i++) { in pa_alsa_get_supported_formats()
1516 for (i = 0, j = 0; i < PA_ELEMENTSOF(all_formats); i++) { in pa_alsa_get_supported_formats()
Dalsa-mixer.c2254 for (idx = 0; idx < PA_ELEMENTSOF(device_port_types); idx++) in parse_type()
2750 PA_ELEMENTSOF(well_known_descriptions))); in option_verify()
2818PA_ELEMENTSOF(well_known_descriptions)); in path_verify()
4555 PA_ELEMENTSOF(well_known_descriptions))); in mapping_verify()
4755 PA_ELEMENTSOF(well_known_descriptions))); in profile_verify()
/third_party/pulseaudio/src/pulsecore/
Dsndfile-util.c201 (unsigned) channels[c] >= PA_ELEMENTSOF(table)) { in pa_sndfile_read_channel_map()
337 for (c = 0; c < PA_ELEMENTSOF(table); c++) { in pa_sndfile_init_proplist()
Dmacro.h53 #define PA_ELEMENTSOF(x) (sizeof(x)/sizeof((x)[0])) macro
Dlog.c243 n_frames = backtrace(trace, PA_ELEMENTSOF(trace)); in get_backtrace()
Dcore-util.c3579 for (i = 0; i < PA_ELEMENTSOF(dmi_vendors); i++) { in pa_running_in_vm()
/third_party/pulseaudio/src/modules/x11/
Dmodule-x11-xsmp.c198 SmcSetProperties(u->connection, PA_ELEMENTSOF(prop_list), prop_list); in pa__init()
/third_party/pulseaudio/src/pulse/
Dcontext.c733 while (n < PA_ELEMENTSOF(argv)-1) {
743 pa_assert(n <= PA_ELEMENTSOF(argv));