/openthread-latest/src/core/common/ |
D | binary_search.hpp | 98 …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/ |
D | test_binary_search.cpp | 69 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/ |
D | cli_joiner.cpp | 230 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_mac_filter.cpp | 460 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_bbr.cpp | 480 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_tcat.cpp | 355 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_udp.cpp | 436 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_dataset.cpp | 145 static_assert(BinarySearch::IsSorted(kMappers), "kMappers is not sorted"); in LookupMapper() 1278 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_srp_server.cpp | 555 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_link_metrics.cpp | 389 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_mesh_diag.cpp | 283 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_commissioner.cpp | 684 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_br.cpp | 901 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_dns.cpp | 735 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_network_data.cpp | 963 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_srp_client.cpp | 990 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_coap_secure.cpp | 756 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_history.cpp | 1454 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_coap.cpp | 824 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_tcp.cpp | 767 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli_mdns.cpp | 1133 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process()
|
D | cli.cpp | 8332 static_assert(BinarySearch::IsSorted(kCommands), "Command Table is not sorted"); in ProcessCommand()
|
/openthread-latest/src/core/thread/ |
D | uri_paths.cpp | 98 static_assert(BinarySearch::IsSorted(kEntries), "kEntries is not sorted");
|
/openthread-latest/src/core/coap/ |
D | coap_message.cpp | 488 static_assert(Stringify::IsSorted(kCodeTable), "kCodeTable is not sorted"); in CodeToString()
|
/openthread-latest/src/core/net/ |
D | ip6.cpp | 1480 static_assert(Stringify::IsSorted(kIpProtoTable), "kIpProtoTable is not sorted"); in IpProtoToString()
|