/openthread-3.4.0/tests/unit/ |
D | test_meshcop.cpp | 128 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t1, &t2) == 0); in TestTimestamp() 129 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t1, nullptr) > 0); in TestTimestamp() 130 VerifyOrQuit(MeshCoP::Timestamp::Compare(nullptr, &t2) < 0); in TestTimestamp() 131 VerifyOrQuit(MeshCoP::Timestamp::Compare(nullptr, nullptr) == 0); in TestTimestamp() 135 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t1, &t2) > 0); in TestTimestamp() 136 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t2, &t1) < 0); in TestTimestamp() 139 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t1, &t2) == 0); in TestTimestamp() 142 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t1, &t2) > 0); in TestTimestamp() 146 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t1, &t2) > 0); in TestTimestamp() 147 VerifyOrQuit(MeshCoP::Timestamp::Compare(&t2, &t1) < 0); in TestTimestamp() [all …]
|
D | test_message.cpp | 74 VerifyOrQuit(message->Compare(0, readBuffer)); in TestMessage() 90 VerifyOrQuit(message->Compare(0, writeBuffer)); in TestMessage() 377 VerifyOrQuit(message->Compare(0, kData2)); in TestAppender() 389 VerifyOrQuit(message->Compare(offset, kData1)); in TestAppender() 393 VerifyOrQuit(message->Compare(offset, kData1)); in TestAppender() 394 VerifyOrQuit(message->Compare(offset + sizeof(kData1), kData2)); in TestAppender()
|
D | test_aes.cpp | 162 VerifyOrQuit(message->Compare(0, encrypted)); in TestMacCommandFrame() 169 VerifyOrQuit(message->Compare(0, decrypted)); in TestMacCommandFrame() 244 VerifyOrQuit(message->Compare(msgLength, tag)); in TestInPlaceAesCcmProcessing()
|
D | test_binary_search.cpp | 47 int Compare(const char *aName) const { return strcmp(aName, mName); } in TestBinarySearch() function
|
D | test_heap_string.cpp | 301 VerifyOrQuit(message->Compare(0, kData1), "CopyBytesTo() failed"); in TestHeapData()
|
D | test_dns.cpp | 962 VerifyOrQuit(message->Compare(offset, kMessageString), "Message header does not match"); in TestHeaderAndResourceRecords() 981 VerifyOrQuit(message->Compare(offset, Dns::Question(Dns::ResourceRecord::kTypePtr))); in TestHeaderAndResourceRecords()
|
/openthread-3.4.0/src/core/common/ |
D | binary_search.hpp | 76 Find(&aKey, &aTable[0], kLength, sizeof(aTable[0]), BinarySearch::Compare<Key, Entry>)); in Find() 113 template <typename Key, typename Entry> static int Compare(const void *aKey, const void *aEntry) in Compare() function in ot::BinarySearch 115 return static_cast<const Entry *>(aEntry)->Compare(*static_cast<const Key *>(aKey)); in Compare()
|
D | string.hpp | 448 int Compare(uint16_t aKey) const { return ThreeWayCompare(aKey, mKey); } in Compare() function in ot::Stringify::Entry
|
D | message.hpp | 827 template <typename ObjectType> bool Compare(uint16_t aOffset, const ObjectType &aObject) const in Compare() function in ot::Message
|
/openthread-3.4.0/src/core/meshcop/ |
D | timestamp.cpp | 56 int Timestamp::Compare(const Timestamp *aFirst, const Timestamp *aSecond) in Compare() function in ot::MeshCoP::Timestamp 76 rval = Compare(*aFirst, *aSecond); in Compare() 82 int Timestamp::Compare(const Timestamp &aFirst, const Timestamp &aSecond) in Compare() function in ot::MeshCoP::Timestamp
|
D | timestamp.hpp | 166 static int Compare(const Timestamp *aFirst, const Timestamp *aSecond); 179 static int Compare(const Timestamp &aFirst, const Timestamp &aSecond);
|
D | dataset_manager_ftd.cpp | 112 VerifyOrExit(Timestamp::Compare(&pendingTimestamp, mLocal.GetTimestamp()) > 0); in HandleSet() 116 VerifyOrExit(Timestamp::Compare(&activeTimestamp, mLocal.GetTimestamp()) > 0); in HandleSet() 164 VerifyOrExit(Timestamp::Compare(&activeTimestamp, localActiveTimestamp) > 0); in HandleSet()
|
D | dataset_updater.cpp | 190 if (Timestamp::Compare(requestedDatasetTimestamp, activeDatasetTimestamp) <= 0) in HandleNotifierEvents()
|
D | dataset_manager.cpp | 131 compare = Timestamp::Compare(mTimestampValid ? &mTimestamp : nullptr, mLocal.GetTimestamp()); in Save() 253 …VerifyOrExit(Timestamp::Compare(GetTimestamp(), mLocal.GetTimestamp()) < 0, error = kErrorAlready); in SendSet() 263 (Timestamp::Compare(×tamp, mLocal.GetTimestamp()) == 0)) in SendSet()
|
/openthread-3.4.0/src/core/thread/ |
D | uri_paths.cpp | 55 int Compare(const char *aPath) const { return strcmp(aPath, mPath); } in Compare() function
|
D | mle_router.cpp | 2072 …(MeshCoP::Timestamp::Compare(×tamp, Get<MeshCoP::ActiveDatasetManager>().GetTimestamp()) != 0… in HandleChildIdRequest() 2086 …(MeshCoP::Timestamp::Compare(×tamp, Get<MeshCoP::PendingDatasetManager>().GetTimestamp()) != … in HandleChildIdRequest() 2595 …if (MeshCoP::Timestamp::Compare(×tamp, Get<MeshCoP::ActiveDatasetManager>().GetTimestamp()) =… in HandleDataRequest() 2614 …if (MeshCoP::Timestamp::Compare(×tamp, Get<MeshCoP::PendingDatasetManager>().GetTimestamp()) … in HandleDataRequest()
|
D | mle.cpp | 2429 …VerifyOrExit(aMessage.Compare(aMessage.GetLength() - kMleSecurityTagSize, tag), error = kErrorSecu… in ProcessMessageSecurity() 2926 if (!IsLeader() && (MeshCoP::Timestamp::Compare(&activeTimestamp, timestamp) != 0) && in HandleLeaderData() 2952 if (!IsLeader() && (MeshCoP::Timestamp::Compare(&pendingTimestamp, timestamp) != 0) && in HandleLeaderData() 3724 … if (timestamp.IsOrphanTimestamp() || MeshCoP::Timestamp::Compare(×tamp, localTimestamp) < 0) in HandleAnnounce() 3732 else if (MeshCoP::Timestamp::Compare(×tamp, localTimestamp) > 0) in HandleAnnounce()
|
/openthread-3.4.0/src/cli/ |
D | cli_output.hpp | 140 int Compare(const char *aName) const { return strcmp(aName, mName); } in Compare() function
|
/openthread-3.4.0/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_psa_crypto.function | 1633 /* Compare with correct hash */ 1637 /* Compare with trailing garbage */ 1642 /* Compare with truncated hash */ 1647 /* Compare with corrupted value */ 4905 /* Compare the outputs from the two runs. */
|
D | test_suite_ssl.function | 3283 /* Compare results */ 3446 /* Compare results */ 4504 /* Compare */
|