Home
last modified time | relevance | path

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

/bionic/tests/
Dstdlib_test.cpp786 char* end_p; in CheckStrToInt() local
790 ASSERT_EQ(T(0), fn("123", &end_p, -1)); in CheckStrToInt()
795 ASSERT_EQ(T(0), fn("123", &end_p, 1)); in CheckStrToInt()
800 ASSERT_EQ(T(0), fn("123", &end_p, 37)); in CheckStrToInt()
804 ASSERT_EQ(T(0), fn("0xy", &end_p, 16)); in CheckStrToInt()
805 ASSERT_EQ('x', *end_p); in CheckStrToInt()
810 end_p = nullptr; in CheckStrToInt()
812 ASSERT_EQ(std::numeric_limits<T>::min(), fn(min.c_str(), &end_p, 0)); in CheckStrToInt()
814 ASSERT_EQ('\0', *end_p); in CheckStrToInt()
817 end_p = nullptr; in CheckStrToInt()
[all …]