Searched refs:compare (Results 1 – 18 of 18) sorted by relevance
| /system/ulib/fbl/include/fbl/ |
| A D | string_piece.h | 66 int compare(const StringPiece& other) const; 107 return lhs.compare(rhs) < 0; 111 return lhs.compare(rhs) > 0; 115 return lhs.compare(rhs) <= 0; 119 return lhs.compare(rhs) >= 0;
|
| A D | string.h | 143 int compare(const String& other) const; 318 return lhs.compare(rhs) < 0; 322 return lhs.compare(rhs) > 0; 326 return lhs.compare(rhs) <= 0; 330 return lhs.compare(rhs) >= 0;
|
| /system/utest/fbl/ |
| A D | string_piece_tests.cpp | 158 EXPECT_EQ(0, empty.compare(empty)); in compare_test() 159 EXPECT_EQ(-1, empty.compare(a)); in compare_test() 160 EXPECT_EQ(1, a.compare(empty)); in compare_test() 162 EXPECT_EQ(0, a.compare(a)); in compare_test() 163 EXPECT_EQ(0, ab.compare(ab)); in compare_test() 164 EXPECT_EQ(-1, a.compare(ab)); in compare_test() 165 EXPECT_EQ(1, ab.compare(a)); in compare_test() 166 EXPECT_EQ(-1, ab.compare(bc)); in compare_test() 167 EXPECT_EQ(1, bc.compare(ab)); in compare_test()
|
| A D | string_tests.cpp | 313 EXPECT_EQ(0, empty.compare(empty)); in compare_test() 314 EXPECT_LT(empty.compare(a), 0); in compare_test() 315 EXPECT_GT(a.compare(empty), 0); in compare_test() 317 EXPECT_EQ(0, a.compare(a)); in compare_test() 318 EXPECT_EQ(0, ab.compare(ab)); in compare_test() 319 EXPECT_LT(a.compare(ab), 0); in compare_test() 320 EXPECT_GT(ab.compare(a), 0); in compare_test() 321 EXPECT_LT(ab.compare(bc), 0); in compare_test() 322 EXPECT_GT(bc.compare(ab), 0); in compare_test()
|
| /system/ulib/fbl/ |
| A D | string_piece.cpp | 11 int StringPiece::compare(const StringPiece& other) const { in compare() function in fbl::StringPiece
|
| A D | string.cpp | 46 int String::compare(const String& other) const { in compare() function in fbl::String
|
| /system/ulib/ftl/ |
| A D | rules.mk | 49 -Wno-sign-compare \
|
| /system/ulib/fs/ |
| A D | lazy-dir.cpp | 47 if (name.compare(entry.name) == 0) { in Lookup()
|
| /system/host/blobfs/ |
| A D | main.cpp | 178 auto compare = [](const blobfs::MerkleInfo& lhs, const blobfs::MerkleInfo& rhs) { in CalculateRequiredSize() local 181 auto it = std::unique(merkle_list_.begin(), merkle_list_.end(), compare); in CalculateRequiredSize()
|
| /system/utest/banjo-compiler/ |
| A D | json_generator_tests.cpp | 46 if (actual.compare(expected_json) == 0) { in checkJSONGenerator()
|
| /system/host/fidl/lib/ |
| A D | formatter.cpp | 203 if (output_.compare(i, strlen(arrow_nl), arrow_nl) == 0) { in RegularizeSpaces()
|
| /system/host/banjo/lib/ |
| A D | formatter.cpp | 203 if (output_.compare(i, strlen(arrow_nl), arrow_nl) == 0) { in RegularizeSpaces()
|
| /system/banjo/ddk-protocol-nand/ |
| A D | nand.banjo | 80 /// underlying ECC chunk read. The caller can compare this value
|
| /system/ulib/gpt/ |
| A D | gpt.cpp | 244 int compare(const void* ls, const void* rs) { in compare() function 657 qsort(base, count, sizeof(gpt_partition_t*), compare); in gpt_sort_partitions()
|
| /system/utest/fidl-compiler/ |
| A D | json_generator_tests.cpp | 45 if (actual.compare(expected_json) == 0) { in checkJSONGenerator()
|
| /system/core/devmgr/devhost/ |
| A D | devhost.cpp | 237 if (!libname.compare(drv.libname())) { in dh_find_driver()
|
| /system/ulib/zircon-internal/include/lib/zircon-internal/device/cpu-trace/ |
| A D | skylake-pm-events.inc | 38 "False MOB dependencies", "False dependencies in MOB due to partial compare on address")
|
| /system/core/devmgr/devmgr/ |
| A D | coordinator.cpp | 1094 if (autobind || !drvlibname.compare(drv.libname)) { in BindDevice()
|
Completed in 34 milliseconds