Searched refs:IsValueNegative (Results 1 – 6 of 6) sorted by relevance
26 using base::IsValueNegative;637 EXPECT_TRUE(IsValueNegative(-1)); in TEST()638 EXPECT_TRUE(IsValueNegative(numeric_limits<int>::min())); in TEST()639 EXPECT_FALSE(IsValueNegative(numeric_limits<unsigned>::min())); in TEST()640 EXPECT_TRUE(IsValueNegative(-numeric_limits<double>::max())); in TEST()641 EXPECT_FALSE(IsValueNegative(0)); in TEST()642 EXPECT_FALSE(IsValueNegative(1)); in TEST()643 EXPECT_FALSE(IsValueNegative(0u)); in TEST()644 EXPECT_FALSE(IsValueNegative(1u)); in TEST()645 EXPECT_FALSE(IsValueNegative(numeric_limits<int>::max())); in TEST()[all …]
30 IsValueNegative(T value) { in IsValueNegative() function38 IsValueNegative(T) { in IsValueNegative() function
22 using base::IsValueNegative;633 EXPECT_TRUE(IsValueNegative(-1)); in TEST()634 EXPECT_TRUE(IsValueNegative(numeric_limits<int>::min())); in TEST()635 EXPECT_FALSE(IsValueNegative(numeric_limits<unsigned>::min())); in TEST()636 EXPECT_TRUE(IsValueNegative(-numeric_limits<double>::max())); in TEST()637 EXPECT_FALSE(IsValueNegative(0)); in TEST()638 EXPECT_FALSE(IsValueNegative(1)); in TEST()639 EXPECT_FALSE(IsValueNegative(0u)); in TEST()640 EXPECT_FALSE(IsValueNegative(1u)); in TEST()641 EXPECT_FALSE(IsValueNegative(numeric_limits<int>::max())); in TEST()[all …]
47 if (IsValueNegative(value)) { in IntToString()
48 if (IsValueNegative(value)) { in IntToString()