Home
last modified time | relevance | path

Searched refs:pa_atou (Results 1 - 20 of 20) sorted by relevance

/third_party/pulseaudio/src/tests/
H A Dcore-util-test.c126 ck_assert_int_eq(pa_atou("100000", &value), 0); in START_TEST()
128 ck_assert_int_eq(pa_atou("010", &value), 0); in START_TEST()
132 ck_assert_int_eq(pa_atou("0x100000", &value), 0); in START_TEST()
136 ck_assert_int_lt(pa_atou("-100000", &value), 0); in START_TEST()
137 ck_assert_int_lt(pa_atou("-0x100000", &value), 0); in START_TEST()
138 ck_assert_int_lt(pa_atou("3.14", &value), 0); in START_TEST()
139 ck_assert_int_lt(pa_atou("7*8", &value), 0); in START_TEST()
140 ck_assert_int_lt(pa_atou("false", &value), 0); in START_TEST()
141 ck_assert_int_lt(pa_atou("10000000000", &value), 0); in START_TEST()
/third_party/pulseaudio/src/pulsecore/
H A Dparseaddr.c55 if (pa_atou(e+2, &p) < 0) in parse_host()
70 if (pa_atou(e+1, &p) < 0) in parse_host()
H A Dconf-parser.c322 if (pa_atou(state->rvalue, &k) < 0) { in pa_config_parse_unsigned()
339 if (pa_atou(state->rvalue, &k) < 0) { in pa_config_parse_size()
H A Dcli-command.c212 if (pa_atou(n, &idx) < 0) in parse_index()
468 if (pa_atou(i, &idx) >= 0) { in pa_cli_command_unload()
554 if (pa_atou(v, &volume) < 0) { in pa_cli_command_sink_volume()
601 if (pa_atou(v, &volume) < 0) { in pa_cli_command_sink_input_volume()
647 if (pa_atou(v, &volume) < 0) { in pa_cli_command_source_volume()
694 if (pa_atou(v, &volume) < 0) { in pa_cli_command_source_output_volume()
1562 if (pa_atou(m, &level) < 0 || level >= PA_LOG_LEVEL_MAX) { in pa_cli_command_log_level()
1634 if (pa_atou(m, &nframes) < 0 || nframes >= 1000) { in pa_cli_command_log_backtrace()
H A Dnamereg.c214 if (pa_atou(name, &idx) < 0) in pa_namereg_get()
H A Dipacl.c82 if (pa_atou(slash, &bits) < 0) { in pa_ip_acl_new()
H A Dpid.c71 if (pa_atou(t, &pid) < 0) { in read_pid()
H A Dcore-util.h154 int pa_atou(const char *s, uint32_t *ret_u);
H A Dshm.c463 if (pa_atou(de->d_name + SHM_ID_LEN, &id) < 0) in pa_shm_cleanup()
H A Dmodargs.c325 if (pa_atou(v, value) < 0) in pa_modargs_get_value_u32()
H A Dcore-util.c933 if (pa_atou(v, &i) < 0 || !PA_VOLUME_IS_VALID(i)) in pa_parse_volume()
2291 /* A helper function for pa_atou() and friends. This does some common checks,
2370 int pa_atou(const char *s, uint32_t *ret_u) { in pa_atou() function
/third_party/pulseaudio/src/daemon/
H A Dohos_daemon-conf.c213 if (pa_atou(string, &u) >= 0) { in pa_daemon_conf_set_log_level()
358 if (pa_atou(state->rvalue, &r) < 0 || !pa_sample_rate_valid(r)) { in parse_sample_rate()
375 if (pa_atou(state->rvalue, &r) < 0 || !pa_sample_rate_valid(r)) { in parse_alternate_sample_rate()
H A Ddaemon-conf.c213 if (pa_atou(string, &u) >= 0) { in pa_daemon_conf_set_log_level()
358 if (pa_atou(state->rvalue, &r) < 0 || !pa_sample_rate_valid(r)) { in parse_sample_rate()
375 if (pa_atou(state->rvalue, &r) < 0 || !pa_sample_rate_valid(r)) { in parse_alternate_sample_rate()
/third_party/pulseaudio/src/modules/
H A Dmodule-match.c137 if (pa_atou(value_str, &k) >= 0) in load_rules()
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-mixer.c2191 if (pa_atou(state->rvalue, &constant) >= 0) { in element_parse_volume()
2278 if (pa_atou(state->rvalue, &eld_device) >= 0) { in parse_eld_device()
2308 if (pa_atou(state->rvalue, &prio) < 0) { in option_parse_priority()
4221 if (pa_atou(state->rvalue, &prio) < 0) { in mapping_parse_priority()
4382 /* pa_atou() needs a null-terminating string. Let's replace the colon in decibel_fix_parse_db_values()
4386 if (pa_atou(s, &step) < 0) { in decibel_fix_parse_db_values()
/third_party/pulseaudio/src/utils/
H A Dpactl.c2903 if (pa_atou(argv[optind + 1], &module_index) < 0) in main()
3058 if (pa_atou(argv[optind+1], &sink_input_idx) < 0) { in main()
3074 if (pa_atou(argv[optind+1], &source_output_idx) < 0) { in main()
3140 if (pa_atou(argv[optind+1], &sink_input_idx) < 0) { in main()
3158 if (pa_atou(argv[optind+1], &source_output_idx) < 0) { in main()
H A Dpacat.c999 if (pa_atou(optarg, &monitor_stream) < 0) { in main()
/third_party/pulseaudio/src/modules/rtp/
H A Drtsp_client.c166 if (pa_atou(pc + 1, &p) < 0 || p <= 0 || p > 0xffff) { in headers_read()
/third_party/pulseaudio/src/modules/raop/
H A Draop-client.c1068 if (pa_atou(pc + 1, &cport) < 0) in rtsp_stream_cb()
1072 if (pa_atou(pc + 1, &tport) < 0) in rtsp_stream_cb()
/third_party/pulseaudio/src/pulse/
H A Dstream.c1028 if (pa_atou(e, &ms) < 0 || ms <= 0) in patch_buffer_attr()

Completed in 34 milliseconds