Searched refs:compare_numeric (Results 1 – 6 of 6) sorted by relevance
/external/llvm/unittests/ADT/ |
D | SmallStringTest.cpp | 177 EXPECT_EQ(-1, SmallString<10>("aab").compare_numeric("aad")); in TEST() 178 EXPECT_EQ( 0, SmallString<10>("aab").compare_numeric("aab")); in TEST() 179 EXPECT_EQ( 1, SmallString<10>("aab").compare_numeric("aaa")); in TEST() 180 EXPECT_EQ(-1, SmallString<10>("aab").compare_numeric("aabb")); in TEST() 181 EXPECT_EQ( 1, SmallString<10>("aab").compare_numeric("aa")); in TEST() 182 EXPECT_EQ(-1, SmallString<10>("1").compare_numeric("10")); in TEST() 183 EXPECT_EQ( 0, SmallString<10>("10").compare_numeric("10")); in TEST() 184 EXPECT_EQ( 0, SmallString<10>("10a").compare_numeric("10a")); in TEST() 185 EXPECT_EQ( 1, SmallString<10>("2").compare_numeric("1")); in TEST() 186 EXPECT_EQ( 0, SmallString<10>("llvm_v1i64_ty").compare_numeric("llvm_v1i64_ty")); in TEST() [all …]
|
D | StringRefTest.cpp | 72 EXPECT_EQ(-1, StringRef("aab").compare_numeric("aad")); in TEST() 73 EXPECT_EQ( 0, StringRef("aab").compare_numeric("aab")); in TEST() 74 EXPECT_EQ( 1, StringRef("aab").compare_numeric("aaa")); in TEST() 75 EXPECT_EQ(-1, StringRef("aab").compare_numeric("aabb")); in TEST() 76 EXPECT_EQ( 1, StringRef("aab").compare_numeric("aa")); in TEST() 77 EXPECT_EQ(-1, StringRef("1").compare_numeric("10")); in TEST() 78 EXPECT_EQ( 0, StringRef("10").compare_numeric("10")); in TEST() 79 EXPECT_EQ( 0, StringRef("10a").compare_numeric("10a")); in TEST() 80 EXPECT_EQ( 1, StringRef("2").compare_numeric("1")); in TEST() 81 EXPECT_EQ( 0, StringRef("llvm_v1i64_ty").compare_numeric("llvm_v1i64_ty")); in TEST() [all …]
|
/external/llvm/include/llvm/ADT/ |
D | SmallString.h | 121 int compare_numeric(StringRef RHS) const { in compare_numeric() function 122 return str().compare_numeric(RHS); in compare_numeric()
|
D | StringRef.h | 164 int compare_numeric(StringRef RHS) const;
|
/external/llvm/lib/Support/ |
D | StringRef.cpp | 73 int StringRef::compare_numeric(StringRef RHS) const { in compare_numeric() function in StringRef
|
/external/llvm/include/llvm/TableGen/ |
D | Record.h | 1718 return StringRef(Rec1->getName()).compare_numeric(Rec2->getName()) < 0; in operator()
|