Searched refs:PA_ELEMENTSOF (Results 1 – 15 of 15) sorted by relevance
/third_party/pulseaudio/src/tests/ |
D | format-test.c | 52 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()
|
D | smoother-test.c | 53 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()
|
D | json-test.c | 41 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/ |
D | a2dp-codec-util.c | 38 return PA_ELEMENTSOF(pa_a2dp_codecs); in pa_bluetooth_a2dp_codec_count()
|
D | a2dp-codec-sbc.c | 221 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()
|
D | module-bluez5-device.c | 194 r = minor < PA_ELEMENTSOF(table) ? table[minor] : PA_BLUETOOTH_FORM_FACTOR_UNKNOWN; in form_factor_from_class()
|
/third_party/pulseaudio/src/modules/ |
D | module-rygel-media-server.c | 629 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/ |
D | alsa-util.c | 131 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()
|
D | alsa-mixer.c | 2254 for (idx = 0; idx < PA_ELEMENTSOF(device_port_types); idx++) in parse_type() 2750 PA_ELEMENTSOF(well_known_descriptions))); in option_verify() 2818 … PA_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/ |
D | sndfile-util.c | 201 (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()
|
D | macro.h | 53 #define PA_ELEMENTSOF(x) (sizeof(x)/sizeof((x)[0])) macro
|
D | log.c | 243 n_frames = backtrace(trace, PA_ELEMENTSOF(trace)); in get_backtrace()
|
D | core-util.c | 3579 for (i = 0; i < PA_ELEMENTSOF(dmi_vendors); i++) { in pa_running_in_vm()
|
/third_party/pulseaudio/src/modules/x11/ |
D | module-x11-xsmp.c | 198 SmcSetProperties(u->connection, PA_ELEMENTSOF(prop_list), prop_list); in pa__init()
|
/third_party/pulseaudio/src/pulse/ |
D | context.c | 733 while (n < PA_ELEMENTSOF(argv)-1) { 743 pa_assert(n <= PA_ELEMENTSOF(argv));
|