Searched refs:Bits (Results 1 - 25 of 141) sorted by relevance

123456

/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/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/include/llvm/ADT/
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...]
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...]
/external/clang/lib/Basic/
H A DLangOptions.cpp20 #define LANGOPT(Name, Bits, Default, Description) Name = Default;
21 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default);
28 #define LANGOPT(Name, Bits, Default, Description)
29 #define BENIGN_LANGOPT(Name, Bits, Default, Description) Name = Default;
30 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
/external/elfutils/0.153/libelf/
H A Dgelf_xlate.c87 #define FETCH(Bits, ptr) (*(const uint##Bits##_t *) ptr)
88 #define STORE(Bits, ptr, val) (*(uint##Bits##_t *) ptr = val)
99 #define FETCH(Bits, ptr) (((const union unaligned *) ptr)->u##Bits)
100 #define STORE(Bits, ptr, val) (((union unaligned *) ptr)->u##Bits = val)
110 #define FUNDAMENTAL(NAME, Name, Bits) \
111 INLINE2 (ELFW2(Bits,FSZ
[all...]
H A Dabstract.h52 #define Ehdr(Bits, Ext) \
53 START (Bits, Ehdr, Ext##Ehdr) \
56 TYPE_NAME (ElfW2(Bits, Ext##Half), e_type) \
57 TYPE_NAME (ElfW2(Bits, Ext##Half), e_machine) \
58 TYPE_NAME (ElfW2(Bits, Ext##Word), e_version) \
59 TYPE_NAME (ElfW2(Bits, Ext##Addr), e_entry) \
60 TYPE_NAME (ElfW2(Bits, Ext##Off), e_phoff) \
61 TYPE_NAME (ElfW2(Bits, Ext##Off), e_shoff) \
62 TYPE_NAME (ElfW2(Bits, Ext##Word), e_flags) \
63 TYPE_NAME (ElfW2(Bits, Ex
[all...]
H A Dexttypes.h73 #define START(Bits, Name, EName) typedef struct {
74 #define END(Bits, Name) } ElfW2(Bits, Name)
H A DlibelfP.h71 #define __elfw2_(Bits, Name) __elf##Bits##_##Name
72 #define elfw2_(Bits, Name) elf##Bits##_##Name
73 #define ElfW2_(Bits, Name) Elf##Bits##_##Name
74 #define ELFW2_(Bits, Name) ELF##Bits##_##Name
75 #define ELFW_(Name, Bits) Name##Bits
[all...]
/external/clang/include/clang/Basic/
H A DDiagnosticOptions.h39 #define DIAGOPT(Name, Bits, Default) unsigned Name : Bits;
40 #define ENUM_DIAGOPT(Name, Type, Bits, Default)
46 #define DIAGOPT(Name, Bits, Default)
47 #define ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits;
63 #define DIAGOPT(Name, Bits, Default)
64 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \
70 #define DIAGOPT(Name, Bits, Default) Name = Default;
71 #define ENUM_DIAGOPT(Name, Type, Bits, Defaul
[all...]
H A DLangOptions.h39 #define LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits;
40 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description)
47 #define LANGOPT(Name, Bits, Default, Description)
48 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
49 unsigned Name : Bits;
97 #define LANGOPT(Name, Bits, Default, Description)
98 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
/external/dexmaker/src/dx/java/com/android/dx/util/
H A DBitIntSet.java35 bits = Bits.makeBitSet(max);
41 Bits.set(bits, value, true);
50 if (value >= Bits.getMax(bits)) {
51 int[] newBits = Bits.makeBitSet(
52 Math.max(value + 1, 2 * Bits.getMax(bits)));
60 if (value < Bits.getMax(bits)) {
61 Bits.set(bits, value, false);
67 return (value < Bits.getMax(bits)) && Bits.get(bits, value);
74 ensureCapacity(Bits
[all...]
/external/chromium_org/v8/src/arm/
H A Dconstants-arm.h458 inline int Bits(int hi, int lo) const { function in class:v8::internal::Instruction
475 static inline int Bits(Instr instr, int hi, int lo) { function in class:v8::internal::Instruction
501 return static_cast<Condition>(Bits(31, 28));
509 inline int TypeValue() const { return Bits(27, 25); }
510 inline int SpecialValue() const { return Bits(27, 23); }
512 inline int RnValue() const { return Bits(19, 16); }
514 inline int RdValue() const { return Bits(15, 12); }
517 inline int CoprocessorValue() const { return Bits(11, 8); }
520 inline int VnValue() const { return Bits(19, 16); }
521 inline int VmValue() const { return Bits(
[all...]
/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/clang/include/clang/Frontend/
H A DCodeGenOptions.h27 #define CODEGENOPT(Name, Bits, Default) unsigned Name : Bits;
28 #define ENUM_CODEGENOPT(Name, Type, Bits, Default)
32 #define CODEGENOPT(Name, Bits, Default)
33 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) unsigned Name : Bits;
180 #define CODEGENOPT(Name, Bits, Default)
181 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) \
187 #define CODEGENOPT(Name, Bits, Default) Name = Default;
188 #define ENUM_CODEGENOPT(Name, Type, Bits, Defaul
[all...]
/external/chromium_org/v8/src/arm64/
H A Ddecoder-arm64-inl.h20 if (instr->Bits(28, 27) == 0) {
23 switch (instr->Bits(27, 24)) {
99 DCHECK(instr->Bits(27, 24) == 0x0);
109 DCHECK((instr->Bits(27, 24) == 0x4) ||
110 (instr->Bits(27, 24) == 0x5) ||
111 (instr->Bits(27, 24) == 0x6) ||
112 (instr->Bits(27, 24) == 0x7) );
114 switch (instr->Bits(31, 29)) {
145 if ((instr->Bits(4, 2) != 0) ||
159 if (instr->Bits(2
[all...]
/external/vixl/src/a64/
H A Ddecoder-a64.cc34 if (instr->Bits(28, 27) == 0) {
37 switch (instr->Bits(27, 24)) {
164 VIXL_ASSERT(instr->Bits(27, 24) == 0x0);
173 VIXL_ASSERT((instr->Bits(27, 24) == 0x4) ||
174 (instr->Bits(27, 24) == 0x5) ||
175 (instr->Bits(27, 24) == 0x6) ||
176 (instr->Bits(27, 24) == 0x7) );
178 switch (instr->Bits(31, 29)) {
209 if ((instr->Bits(4, 2) != 0) ||
223 if (instr->Bits(2
[all...]
/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/Support/
H A DFoldingSet.cpp57 Bits.append(reinterpret_cast<unsigned *>(&Ptr),
61 Bits.push_back(I);
64 Bits.push_back(I);
84 Bits.push_back(unsigned(I >> 32));
89 Bits.push_back(Size);
98 Bits.append(Base, Base + Units);
110 Bits.push_back(V);
119 Bits.push_back(V);
135 Bits.push_back(V);
140 Bits
[all...]
/external/valgrind/main/none/tests/x86-linux/
H A Dseg_override.c33 } Bits; member in union:_LDT_ENTRY::__anon33252
40 (unsigned long)ent->HighWord.Bits.BaseMid << 16 |
41 (unsigned long)ent->HighWord.Bits.BaseHi << 24);
45 unsigned int limit = ent->LimitLow | (ent->HighWord.Bits.LimitHi << 16);
46 if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff;
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCCodeEmitter.cpp101 uint64_t Bits = getBinaryCodeForInstr(MI, Fixups, STI);
108 OS << (char)(Bits);
109 OS << (char)(Bits >> 8);
110 OS << (char)(Bits >> 16);
111 OS << (char)(Bits >> 24);
113 OS << (char)(Bits >> 24);
114 OS << (char)(Bits >> 16);
115 OS << (char)(Bits >> 8);
116 OS << (char)(Bits);
123 OS << (char)(Bits >> 3
[all...]
/external/lldb/test/lang/c/bitfields/
H A Dmain.c13 struct Bits struct
28 printf("%lu", sizeof(struct Bits));
30 struct Bits bits;
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
H A DLocalVariableExtractor.java19 import com.android.dx.util.Bits;
66 this.workSet = Bits.makeBitSet(maxLabel);
77 label = Bits.findFirst(workSet, 0)) {
78 Bits.clear(workSet, label);
187 Bits.set(workSet, succ);
/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);

Completed in 7382 milliseconds

123456