Searched refs:MatchesBytesIn (Results 1 – 6 of 6) sorted by relevance
194 … bool MatchesBytesIn(const void *aBuffer) const { return memcmp(mBuffer, aBuffer, mLength) == 0; } in MatchesBytesIn() function in ot::Data207 bool MatchesBytesIn(const void *aBuffer, ByteMatcher aMatcher) in MatchesBytesIn() function in ot::Data222 return (mLength == aOtherData.mLength) && MatchesBytesIn(aOtherData.mBuffer); in operator ==()238 return (mLength >= aOtherData.mLength) && aOtherData.MatchesBytesIn(mBuffer); in StartsWith()
93 matches = mData.MatchesBytesIn(aBuffer); in Matches()
669 VerifyOrExit(chunk.MatchesBytesIn(bufPtr, aMatcher)); in CompareBytes()
69 VerifyOrQuit(data.MatchesBytesIn(buffer)); in TestData()81 VerifyOrQuit(data2.MatchesBytesIn(kDataCopy)); in TestData()
230 … return (aDataArray.GetLength() == GetLength()) && MatchesBytesIn(aDataArray.GetArrayBuffer()); in Matches()
92 if (data.MatchesBytesIn(m8) && m8[newLen] == '\0') in Set()