Searched refs:kBitsPerByte (Results 1 – 11 of 11) sorted by relevance
29 const uint32_t kBitsPerByte = 8; variable41 src_bit_offset = src_bit_offset - kBitsPerByte; in CopyBitsOfMemoryToBuffer()45 const uint32_t size_in_bytes = (src_bit_offset + bits + 7) / kBitsPerByte; in CopyBitsOfMemoryToBuffer()46 assert(size_in_bytes <= kBitsPerByte); in CopyBitsOfMemoryToBuffer()58 std::memcpy(dst, &data, static_cast<size_t>((bits + 7) / kBitsPerByte)); in CopyBitsOfMemoryToBuffer()
40 static const size_t kBitsPerByte = 8; member41 static const size_t get = sizeof(T) * kBitsPerByte;
32 constexpr int kBitsPerByte = 8; variable
97 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open()
140 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open()
779 constexpr EGLint kBitsPerByte = 8; in getBitmapPixelSize() local781 return (format.pixelBytes * kBitsPerByte); in getBitmapPixelSize()
326 constexpr size_t kBitsPerByte = 8; variable327 constexpr size_t kTransitionBitShift = kTransitionByteShift + Log2(kBitsPerByte);878 constexpr size_t kAttribBits = kPackedAttribDescSize * kBitsPerByte; in updateVertexInput()975 sizeof(mRasterizationAndMultisampleStateInfo.sampleMask[0]) * kBitsPerByte; in updateSampleMask()
1383 constexpr size_t kBitsPerByte = 8; variable1384 constexpr size_t kTransitionBitShift = kTransitionByteShift + Log2(kBitsPerByte);2157 constexpr size_t kAttribBits = kPackedAttribDescSize * kBitsPerByte; in updateVertexInput()2259 sizeof(mRasterizationAndMultisampleStateInfo.sampleMask[0]) * kBitsPerByte; in updateSampleMask()
1899 Object::tags_offset() + RawObject::kClassIdTagPos / kBitsPerByte; in LoadClassId()