Home
last modified time | relevance | path

Searched refs:kBitsPerByte (Results 1 – 11 of 11) sorted by relevance

/third_party/vk-gl-cts/external/amber/src/src/
Dverifier.cc29 const uint32_t kBitsPerByte = 8; variable
41 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()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/
Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/spirv-tools/source/util/
Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/skia/third_party/externals/spirv-tools/source/util/
Dbitutils.h40 static const size_t kBitsPerByte = 8; member
41 static const size_t get = sizeof(T) * kBitsPerByte;
/third_party/skia/third_party/externals/oboe/src/opensles/
DAudioStreamOpenSLES.h32 constexpr int kBitsPerByte = 8; variable
DAudioInputStreamOpenSLES.cpp97 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open()
DAudioOutputStreamOpenSLES.cpp140 SLuint32 bitsPerSample = static_cast<SLuint32>(getBytesPerSample() * kBitsPerByte); in open()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DSurface.cpp779 constexpr EGLint kBitsPerByte = 8; in getBitmapPixelSize() local
781 return (format.pixelBytes * kBitsPerByte); in getBitmapPixelSize()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp326 constexpr size_t kBitsPerByte = 8; variable
327 constexpr size_t kTransitionBitShift = kTransitionByteShift + Log2(kBitsPerByte);
878 constexpr size_t kAttribBits = kPackedAttribDescSize * kBitsPerByte; in updateVertexInput()
975 sizeof(mRasterizationAndMultisampleStateInfo.sampleMask[0]) * kBitsPerByte; in updateSampleMask()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1383 constexpr size_t kBitsPerByte = 8; variable
1384 constexpr size_t kTransitionBitShift = kTransitionByteShift + Log2(kBitsPerByte);
2157 constexpr size_t kAttribBits = kPackedAttribDescSize * kBitsPerByte; in updateVertexInput()
2259 sizeof(mRasterizationAndMultisampleStateInfo.sampleMask[0]) * kBitsPerByte; in updateSampleMask()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/DartARM32/
Dassembler_arm.cc1899 Object::tags_offset() + RawObject::kClassIdTagPos / kBitsPerByte; in LoadClassId()