Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest-death-test_test.cc79 using testing::internal::ParseNaturalNumber;
1141 EXPECT_FALSE(ParseNaturalNumber("non-number string", &result)); in TEST()
1144 EXPECT_FALSE(ParseNaturalNumber(" 123", &result)); in TEST()
1147 EXPECT_FALSE(ParseNaturalNumber("-123", &result)); in TEST()
1150 EXPECT_FALSE(ParseNaturalNumber("+123", &result)); in TEST()
1157 EXPECT_FALSE(ParseNaturalNumber("99999999999999999999999", &result)); in TEST()
1160 EXPECT_FALSE(ParseNaturalNumber("200", &char_result)); in TEST()
1168 ASSERT_TRUE(ParseNaturalNumber("123", &result)); in TEST()
1173 ASSERT_TRUE(ParseNaturalNumber("0", &result)); in TEST()
1177 ASSERT_TRUE(ParseNaturalNumber("00000", &result)); in TEST()
[all …]
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-death-test.cc1314 || !ParseNaturalNumber(fields[1], &line) in ParseInternalRunDeathTestFlag()
1315 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag()
1316 || !ParseNaturalNumber(fields[3], &parent_process_id) in ParseInternalRunDeathTestFlag()
1317 || !ParseNaturalNumber(fields[4], &write_handle_as_size_t) in ParseInternalRunDeathTestFlag()
1318 || !ParseNaturalNumber(fields[5], &event_handle_as_size_t)) { in ParseInternalRunDeathTestFlag()
1328 || !ParseNaturalNumber(fields[1], &line) in ParseInternalRunDeathTestFlag()
1329 || !ParseNaturalNumber(fields[2], &index) in ParseInternalRunDeathTestFlag()
1330 || !ParseNaturalNumber(fields[3], &write_fd)) { in ParseInternalRunDeathTestFlag()
Dgtest-internal-inl.h996 bool ParseNaturalNumber(const ::std::string& str, Integer* number) { in ParseNaturalNumber() function