Home
last modified time | relevance | path

Searched refs:IsSorted (Results 1 – 25 of 25) sorted by relevance

/openthread-latest/src/core/common/
Dbinary_search.hpp98 …template <typename Entry, uint16_t kLength> static constexpr bool IsSorted(const Entry (&aTable)[k… in IsSorted() function in ot::BinarySearch
100 return IsSorted(&aTable[0], kLength); in IsSorted()
106 template <typename Entry> static constexpr bool IsSorted(const Entry *aTable, uint16_t aLength) in IsSorted() function in ot::BinarySearch
108 …return (aLength <= 1) ? true : Entry::AreInOrder(aTable[0], aTable[1]) && IsSorted(aTable + 1, aLe… in IsSorted()
/openthread-latest/tests/unit/
Dtest_binary_search.cpp69 static_assert(BinarySearch::IsSorted(kTable), "IsSorted() failed"); in TestBinarySearch()
70 static_assert(!BinarySearch::IsSorted(kUnsortedTable), "failed for unsorted table"); in TestBinarySearch()
71 …static_assert(!BinarySearch::IsSorted(kDuplicateEntryTable), "failed for table with duplicate entr… in TestBinarySearch()
/openthread-latest/src/cli/
Dcli_joiner.cpp230 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_mac_filter.cpp460 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_bbr.cpp480 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_tcat.cpp355 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_udp.cpp436 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_dataset.cpp145 static_assert(BinarySearch::IsSorted(kMappers), "kMappers is not sorted"); in LookupMapper()
1278 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_srp_server.cpp555 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_link_metrics.cpp389 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_mesh_diag.cpp283 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_commissioner.cpp684 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_br.cpp901 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_dns.cpp735 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_network_data.cpp963 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_srp_client.cpp990 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_coap_secure.cpp756 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_history.cpp1454 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_coap.cpp824 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_tcp.cpp767 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli_mdns.cpp1133 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
Dcli.cpp8332 static_assert(BinarySearch::IsSorted(kCommands), "Command Table is not sorted"); in ProcessCommand()
/openthread-latest/src/core/thread/
Duri_paths.cpp98 static_assert(BinarySearch::IsSorted(kEntries), "kEntries is not sorted");
/openthread-latest/src/core/coap/
Dcoap_message.cpp488 static_assert(Stringify::IsSorted(kCodeTable), "kCodeTable is not sorted"); in CodeToString()
/openthread-latest/src/core/net/
Dip6.cpp1480 static_assert(Stringify::IsSorted(kIpProtoTable), "kIpProtoTable is not sorted"); in IpProtoToString()