/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/ |
D | MathTests.cpp | 22 TEST(Math, ScanForward) { in TEST() argument 24 ASSERT_EQ(ScanForward(1), 0u); in TEST() 25 ASSERT_EQ(ScanForward(0x80000000), 31u); in TEST() 28 ASSERT_EQ(ScanForward(256), 8u); in TEST() 29 ASSERT_EQ(ScanForward(256 + 32), 5u); in TEST() 30 ASSERT_EQ(ScanForward(1024 + 256 + 32), 5u); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | mathutil_unittest.cpp | 279 TEST(MathUtilTest, ScanForward) in TEST() argument 281 EXPECT_EQ(0ul, gl::ScanForward(1u)); in TEST() 282 EXPECT_EQ(16ul, gl::ScanForward(0x80010000u)); in TEST() 283 EXPECT_EQ(31ul, gl::ScanForward(0x80000000u)); in TEST() 285 EXPECT_EQ(0ul, gl::ScanForward(static_cast<uint64_t>(1ull))); in TEST() 286 EXPECT_EQ(16ul, gl::ScanForward(static_cast<uint64_t>(0x80010000ull))); in TEST() 287 EXPECT_EQ(31ul, gl::ScanForward(static_cast<uint64_t>(0x80000000ull))); in TEST() 289 EXPECT_EQ(32ul, gl::ScanForward(static_cast<uint64_t>(0x100000000ull))); in TEST() 290 EXPECT_EQ(48ul, gl::ScanForward(static_cast<uint64_t>(0x8001000000000000ull))); in TEST() 291 EXPECT_EQ(63ul, gl::ScanForward(static_cast<uint64_t>(0x8000000000000000ull))); in TEST()
|
D | mathutil.h | 1102 inline unsigned long ScanForward(uint32_t bits) in ScanForward() function 1111 inline unsigned long ScanForward(uint64_t bits) in ScanForward() function 1168 inline unsigned long ScanForward(uint32_t bits) in ScanForward() function 1174 inline unsigned long ScanForward(uint64_t bits) in ScanForward() function 1211 inline unsigned long ScanForward(uint8_t bits) in ScanForward() function 1213 return ScanForward(static_cast<uint32_t>(bits)); in ScanForward() 1216 inline unsigned long ScanForward(uint16_t bits) in ScanForward() function 1218 return ScanForward(static_cast<uint32_t>(bits)); in ScanForward() 1242 return static_cast<int>(ScanForward(bits)); in FindLSB()
|
D | bitset_utils.h | 387 return static_cast<ParamT>(gl::ScanForward(mBits)); in first() 442 return gl::ScanForward(mBitsCopy.mBits); in getNextBit()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | MathTests.cpp | 39 TEST(Math, ScanForward) { in TEST() argument 41 ASSERT_EQ(ScanForward(1), 0u); in TEST() 42 ASSERT_EQ(ScanForward(0x80000000), 31u); in TEST() 45 ASSERT_EQ(ScanForward(256), 8u); in TEST() 46 ASSERT_EQ(ScanForward(256 + 32), 5u); in TEST() 47 ASSERT_EQ(ScanForward(1024 + 256 + 32), 5u); in TEST()
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | mathutil_unittest.cpp | 269 TEST(MathUtilTest, ScanForward) in TEST() argument 271 EXPECT_EQ(0ul, gl::ScanForward(1u)); in TEST() 272 EXPECT_EQ(16ul, gl::ScanForward(0x80010000u)); in TEST() 273 EXPECT_EQ(31ul, gl::ScanForward(0x80000000u)); in TEST() 276 EXPECT_EQ(0ul, gl::ScanForward(static_cast<uint64_t>(1ull))); in TEST() 277 EXPECT_EQ(16ul, gl::ScanForward(static_cast<uint64_t>(0x80010000ull))); in TEST() 278 EXPECT_EQ(31ul, gl::ScanForward(static_cast<uint64_t>(0x80000000ull))); in TEST()
|
D | mathutil.h | 1044 inline unsigned long ScanForward(uint32_t bits) in ScanForward() function 1054 inline unsigned long ScanForward(uint64_t bits) in ScanForward() function 1066 inline unsigned long ScanForward(uint32_t bits) in ScanForward() function 1073 inline unsigned long ScanForward(uint64_t bits) in ScanForward() function 1081 inline unsigned long ScanForward(uint8_t bits) in ScanForward() function 1083 return ScanForward(static_cast<uint32_t>(bits)); in ScanForward() 1086 inline unsigned long ScanForward(uint16_t bits) in ScanForward() function 1088 return ScanForward(static_cast<uint32_t>(bits)); in ScanForward() 1119 return static_cast<int>(ScanForward(bits)); in FindLSB()
|
D | bitset_utils.h | 235 return gl::ScanForward(wordBits) + mOffset; in getNextBit() 491 return gl::ScanForward(mBitsCopy.mBits); in getNextBit()
|
/third_party/flutter/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 26 uint32_t ScanForward(uint32_t bits);
|
D | Math.cpp | 26 uint32_t ScanForward(uint32_t bits) { in ScanForward() function
|
D | BitSetIterator.h | 120 return ScanForward(wordBits) + mOffset; in getNextBit()
|
/third_party/skia/third_party/externals/dawn/src/common/ |
D | Math.h | 28 uint32_t ScanForward(uint32_t bits);
|
D | Math.cpp | 28 uint32_t ScanForward(uint32_t bits) { in ScanForward() function
|
D | BitSetIterator.h | 124 return ScanForward(wordBits) + mOffset; in getNextBit()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/ |
D | Uniform.cpp | 34 return static_cast<ShaderType>(ScanForward(mActiveUseBits.bits())); in getFirstShaderTypeWhereActive()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | Uniform.cpp | 34 return static_cast<ShaderType>(ScanForward(mActiveUseBits.bits())); in getFirstShaderTypeWhereActive()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 358 gl::ScanForward(static_cast<uint32_t>(activeProgramOutputs.bits()))); in getColorAttachmentsForRender()
|
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 388 gl::ScanForward(static_cast<uint32_t>(activeProgramOutputs.bits()))); in getColorAttachmentsForRender()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | vk_utils.cpp | 1237 return gl::ScanForward(static_cast<uint32_t>(sampleCount)); in PackSampleCount()
|