/third_party/pulseaudio/src/tests/ |
H A D | core-util-test.c | 126 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 D | parseaddr.c | 55 if (pa_atou(e+2, &p) < 0) in parse_host() 70 if (pa_atou(e+1, &p) < 0) in parse_host()
|
H A D | conf-parser.c | 322 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 D | cli-command.c | 212 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 D | namereg.c | 214 if (pa_atou(name, &idx) < 0) in pa_namereg_get()
|
H A D | ipacl.c | 82 if (pa_atou(slash, &bits) < 0) { in pa_ip_acl_new()
|
H A D | pid.c | 71 if (pa_atou(t, &pid) < 0) { in read_pid()
|
H A D | core-util.h | 154 int pa_atou(const char *s, uint32_t *ret_u);
|
H A D | shm.c | 463 if (pa_atou(de->d_name + SHM_ID_LEN, &id) < 0) in pa_shm_cleanup()
|
H A D | modargs.c | 325 if (pa_atou(v, value) < 0) in pa_modargs_get_value_u32()
|
H A D | core-util.c | 933 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 D | ohos_daemon-conf.c | 213 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 D | daemon-conf.c | 213 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 D | module-match.c | 137 if (pa_atou(value_str, &k) >= 0) in load_rules()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-mixer.c | 2191 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 D | pactl.c | 2903 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 D | pacat.c | 999 if (pa_atou(optarg, &monitor_stream) < 0) { in main()
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | rtsp_client.c | 166 if (pa_atou(pc + 1, &p) < 0 || p <= 0 || p > 0xffff) { in headers_read()
|
/third_party/pulseaudio/src/modules/raop/ |
H A D | raop-client.c | 1068 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 D | stream.c | 1028 if (pa_atou(e, &ms) < 0 || ms <= 0) in patch_buffer_attr()
|