/external/chromium_org/third_party/skia/src/utils/ |
SkFloatUtils.h | 57 /** Bits is a unsigned integer the same size as the floating point number. */ 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; 60 /** # of bits in a number. */ 63 /** # of fraction bits in a number. */ 66 /** # of exponent bits in a number. */ 70 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1); 72 /** The mask for the fraction bits. */ 73 static const Bits kFractionBitMask = 74 ~static_cast<Bits>(0) >> (kExponentBitCount + 1) 129 Bits bits; member in union:SkFloatingPoint::FloatingPointUnion [all...] |
/external/skia/src/utils/ |
SkFloatUtils.h | 57 /** Bits is a unsigned integer the same size as the floating point number. */ 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; 60 /** # of bits in a number. */ 63 /** # of fraction bits in a number. */ 66 /** # of exponent bits in a number. */ 70 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1); 72 /** The mask for the fraction bits. */ 73 static const Bits kFractionBitMask = 74 ~static_cast<Bits>(0) >> (kExponentBitCount + 1) 129 Bits bits; member in union:SkFloatingPoint::FloatingPointUnion [all...] |
/external/llvm/include/llvm/ADT/ |
PackedVector.h | 30 static T getValue(const BitVectorTy &Bits, unsigned Idx) { 33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); 37 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { 40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i); 47 static T getValue(const BitVectorTy &Bits, unsigned Idx) { 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) { 59 Bits.set((Idx << (BitNum-1)) + BitNum-1); 63 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i) [all...] |
BitVector.h | 32 BitWord *Bits; // Actual bits. 33 unsigned Size; // Size of bitvector in bits. 49 WordRef = &b.Bits[Idx / BITWORD_SIZE]; 76 Bits = nullptr; 79 /// BitVector ctor - Creates a bitvector of specified number of bits. All 80 /// bits are initialized to the specified value. 83 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); 84 init_words(Bits, Capacity, t); 92 Bits = nullptr [all...] |
SparseBitVector.h | 30 /// storing the elements that have non-zero bits set. In order to make this 37 /// enormous amounts of time with a large amount of bits. Other structures that 58 BitWord Bits[BITWORDS_PER_ELEMENT]; 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]) 86 // Return the bits that make up word Idx in our element. 89 return Bits[Idx]; 98 if (Bits[i] [all...] |
/dalvik/dx/junit-tests/com/android/dx/util/ |
BitsTest.java | 23 assertEquals(label(0), 0, Bits.makeBitSet(0).length); 26 assertEquals(label(i), 1, Bits.makeBitSet(i).length); 30 assertEquals(label(i), 2, Bits.makeBitSet(i).length); 38 assertEquals(label(i), expect, Bits.makeBitSet(i).length); 49 Bits.getMax(new int[expect])); 54 int[] bits = Bits.makeBitSet(100); local 57 assertFalse(label(i), Bits.get(bits, i)); 62 int[] bits = Bits.makeBitSet(100) local 73 int[] bits = Bits.makeBitSet(100); local 86 int[] bits = Bits.makeBitSet(50); local 103 int[] bits = Bits.makeBitSet(100); local 131 int[] bits = Bits.makeBitSet(100); local 146 int[] bits = Bits.makeBitSet(100); local 171 int[] bits = Bits.makeBitSet(i); local 190 int[] bits = Bits.makeBitSet(i); local 213 int[] bits = new int[100]; local 221 int[] bits = new int[100]; local 229 int[] bits = new int[100]; local 237 int[] bits = new int[100]; local 248 int[] bits = new int[100]; local 259 int[] bits = new int[100]; local 270 int[] bits = new int[100]; local 278 int[] bits = new int[100]; local 289 int[] bits = new int[100]; local [all...] |
/art/compiler/utils/arm/ |
constants_arm.h | 224 // bits. 244 // Get the raw instruction bits. 249 // Set the raw instruction bits to value. 254 // Read one particular bit out of the instruction bits. 259 // Read a bit field out of the instruction bits. 260 int Bits(int shift, int count) const { 269 return static_cast<Condition>(Bits(kConditionShift, kConditionBits)); 271 int TypeField() const { return Bits(kTypeShift, kTypeBits); } 274 Bits(kRnShift, kRnBits)); } 276 Bits(kRdShift, kRdBits)); [all...] |
/external/clang/lib/Basic/ |
LangOptions.cpp | 20 #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/ |
gelf_xlate.c | 81 bit. We need only functions for 16, 32, and 64 bits. The 87 #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) \ [all...] |
abstract.h | 52 #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, Ext##Half), e_ehsize) [all...] |
/external/clang/include/clang/Basic/ |
DiagnosticOptions.h | 39 #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, Default) set##Name(Default) [all...] |
LangOptions.h | 39 #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) \
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
BitIntSet.java | 27 int[] bits; field in class:BitIntSet 35 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))); [all...] |
/dalvik/dx/src/com/android/dx/util/ |
BitIntSet.java | 27 int[] bits; field in class:BitIntSet 35 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))); [all...] |
/external/dexmaker/src/dx/java/com/android/dx/util/ |
BitIntSet.java | 27 int[] bits; field in class:BitIntSet 35 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))); [all...] |
/external/chromium_org/v8/src/arm/ |
constants-arm.h | 149 // The bits for bit 7-4 for some type 0 miscellaneous instructions. 151 // With bits 22-21 01. 157 // With bits 22-21 11. 162 // Instruction encoding bits and masks. 331 // svc (formerly swi) provides a 24bit immediate value. Use bits 22:0 for 416 // bits. 442 // Get the raw instruction bits. 447 // Set the raw instruction bits to value. 452 // Read one particular bit out of the instruction bits. 457 // Read a bit field's value out of the instruction bits [all...] |
/external/llvm/unittests/ADT/ |
APSIntTest.cpp | 29 const uint64_t *Bits = Wide.getRawData(); 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/ |
CodeGenOptions.h | 27 #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, Default) [all...] |
/external/chromium_org/v8/src/arm64/ |
decoder-arm64-inl.h | 20 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(23, 22) == 0) [all...] |
/external/vixl/src/a64/ |
decoder-a64.cc | 34 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(23, 22) == 0) [all...] |
/external/llvm/lib/MC/ |
SubtargetFeature.cpp | 153 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, 159 Bits |= FE.Value; 160 SetImpliedBits(Bits, &FE, FeatureTable); 169 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, 175 Bits &= ~FE.Value; 176 ClearImpliedBits(Bits, &FE, FeatureTable); 182 /// bits. 184 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature, 192 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) { 193 Bits &= ~FeatureEntry->Value [all...] |
/external/llvm/lib/Support/ |
FoldingSet.cpp | 40 /// profiled bits and their ordering defined by memcmp(). 57 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); 124 // With the leftover bits [all...] |
/external/valgrind/main/none/tests/x86-linux/ |
seg_override.c | 33 } Bits; 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/ |
PPCMCCodeEmitter.cpp | 101 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); 121 // always in the top 32 bits, even on little-endian [all...] |
/dalvik/dx/src/com/android/dx/cf/code/ |
BasicBlocker.java | 24 import com.android.dx.util.Bits; 36 * {@code non-null;} work set; bits indicate offsets in need of 42 * {@code non-null;} live set; bits indicate potentially-live 49 * {@code non-null;} block start set; bits indicate the starts of 106 workSet = Bits.makeBitSet(sz); 107 liveSet = Bits.makeBitSet(sz); 108 blockSet = Bits.makeBitSet(sz); 277 next = Bits.findFirst(blockSet, at + 1); 282 if (Bits.get(liveSet, at)) { 336 Bits.set(workSet, 0) [all...] |