/third_party/pulseaudio/src/modules/rtp/ |
H A D | sdp.c | 98 if (pa_startswith(c, "L16/")) { in parse_sdp_sample_spec() 101 } else if (pa_startswith(c, "OPUS/")) { in parse_sdp_sample_spec() 134 if (!pa_startswith(t, PA_SDP_HEADER)) { in pa_sdp_parse() 151 if (pa_startswith(t, "o=")) in pa_sdp_parse() 153 else if (pa_startswith(t, "s=")) in pa_sdp_parse() 155 else if (pa_startswith(t, "c=IN IP4 ")) { in pa_sdp_parse() 173 } else if (pa_startswith(t, "c=IN IP6 ")) { in pa_sdp_parse() 191 } else if (pa_startswith(t, "m=audio ")) { in pa_sdp_parse() 215 } else if (pa_startswith(t, "a=rtpmap:")) { in pa_sdp_parse() 235 if (pa_startswith( in pa_sdp_parse() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | parseaddr.c | 97 if (!pa_startswith(name, pfx)) { in pa_parse_address() 115 else if (pa_startswith(p, "unix:")) { in pa_parse_address() 118 } else if (pa_startswith(p, "tcp:")) { in pa_parse_address() 121 } else if (pa_startswith(p, "tcp4:")) { in pa_parse_address() 124 } else if (pa_startswith(p, "tcp6:")) { in pa_parse_address()
|
H A D | proplist-util.c | 119 if (pa_startswith(*e, "PULSE_PROP_")) { in pa_init_proplist() 124 if (pa_startswith(*e, "PULSE_PROP_OVERRIDE_")) { in pa_init_proplist()
|
H A D | database.c | 73 if (pa_startswith(de->d_name, filename_prefix) in pa_database_open()
|
H A D | pid.c | 163 good = pa_startswith(stored, expected); in proc_name_ours() 170 good = pa_startswith(stored, expected); in proc_name_ours()
|
H A D | protocol-http.c | 626 else if (pa_startswith(c->url, URL_LISTEN_SOURCE)) in handle_url() 645 if (pa_startswith(s, "GET ")) { in line_callback() 648 } else if (pa_startswith(s, "HEAD ")) { in line_callback()
|
H A D | log.c | 687 else if (pa_startswith(string, "file:")) in pa_log_parse_target() 689 else if (pa_startswith(string, "newfile:")) in pa_log_parse_target()
|
H A D | core-util.c | 2157 bool pa_startswith(const char *s, const char *pfx) { in pa_startswith() function 3574 b = pa_startswith(rp, PA_BUILDDIR); in pa_run_from_build_tree() 3818 if (pa_startswith(s, "QEMU") || in pa_running_in_vm() 3820 pa_startswith(s, "VMware") || in pa_running_in_vm() 3821 pa_startswith(s, "VMW") || in pa_running_in_vm() 3822 pa_startswith(s, "Microsoft Corporation") || in pa_running_in_vm() 3823 pa_startswith(s, "innotek GmbH") || in pa_running_in_vm() 3824 pa_startswith(s, "Xen")) { in pa_running_in_vm()
|
H A D | core-util.h | 135 bool pa_startswith(const char *s, const char *pfx) PA_GCC_PURE;
|
H A D | conf-parser.c | 93 if (pa_startswith(state->lvalue, ".include ")) { in parse_line()
|
H A D | sink.c | 3698 if (pa_startswith(s, "analog-")) { in pa_device_init_priority() 3708 else if (pa_startswith(s, "iec958-")) in pa_device_init_priority()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-udev-detect.c | 115 if (!pa_startswith(e, "/card")) in path_get_card_id() 208 if (!pa_startswith(de->d_name, "pcm")) in is_card_busy() 238 if (!pa_startswith(de->d_name, "sub")) in is_card_busy() 539 b = pa_startswith(node, cd); in pcm_node_belongs_to_device() 609 if (((event->mask & IN_ATTRIB) && pa_startswith(event->name, "controlC"))) in inotify_cb() 616 if (((event->mask & IN_CLOSE_WRITE) && pa_startswith(event->name, "pcmC"))) in inotify_cb()
|
H A D | module-switch-on-connect.c | 81 if (s && !pa_startswith(s, "hdmi")) { in sink_put_hook_callback()
|
H A D | module-position-event-sounds.c | 90 if (pa_startswith(id, "audio-channel-")) in sink_input_fixate_hook_callback()
|
H A D | udev-util.c | 44 if (pa_startswith(v, "0x")) in read_id()
|
H A D | module-rygel-media-server.c | 953 if (pa_startswith(path, OBJECT_SINKS "/")) in sinks_and_sources_handler() 955 else if (pa_startswith(path, OBJECT_SOURCES "/")) in sinks_and_sources_handler()
|
/third_party/pulseaudio/src/daemon/ |
H A D | ohos_daemon-conf.c | 218 } else if (pa_startswith(string, "debug")) in pa_daemon_conf_set_log_level() 220 else if (pa_startswith(string, "info")) in pa_daemon_conf_set_log_level() 222 else if (pa_startswith(string, "notice")) in pa_daemon_conf_set_log_level() 224 else if (pa_startswith(string, "warn")) in pa_daemon_conf_set_log_level() 226 else if (pa_startswith(string, "err")) in pa_daemon_conf_set_log_level()
|
H A D | daemon-conf.c | 218 } else if (pa_startswith(string, "debug")) in pa_daemon_conf_set_log_level() 220 else if (pa_startswith(string, "info")) in pa_daemon_conf_set_log_level() 222 else if (pa_startswith(string, "notice")) in pa_daemon_conf_set_log_level() 224 else if (pa_startswith(string, "warn")) in pa_daemon_conf_set_log_level() 226 else if (pa_startswith(string, "err")) in pa_daemon_conf_set_log_level()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
H A D | backend-native.c | 635 } else if (c->state == 1 && pa_startswith(buf, "AT+CIND=?")) { in hfp_rfcomm_handle() 647 } else if (c->state == 2 && pa_startswith(buf, "AT+CIND?")) { in hfp_rfcomm_handle() 652 } else if ((c->state == 2 || c->state == 3) && pa_startswith(buf, "AT+CMER=")) { in hfp_rfcomm_handle() 690 } else if (c->supports_indicators && pa_startswith(buf, "AT+BIND=?")) { in hfp_rfcomm_handle() 694 } else if (c->supports_indicators && pa_startswith(buf, "AT+BIND?")) { in hfp_rfcomm_handle() 698 } else if (c->supports_indicators && pa_startswith(buf, "AT+BIND=")) { in hfp_rfcomm_handle()
|
H A D | bluez5-util.c | 2423 if (pa_startswith(endpoint, A2DP_SINK_ENDPOINT "/")) in a2dp_sep_to_a2dp_endpoint_conf() 2425 else if (pa_startswith(endpoint, A2DP_SOURCE_ENDPOINT "/")) in a2dp_sep_to_a2dp_endpoint_conf() 2487 if (pa_startswith(endpoint_path, A2DP_SINK_ENDPOINT "/")) in endpoint_set_configuration() 2489 else if (pa_startswith(endpoint_path, A2DP_SOURCE_ENDPOINT "/")) in endpoint_set_configuration()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-mixer.c | 2015 if (!pa_startswith(section, "Element ")) in pa_alsa_element_get() 2056 if (!pa_startswith(section, "Jack ")) in jack_get() 2088 if (!pa_startswith(section, "Option ")) in option_get() 3952 if (!pa_startswith(name, "Mapping ")) in pa_alsa_mapping_get() 3977 if (!pa_startswith(name, "Profile ")) in profile_get() 3999 if (!pa_startswith(alsa_id, "DecibelFix ")) in decibel_fix_get()
|
H A D | alsa-util.c | 731 if (!pa_startswith(d, "plug:") && !pa_startswith(d, "plughw:")) { in pa_alsa_open_by_device_string()
|
/third_party/pulseaudio/src/utils/ |
H A D | pactl.c | 2538 *vol_flags = (pa_startswith(vs, "+") || pa_startswith(vs, "-")) ? VOL_RELATIVE : VOL_ABSOLUTE; in parse_volume()
|