Home
last modified time | relevance | path

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

/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dbigintegertest.cpp125 TEST(BigInteger, Compare) { in TEST() argument
126 EXPECT_EQ(0, kZero.Compare(kZero)); in TEST()
127 EXPECT_EQ(1, kOne.Compare(kZero)); in TEST()
128 EXPECT_EQ(-1, kZero.Compare(kOne)); in TEST()
129 EXPECT_EQ(0, kUint64Max.Compare(kUint64Max)); in TEST()
130 EXPECT_EQ(0, kTwo64.Compare(kTwo64)); in TEST()
131 EXPECT_EQ(-1, kUint64Max.Compare(kTwo64)); in TEST()
132 EXPECT_EQ(1, kTwo64.Compare(kUint64Max)); in TEST()
Dstrtodtest.cpp114 EXPECT_EQ(1, dS.Compare(bS)); in TEST()
122 EXPECT_EQ(-1, delta.Compare(hS)); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h187 int cmp = Compare(rhs); in Difference()
208 int Compare(const BigInteger& rhs) const { in Compare() function
Dstrtod.h109 return delta.Compare(hS); in CheckWithinHalfULP()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md233 if (document["hello"] == document["n"]) /*...*/; // Compare values
234 if (document["hello"] == "world") /*...*/; // Compare value with literal string
235 if (document["i"] != 123) /*...*/; // Compare with integers
236 if (document["pi"] != 3.14) /*...*/; // Compare with double.