Lines Matching refs:GetBytes
72 …return (mLength == aPrefixLength) && (MatchLength(GetBytes(), aPrefixBytes, GetBytesSize()) >= mLe… in IsEqual()
78 …(MatchLength(GetBytes(), aSubPrefix.GetBytes(), aSubPrefix.GetBytesSize()) >= aSubPrefix.GetLength… in ContainsPrefix()
84 (MatchLength(GetBytes(), aSubPrefix.m8, NetworkPrefix::kSize) >= NetworkPrefix::kLength); in ContainsPrefix()
105 …return (mLength == aOther.mLength) && (MatchLength(GetBytes(), aOther.GetBytes(), GetBytesSize()) … in operator ==()
115 matchedLength = MatchLength(GetBytes(), aOther.GetBytes(), SizeForLength(minLength)); in operator <()
123 …isSmaller = GetBytes()[matchedLength / kBitsPerByte] < aOther.GetBytes()[matchedLength / kBitsPerB… in operator <()
307 Address::CopyBits(mFields.m8, aPrefix.GetBytes() + NetworkPrefix::kSize, in ApplyPrefix()
391 memcpy(&mFields.m8[12], aIp4Address.GetBytes(), sizeof(Ip4::Address)); in SetToIp4Mapped()
396 …return Prefix::MatchLength(mFields.m8, aPrefix.GetBytes(), aPrefix.GetBytesSize()) >= aPrefix.GetL… in MatchesPrefix()
406 void Address::SetPrefix(const Prefix &aPrefix) { CopyBits(mFields.m8, aPrefix.GetBytes(), aPrefix.G… in SetPrefix()
538 mFields.m8[ip6Index++] = aIp4Address.GetBytes()[i]; in SynthesizeFromIp4Address()
640 … memcpy(GetArrayEnd(mFields.m8) - Ip4::Address::kSize, ip4Addr.GetBytes(), Ip4::Address::kSize); in ParseFrom()