HomeSort by relevance Sort by last modified time
    Searched refs:Bits (Results 1 - 25 of 247) sorted by null

1 2 3 4 5 6 7 8 910

  /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...]
  /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 42 // 4 bits option for the dmb instruction.
229 // bits.
249 // Get the raw instruction bits.
254 // Set the raw instruction bits to value.
259 // Read one particular bit out of the instruction bits.
264 // Read a bit field out of the instruction bits.
265 int Bits(int shift, int count) const {
274 return static_cast<Condition>(Bits(kConditionShift, kConditionBits));
276 int TypeField() const { return Bits(kTypeShift, kTypeBits); }
279 Bits(kRnShift, kRnBits));
    [all...]
  /external/clang/lib/Basic/
LangOptions.cpp 18 #define LANGOPT(Name, Bits, Default, Description) Name = Default;
19 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) set##Name(Default);
24 #define LANGOPT(Name, Bits, Default, Description)
25 #define BENIGN_LANGOPT(Name, Bits, Default, Description) Name = Default;
26 #define BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
  /external/elfutils/libelf/
gelf_xlate.c 61 bit. We need only functions for 16, 32, and 64 bits. The
67 #define FETCH(Bits, ptr) (*(const uint##Bits##_t *) ptr)
68 #define STORE(Bits, ptr, val) (*(uint##Bits##_t *) ptr = val)
79 #define FETCH(Bits, ptr) (((const union unaligned *) ptr)->u##Bits)
80 #define STORE(Bits, ptr, val) (((union unaligned *) ptr)->u##Bits = val)
90 #define FUNDAMENTAL(NAME, Name, Bits) \
    [all...]
abstract.h 31 #define Ehdr(Bits, Ext) \
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...]
  /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 35 BitWord *Bits; // Actual bits.
36 unsigned Size; // Size of bitvector in bits.
37 unsigned Capacity; // Number of BitWords allocated in the Bits array.
52 WordRef = &b.Bits[Idx / BITWORD_SIZE];
79 Bits = nullptr;
82 /// BitVector ctor - Creates a bitvector of specified number of bits. All
83 /// bits are initialized to the specified value.
86 Bits = (BitWord *)std::malloc(Capacity * sizeof(BitWord));
87 init_words(Bits, Capacity, t)
    [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
57 BitWord Bits[BITWORDS_PER_ELEMENT];
62 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
68 memset(&Bits[0], 0, sizeof (BitWord) * BITWORDS_PER_ELEMENT);
76 if (Bits[i] != RHS.Bits[i])
85 // Return the bits that make up word Idx in our element.
88 return Bits[Idx];
97 if (Bits[i]
    [all...]
  /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/clang/lib/Frontend/
CodeGenOptions.cpp 16 #define CODEGENOPT(Name, Bits, Default) Name = Default;
17 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default);
  /external/clang/include/clang/Basic/
DiagnosticOptions.h 73 #define DIAGOPT(Name, Bits, Default) unsigned Name : Bits;
74 #define ENUM_DIAGOPT(Name, Type, Bits, Default)
80 #define DIAGOPT(Name, Bits, Default)
81 #define ENUM_DIAGOPT(Name, Type, Bits, Default) unsigned Name : Bits;
101 #define DIAGOPT(Name, Bits, Default)
102 #define ENUM_DIAGOPT(Name, Type, Bits, Default) \
108 #define DIAGOPT(Name, Bits, Default) Name = Default;
109 #define ENUM_DIAGOPT(Name, Type, Bits, Default) set##Name(Default)
    [all...]
LangOptions.h 33 #define LANGOPT(Name, Bits, Default, Description) unsigned Name : Bits;
34 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description)
40 #define LANGOPT(Name, Bits, Default, Description)
41 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
42 unsigned Name : Bits;
115 #define LANGOPT(Name, Bits, Default, Description)
116 #define ENUM_LANGOPT(Name, Type, Bits, Default, Description) \
  /external/v8/src/arm/
constants-arm.h 51 // Used in embedded constant pool builder - max reach in bits for
160 // The bits for bit 7-4 for some type 0 miscellaneous instructions.
162 // With bits 22-21 01.
168 // With bits 22-21 11.
173 // Instruction encoding bits and masks.
343 // svc (formerly swi) provides a 24bit immediate value. Use bits 22:0 for
428 // bits.
454 // Get the raw instruction bits.
459 // Set the raw instruction bits to value.
464 // Read one particular bit out of the instruction bits
    [all...]
  /external/llvm/lib/MC/
