/third_party/boost/boost/gil/ |
D | channel.hpp | 240 template <int NumBits> 244 NumBits <= 8, 248 NumBits <= 16, 252 NumBits <= 32, 260 template <int NumBits> 262 : std::conditional<NumBits < 32, std::uint32_t, std::uint64_t> 265 template <int NumBits> 267 : std::conditional<NumBits <= 32, std::uint32_t, std::uint64_t> 288 template <int NumBits> 292 using integer_t = typename detail::min_fast_uint<NumBits>::type; [all …]
|
D | metafunctions.hpp | 310 template <typename BitField, typename FirstBit, typename NumBits> 315 BitField, FirstBit::value, NumBits::value, true 322 template <typename FirstBit, typename NumBits> 323 … using reference_type = typename packed_channel_reference_type<BitField, FirstBit, NumBits>::type; 498 template <typename BitField, int NumBits, bool IsMutable, typename Layout> 499 struct pixel_value_type<packed_dynamic_channel_reference<BitField, NumBits, IsMutable>, Layout> 500 : packed_pixel_type<BitField, mp11::mp_list_c<unsigned, NumBits>, Layout> 503 template <typename BitField, int NumBits, bool IsMutable, typename Layout> 504 struct pixel_value_type<packed_dynamic_channel_reference<BitField, NumBits, IsMutable> const, Layou… 505 : packed_pixel_type<BitField, mp11::mp_list_c<unsigned, NumBits>, Layout> [all …]
|
D | bit_aligned_pixel_reference.hpp | 321 template <typename BitField, int NumBits, typename Layout> 324 packed_dynamic_channel_reference<BitField, NumBits, false> const, 331 mp11::mp_list<std::integral_constant<unsigned, NumBits>>, 342 template <typename BitField, int NumBits, typename Layout> 345 packed_dynamic_channel_reference<BitField, NumBits, true> const, 352 mp11::mp_list<std::integral_constant<unsigned, NumBits>>,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/ |
D | BitstreamReader.h | 189 Expected<word_t> Read(unsigned NumBits) { in Read() argument 192 assert(NumBits && NumBits <= BitsInWord && in Read() 198 if (BitsInCurWord >= NumBits) { in Read() 199 word_t R = CurWord & (~word_t(0) >> (BitsInWord - NumBits)); in Read() 202 CurWord >>= (NumBits & Mask); in Read() 204 BitsInCurWord -= NumBits; in Read() 209 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() 227 R |= R2 << (NumBits - BitsLeft); in Read() 232 Expected<uint32_t> ReadVBR(unsigned NumBits) { in ReadVBR() argument 233 Expected<unsigned> MaybeRead = Read(NumBits); in ReadVBR() [all …]
|
D | BitstreamWriter.h | 119 void Emit(uint32_t Val, unsigned NumBits) { in Emit() argument 120 assert(NumBits && NumBits <= 32 && "Invalid value size!"); in Emit() 121 assert((Val & ~(~0U >> (32-NumBits))) == 0 && "High bits set!"); in Emit() 123 if (CurBit + NumBits < 32) { in Emit() 124 CurBit += NumBits; in Emit() 135 CurBit = (CurBit+NumBits) & 31; in Emit() 146 void EmitVBR(uint32_t Val, unsigned NumBits) { in EmitVBR() argument 147 assert(NumBits <= 32 && "Too many bits to emit!"); in EmitVBR() 148 uint32_t Threshold = 1U << (NumBits-1); in EmitVBR() 152 Emit((Val & ((1 << (NumBits-1))-1)) | (1 << (NumBits-1)), NumBits); in EmitVBR() [all …]
|
/third_party/boost/boost/gil/detail/ |
D | is_channel_integral.hpp | 21 template <int NumBits> 22 struct is_channel_integral<boost::gil::packed_channel_value<NumBits>> : std::true_type {}; 24 template <typename BitField, int FirstBit, int NumBits, bool IsMutable> 27 boost::gil::packed_channel_reference<BitField, FirstBit, NumBits, IsMutable> 31 template <typename BitField, int NumBits, bool IsMutable> 34 boost::gil::packed_dynamic_channel_reference<BitField, NumBits, IsMutable>
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 535 return BlockScope.back().getCodeAbbrev().NumBits; in getAbbrevIDWidth() 672 word_t Read(unsigned NumBits) { in Read() argument 675 assert(NumBits && NumBits <= BitsInWord && in Read() 681 if (BitsInCurWord >= NumBits) { in Read() 682 word_t R = CurWord & (~word_t(0) >> (BitsInWord - NumBits)); in Read() 685 CurWord >>= (NumBits & Mask); in Read() 687 BitsInCurWord -= NumBits; in Read() 692 unsigned BitsLeft = NumBits - BitsInCurWord; in Read() 707 R |= R2 << (NumBits - BitsLeft); in Read() 712 uint32_t ReadVBR(unsigned NumBits) { in ReadVBR() argument [all …]
|
D | NaClBitCodes.h | 410 unsigned NumBits; 413 NaClBitcodeSelectorAbbrev(bool IF, unsigned NB) : IsFixed(IF), NumBits(NB) {} 418 NumBits(NaClBitsNeededForValue(naclbitc::DEFAULT_MAX_ABBREV)) {} 423 : IsFixed(true), NumBits(NaClBitsNeededForValue(MaxAbbrev)) {}
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APSInt.cpp | 24 unsigned NumBits = ((Str.size() * 64) / 19) + 2; in APSInt() local 25 APInt Tmp(NumBits, Str, /*radix=*/10); in APSInt() 28 if (MinBits > 0 && MinBits < NumBits) in APSInt() 34 if (ActiveBits > 0 && ActiveBits < NumBits) in APSInt()
|
/third_party/json/test/thirdparty/Fuzzer/ |
D | FuzzerValueBitMap.h | 49 size_t GetNumBitsSinceLastMerge() const { return NumBits; } in GetNumBitsSinceLastMerge() 56 size_t OldNumBits = NumBits; in MergeFrom() 67 NumBits = Res; in MergeFrom() 68 return OldNumBits < NumBits; in MergeFrom() 81 size_t NumBits = 0;
|
/third_party/boost/boost/intrusive/ |
D | pointer_plus_bits.hpp | 69 template<class Pointer, std::size_t NumBits> 78 template<class T, std::size_t NumBits> 79 struct pointer_plus_bits<T*, NumBits> 81 static const uintptr_t Mask = uintptr_t((uintptr_t(1u) << NumBits) - 1);
|
D | intrusive_fwd.hpp | 749 template<typename Pointer, std::size_t NumBits> 752 template<typename T, std::size_t NumBits> 753 struct pointer_plus_bits<T *, NumBits>;
|
/third_party/boost/libs/intrusive/test/ |
D | smart_ptr.hpp | 278 template<class T, std::size_t NumBits> 279 struct pointer_plus_bits<smart_ptr<T>, NumBits> 286 p.set(pointer_plus_bits<T*, NumBits>::get_pointer(n.get())); in get_pointer() 293 pointer_plus_bits<T*, NumBits>::set_pointer(raw_n, p.operator->()); in set_pointer() 298 { return pointer_plus_bits<T*, NumBits>::get_bits(n.get()); } in get_bits() 303 pointer_plus_bits<T*, NumBits>::set_bits(raw_n, c); in set_bits()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | Thumb2InstrInfo.cpp | 578 unsigned NumBits = 0; in rewriteT2FrameIndex() local 587 NumBits = 8; in rewriteT2FrameIndex() 592 NumBits = 12; in rewriteT2FrameIndex() 600 NumBits = 8; in rewriteT2FrameIndex() 614 NumBits = 8; in rewriteT2FrameIndex() 628 case ARMII::AddrModeT2_i7s4: NumBits = 9; OffsetMask = 0x3; break; in rewriteT2FrameIndex() 629 case ARMII::AddrModeT2_i7s2: NumBits = 8; OffsetMask = 0x1; break; in rewriteT2FrameIndex() 630 default: NumBits = 7; OffsetMask = 0x0; break; in rewriteT2FrameIndex() 638 NumBits = 8 + 2; in rewriteT2FrameIndex() 644 NumBits = 8; // 8 bits scaled by 4 in rewriteT2FrameIndex() [all …]
|
D | ARMBaseRegisterInfo.cpp | 695 unsigned NumBits = 0; in isFrameOffsetLegal() local 705 NumBits = 8; in isFrameOffsetLegal() 708 NumBits = 12; in isFrameOffsetLegal() 713 NumBits = 8; in isFrameOffsetLegal() 718 NumBits = 12; in isFrameOffsetLegal() 721 NumBits = 8; in isFrameOffsetLegal() 724 NumBits = (BaseReg == ARM::SP ? 8 : 5); in isFrameOffsetLegal() 741 unsigned Mask = (1 << NumBits) - 1; in isFrameOffsetLegal()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 475 static bool canEvaluateShifted(Value *V, unsigned NumBits, bool IsLeftShift, in canEvaluateShifted() argument 491 if (CI->getValue() == NumBits) { in canEvaluateShifted() 519 return canEvaluateShifted(I->getOperand(0), NumBits, IsLeftShift, IC, I) && in canEvaluateShifted() 520 canEvaluateShifted(I->getOperand(1), NumBits, IsLeftShift, IC, I); in canEvaluateShifted() 524 return canEvaluateShiftedShift(NumBits, IsLeftShift, I, IC, CxtI); in canEvaluateShifted() 530 return canEvaluateShifted(TrueVal, NumBits, IsLeftShift, IC, SI) && in canEvaluateShifted() 531 canEvaluateShifted(FalseVal, NumBits, IsLeftShift, IC, SI); in canEvaluateShifted() 539 if (!canEvaluateShifted(IncValue, NumBits, IsLeftShift, IC, PN)) in canEvaluateShifted() 611 static Value *getShiftedValue(Value *V, unsigned NumBits, bool isLeftShift, in getShiftedValue() argument 616 V = IC.Builder.CreateShl(C, NumBits); in getShiftedValue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitcode/ |
D | BitcodeAnalyzer.h | 67 uint64_t NumBits; member 78 : NumInstances(0), NumBits(0), NumSubBlocks(0), NumAbbrevs(0), in PerBlockIDStats()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64AsmBackend.cpp | 154 unsigned NumBits; in valueFitsIntoFixupKind() local 156 case FK_Data_1: NumBits = 8; break; in valueFitsIntoFixupKind() 157 case FK_Data_2: NumBits = 16; break; in valueFitsIntoFixupKind() 158 case FK_Data_4: NumBits = 32; break; in valueFitsIntoFixupKind() 159 case FK_Data_8: NumBits = 64; break; in valueFitsIntoFixupKind() 162 return isUIntN(NumBits, Value) || in valueFitsIntoFixupKind() 163 isIntN(NumBits, static_cast<int64_t>(Value)); in valueFitsIntoFixupKind()
|
/third_party/boost/libs/gil/doc/html/_sources/design/ |
D | channel.rst.txt | 117 // Value of a channel defined over NumBits bits. Models ChannelValueConcept 118 template <int NumBits> class packed_channel_value; 120 // Reference to a channel defined over NumBits bits. Models ChannelConcept 122 … int NumBits, // Defines the sequence of bits in the data value that contain the channel 126 …// Reference to a channel defined over NumBits bits. Its FirstBit is a run-time parameter. Models … 127 …template <int NumBits, // Defines the sequence of bits in the data value that contain the ch…
|
/third_party/boost/libs/gil/doc/design/ |
D | channel.rst | 117 // Value of a channel defined over NumBits bits. Models ChannelValueConcept 118 template <int NumBits> class packed_channel_value; 120 // Reference to a channel defined over NumBits bits. Models ChannelConcept 122 … int NumBits, // Defines the sequence of bits in the data value that contain the channel 126 …// Reference to a channel defined over NumBits bits. Its FirstBit is a run-time parameter. Models … 127 …template <int NumBits, // Defines the sequence of bits in the data value that contain the ch…
|
/third_party/abseil-cpp/absl/random/internal/ |
D | fast_uniform_bits.h | 58 constexpr size_t NumBits() { in NumBits() function 145 static constexpr size_t kUrbgBits = NumBits<URBG>(); in Generate() 187 static constexpr size_t kUrbgBits = NumBits<URBG>(); // m in Generate()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | fast_uniform_bits.h | 58 constexpr size_t NumBits() { in NumBits() function 145 static constexpr size_t kUrbgBits = NumBits<URBG>(); in Generate() 187 static constexpr size_t kUrbgBits = NumBits<URBG>(); // m in Generate()
|
/third_party/boost/libs/gil/test/ |
D | test_utility_output_stream.hpp | 62 template <typename BitField, int FirstBit, int NumBits, bool IsMutable> 63 void operator()(gil::packed_channel_reference<BitField, FirstBit, NumBits, IsMutable> const& c) in operator ()()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | Type.cpp | 244 IntegerType *IntegerType::get(LLVMContext &C, unsigned NumBits) { in get() argument 245 assert(NumBits >= MIN_INT_BITS && "bitwidth too small"); in get() 246 assert(NumBits <= MAX_INT_BITS && "bitwidth too large"); in get() 249 switch (NumBits) { in get() 260 IntegerType *&Entry = C.pImpl->IntegerTypes[NumBits]; in get() 263 Entry = new (C.pImpl->Alloc) IntegerType(C, NumBits); in get()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | DerivedTypes.h | 43 explicit IntegerType(LLVMContext &C, unsigned NumBits) : Type(C, IntegerTyID){ in IntegerType() argument 44 setSubclassData(NumBits); in IntegerType() 62 static IntegerType *get(LLVMContext &C, unsigned NumBits);
|