/external/elfutils/src/libelf/ |
D | gelf_xlate.c | 66 #define FETCH(Bits, ptr) (*(const uint##Bits##_t *) ptr) argument 67 #define STORE(Bits, ptr, val) (*(uint##Bits##_t *) ptr = val) argument 78 #define FETCH(Bits, ptr) (((const union unaligned *) ptr)->u##Bits) argument 79 #define STORE(Bits, ptr, val) (((union unaligned *) ptr)->u##Bits = val) argument 89 #define FUNDAMENTAL(NAME, Name, Bits) \ argument 90 INLINE2 (ELFW2(Bits,FSZ_##NAME), ElfW2(Bits,cvt_##Name), ElfW2(Bits,Name)) 134 #define START(Bits, Name, EName) \ argument 136 ElfW2 (Bits, cvt_##Name) (void *dest, const void *src, size_t len, \ 138 { ElfW2(Bits, Name) *tdest = (ElfW2(Bits, Name) *) dest; \ 139 ElfW2(Bits, Name) *tsrc = (ElfW2(Bits, Name) *) src; \ [all …]
|
D | abstract.h | 31 #define Ehdr(Bits, Ext) \ argument 32 START (Bits, Ehdr, Ext##Ehdr) \ 35 TYPE_NAME (ElfW2(Bits, Ext##Half), e_type) \ 36 TYPE_NAME (ElfW2(Bits, Ext##Half), e_machine) \ 37 TYPE_NAME (ElfW2(Bits, Ext##Word), e_version) \ 38 TYPE_NAME (ElfW2(Bits, Ext##Addr), e_entry) \ 39 TYPE_NAME (ElfW2(Bits, Ext##Off), e_phoff) \ 40 TYPE_NAME (ElfW2(Bits, Ext##Off), e_shoff) \ 41 TYPE_NAME (ElfW2(Bits, Ext##Word), e_flags) \ 42 TYPE_NAME (ElfW2(Bits, Ext##Half), e_ehsize) \ [all …]
|
D | libelfP.h | 50 #define __elfw2_(Bits, Name) __elf##Bits##_##Name argument 51 #define elfw2_(Bits, Name) elf##Bits##_##Name argument 52 #define ElfW2_(Bits, Name) Elf##Bits##_##Name argument 53 #define ELFW2_(Bits, Name) ELF##Bits##_##Name argument 54 #define ELFW_(Name, Bits) Name##Bits argument 55 #define __elfw2(Bits, Name) __elfw2_(Bits, Name) argument 56 #define elfw2(Bits, Name) elfw2_(Bits, Name) argument 57 #define ElfW2(Bits, Name) ElfW2_(Bits, Name) argument 58 #define ELFW2(Bits, Name) ELFW2_(Bits, Name) argument 59 #define ELFW(Name, Bits) ELFW_(Name, Bits) argument
|
/external/llvm/include/llvm/ADT/ |
D | BitVector.h | 35 BitWord *Bits; // Actual bits. variable 52 WordRef = &b.Bits[Idx / BITWORD_SIZE]; in reference() 79 Bits = nullptr; in BitVector() 86 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in Size() 87 init_words(Bits, Capacity, t); in Size() 95 Bits = nullptr; in BitVector() 101 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord)); in BitVector() 102 std::memcpy(Bits, RHS.Bits, Capacity * sizeof(BitWord)); in BitVector() 106 : Bits(RHS.Bits), Size(RHS.Size), Capacity(RHS.Capacity) { in BitVector() 107 RHS.Bits = nullptr; in BitVector() [all …]
|
D | PackedVector.h | 30 static T getValue(const BitVectorTy &Bits, unsigned Idx) { in getValue() argument 33 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); in getValue() 37 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { in setValue() argument 40 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i); in setValue() 47 static T getValue(const BitVectorTy &Bits, unsigned Idx) { in getValue() argument 50 val = T(val | ((Bits[(Idx << (BitNum-1)) + i] ? 1UL : 0UL) << i)); in getValue() 51 if (Bits[(Idx << (BitNum-1)) + BitNum-1]) in getValue() 56 static void setValue(BitVectorTy &Bits, unsigned Idx, T val) { in setValue() argument 59 Bits.set((Idx << (BitNum-1)) + BitNum-1); in setValue() 63 Bits[(Idx << (BitNum-1)) + i] = val & (T(1) << i); in setValue() [all …]
|
D | SparseBitVector.h | 58 BitWord Bits[BITWORDS_PER_ELEMENT]; member 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[Idx / BITWORD_SIZE] & (1L << (Idx % BITWORD_SIZE)); 127 NumBits += countPopulation(Bits[i]); [all …]
|
/external/vixl/src/vixl/a64/ |
D | decoder-a64.cc | 34 if (instr->Bits(28, 27) == 0) { in DecodeInstruction() 37 switch (instr->Bits(27, 24)) { in DecodeInstruction() 160 VIXL_ASSERT(instr->Bits(27, 24) == 0x0); in DecodePCRelAddressing() 169 VIXL_ASSERT((instr->Bits(27, 24) == 0x4) || in DecodeBranchSystemException() 170 (instr->Bits(27, 24) == 0x5) || in DecodeBranchSystemException() 171 (instr->Bits(27, 24) == 0x6) || in DecodeBranchSystemException() 172 (instr->Bits(27, 24) == 0x7) ); in DecodeBranchSystemException() 174 switch (instr->Bits(31, 29)) { in DecodeBranchSystemException() 205 if ((instr->Bits(4, 2) != 0) || in DecodeBranchSystemException() 219 if (instr->Bits(23, 22) == 0) { in DecodeBranchSystemException() [all …]
|
D | constants-a64.h | 50 V_(Rd, 4, 0, Bits) /* Destination register. */ \ 51 V_(Rn, 9, 5, Bits) /* First source register. */ \ 52 V_(Rm, 20, 16, Bits) /* Second source register. */ \ 53 V_(Ra, 14, 10, Bits) /* Third source register. */ \ 54 V_(Rt, 4, 0, Bits) /* Load/store register. */ \ 55 V_(Rt2, 14, 10, Bits) /* Load/store second register. */ \ 56 V_(Rs, 20, 16, Bits) /* Exclusive access status. */ \ 59 V_(SixtyFourBits, 31, 31, Bits) \ 60 V_(FlagsUpdate, 29, 29, Bits) \ 64 V_(ImmPCRelLo, 30, 29, Bits) \ [all …]
|
/external/v8/src/arm64/ |
D | decoder-arm64-inl.h | 20 if (instr->Bits(28, 27) == 0) { in Decode() 23 switch (instr->Bits(27, 24)) { in Decode() 99 DCHECK(instr->Bits(27, 24) == 0x0); in DecodePCRelAddressing() 109 DCHECK((instr->Bits(27, 24) == 0x4) || in DecodeBranchSystemException() 110 (instr->Bits(27, 24) == 0x5) || in DecodeBranchSystemException() 111 (instr->Bits(27, 24) == 0x6) || in DecodeBranchSystemException() 112 (instr->Bits(27, 24) == 0x7) ); in DecodeBranchSystemException() 114 switch (instr->Bits(31, 29)) { in DecodeBranchSystemException() 145 if ((instr->Bits(4, 2) != 0) || in DecodeBranchSystemException() 159 if (instr->Bits(23, 22) == 0) { in DecodeBranchSystemException() [all …]
|
D | constants-arm64.h | 125 V_(Rd, 4, 0, Bits) /* Destination register. */ \ 126 V_(Rn, 9, 5, Bits) /* First source register. */ \ 127 V_(Rm, 20, 16, Bits) /* Second source register. */ \ 128 V_(Ra, 14, 10, Bits) /* Third source register. */ \ 129 V_(Rt, 4, 0, Bits) /* Load dest / store source. */ \ 130 V_(Rt2, 14, 10, Bits) /* Load second dest / */ \ 132 V_(PrefetchMode, 4, 0, Bits) \ 135 V_(SixtyFourBits, 31, 31, Bits) \ 136 V_(FlagsUpdate, 29, 29, Bits) \ 140 V_(ImmPCRelLo, 30, 29, Bits) \ [all …]
|
/external/skia/src/utils/ |
D | SkFloatUtils.h | 58 typedef typename SkTypeWithSize<sizeof(RawType) * CHAR_BIT>::UInt Bits; 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 dist = DistanceBetweenSignAndMagnitudeNumbers(fU.bits, 129 Bits bits; 149 static Bits SignAndMagnitudeToBiased(const Bits &sam) { [all …]
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
D | BitIntSet.java | 35 bits = Bits.makeBitSet(max); in BitIntSet() 41 Bits.set(bits, value, true); in add() 50 if (value >= Bits.getMax(bits)) { in ensureCapacity() 51 int[] newBits = Bits.makeBitSet( in ensureCapacity() 52 Math.max(value + 1, 2 * Bits.getMax(bits))); in ensureCapacity() 60 if (value < Bits.getMax(bits)) { in remove() 61 Bits.set(bits, value, false); in remove() 67 return (value < Bits.getMax(bits)) && Bits.get(bits, value); in has() 74 ensureCapacity(Bits.getMax(o.bits) + 1); in merge() 75 Bits.or(bits, o.bits); in merge() [all …]
|
/external/v8/src/arm/ |
D | constants-arm.h | 458 inline int Bits(int hi, int lo) const { in Bits() function 475 static inline int Bits(Instr instr, int hi, int lo) { in Bits() function 501 return static_cast<Condition>(Bits(31, 28)); in ConditionValue() 509 inline int TypeValue() const { return Bits(27, 25); } in TypeValue() 510 inline int SpecialValue() const { return Bits(27, 23); } in SpecialValue() 512 inline int RnValue() const { return Bits(19, 16); } in RnValue() 514 inline int RdValue() const { return Bits(15, 12); } in RdValue() 517 inline int CoprocessorValue() const { return Bits(11, 8); } in CoprocessorValue() 520 inline int VnValue() const { return Bits(19, 16); } in VnValue() 521 inline int VmValue() const { return Bits(3, 0); } in VmValue() [all …]
|
D | disasm-arm.cc | 236 int shift = instr->Bits(11, 7); in PrintShiftSat() 241 instr->Bits(11, 7)); in PrintShiftSat() 365 (instr->Bits(11, 9) == 0x5) && in FormatVFPRegister() 368 reg = instr->Bits(19, 16) | (instr->Bit(7) << 4); in FormatVFPRegister() 475 uint32_t lsbit = instr->Bits(11, 7); in FormatOption() 476 uint32_t width = instr->Bits(20, 16) + 1; in FormatOption() 507 instr->Bits(width + lsb - 1, lsb)); in FormatOption() 527 if ((instr->Bits(27, 25) == 0) && (instr->Bit(20) == 0) && in FormatOption() 528 (instr->Bits(7, 6) == 3) && (instr->Bit(4) == 1)) { in FormatOption() 560 (instr->Bits(19, 8) << 4) + in FormatOption() [all …]
|
/external/llvm/test/TableGen/ |
D | 2010-03-24-PrematureDefaults.td | 6 bits<2> Bits = x; 10 // CHECK: Bits = { 0, 1 } 14 // CHECK: Bits = { 1, 0 } 17 // Here was the bug: X.Bits would get resolved to the default a1.Bits while 19 // was processed, X would be set correctly, but Bits retained the default 23 bits<2> Bits = X.Bits; 27 // CHECK: Bits = { 0, 1 } 31 // CHECK: Bits = { 1, 0 } 35 bits<2> Bits = x.Bits; 39 // CHECK: Bits = { 0, 1 } [all …]
|
/external/llvm/lib/Support/ |
D | FoldingSet.cpp | 57 Bits.append(reinterpret_cast<unsigned *>(&Ptr), in AddPointer() 61 Bits.push_back(I); in AddInteger() 64 Bits.push_back(I); in AddInteger() 84 Bits.push_back(unsigned(I >> 32)); in AddInteger() 89 Bits.push_back(Size); in AddString() 98 Bits.append(Base, Base + Units); in AddString() 112 Bits.push_back(V); in AddString() 120 Bits.push_back(V); in AddString() 136 Bits.push_back(V); in AddString() 141 Bits.append(ID.Bits.begin(), ID.Bits.end()); in AddNodeID() [all …]
|
/external/llvm/lib/MC/ |
D | SubtargetFeature.cpp | 154 void SetImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in SetImpliedBits() argument 160 Bits |= FE.Value; in SetImpliedBits() 161 SetImpliedBits(Bits, &FE, FeatureTable); in SetImpliedBits() 170 void ClearImpliedBits(uint64_t &Bits, const SubtargetFeatureKV *FeatureEntry, in ClearImpliedBits() argument 176 Bits &= ~FE.Value; in ClearImpliedBits() 177 ClearImpliedBits(Bits, &FE, FeatureTable); in ClearImpliedBits() 185 SubtargetFeatures::ToggleFeature(uint64_t Bits, StringRef Feature, in ToggleFeature() argument 193 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) { in ToggleFeature() 194 Bits &= ~FeatureEntry->Value; in ToggleFeature() 197 ClearImpliedBits(Bits, FeatureEntry, FeatureTable); in ToggleFeature() [all …]
|
/external/clang/include/clang/Basic/ |
D | DiagnosticOptions.h | 40 #define DIAGOPT(Name, Bits, Default) unsigned Name : Bits; argument 41 #define ENUM_DIAGOPT(Name, Type, Bits, Default) argument 47 #define DIAGOPT(Name, Bits, Default) argument 48 #define ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits; argument 68 #define DIAGOPT(Name, Bits, Default) argument 69 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \ argument 75 #define DIAGOPT(Name, Bits, Default) Name = Default; in DiagnosticOptions() argument 76 #define ENUM_DIAGOPT(Name, Type, Bits, Default) set##Name(Default); in DiagnosticOptions() argument
|
D | LangOptions.h | 33 #define LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits; argument 34 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) argument 40 #define LANGOPT(Name, Bits, Default, Description) argument 41 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ argument 42 unsigned Name : Bits; 106 #define LANGOPT(Name, Bits, Default, Description) argument 107 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ argument
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMCCodeEmitter.cpp | 111 uint64_t Bits = getBinaryCodeForInstr(MI, Fixups, STI); in EncodeInstruction() local 118 OS << (char)(Bits); in EncodeInstruction() 119 OS << (char)(Bits >> 8); in EncodeInstruction() 120 OS << (char)(Bits >> 16); in EncodeInstruction() 121 OS << (char)(Bits >> 24); in EncodeInstruction() 123 OS << (char)(Bits >> 24); in EncodeInstruction() 124 OS << (char)(Bits >> 16); in EncodeInstruction() 125 OS << (char)(Bits >> 8); in EncodeInstruction() 126 OS << (char)(Bits); in EncodeInstruction() 133 OS << (char)(Bits >> 32); in EncodeInstruction() [all …]
|
/external/v8/src/base/ |
D | bits-unittest.cc | 21 TEST(Bits, CountPopulation32) { in TEST() argument 31 TEST(Bits, CountLeadingZeros32) { in TEST() argument 41 TEST(Bits, CountTrailingZeros32) { in TEST() argument 51 TEST(Bits, IsPowerOfTwo32) { in TEST() argument 65 TEST(Bits, IsPowerOfTwo64) { in TEST() argument 79 TEST(Bits, RoundUpToPowerOfTwo32) { in TEST() argument 95 TEST(Bits, RoundDownToPowerOfTwo32) { in TEST() argument 105 TEST(Bits, RotateRight32) { in TEST() argument 115 TEST(Bits, RotateRight64) { in TEST() argument 125 TEST(Bits, SignedAddOverflow32) { in TEST() argument [all …]
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonMCInstrInfo.cpp | 43 std::bitset<16> Bits(MCI.getOperand(MCI.getNumOperands() - 2).getImm()); in GetImplicitBits() local 44 return Bits; in GetImplicitBits() 182 std::bitset<16> Bits(GetImplicitBits(MCI)); in isPacketBegin() local 183 return Bits.test(packetBeginIndex); in isPacketBegin() 187 std::bitset<16> Bits(GetImplicitBits(MCI)); in isPacketEnd() local 188 return Bits.test(packetEndIndex); in isPacketEnd() 207 void HexagonMCInstrInfo::SetImplicitBits(MCInst &MCI, std::bitset<16> Bits) { in SetImplicitBits() argument 209 MCI.getOperand(MCI.getNumOperands() - 2).setImm(Bits.to_ulong()); in SetImplicitBits() 213 std::bitset<16> Bits(GetImplicitBits(MCI)); in setPacketBegin() local 214 Bits.set(packetBeginIndex, f); in setPacketBegin() [all …]
|
/external/clang/include/clang/Frontend/ |
D | CodeGenOptions.h | 29 #define CODEGENOPT(Name, Bits, Default) unsigned Name : Bits; argument 30 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) argument 34 #define CODEGENOPT(Name, Bits, Default) argument 35 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) unsigned Name : Bits; argument 194 #define CODEGENOPT(Name, Bits, Default) argument 195 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) \ argument
|
/external/clang/lib/Basic/ |
D | LangOptions.cpp | 18 #define LANGOPT(Name, Bits, Default, Description) Name = Default; in LangOptions() argument 19 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default); in LangOptions() argument 24 #define LANGOPT(Name, Bits, Default, Description) in resetNonModularOptions() argument 25 #define BENIGN_LANGOPT(Name, Bits, Default, Description) Name = Default; in resetNonModularOptions() argument 26 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \ in resetNonModularOptions() argument
|
/external/protobuf/gtest/include/gtest/internal/ |
D | gtest-internal.h | 337 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; typedef 352 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1); 355 static const Bits kFractionBitMask = 356 ~static_cast<Bits>(0) >> (kExponentBitCount + 1); 359 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask); 388 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits() 402 const Bits &bits() const { return u_.bits_; } in bits() 405 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits() 408 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits() 411 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit() [all …]
|