SubtargetFeature.cpp 134 void SetImpliedBits(FeatureBitset &Bits, const SubtargetFeatureKV *FeatureEntry,
140 Bits |= FE.Value;
141 SetImpliedBits(Bits, &FE, FeatureTable);
150 void ClearImpliedBits(FeatureBitset &Bits,
157 Bits &= ~FE.Value;
158 ClearImpliedBits(Bits, &FE, FeatureTable);
164 /// bits.
166 SubtargetFeatures::ToggleFeature(FeatureBitset Bits, StringRef Feature,
174 if ((Bits & FeatureEntry->Value) == FeatureEntry->Value) {
175 Bits &= ~FeatureEntry->Value
    [all...]
  /external/vixl/src/vixl/a64/
decoder-a64.cc 34 if (instr->Bits(28, 27) == 0) {
37 switch (instr->Bits(27, 24)) {
160 VIXL_ASSERT(instr->Bits(27, 24) == 0x0);
169 VIXL_ASSERT((instr->Bits(27, 24) == 0x4) ||
170 (instr->Bits(27, 24) == 0x5) ||
171 (instr->Bits(27, 24) == 0x6) ||
172 (instr->Bits(27, 24) == 0x7) );
174 switch (instr->Bits(31, 29)) {
205 if ((instr->Bits(4, 2) != 0) ||
219 if (instr->Bits(23, 22) == 0)
    [all...]
  /external/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...]
  /libcore/ojluni/src/main/java/java/nio/
HeapByteBuffer.java 189 return Bits.getChar(this, ix(nextGetIndex(2)), bigEndian);
193 return Bits.getChar(this, ix(checkIndex(i, 2)), bigEndian);
197 return Bits.getChar(this, ix(i), bigEndian);
208 Bits.putChar(this, ix(nextPutIndex(2)), x, bigEndian);
216 Bits.putChar(this, ix(checkIndex(i, 2)), x, bigEndian);
221 Bits.putChar(this, ix(i), x, bigEndian);
241 return Bits.getShort(this, ix(nextGetIndex(2)), bigEndian);
245 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian);
249 return Bits.getShort(this, ix(i), bigEndian);
260 Bits.putShort(this, ix(nextPutIndex(2)), x, bigEndian)
    [all...]
ByteOrder.java 73 return Bits.byteOrder();
  /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);
112 Bits.push_back(V);
120 Bits.push_back(V);
125 // With the leftover bits
    [all...]
  /external/clang/include/clang/Frontend/
CodeGenOptions.h 30 #define CODEGENOPT(Name, Bits, Default) unsigned Name : Bits;
31 #define ENUM_CODEGENOPT(Name, Type, Bits, Default)
35 #define CODEGENOPT(Name, Bits, Default)
36 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) unsigned Name : Bits;
223 #define CODEGENOPT(Name, Bits, Default)
224 #define ENUM_CODEGENOPT(Name, Type, Bits, Default) \
  /external/llvm/include/llvm/Transforms/IPO/
LowerBitSets.h 34 // The indices of the set bits in the bitset.
35 std::set<uint64_t> Bits;
40 // The size of the bitset in bits.
44 // For example, a log2 alignment of 3 means that bits in the bitset
49 return Bits.size() == 1;
53 return Bits.size() == BitSize;
148 /// program can test bits from the bit set with a relatively short instruction
151 /// A (16 bits), B (15 bits), C (14 bits), D (13 bits), E (12 bits)
    [all...]
  /external/valgrind/none/tests/x86-linux/
seg_override.c 33 } Bits;
41 (unsigned long)ent->HighWord.Bits.BaseMid << 16 |
42 (unsigned long)ent->HighWord.Bits.BaseHi << 24);
46 unsigned int limit = ent->LimitLow | (ent->HighWord.Bits.LimitHi << 16);
47 if (ent->HighWord.Bits.Granularity) limit = (limit << 12) | 0xfff;

Completed in 873 milliseconds

1 2 3 4 5 6 7 8 910