Home
last modified time | relevance | path

Searched refs:pa_atol (Results 1 - 4 of 4) sorted by relevance

/third_party/pulseaudio/src/tests/
H A Dcore-util-test.c173 ck_assert_int_eq(pa_atol("100000", &value), 0); in START_TEST()
175 ck_assert_int_eq(pa_atol("-100000", &value), 0); in START_TEST()
177 ck_assert_int_eq(pa_atol("010", &value), 0); in START_TEST()
179 ck_assert_int_eq(pa_atol("-010", &value), 0); in START_TEST()
183 ck_assert_int_eq(pa_atol("0x100000", &value), 0); in START_TEST()
185 ck_assert_int_eq(pa_atol("-0x100000", &value), 0); in START_TEST()
189 ck_assert_int_lt(pa_atol("3.14", &value), 0); in START_TEST()
190 ck_assert_int_lt(pa_atol("7*8", &value), 0); in START_TEST()
191 ck_assert_int_lt(pa_atol("false", &value), 0); in START_TEST()
/third_party/pulseaudio/src/pulsecore/
H A Dcore-util.h155 int pa_atol(const char *s, long *ret_l);
H A Dcore-util.c2272 if (pa_atol(s, &l) < 0) in pa_atoi()
2438 int pa_atol(const char *s, long *ret_l) { in pa_atol() function
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-mixer.c2467 if (pa_atol(state->rvalue, &volume_limit) < 0 || volume_limit < 0) { in element_parse_volume_limit()

Completed in 12 milliseconds