Searched refs:MatchesBytesIn (Results 1 – 5 of 5) sorted by relevance
207 … bool MatchesBytesIn(const void *aBuffer) const { return memcmp(mBuffer, aBuffer, mLength) == 0; } in MatchesBytesIn() function in ot::Data221 bool MatchesBytesIn(const void *aBuffer, ByteMatcher aMatcher) in MatchesBytesIn() function in ot::Data237 return (mLength == aOtherData.mLength) && MatchesBytesIn(aOtherData.mBuffer); in operator ==()254 return (mLength >= aOtherData.mLength) && aOtherData.MatchesBytesIn(mBuffer); in StartsWith()
93 matches = mData.MatchesBytesIn(aBuffer); in Matches()
665 VerifyOrExit(chunk.MatchesBytesIn(bufPtr, aMatcher)); in CompareBytes()
69 VerifyOrQuit(data.MatchesBytesIn(buffer)); in TestData()81 VerifyOrQuit(data2.MatchesBytesIn(kDataCopy)); in TestData()
94 if (data.MatchesBytesIn(m8) && m8[newLen] == '\0') in Set()