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

1 2 3 4 5 6

  /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.
  /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...]
  /external/freetype/src/gzip/
inftrees.h 22 Byte Exop; /* number of extra bits or operation */
23 Byte Bits; /* number of bits in this code or subcode */
40 uIntf *, /* bits tree desired/actual depth */
41 inflate_huft * FAR *, /* bits tree result */
  /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...]
Bits.java 22 public final class Bits {
26 private Bits() {
31 * Constructs a bit set to contain bits up to the given index (exclusive).
44 * @param bits {@code non-null;} bit set in question
47 public static int getMax(int[] bits) {
48 return bits.length * 0x20;
54 * @param bits {@code non-null;} bit set to operate on
58 public static boolean get(int[] bits, int idx) {
61 return (bits[arrayIdx] & bit) != 0;
67 * @param bits {@code non-null;} bit set to operate o
    [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...]
Bits.java 22 public final class Bits {
26 private Bits() {
31 * Constructs a bit set to contain bits up to the given index (exclusive).
44 * @param bits {@code non-null;} bit set in question
47 public static int getMax(int[] bits) {
48 return bits.length * 0x20;
54 * @param bits {@code non-null;} bit set to operate on
58 public static boolean get(int[] bits, int idx) {
61 return (bits[arrayIdx] & bit) != 0;
67 * @param bits {@code non-null;} bit set to operate o
    [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...]
Bits.java 22 public final class Bits {
26 private Bits() {
31 * Constructs a bit set to contain bits up to the given index (exclusive).
44 * @param bits {@code non-null;} bit set in question
47 public static int getMax(int[] bits) {
48 return bits.length * 0x20;
54 * @param bits {@code non-null;} bit set to operate on
58 public static boolean get(int[] bits, int idx) {
61 return (bits[arrayIdx] & bit) != 0;
67 * @param bits {@code non-null;} bit set to operate o
    [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...]
  /external/llvm/include/llvm/ADT/
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...]
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...]
  /libcore/ojluni/src/main/java/java/io/
Bits.java 32 class Bits {
  /external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
rfc1902.py 77 class Bits(univ.OctetString): pass
98 ) # BITS misplaced?
  /external/clang/test/Analysis/
fields.c 45 struct Bits {
62 struct Bits bits; local
64 if (foo() && bits.b) // expected-warning {{garbage}}
66 if (foo() && bits.inner.e) // expected-warning {{garbage}}
69 bits.c = 1;
70 clang_analyzer_eval(bits.c == 1); // expected-warning {{TRUE}}
72 if (foo() && bits.b) // expected-warning {{garbage}}
74 if (foo() && bits.x) // expected-warning {{garbage}}
77 bits.x = true
121 struct Bits bits; local
    [all...]
  /external/eigen/bench/
sparse_randomsetter.cpp 85 const int Bits = 6;
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/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/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/llvm/lib/Target/Sparc/MCTargetDesc/
SparcMCCodeEmitter.cpp 85 unsigned Bits = getBinaryCodeForInstr(MI, Fixups, STI);
88 // Output the bits in little-endian byte order.
89 support::endian::Writer<support::little>(OS).write<uint32_t>(Bits);
91 // Output the bits in big-endian byte order.
92 support::endian::Writer<support::big>(OS).write<uint32_t>(Bits);
  /external/llvm/unittests/Transforms/IPO/
LowerBitSets.cpp 18 std::set<uint64_t> Bits;
60 EXPECT_EQ(T.Bits, BSI.Bits);
111 std::set<uint64_t> Bits;
148 BABuilder.allocate(A.Bits, A.BitSize, GotByteOffset, GotMask);
  /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/dexgen/src/com/android/dexgen/rop/code/
LocalVariableExtractor.java 19 import com.android.dexgen.util.Bits;
66 this.workSet = Bits.makeBitSet(maxLabel);
77 label = Bits.findFirst(workSet, 0)) {
78 Bits.clear(workSet, label);
187 Bits.set(workSet, succ);
  /dalvik/dx/src/com/android/dx/rop/code/
LocalVariableExtractor.java 19 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/dexmaker/src/dx/java/com/android/dx/rop/code/
LocalVariableExtractor.java 19 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/llvm/lib/TableGen/
TGParser.h 36 std::vector<unsigned> Bits;
41 : Name(N), Bits(B), Value(V), Loc(L) {

Completed in 1117 milliseconds

1 2 3 4 5 6