• Home
  • Raw
  • Download

Lines Matching refs:android

23   ASSERT_FALSE(android::base::ParseInt("x", &i));  in TEST()
24 ASSERT_FALSE(android::base::ParseInt("123x", &i)); in TEST()
26 ASSERT_TRUE(android::base::ParseInt("123", &i)); in TEST()
28 ASSERT_TRUE(android::base::ParseInt("-123", &i)); in TEST()
32 ASSERT_TRUE(android::base::ParseInt("1234", &s)); in TEST()
35 ASSERT_TRUE(android::base::ParseInt("12", &i, 0, 15)); in TEST()
37 ASSERT_FALSE(android::base::ParseInt("-12", &i, 0, 15)); in TEST()
38 ASSERT_FALSE(android::base::ParseInt("16", &i, 0, 15)); in TEST()
43 ASSERT_FALSE(android::base::ParseUint("x", &i)); in TEST()
44 ASSERT_FALSE(android::base::ParseUint("123x", &i)); in TEST()
46 ASSERT_TRUE(android::base::ParseUint("123", &i)); in TEST()
48 ASSERT_FALSE(android::base::ParseUint("-123", &i)); in TEST()
51 ASSERT_TRUE(android::base::ParseUint("1234", &s)); in TEST()
54 ASSERT_TRUE(android::base::ParseUint("12", &i, 15u)); in TEST()
56 ASSERT_FALSE(android::base::ParseUint("-12", &i, 15u)); in TEST()
57 ASSERT_FALSE(android::base::ParseUint("16", &i, 15u)); in TEST()
62 ASSERT_TRUE(android::base::ParseInt("0123", &i)); in TEST()
66 ASSERT_TRUE(android::base::ParseUint("0123", &u)); in TEST()
72 ASSERT_TRUE(android::base::ParseInt("0x123", &i)); in TEST()
76 ASSERT_TRUE(android::base::ParseUint("0x123", &u)); in TEST()
82 ASSERT_TRUE(android::base::ParseInt(std::string("123"), &i)); in TEST()
86 ASSERT_TRUE(android::base::ParseUint(std::string("123"), &u)); in TEST()
92 ASSERT_FALSE(android::base::ParseInt("456x", &i)); in TEST()
96 ASSERT_FALSE(android::base::ParseInt("456x", &u)); in TEST()