Searched defs:Bits (Results 1 - 25 of 77) sorted by relevance

1234

/external/llvm/unittests/ADT/
H A DAPSIntTest.cpp29 const uint64_t *Bits = Wide.getRawData(); local
32 EXPECT_EQ(Bits, D.getRawData()); // Verify that "Wide" was really moved.
38 Bits = Wide.getRawData();
41 EXPECT_EQ(Bits, A.getRawData()); // Verify that "Wide" was really moved.
/external/freetype/src/gzip/
H A Dinftrees.h23 Byte Bits; /* number of bits in this code or subcode */ member in struct:inflate_huft_s::__anon21555::__anon21556
/external/clang/test/Analysis/
H A Dfields.c45 struct Bits { struct
62 struct Bits bits;
121 struct Bits bits;
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DBits.java22 public final class Bits { class
26 private Bits() { method in class:Bits
224 if (Bits.get(bits, i)) {
/external/eigen/bench/
H A Dsparse_randomsetter.cpp85 const int Bits = 6; local
88 dostuff<RandomSetter<EigenSparseMatrix,StdMapTraits,Bits> >("std::map ", sm1);
89 dostuff<RandomSetter<EigenSparseMatrix,GnuHashMapTraits,Bits> >("gnu::hash_map", sm1);
90 dostuff<RandomSetter<EigenSparseMatrix,GoogleDenseHashMapTraits,Bits> >("google::dense", sm1);
91 dostuff<RandomSetter<EigenSparseMatrix,GoogleSparseHashMapTraits,Bits> >("google::sparse", sm1);
94 // RandomSetter<EigenSparseMatrix,GnuHashMapTraits,Bits> set1(sm1);
103 // RandomSetter<EigenSparseMatrix,GoogleDenseHashMapTraits,Bits> set1(sm1);
112 // RandomSetter<EigenSparseMatrix,GoogleSparseHashMapTraits,Bits> set1(sm1);
/external/lldb/test/lang/c/bitfields/
H A Dmain.c13 struct Bits struct
28 printf("%lu", sizeof(struct Bits));
30 struct Bits bits;
/external/llvm/include/llvm/ADT/
H A DSparseBitVector.h58 BitWord Bits[BITWORDS_PER_ELEMENT]; member in struct:llvm::SparseBitVectorElement
63 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
69 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
77 if (Bits[i] != RHS.Bits[i])
89 return Bits[Idx];
98 if (Bits[i])
104 Bits[Idx / BITWORD_SIZE] |= 1L << (Idx % BITWORD_SIZE);
117 Bits[Idx / BITWORD_SIZE] &= ~(1L << (Idx % BITWORD_SIZE));
121 return Bits[Id
[all...]
H A DPackedVector.h30 static T getValue(const BitVectorTy &Bits, unsigned Idx) { argument
33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
37 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { argument
40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i);
47 static T getValue(const BitVectorTy &Bits, unsigned Idx) { argument
50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i));
51 if (Bits[(Idx << (BitNum-1)) + BitNum-1])
56 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { argument
59 Bits.set((Idx << (BitNum-1)) + BitNum-1);
63 Bits[(Id
77 BitVectorTy Bits; member in class:llvm::PackedVector
[all...]
H A DBitVector.h32 BitWord *Bits; // Actual bits. member in class:llvm::BitVector
49 WordRef = &b.Bits[Idx / BITWORD_SIZE];
76 Bits = nullptr;
83 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
84 init_words(Bits, Capacity, t);
92 Bits = nullptr;
98 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
99 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord));
103 : Bits(RH
[all...]
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DHashFunctions.h110 typedef typename IntTypes<sizeof(T)>::UnsignedType Bits; typedef in struct:WTF::FloatHash
113 return intHash(bitwise_cast<Bits>(key));
117 return bitwise_cast<Bits>(a) == bitwise_cast<Bits>(b);
/external/chromium_org/third_party/skia/include/effects/
H A DSkLayerDrawLooper.h23 * Bits specifies which aspects of the layer's paint should replace the
29 enum Bits { enum in class:SkLayerDrawLooper
/external/chromium_org/third_party/skia/src/utils/
H A DSkFloatUtils.h57 /** Bits is a unsigned integer the same size as the floating point number. */
58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; typedef in class:SkFloatingPoint
70 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1);
73 static const Bits kFractionBitMask =
74 ~static_cast<Bits>(0) >> (kExponentBitCount + 1);
77 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask);
93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; }
96 Bits fraction_bits() const { return kFractionBitMask & fU.bits; }
117 const Bits dis
[all...]
/external/llvm/lib/Target/AArch64/Utils/
H A DAArch64BaseInfo.cpp805 uint32_t Bits; local
810 Bits = (Op0 << 14) | (Op1 << 11) | (CRn << 7) | (CRm << 3) | Op2;
813 return Bits;
817 AArch64SysReg::SysRegMapper::toString(uint32_t Bits, bool &Valid) const { argument
820 if (SysRegPairs[i].Value == Bits) {
829 if (CycloneSysRegPairs[i].Value == Bits) {
839 if (InstPairs[i].Value == Bits) {
845 uint32_t Op0 = (Bits >> 14) & 0x3;
846 uint32_t Op1 = (Bits >> 11) & 0x7;
847 uint32_t CRn = (Bits >>
[all...]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCCodeEmitter.cpp86 unsigned Bits = getBinaryCodeForInstr(MI, Fixups, STI); local
90 OS << (char)(Bits >> 24);
91 Bits <<= 8;
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCCodeEmitter.cpp106 uint64_t Bits = getBinaryCodeForInstr(MI, Fixups, STI); local
111 OS << uint8_t(Bits >> ShiftValue);
/external/openfst/src/include/fst/extensions/ngram/
H A Dbitmap-index.h62 size_t Bits() const { function in class:fst::BitmapIndex
76 // REQUIRES: limit <= Bits()
80 // REQUIRES: limit <= Bits()
86 // REQUIRES: limit <= Bits()
92 // REQUIRES: limit <= Bits()
98 // is set. 0 <= begin <= end <= Bits() is required.
105 // or Bits() if index >= number of ones
109 // or Bits() if index > number of
/external/skia/include/effects/
H A DSkLayerDrawLooper.h23 * Bits specifies which aspects of the layer's paint should replace the
29 enum Bits { enum in class:SkLayerDrawLooper
/external/skia/src/utils/
H A DSkFloatUtils.h57 /** Bits is a unsigned integer the same size as the floating point number. */
58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; typedef in class:SkFloatingPoint
70 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1);
73 static const Bits kFractionBitMask =
74 ~static_cast<Bits>(0) >> (kExponentBitCount + 1);
77 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask);
93 Bits exponent_bits() const { return kExponentBitMask & fU.bits; }
96 Bits fraction_bits() const { return kFractionBitMask & fU.bits; }
117 const Bits dis
[all...]
/external/compiler-rt/lib/ubsan/
H A Dubsan_value.h162 const unsigned Bits = getType().getIntegerBitWidth(); local
163 return Bits <= InlineBits;
170 const unsigned Bits = getType().getFloatBitWidth(); local
171 return Bits <= InlineBits;
/external/llvm/lib/IR/
H A DDataLayout.cpp215 static unsigned inBytes(unsigned Bits) { argument
216 assert(Bits % 8 == 0 && "number of bits must be a byte width multiple");
217 return Bits / 8;
/external/llvm/lib/MC/
H A DSubtargetFeature.cpp153 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, argument
159 Bits |= FE.Value;
160 SetImpliedBits(Bits, &FE, FeatureTable);
169 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, argument
175 Bits &= ~FE.Value;
176 ClearImpliedBits(Bits, &FE, FeatureTable);
184 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature, argument
192 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) {
193 Bits &= ~FeatureEntry->Value;
196 ClearImpliedBits(Bits, FeatureEntr
233 uint64_t Bits = 0; // Resulting bits local
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.h36 std::vector<unsigned> Bits; member in struct:llvm::LetRecord
41 : Name(N), Bits(B), Value(V), Loc(L) {
/external/llvm/lib/Target/AArch64/
H A DAArch64BranchRelaxation.cpp257 unsigned Bits) {
258 unsigned MaxOffs = ((1 << (Bits - 1)) - 1) << 2;
255 isBlockInRange(MachineInstr *MI, MachineBasicBlock *DestBB, unsigned Bits) argument
/external/llvm/lib/Target/ARM/
H A DARMSubtarget.cpp358 uint64_t Bits = getFeatureBits(); local
359 if ((Bits & ARM::ProcA5 || Bits & ARM::ProcA8) && // Where this matters
H A DARMTargetTransformInfo.cpp154 unsigned Bits = Ty->getPrimitiveSizeInBits(); local
155 if (Bits == 0 || Bits > 32)

Completed in 810 milliseconds

1234