/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() 81 entry = BinarySearch::Find(name, kTable); in TestBinarySearch() 86 entry = BinarySearch::Find(name, kTable); in TestBinarySearch() 90 …VerifyOrQuit(BinarySearch::Find("dragon age", kTable) == nullptr, "failed with non-exiting match"); in TestBinarySearch()
|
/openthread-latest/src/core/common/ |
D | binary_search.hpp | 43 class BinarySearch class 75 Find(&aKey, &aTable[0], kLength, sizeof(aTable[0]), BinarySearch::Compare<Key, Entry>)); in Find()
|
D | string.hpp | 513 class Stringify : public BinarySearch 521 friend class BinarySearch; 553 const Entry *entry = BinarySearch::Find(aKey, aTable); in Lookup()
|
D | binary_search.cpp | 40 const void *BinarySearch::Find(const void *aKey, in Find()
|
/openthread-latest/src/cli/ |
D | cli_joiner.cpp | 230 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 255 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_mac_filter.cpp | 460 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 497 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_bbr.cpp | 480 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 484 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_tcat.cpp | 355 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 368 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_udp.cpp | 436 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 447 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_dataset.cpp | 145 static_assert(BinarySearch::IsSorted(kMappers), "kMappers is not sorted"); in LookupMapper() 147 return BinarySearch::Find(aName, kMappers); in LookupMapper() 1278 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 1334 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_srp_server.cpp | 555 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 566 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_link_metrics.cpp | 389 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 400 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_mesh_diag.cpp | 283 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 294 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_commissioner.cpp | 684 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 695 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_br.cpp | 901 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 912 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_dns.cpp | 735 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 746 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_network_data.cpp | 963 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 991 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_srp_client.cpp | 990 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 1001 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_coap_secure.cpp | 756 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 767 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_history.cpp | 1454 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 1465 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_coap.cpp | 824 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 835 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_tcp.cpp | 767 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 778 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli_mdns.cpp | 1133 static_assert(BinarySearch::IsSorted(kCommands), "kCommands is not sorted"); in Process() 1144 command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in Process()
|
D | cli.cpp | 8332 static_assert(BinarySearch::IsSorted(kCommands), "Command Table is not sorted"); in ProcessCommand() 8335 const Command *command = BinarySearch::Find(aArgs[0].GetCString(), kCommands); in ProcessCommand()
|
/openthread-latest/src/core/thread/ |
D | uri_paths.cpp | 98 static_assert(BinarySearch::IsSorted(kEntries), "kEntries is not sorted"); 157 const UriList::Entry *entry = BinarySearch::Find(aPath, UriList::kEntries); in UriFromPath()
|