/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
IndexedItem.java | 79 return '[' + Integer.toHexString(index) + ']';
|
/external/dexmaker/src/dx/java/com/android/dx/rop/code/ |
ConservativeTranslationAdvice.java | 50 return Integer.MAX_VALUE;
|
/external/guava/guava/src/com/google/common/math/ |
IntMath.java | 59 * <p>This differs from {@code Integer.bitCount(x) == 1}, because 60 * {@code Integer.bitCount(Integer.MIN_VALUE) == 1}, but {@link Integer#MIN_VALUE} is not a power 84 return (Integer.SIZE - 1) - Integer.numberOfLeadingZeros(x); 88 return Integer.SIZE - Integer.numberOfLeadingZeros(x - 1); 94 int leadingZeros = Integer.numberOfLeadingZeros(x); 97 int logFloor = (Integer.SIZE - 1) - leadingZeros [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractMultimapAsMapImplementsMapTest.java | 34 extends MapInterfaceTest<String, Collection<Integer>> { 41 protected void populate(Multimap<String, Integer> multimap) { 55 @Override protected Collection<Integer> getValueNotInPopulatedMap() 68 final Map<String, Collection<Integer>> map;
|
ForMapMultimapAsMapImplementsMapTest.java | 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 40 Map<String, Integer> map = Maps.newHashMap(); 44 @Override protected Map<String, Collection<Integer>> makePopulatedMap() { 45 Map<String, Integer> map = Maps.newHashMap();
|
ListsTest.java | 67 private static final Collection<Integer> SOME_COLLECTION 70 private static final Iterable<Integer> SOME_ITERABLE = new SomeIterable(); 72 private static class SomeIterable implements Iterable<Integer>, Serializable { 74 public Iterator<Integer> iterator() { 80 private static final List<Integer> SOME_LIST 83 private static final List<Integer> SOME_SEQUENTIAL_LIST 305 ArrayList<Integer> list = Lists.newArrayList(); 310 ArrayList<Integer> list = Lists.newArrayListWithCapacity(0); 313 ArrayList<Integer> bigger = Lists.newArrayListWithCapacity(256); 326 ArrayList<Integer> list = Lists.newArrayListWithExpectedSize(0) [all...] |
ObjectArraysTest.java | 128 doTestToArrayImpl1(Lists.<Integer>newArrayList()); 133 private void doTestToArrayImpl1(List<Integer> list) { 141 doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[0], false); 142 doTestToArrayImpl2(Lists.<Integer>newArrayList(), new Integer[1], true); 144 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[0], false); 145 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[1], true); 146 doTestToArrayImpl2(Lists.newArrayList(1), new Integer[] { 2, 3 }, true); 148 doTestToArrayImpl2(Lists.newArrayList(1, null, 3), new Integer[0], false) [all...] |
SimpleAbstractMultisetTest.java | 68 final Map<E, Integer> backingMap = Maps.newHashMap(); 72 Integer frequency = backingMap.get(element); 79 checkArgument(occurrences <= Integer.MAX_VALUE - frequency); 86 final Iterator<Map.Entry<E, Integer>> backingEntries = backingMap.entrySet().iterator(); 95 final Map.Entry<E, Integer> mapEntry = backingEntries.next(); 104 Integer frequency = backingMap.get(getElement()); 127 Integer count = backingMap.get(element);
|
/external/javassist/sample/vector/ |
Sample2.java | 10 int i = ((Integer)args[0]).intValue();
|
/external/jsr305/sampleUses/src/main/java/java/sql/ |
ResultSetConcurrency.java | 10 @TypeQualifier(applicableTo=Integer.class)
|
ResultSetHoldability.java | 10 @TypeQualifier(applicableTo=Integer.class)
|
ResultSetType.java | 10 @TypeQualifier(applicableTo=Integer.class)
|
/frameworks/base/core/java/android/content/pm/ |
FeatureInfo.java | 70 + Integer.toHexString(System.identityHashCode(this)) 71 + " " + name + " fl=0x" + Integer.toHexString(flags) + "}"; 74 + Integer.toHexString(System.identityHashCode(this)) 76 + " fl=0x" + Integer.toHexString(flags) + "}";
|
/hardware/ti/wpan/tools/FM/FmRadioIf/src/java/com/ti/core/ |
JFmRxCcmVacResourceOwner.java | 24 public static enum JFmRxEcalResource implements IJFmEnum<Integer> { 38 public Integer getValue() { 43 public static enum JFmRxEcalOperation implements IJFmEnum<Integer> { 56 public Integer getValue() {
|
/libcore/luni/src/main/java/java/util/ |
IllegalFormatCodePointException.java | 56 return Integer.toHexString(c);
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldFieldPositionTest.java | 54 fpos.setBeginIndex(Integer.MAX_VALUE); 55 assertEquals("beginIndex should have been set to Integer.MAX_VALUE", 56 Integer.MAX_VALUE, fpos.getBeginIndex()); 71 fpos.setEndIndex(Integer.MAX_VALUE); 72 assertEquals("endIndex should have been set to Integer.MAX_VALUE", 73 Integer.MAX_VALUE, fpos.getEndIndex());
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
Face.java | 37 mPosition.left = Integer.parseInt(tokenizer.nextToken()); 38 mPosition.top = Integer.parseInt(tokenizer.nextToken()); 39 mPosition.right = Integer.parseInt(tokenizer.nextToken()); 40 mPosition.bottom = Integer.parseInt(tokenizer.nextToken());
|
/sdk/ddms/libs/ddmlib/tests/src/com/android/ddmlib/ |
EmulatorConsoleTest.java | 29 assertEquals(Integer.valueOf(5554), EmulatorConsole.getEmulatorPort("emulator-5554"));
|
/sdk/layoutlib_api/src/com/android/layoutlib/api/ |
IProjectCallback.java | 70 * @return an Integer containing the resource Id, or <code>null</code> if not found. 72 Integer getResourceValue(String type, String name);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_ge/ |
Test_if_ge.java | 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 39 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE 47 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); 51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_gt/ |
Test_if_gt.java | 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 39 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE 47 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); 51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_le/ |
Test_if_le.java | 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 39 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE 47 assertEquals(1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); 51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_lt/ |
Test_if_lt.java | 35 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 39 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 43 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE 47 assertEquals(1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); 51 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/ |
Test_rem_int.java | 75 * @title Arguments = Integer.MIN_VALUE, -1 79 assertEquals(0, t.run(Integer.MIN_VALUE, -1)); 83 * @title Arguments = Integer.MIN_VALUE, 1 87 assertEquals(0, t.run(Integer.MIN_VALUE, 1)); 91 * @title Arguments = Integer.MAX_VALUE, 1 95 assertEquals(0, t.run(Integer.MAX_VALUE, 1)); 99 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/ |
Test_rem_int_2addr.java | 75 * @title Arguments = Integer.MIN_VALUE, -1 79 assertEquals(0, t.run(Integer.MIN_VALUE, -1)); 83 * @title Arguments = Integer.MIN_VALUE, 1 87 assertEquals(0, t.run(Integer.MIN_VALUE, 1)); 91 * @title Arguments = Integer.MAX_VALUE, 1 95 assertEquals(0, t.run(Integer.MAX_VALUE, 1)); 99 * @title Arguments = Integer.MIN_VALUE, Integer.MAX_VALUE 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)) [all...] |