Searched refs:BytesForBitSize (Results 1 – 6 of 6) sorted by relevance
131 uint8_t mMask[BytesForBitSize(kNumBits)];
59 #define BytesForBitSize(aBitSize) static_cast<uint8_t>(((aBitSize) + (kBitsPerByte - 1)) / kBitsPer… macro
260 static uint8_t SizeForLength(uint8_t aLength) { return BytesForBitSize(aLength); } in SizeForLength()
477 uint8_t mRouterIdSet[BytesForBitSize(Mle::kMaxRouterId + 1)];
851 hdr[1] = BytesForBitSize(sizeof(hdr) + len) - 1; in DecompressExtensionHeader()
436 sha256.Update(aAddress.mAddress.mFields.m8, BytesForBitSize(aAddress.mPrefixLength)); in GenerateIid()