Home
last modified time | relevance | path

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

/openthread-3.4.0/tests/unit/
Dtest_string.cpp371 static_assert(ot::AreStringsInOrder("a", "b"), "AreStringsInOrder() failed");
372 static_assert(ot::AreStringsInOrder("aa", "aaa"), "AreStringsInOrder() failed");
373 static_assert(ot::AreStringsInOrder("", "a"), "AreStringsInOrder() failed");
374 static_assert(!ot::AreStringsInOrder("cd", "cd"), "AreStringsInOrder() failed");
375 static_assert(!ot::AreStringsInOrder("z", "abcd"), "AreStringsInOrder() failed");
376 static_assert(!ot::AreStringsInOrder("0", ""), "AreStringsInOrder() failed");
Dtest_binary_search.cpp51 return AreStringsInOrder(aFirst.mName, aSecond.mName); in TestBinarySearch()
/openthread-3.4.0/src/core/common/
Dstring.hpp286 inline constexpr bool AreStringsInOrder(const char *aFirst, const char *aSecond) in AreStringsInOrder() function
290 …: ((*aFirst > *aSecond) || (*aFirst == '\0') ? false : AreStringsInOrder(aFirst + 1, aSecond + 1)); in AreStringsInOrder()
/openthread-3.4.0/src/core/thread/
Duri_paths.cpp52 return AreStringsInOrder(aFirst.mPath, aSecond.mPath); in AreInOrder()
/openthread-3.4.0/src/cli/
Dcli_output.hpp154 return AreStringsInOrder(aFirst.mName, aSecond.mName); in AreInOrder()