Home
last modified time | relevance | path

Searched refs:end_p (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dstdlib_test.cpp828 char* end_p; in CheckStrToInt() local
832 ASSERT_EQ(T(0), fn("123", &end_p, -1)); in CheckStrToInt()
837 ASSERT_EQ(T(0), fn("123", &end_p, 1)); in CheckStrToInt()
842 ASSERT_EQ(T(0), fn("123", &end_p, 37)); in CheckStrToInt()
846 ASSERT_EQ(T(-123), fn("-123", &end_p, 10)); in CheckStrToInt()
847 ASSERT_EQ(T(123), fn("+123", &end_p, 10)); in CheckStrToInt()
850 ASSERT_EQ(T(0), fn("0b", &end_p, 2)); in CheckStrToInt()
851 ASSERT_EQ('b', *end_p); in CheckStrToInt()
854 ASSERT_EQ(T(0b101), fn("0b101", &end_p, 0)); in CheckStrToInt()
855 ASSERT_EQ(T(0b101), fn("0B101", &end_p, 0)); in CheckStrToInt()
[all …]