Searched refs:alphanumComp (Results 1 – 4 of 4) sorted by relevance
/openbmc/bmcweb/test/include/ |
H A D | human_sort_test.cpp | 17 EXPECT_EQ(alphanumComp("", ""), 0); in TEST() 18 EXPECT_LT(alphanumComp("", "a"), 0); in TEST() 19 EXPECT_GT(alphanumComp("a", ""), 0); in TEST() 20 EXPECT_EQ(alphanumComp("a", "a"), 0); in TEST() 21 EXPECT_LT(alphanumComp("", "9"), 0); in TEST() 22 EXPECT_GT(alphanumComp("9", ""), 0); in TEST() 23 EXPECT_EQ(alphanumComp("1", "1"), 0); in TEST() 24 EXPECT_LT(alphanumComp("1", "2"), 0); in TEST() 25 EXPECT_GT(alphanumComp("3", "2"), 0); in TEST() 26 EXPECT_EQ(alphanumComp("a1", "a1"), 0); in TEST() [all …]
|
/openbmc/bmcweb/include/ |
H A D | human_sort.hpp | 25 inline int alphanumComp(std::string_view left, std::string_view right) in alphanumComp() function 107 return alphanumComp(left, right) < 0; in operator ()()
|
/openbmc/bmcweb/redfish-core/src/ |
H A D | filter_expr_executor.cpp | 260 return alphanumComp(left, right) > 0; in doStringComparison() 262 return alphanumComp(left, right) >= 0; in doStringComparison() 264 return alphanumComp(left, right) < 0; in doStringComparison() 266 return alphanumComp(left, right) <= 0; in doStringComparison()
|
/openbmc/bmcweb/redfish-core/include/utils/ |
H A D | json_utils.hpp | 813 int res = alphanumComp(*segmentsAIt, *segmentsBIt); in objectKeyCmp()
|