Home
last modified time | relevance | path

Searched refs:bitCount (Results 1 – 25 of 95) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DBitIOWriter.java27 private int bitCount; field in BitIOWriter
31 bitCount = 0; in BitIOWriter()
36 byteBuf |= (bit << (7 - bitCount)); in writeBit()
37 bitCount++; in writeBit()
38 if (bitCount == 8) { in writeBit()
41 bitCount = 0; in writeBit()
57 if (bitCount > 0) { in flush()
60 bitCount = 0; in flush()
DMagnitudeDependentWriter.java30 private int bitCount; field in MagnitudeDependentWriter
34 bitCount = 0; in MagnitudeDependentWriter()
39 byteBuf |= (bit << bitCount); in writeBit()
40 bitCount++; in writeBit()
41 if (bitCount == 8) { in writeBit()
44 bitCount = 0; in writeBit()
62 if (bitCount > 0) { in flush()
65 bitCount = 0; in flush()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DBitIOWriter.java27 private int bitCount; field in BitIOWriter
31 bitCount = 0; in BitIOWriter()
36 byteBuf |= (bit << (7 - bitCount)); in writeBit()
37 bitCount++; in writeBit()
38 if (bitCount == 8) { in writeBit()
41 bitCount = 0; in writeBit()
57 if (bitCount > 0) { in flush()
60 bitCount = 0; in flush()
DMagnitudeDependentWriter.java30 private int bitCount; field in MagnitudeDependentWriter
34 bitCount = 0; in MagnitudeDependentWriter()
39 byteBuf |= (bit << bitCount); in writeBit()
40 bitCount++; in writeBit()
41 if (bitCount == 8) { in writeBit()
44 bitCount = 0; in writeBit()
62 if (bitCount > 0) { in flush()
65 bitCount = 0; in flush()
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl-no-opt/comp/
Dbitfield.comp21 int v0 = bitCount(u);
22 int v1 = bitCount(s);
38 ivec3 v0 = bitCount(u);
39 ivec3 v1 = bitCount(s);
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/asm/comp/
Dbitfield-signed-operations.asm.comp14 _3.ints = bitCount(_19);
15 _3.uints = uvec4(bitCount(_19));
16 _3.ints = bitCount(_20);
17 _3.uints = uvec4(bitCount(_20));
/third_party/flutter/skia/include/utils/
DSkRandom.h68 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
69 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
70 return this->nextU() >> (32 - bitCount); in nextBits()
/third_party/skia/include/utils/
DSkRandom.h68 uint32_t nextBits(unsigned bitCount) { in nextBits() argument
69 SkASSERT(bitCount > 0 && bitCount <= 32); in nextBits()
70 return this->nextU() >> (32 - bitCount); in nextBits()
/third_party/skia/resources/sksl/intrinsics/
DBitCount.sksl4 sk_FragColor.x = half(bitCount(a));
5 sk_FragColor.y = half(bitCount(b));
/third_party/skia/tests/sksl/intrinsics/
DBitCount.glsl6 sk_FragColor.x = float(bitCount(a));
7 sk_FragColor.y = float(bitCount(b));
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/comp/
Dbitfield.comp16 int v0 = bitCount(u);
17 int v1 = bitCount(s);
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/comp/
Dbitfield.comp14 int v0 = bitCount(u);
15 int v1 = bitCount(s);
/third_party/skia/third_party/externals/spirv-cross/shaders-msl-no-opt/comp/
Dbitfield.comp16 int v0 = bitCount(u);
17 int v1 = bitCount(s);
/third_party/glslang/Test/
Dspv.intOps.vert60 iout.x += bitCount(i1);
61 iout.xyz += bitCount(u3);
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/
Dfunc_integer.hpp143 GLM_FUNC_DECL int bitCount(genType v);
152 GLM_FUNC_DECL vecType<int, P> bitCount(vecType<T, P> const & v);
Dfunc_integer_simd.inl52 GLM_FUNC_QUALIFIER int bitCount(uint32 x) function
59 GLM_FUNC_QUALIFIER int bitCount(uint64 x) function
/third_party/flutter/skia/tests/
DPathOpsChalkboardTest.cpp106 int bitCount = samples < 32 ? samples : 64 - samples; in chalkboard_threaded() local
109 switch (bitCount) { in chalkboard_threaded()
125 switch (bitCount) { in chalkboard_threaded()
146 for (int i = 0; i < bitCount; ++i) { in chalkboard_threaded()
/third_party/skia/tests/
DPathOpsChalkboardTest.cpp105 int bitCount = samples < 32 ? samples : 64 - samples; in chalkboard_threaded() local
108 switch (bitCount) { in chalkboard_threaded()
124 switch (bitCount) { in chalkboard_threaded()
146 for (int i = 0; i < bitCount; ++i) { in chalkboard_threaded()
/third_party/skia/src/core/
DSkPaint.cpp211 static void ASSERT_FITS_IN(uint32_t value, int bitCount) { in ASSERT_FITS_IN() argument
212 SkASSERT(bitCount > 0 && bitCount <= 32); in ASSERT_FITS_IN()
214 mask >>= (32 - bitCount); in ASSERT_FITS_IN()
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/asm/frag/
Dldexp-uint-exponent.asm.frag9 _GLF_color = ldexp(vec4(1.0), ivec4(uvec4(bitCount(uvec4(1u)))));
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c109 size_t bitCount ) in cf2_hintmask_setCounts() argument
111 if ( bitCount > CF2_MAX_HINTS ) in cf2_hintmask_setCounts()
118 hintmask->bitCount = bitCount; in cf2_hintmask_setCounts()
119 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
124 return bitCount; in cf2_hintmask_setCounts()
133 size_t bitCount ) in cf2_hintmask_read() argument
141 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_read()
146 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 ) in cf2_hintmask_read()
174 size_t bitCount ) in cf2_hintmask_setAll() argument
177 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_setAll()
[all …]
/third_party/freetype/src/psaux/
Dpsintrp.c109 size_t bitCount ) in cf2_hintmask_setCounts() argument
111 if ( bitCount > CF2_MAX_HINTS ) in cf2_hintmask_setCounts()
118 hintmask->bitCount = bitCount; in cf2_hintmask_setCounts()
119 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
124 return bitCount; in cf2_hintmask_setCounts()
133 size_t bitCount ) in cf2_hintmask_read() argument
141 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_read()
146 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 ) in cf2_hintmask_read()
174 size_t bitCount ) in cf2_hintmask_setAll() argument
177 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_setAll()
[all …]
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsintrp.c109 size_t bitCount ) in cf2_hintmask_setCounts() argument
111 if ( bitCount > CF2_MAX_HINTS ) in cf2_hintmask_setCounts()
118 hintmask->bitCount = bitCount; in cf2_hintmask_setCounts()
119 hintmask->byteCount = ( hintmask->bitCount + 7 ) / 8; in cf2_hintmask_setCounts()
124 return bitCount; in cf2_hintmask_setCounts()
133 size_t bitCount ) in cf2_hintmask_read() argument
141 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_read()
146 if ( cf2_hintmask_setCounts( hintmask, bitCount ) == 0 ) in cf2_hintmask_read()
174 size_t bitCount ) in cf2_hintmask_setAll() argument
177 CF2_UInt mask = ( 1 << ( -(CF2_Int)bitCount & 7 ) ) - 1; in cf2_hintmask_setAll()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/glsl_tests/
Dbitcount.glsl14 o.x = bitCount(i);
/third_party/flutter/skia/src/core/
DSkPaint.cpp189 static void ASSERT_FITS_IN(uint32_t value, int bitCount) { in MOVE_FIELD()
190 SkASSERT(bitCount > 0 && bitCount <= 32); in MOVE_FIELD()
192 mask >>= (32 - bitCount); in MOVE_FIELD()

1234