/dalvik/dx/src/com/android/dx/util/_tests/ |
_Bits.java | 19 import com.android.dx.util.Bits; 24 * Test the class {@code com.android.dx.util.Bits}. 29 assertEquals(label(0), 0, Bits.makeBitSet(0).length); 32 assertEquals(label(i), 1, Bits.makeBitSet(i).length); 36 assertEquals(label(i), 2, Bits.makeBitSet(i).length); 44 assertEquals(label(i), expect, Bits.makeBitSet(i).length); 55 Bits.getMax(new int[expect])); 60 int[] bits = Bits.makeBitSet(100); local 63 assertFalse(label(i), Bits.get(bits, i)) 68 int[] bits = Bits.makeBitSet(100); local 79 int[] bits = Bits.makeBitSet(100); local 92 int[] bits = Bits.makeBitSet(50); local 109 int[] bits = Bits.makeBitSet(100); local 137 int[] bits = Bits.makeBitSet(100); local 152 int[] bits = Bits.makeBitSet(100); local 177 int[] bits = Bits.makeBitSet(i); local 196 int[] bits = Bits.makeBitSet(i); local 219 int[] bits = new int[100]; local 227 int[] bits = new int[100]; local 235 int[] bits = new int[100]; local 243 int[] bits = new int[100]; local 254 int[] bits = new int[100]; local 265 int[] bits = new int[100]; local 276 int[] bits = new int[100]; local 284 int[] bits = new int[100]; local 295 int[] bits = new int[100]; local [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...] |
/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);
|
/dalvik/dx/src/com/android/dx/cf/code/ |
BytecodeArray.java | 29 import com.android.dx.util.Bits; 118 * @see Bits 123 int[] result = Bits.makeBitSet(sz); 127 Bits.set(result, at, true); 140 * set new bits in the work set during the process. 151 int offset = Bits.findFirst(workSet, 0); 155 Bits.clear(workSet, offset); [all...] |
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...] |
Ropper.java | 26 import com.android.dx.util.Bits; 235 Bits.set(workSet, label); 624 int[] workSet = Bits.makeBitSet(maxLabel); 626 Bits.set(workSet, 0); 631 int offset = Bits.findFirst(workSet, 0); 635 Bits.clear(workSet, offset); 671 * @param workSet {@code non-null;} bits representing work to do, [all...] |
/dalvik/dx/src/com/android/dx/dex/code/ |
RopTranslator.java | 39 import com.android.dx.util.Bits; 308 int[] workSet = Bits.makeBitSet(maxLabel); 309 int[] tracebackSet = Bits.makeBitSet(maxLabel); 313 Bits.set(workSet, one.getLabel()); 331 label = Bits.findFirst(workSet, 0)) { 351 if (Bits.get(tracebackSet, predLabel)) { 359 if (!Bits.get(workSet, predLabel)) { 368 Bits.set(tracebackSet, label); 383 Bits.clear(workSet, label); 384 Bits.clear(tracebackSet, label) [all...] |
/external/chromium/sdch/open-vcdiff/src/gtest/internal/ |
gtest-internal.h | 309 // For float, there are 8 exponent bits and 23 fraction bits. 311 // For double, there are 11 exponent bits and 52 fraction bits. 324 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 328 // # of bits in a number. 331 // # of fraction bits in a number. 335 // # of exponent bits in a number. 339 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1) 389 const Bits &bits() const { return bits_; } function in class:testing::internal::FloatingPoint [all...] |
/external/gtest/include/gtest/internal/ |
gtest-internal.h | 327 // For float, there are 8 exponent bits and 23 fraction bits. 329 // For double, there are 11 exponent bits and 52 fraction bits. 342 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 346 // # of bits in a number. 349 // # of fraction bits in a number. 353 // # of exponent bits in a number. 357 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1) 407 const Bits &bits() const { return bits_; } function in class:testing::internal::FloatingPoint [all...] |
/external/protobuf/gtest/include/gtest/internal/ |
gtest-internal.h | 322 // For float, there are 8 exponent bits and 23 fraction bits. 324 // For double, there are 11 exponent bits and 52 fraction bits. 337 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; 341 // # of bits in a number. 344 // # of fraction bits in a number. 348 // # of exponent bits in a number. 352 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1) 402 const Bits &bits() const { return u_.bits_; } function in class:testing::internal::FloatingPoint [all...] |
/external/v8/src/arm/ |
constants-arm.h | 192 // bits. 208 // Get the raw instruction bits. 213 // Set the raw instruction bits to value. 218 // Read one particular bit out of the instruction bits. 223 // Read a bit field out of the instruction bits. 224 inline int Bits(int hi, int lo) const { 233 return static_cast<Condition>(Bits(31, 28)); 235 inline int TypeField() const { return Bits(27, 25); } 237 inline int RnField() const { return Bits(19, 16); } 238 inline int RdField() const { return Bits(15, 12); [all...] |
/external/gtest/test/ |
gtest_unittest.cc | 252 // Tests that Unicode code-points that have 8 to 11 bits are encoded 263 // Tests that Unicode code-points that have 12 to 16 bits are encoded 275 // Tests in this group require a wchar_t to hold > 16 bits, and thus 279 // Tests that Unicode code-points that have 17 to 21 bits are encoded 320 // Tests that Unicode code-points that have 8 to 11 bits are encoded 332 // Tests that Unicode code-points that have 12 to 16 bits are encoded 357 // Tests that Unicode code-points that have 17 to 21 bits are encoded [all...] |
/external/v8/src/mips/ |
constants-mips.h | 114 // On MIPS all instructions are 32 bits. 358 // Get the raw instruction bits. 363 // Set the raw instruction bits to value. 368 // Read one particular bit out of the instruction bits. 373 // Read a bit field out of the instruction bits. 374 inline int Bits(int hi, int lo) const { 393 Bits(kOpcodeShift + kOpcodeBits - 1, kOpcodeShift)); 399 return Bits(kRsShift + kRsBits - 1, kRsShift); 405 return Bits(kRtShift + kRtBits - 1, kRtShift); 410 return Bits(kRdShift + kRdBits - 1, kRdShift) [all...] |
/external/protobuf/gtest/test/ |
gtest_unittest.cc | 346 // Tests that Unicode code-points that have 8 to 11 bits are encoded 357 // Tests that Unicode code-points that have 12 to 16 bits are encoded 369 // Tests in this group require a wchar_t to hold > 16 bits, and thus 373 // Tests that Unicode code-points that have 17 to 21 bits are encoded 412 // Tests that Unicode code-points that have 8 to 11 bits are encoded 424 // Tests that Unicode code-points that have 12 to 16 bits are encoded 449 // Tests that Unicode code-points that have 17 to 21 bits are encoded [all...] |
/prebuilt/sdk/tools/lib/ |
dx.jar | |
/prebuilt/common/ecj/ |
ecj.jar | |