/openthread-latest/src/core/meshcop/ |
D | timestamp.hpp | 182 static int Compare(const Timestamp &aFirst, const Timestamp &aSecond); 185 bool operator==(const Timestamp &aOther) const { return Compare(*this, aOther) == 0; } in operator ==() 186 bool operator!=(const Timestamp &aOther) const { return Compare(*this, aOther) != 0; } in operator !=() 187 bool operator>(const Timestamp &aOther) const { return Compare(*this, aOther) > 0; } in operator >() 188 bool operator<(const Timestamp &aOther) const { return Compare(*this, aOther) < 0; } in operator <() 189 bool operator>=(const Timestamp &aOther) const { return Compare(*this, aOther) >= 0; } in operator >=() 190 bool operator<=(const Timestamp &aOther) const { return Compare(*this, aOther) <= 0; } in operator <=()
|
D | timestamp.cpp | 103 int Timestamp::Compare(const Timestamp &aFirst, const Timestamp &aSecond) in Compare() function in ot::MeshCoP::Timestamp
|
D | dataset_manager.cpp | 279 compare = Timestamp::Compare(mNetworkTimestamp, mLocalTimestamp); in Save()
|
/openthread-latest/tests/unit/ |
D | test_meshcop.cpp | 127 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t1) == 0); in TestTimestamp() 136 VerifyOrQuit(MeshCoP::Timestamp::Compare(t2, t2) == 0); in TestTimestamp() 143 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) > 0); in TestTimestamp() 144 VerifyOrQuit(MeshCoP::Timestamp::Compare(t2, t1) < 0); in TestTimestamp() 147 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) == 0); in TestTimestamp() 154 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) > 0); in TestTimestamp() 155 VerifyOrQuit(MeshCoP::Timestamp::Compare(t2, t1) < 0); in TestTimestamp() 160 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) == 0); in TestTimestamp() 165 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) > 0); in TestTimestamp() 170 VerifyOrQuit(MeshCoP::Timestamp::Compare(t1, t2) == 0); in TestTimestamp() [all …]
|
D | test_message.cpp | 81 VerifyOrQuit(message->Compare(0, readBuffer)); in TestMessage() 91 VerifyOrQuit(messageCopy->Compare(0, readBuffer)); in TestMessage() 99 VerifyOrQuit(messageCopy->Compare(0, readBuffer)); in TestMessage() 117 VerifyOrQuit(message->Compare(0, writeBuffer)); in TestMessage() 404 VerifyOrQuit(message->Compare(0, kData2)); in TestAppender() 416 VerifyOrQuit(message->Compare(offset, kData1)); in TestAppender() 420 VerifyOrQuit(message->Compare(offset, kData1)); in TestAppender() 421 VerifyOrQuit(message->Compare(offset + sizeof(kData1), kData2)); in TestAppender()
|
D | test_aes.cpp | 164 VerifyOrQuit(message->Compare(0, encrypted)); in TestMacCommandFrame() 171 VerifyOrQuit(message->Compare(0, decrypted)); in TestMacCommandFrame() 246 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 | 313 VerifyOrQuit(message->Compare(0, kData1), "CopyBytesTo() failed"); in TestHeapData()
|
D | test_dns.cpp | 1272 VerifyOrQuit(message->Compare(offset, kMessageString), "Message header does not match"); in TestHeaderAndResourceRecords() 1291 VerifyOrQuit(message->Compare(offset, Dns::Question(Dns::ResourceRecord::kTypePtr))); in TestHeaderAndResourceRecords()
|
/openthread-latest/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 | 573 int Compare(uint16_t aKey) const { return ThreeWayCompare(aKey, mKey); } in Compare() function in ot::Stringify::Entry
|
D | message.hpp | 918 template <typename ObjectType> bool Compare(uint16_t aOffset, const ObjectType &aObject) const in Compare() function in ot::Message
|
/openthread-latest/src/cli/ |
D | cli_dataset.hpp | 80 int Compare(const char *aName) const { return strcmp(aName, mName); } in Compare() function
|
D | cli_utils.hpp | 145 int Compare(const char *aName) const { return strcmp(aName, mName); } in Compare() function
|
/openthread-latest/src/core/thread/ |
D | uri_paths.cpp | 55 int Compare(const char *aPath) const { return strcmp(aPath, mPath); } in Compare() function
|
D | mle.cpp | 2386 …VerifyOrExit(aMessage.Compare(aMessage.GetLength() - kMleSecurityTagSize, tag), error = kErrorSecu… in ProcessMessageSecurity() 3684 …timestampCompare = MeshCoP::Timestamp::Compare(timestamp, Get<MeshCoP::ActiveDatasetManager>()… in HandleAnnounce()
|
/openthread-latest/third_party/mbedtls/repo/tests/suites/ |
D | test_suite_constant_time_hmac.function | 136 /* Compare */
|
D | test_suite_ecp.function | 868 // Compare group with expected parameters 1706 /* Compare output byte-by-byte */ 1813 /* Compare difference with rA byte-by-byte */
|
D | test_suite_psa_crypto.function | 3068 /* Hash Compare, one-shot */ 3073 /* Hash Compare, multi-part */ 3141 /* Compare with correct hash, one-shot */ 3145 /* Compare with correct hash, multi-part */ 3151 /* Compare with trailing garbage, one-shot */ 3156 /* Compare with trailing garbage, multi-part */ 3162 /* Compare with truncated hash, one-shot */ 3167 /* Compare with truncated hash, multi-part */ 3173 /* Compare with corrupted value */ 9520 /* Compare the outputs from the two runs. */
|
D | test_suite_psa_crypto_driver_wrappers.function | 2870 /* Compare output_data and expected_ciphertext */ 2874 /* Compare tag and expected_tag */
|
D | test_suite_ssl.function | 1330 /* Compare results */ 1489 /* Compare results */
|