Searched defs:bits (Results 1 - 20 of 20) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/rop/cst/
H A DCstDouble.java39 * @param bits the {@code double} value as {@code long} bits
41 public static CstDouble make(long bits) { argument
46 return new CstDouble(bits);
52 * @param bits the {@code double} value as {@code long} bits
54 private CstDouble(long bits) { argument
55 super(bits);
61 long bits = getLongBits();
62 return "double{0x" + Hex.u8(bits)
[all...]
H A DCstFloat.java40 * @param bits the {@code float} value as {@code int} bits
42 public static CstFloat make(int bits) { argument
47 return new CstFloat(bits);
53 * @param bits the {@code float} value as {@code int} bits
55 private CstFloat(int bits) { argument
56 super(bits);
62 int bits = getIntBits();
63 return "float{0x" + Hex.u4(bits)
[all...]
H A DCstLiteral32.java24 /** the value as {@code int} bits */
25 private final int bits; field in class:CstLiteral32
30 * @param bits the value as {@code int} bits
32 /*package*/ CstLiteral32(int bits) { argument
33 this.bits = bits;
41 bits == ((CstLiteral32) other).bits;
47 return bits;
[all...]
H A DCstLiteral64.java24 /** the value as {@code long} bits */
25 private final long bits; field in class:CstLiteral64
30 * @param bits the value as {@code long} bits
32 /*package*/ CstLiteral64(long bits) { argument
33 this.bits = bits;
41 bits == ((CstLiteral64) other).bits;
47 return (int) bits
[all...]
/dalvik/dx/src/com/android/dx/rop/cst/
H A DCstDouble.java39 * @param bits the {@code double} value as {@code long} bits
41 public static CstDouble make(long bits) { argument
46 return new CstDouble(bits);
52 * @param bits the {@code double} value as {@code long} bits
54 private CstDouble(long bits) { argument
55 super(bits);
61 long bits = getLongBits();
62 return "double{0x" + Hex.u8(bits)
[all...]
H A DCstFloat.java40 * @param bits the {@code float} value as {@code int} bits
42 public static CstFloat make(int bits) { argument
47 return new CstFloat(bits);
53 * @param bits the {@code float} value as {@code int} bits
55 private CstFloat(int bits) { argument
56 super(bits);
62 int bits = getIntBits();
63 return "float{0x" + Hex.u4(bits)
[all...]
H A DCstLiteral32.java24 /** the value as {@code int} bits */
25 private final int bits; field in class:CstLiteral32
30 * @param bits the value as {@code int} bits
32 /*package*/ CstLiteral32(int bits) { argument
33 this.bits = bits;
41 bits == ((CstLiteral32) other).bits;
47 return bits;
[all...]
H A DCstLiteral64.java24 /** the value as {@code long} bits */
25 private final long bits; field in class:CstLiteral64
30 * @param bits the value as {@code long} bits
32 /*package*/ CstLiteral64(long bits) { argument
33 this.bits = bits;
41 bits == ((CstLiteral64) other).bits;
47 return (int) bits
[all...]
/dalvik/vm/alloc/
H A DHeapBitmap.h26 * <index> is the index of .bits that contains the bit representing
35 (HB_OFFSET_TO_INDEX(offset_) * sizeof(*((HeapBitmap *)0)->bits))
37 /* Pack the bits in backwards so they come out in address order
48 unsigned long *bits; member in struct:HeapBitmap
50 /* The size of the used memory pointed to by bits, in bytes. This
55 /* The real size of the memory pointed to by bits. This is the
68 * to a set bit. If there are no bits set, (max < base).
H A DVisit.cpp123 u2 bits = 1 << 1; local
125 bits >>= 1;
126 if (bits == 1) {
128 bits = *regVector++ | 0x0100;
130 if ((bits & 0x1) != 0) {
H A DHeapBitmap.cpp29 void *bits; local
34 bitsLen = HB_OFFSET_TO_INDEX(maxSize) * sizeof(*hb->bits);
35 bits = dvmAllocRegion(bitsLen, PROT_READ | PROT_WRITE, name);
36 if (bits == NULL) {
40 hb->bits = (unsigned long *)bits;
54 if (hb->bits != NULL) {
55 munmap((char *)hb->bits, hb->allocLen);
68 if (hb->bits != NULL) {
72 madvise(hb->bits, h
[all...]
/dalvik/dexgen/src/com/android/dexgen/util/
H A DBitIntSet.java27 int[] bits; field in class:BitIntSet
35 bits = Bits.makeBitSet(max);
41 Bits.set(bits, value, true);
50 if (value >= Bits.getMax(bits)) {
52 Math.max(value + 1, 2 * Bits.getMax(bits)));
53 System.arraycopy(bits, 0, newBits, 0, bits.length);
54 bits = newBits;
60 if (value < Bits.getMax(bits)) {
61 Bits.set(bits, valu
[all...]
H A DBits.java31 * 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) { argument
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) { argument
61 return (bits[arrayIdx] & bit) != 0;
67 * @param bits {@code non-null;} bit set to operate on
71 public static void set(int[] bits, int idx, boolean value) { argument
76 bits[arrayId
88 set(int[] bits, int idx) argument
100 clear(int[] bits, int idx) argument
113 isEmpty(int[] bits) argument
131 bitCount(int[] bits) argument
152 anyInRange(int[] bits, int start, int end) argument
166 findFirst(int[] bits, int idx) argument
215 toHuman(int[] bits) argument
[all...]
/dalvik/dx/src/com/android/dx/util/
H A DBitIntSet.java27 int[] bits; field in class:BitIntSet
35 bits = Bits.makeBitSet(max);
41 Bits.set(bits, value, true);
50 if (value >= Bits.getMax(bits)) {
52 Math.max(value + 1, 2 * Bits.getMax(bits)));
53 System.arraycopy(bits, 0, newBits, 0, bits.length);
54 bits = newBits;
60 if (value < Bits.getMax(bits)) {
61 Bits.set(bits, valu
[all...]
H A DBits.java31 * 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) { argument
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) { argument
61 return (bits[arrayIdx] & bit) != 0;
67 * @param bits {@code non-null;} bit set to operate on
71 public static void set(int[] bits, int idx, boolean value) { argument
76 bits[arrayId
88 set(int[] bits, int idx) argument
100 clear(int[] bits, int idx) argument
113 isEmpty(int[] bits) argument
131 bitCount(int[] bits) argument
152 anyInRange(int[] bits, int start, int end) argument
166 findFirst(int[] bits, int idx) argument
215 toHuman(int[] bits) argument
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DArchUtility.cpp55 u4 bits = value & 0xff; local
58 return bits;
60 return (bits << 16) | bits;
62 return (bits << 24) | (bits << 8);
64 return (bits << 24) | (bits << 16) | (bits << 8) | bits;
[all...]
H A DAssemble.cpp1071 u4 bits = encoder->skeleton; local
1083 bits |= value;
1091 bits |= value;
1096 bits |= value;
1101 bits |= value;
1105 bits |= value;
1110 bits |= value;
1115 bits |= value;
1120 bits |= value;
1132 bits |
[all...]
/dalvik/dx/src/com/android/dx/cf/direct/
H A DCodeObserver.java278 * @param bits constant value, as float-bits
281 int bits) {
282 String optArg = (length != 1) ? " #" + Hex.u4(bits) : "";
286 Float.intBitsToFloat(bits));
296 * @param bits constant value, as double-bits
299 long bits) {
300 String optArg = (length != 1) ? " #" + Hex.u8(bits) : "";
304 Double.longBitsToDouble(bits));
280 visitLiteralFloat(int opcode, int offset, int length, int bits) argument
298 visitLiteralDouble(int opcode, int offset, int length, long bits) argument
[all...]
/dalvik/vm/alloc/TEST/HeapBitmapTest/
H A Dmain.c33 assert(hb.bits != NULL);
38 /* Make sure hb.bits is mapped.
40 *hb.bits = 0x55;
41 assert(*hb.bits = 0x55);
42 *hb.bits = 0;
48 unsigned long int *bits = hb.bits; local
53 assert(hb.bits == NULL);
61 *bits = 0x55;
70 for (i = 0; i < hb->bitsLen / sizeof (*hb->bits);
[all...]
/dalvik/vm/compiler/codegen/mips/
H A DAssemble.cpp516 u4 bits = encoder->skeleton; local
532 bits |= value;
539 bits |= value;
546 bits |= value;
553 *bufferAddr++ = bits;
1935 kMemOpRRR = 0x0A, // Full opcode is 7 bits
1937 kMemOpRRR2 = 0x0B, // Full opcode is 7 bits
1996 kMemOp2 = 0xE000, // top 3 bits set indicates Thumb2

Completed in 1506 milliseconds