/external/angle/src/common/ |
D | mathutil_unittest.cpp | 264 TEST(MathUtilTest, BitCount) in TEST() argument 266 EXPECT_EQ(0, gl::BitCount(0u)); in TEST() 267 EXPECT_EQ(32, gl::BitCount(0xFFFFFFFFu)); in TEST() 268 EXPECT_EQ(10, gl::BitCount(0x17103121u)); in TEST() 270 EXPECT_EQ(0, gl::BitCount(static_cast<uint64_t>(0ull))); in TEST() 271 EXPECT_EQ(32, gl::BitCount(static_cast<uint64_t>(0xFFFFFFFFull))); in TEST() 272 EXPECT_EQ(10, gl::BitCount(static_cast<uint64_t>(0x17103121ull))); in TEST() 274 EXPECT_EQ(33, gl::BitCount(static_cast<uint64_t>(0xFFFFFFFF80000000ull))); in TEST() 275 EXPECT_EQ(11, gl::BitCount(static_cast<uint64_t>(0x1710312180000000ull))); in TEST()
|
D | mathutil.h | 1028 inline int BitCount(uint32_t bits) in BitCount() function 1037 inline int BitCount(uint64_t bits) in BitCount() function 1056 inline int BitCount(uint32_t bits) in BitCount() function 1065 inline int BitCount(uint64_t bits) in BitCount() function 1077 inline int BitCount(uint32_t bits) in BitCount() function 1082 inline int BitCount(uint64_t bits) in BitCount() function 1088 inline int BitCount(uint8_t bits) in BitCount() function 1090 return BitCount(static_cast<uint32_t>(bits)); in BitCount() 1093 inline int BitCount(uint16_t bits) in BitCount() function 1095 return BitCount(static_cast<uint32_t>(bits)); in BitCount()
|
/external/oboe/samples/RhythmGame/third_party/glm/gtc/ |
D | bitfield.hpp | 72 GLM_FUNC_DECL genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount); 78 …M_FUNC_DECL vecType<T, P> bitfieldFillOne(vecType<T, P> const & Value, int FirstBit, int BitCount); 84 GLM_FUNC_DECL genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount); 90 …_FUNC_DECL vecType<T, P> bitfieldFillZero(vecType<T, P> const & Value, int FirstBit, int BitCount);
|
D | bitfield.inl | 278 GLM_FUNC_QUALIFIER genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount) argument 280 return Value | static_cast<genIUType>(mask(BitCount) << FirstBit); 284 …UNC_QUALIFIER vecType<T, P> bitfieldFillOne(vecType<T, P> const& Value, int FirstBit, int BitCount) argument 286 return Value | static_cast<T>(mask(BitCount) << FirstBit); 290 GLM_FUNC_QUALIFIER genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount) argument 292 return Value & static_cast<genIUType>(~(mask(BitCount) << FirstBit)); 296 …NC_QUALIFIER vecType<T, P> bitfieldFillZero(vecType<T, P> const& Value, int FirstBit, int BitCount) argument 298 return Value & static_cast<T>(~(mask(BitCount) << FirstBit));
|
/external/llvm-project/mlir/test/Dialect/SPIRV/Serialization/ |
D | bit-ops.mlir | 5 // CHECK: spv.BitCount {{%.*}} : i32 6 %0 = spv.BitCount %arg : i32
|
/external/webrtc/modules/audio_processing/utility/ |
D | delay_estimator.cc | 48 static int BitCount(uint32_t u32) { in BitCount() function 79 bit_counts[n] = (int32_t)BitCount(binary_vector ^ binary_matrix[n]); in BitCountComparison() 385 handle->far_bit_counts[0] = BitCount(binary_far_spectrum); in WebRtc_AddBinaryFarSpectrum()
|
/external/llvm-project/lldb/source/Plugins/Process/Utility/ |
D | InstructionUtils.h | 80 static inline uint32_t BitCount(uint64_t x) { in BitCount() function
|
/external/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
D | EmulateInstructionARM.cpp | 902 address = SP - 4*BitCount(registers); in EmulatePUSH() 919 SP = SP - 4*BitCount(registers); in EmulatePUSH() 938 if (BitCount(registers) < 1) in EmulatePUSH() 945 if (BitCount(registers) < 2) in EmulatePUSH() 971 addr_t sp_offset = addr_byte_size * BitCount(registers); in EmulatePUSH() 1032 if registers<13> == '0' then SP = SP + 4*BitCount(registers); in EmulatePOP() 1053 if (BitCount(registers) < 1) in EmulatePOP() 1061 if (BitCount(registers) < 2 || (Bit32(opcode, 15) && Bit32(opcode, 14))) in EmulatePOP() 1098 addr_t sp_offset = addr_byte_size * BitCount(registers); in EmulatePOP() 3925 if wback && registers<n> == '0' then R[n] = R[n] + 4 * BitCount (registers); in EmulateLDM() [all …]
|
/external/vixl/src/ |
D | utils-vixl.cc | 204 int BitCount(uint64_t value) { return CountSetBits(value); } in BitCount() function 264 Int64 BitCount(Uint32 value) { return CountSetBits(value.Get()); } in BitCount() function
|
D | utils-vixl.h | 498 int BitCount(uint64_t value); 1003 Int64 BitCount(Uint32 value);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 800 unsigned BitCount = 0; in count() local 804 BitCount += Iter->count(); in count() 806 return BitCount; in count()
|
/external/llvm-project/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 800 unsigned BitCount = 0; in count() local 804 BitCount += Iter->count(); in count() 806 return BitCount; in count()
|
/external/llvm-project/llvm/tools/llvm-rc/ |
D | ResourceFileWriter.cpp | 754 ulittle16_t BitCount; // HotspotY (.cur files but not CURSOR resource). member 769 ulittle16_t BitCount; member 844 writeObject(Res->Header.BitCount); in writeSingleIconOrCursorBody() 959 NewHeader.BitCount = BMPHeader->BitCount; in visitIconOrCursorResource() 965 NewHeader.BitCount = 32; in visitIconOrCursorResource()
|
/external/llvm/include/llvm/ADT/ |
D | SparseBitVector.h | 814 unsigned BitCount = 0; 818 BitCount += Iter->count(); 820 return BitCount;
|
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/ |
D | spv.intOps.vert.out | 295 210: 6(int) BitCount 209 302 216: 102(ivec3) BitCount 215
|
D | spv.int64.frag.out | 692 468: 18(int64_t) BitCount 467 696 471: 52(i64vec2) BitCount 470
|
D | hlsl.intrinsics.promote.down.frag.out | 188 27: 12(int) BitCount 26
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.intOps.vert.out | 295 210: 6(int) BitCount 209 302 216: 102(ivec3) BitCount 215
|
D | hlsl.intrinsics.promote.down.frag.out | 188 27: 12(int) BitCount 26
|
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/ |
D | SPIRVBitOps.td | 62 def SPV_BitCountOp : SPV_BitUnaryOp<"BitCount", []> { 84 bitcount-op ::= ssa-id `=` `spv.BitCount` ssa-use 91 %2 = spv.BitCount %0: i32 92 %3 = spv.BitCount %1: vector<4xi32>
|
/external/swiftshader/third_party/subzero/src/ |
D | WasmTranslator.cpp | 481 const SizeT BitCount = typeWidthInBytes(DestTy) * CHAR_BIT; in Binop() local 488 Ctx->getConstantInt(DestTy, BitCount - 1))); in Binop() 494 Ctx->getConstantInt(DestTy, BitCount), Masked)); in Binop() 507 const SizeT BitCount = typeWidthInBytes(DestTy) * CHAR_BIT; in Binop() local 514 Ctx->getConstantInt(DestTy, BitCount - 1))); in Binop() 520 Ctx->getConstantInt(DestTy, BitCount), Masked)); in Binop()
|
/external/llvm-project/mlir/test/Conversion/SPIRVToLLVM/ |
D | bitwise-ops-to-llvm.mlir | 4 // spv.BitCount 10 %0 = spv.BitCount %arg0: i16 17 %0 = spv.BitCount %arg0: vector<3xi32>
|
/external/llvm/test/MC/Disassembler/ARM/ |
D | invalid-thumbv7.txt | 150 # if BitCount(registers) < 1 then UNPREDICTABLE
|
/external/llvm-project/mlir/test/Dialect/SPIRV/ |
D | ops.mlir | 233 // spv.BitCount 237 // CHECK: spv.BitCount {{%.*}} : i32 238 %0 = spv.BitCount %arg : i32
|
/external/llvm-project/llvm/test/MC/Disassembler/ARM/ |
D | invalid-thumbv7.txt | 150 # if BitCount(registers) < 1 then UNPREDICTABLE
|