/external/clang/test/Index/ |
complete-unterminated.c | 1 typedef int Integer; 22 // CHECK: {TypedText Integer}
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractLinkedIteratorTest.java | 37 new IteratorTester<Integer>(3, UNMODIFIABLE, ImmutableList.of(1, 2), 40 protected Iterator<Integer> newTargetIterator() { 47 Iterable<Integer> doubled = new Iterable<Integer>() { 49 public Iterator<Integer> iterator() { 57 Iterable<Integer> actual = new Iterable<Integer>() { 59 public Iterator<Integer> iterator() { 60 Iterator<Integer> powersOfTwo = new AbstractLinkedIterator<Integer>(1) [all...] |
ImmutableMultimapAsMapImplementsMapTest.java | 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 40 return ImmutableMultimap.<String, Integer>of().asMap(); 43 @Override protected Map<String, Collection<Integer>> makePopulatedMap() { 44 Multimap<String, Integer> delegate = HashMultimap.create();
|
ImmutableSetMultimapAsMapImplementsMapTest.java | 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 40 return ImmutableSetMultimap.<String, Integer>of().asMap(); 43 @Override protected Map<String, Collection<Integer>> makePopulatedMap() { 44 Multimap<String, Integer> delegate = HashMultimap.create();
|
MultimapsFilterEntriesAsMapTest.java | 34 private static final Predicate<Map.Entry<String, Integer>> PREDICATE 35 = new Predicate<Map.Entry<String, Integer>>() { 36 @Override public boolean apply(Entry<String, Integer> entry) { 45 private Multimap<String, Integer> createMultimap() { 46 Multimap<String, Integer> unfiltered = HashMultimap.create(); 53 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 54 Multimap<String, Integer> multimap = createMultimap(); 58 @Override protected Map<String, Collection<Integer>> makePopulatedMap() { 59 Multimap<String, Integer> multimap = createMultimap();
|
UnmodifiableMultimapAsMapImplementsMapTest.java | 39 @Override protected Map<String, Collection<Integer>> makeEmptyMap() { 41 LinkedHashMultimap.<String, Integer>create()).asMap(); 44 @Override protected Map<String, Collection<Integer>> makePopulatedMap() { 45 Multimap<String, Integer> delegate = LinkedHashMultimap.create();
|
ContiguousSetTest.java | 39 private static DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS = new DiscreteDomain<Integer>() { 40 @Override public Integer next(Integer value) { 44 @Override public Integer previous(Integer value) { 48 @Override public long distance(Integer start, Integer end) { 52 @Override public Integer minValue() { 56 @Override public Integer maxValue() [all...] |
InverseBiMapTest.java | 28 @Override protected BiMap<Integer, String> create() { 29 BiMap<String, Integer> inverse = HashBiMap.create();
|
TransformedSetTest.java | 42 // Negates each integer. This is a true bijection, even considering MIN_VALUE 43 private static final Sets.InvertibleFunction<Integer, Integer> integerBijection = 44 new Sets.InvertibleFunction<Integer, Integer>() { 45 @Override public Integer apply(Integer integer) { 46 return integer != null ? -integer : null [all...] |
/external/proguard/src/proguard/obfuscate/ |
NumericNameFactory.java | 47 return Integer.toString(++index);
|
/frameworks/base/core/java/android/net/ |
NetworkConfig.java | 67 type = Integer.parseInt(fragments[1]); 68 radio = Integer.parseInt(fragments[2]); 69 priority = Integer.parseInt(fragments[3]); 70 restoreTime = Integer.parseInt(fragments[4]);
|
/libcore/support/src/test/java/tests/support/ |
Support_ListTest.java | 27 List<Integer> list; // must contain the Integers 0 to 99 in order 33 public Support_ListTest(String p1, List<Integer> l) { 46 .equals(new Integer(counter))); 50 list.add(50, new Integer(1000)); 52 .get(50).equals(new Integer(1000))); 55 list.get(51).equals(new Integer(50))); 58 list.get(49).equals(new Integer(49))); 60 list.set(50, new Integer(2000)); 62 .equals(new Integer(2000))); 64 list.get(51).equals(new Integer(50))) [all...] |
/sdk/layoutlib_api/src/com/android/ide/common/rendering/api/ |
AttrResourceValue.java | 33 private Map<String, Integer> mValueMap; 41 * Return the enum/flag integer values. 43 * @return the map of (name, integer) values. Can be null. 45 public Map<String, Integer> getAttributeValues() { 49 public void addValue(String name, Integer value) { 51 mValueMap = new HashMap<String, Integer>();
|
/dalvik/tests/041-narrowing/src/ |
Main.java | 27 + (Integer.toHexString((short)dbl2).equals("0") ? "0000" : Integer.toHexString( 30 + (Integer.toHexString((int)dbl2).equals("0") ? "00000000" : Integer 41 + (Integer.toHexString((short)fl2).equals("0") ? "0000" : Integer.toHexString( 44 + (Integer.toHexString((int)fl2).equals("0") ? "00000000" : Integer 52 + (Integer.toHexString((byte)dbl3).equals("0") ? "00" : Integer.toHexString [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheRefreshTest.java | 34 LoadingCache<Integer, Integer> cache = CacheBuilder.newBuilder() 43 assertEquals(Integer.valueOf(i), cache.getUnchecked(i)); 50 assertEquals(Integer.valueOf(0), cache.getUnchecked(0)); 51 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); 52 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); 58 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)); 60 assertEquals(Integer.valueOf(1), cache.getUnchecked(1)); 61 assertEquals(Integer.valueOf(2), cache.getUnchecked(2)); 68 assertEquals(Integer.valueOf(1), cache.getUnchecked(0)) [all...] |
/sdk/apigenerator/src/com/android/apigenerator/ |
ApiClass.java | 39 private final List<Pair<String, Integer>> mSuperClasses = 40 new ArrayList<Pair<String, Integer>>(); 42 private final List<Pair<String, Integer>> mInterfaces = new ArrayList<Pair<String, Integer>>(); 44 private final Map<String, Integer> mFields = new HashMap<String, Integer>(); 45 private final Map<String, Integer> mMethods = new HashMap<String, Integer>(); 57 Integer i = mFields.get(name); 59 mFields.put(name, Integer.valueOf(since)) [all...] |
/dalvik/dx/tests/086-ssa-edge-split/ |
Blort.java | 29 Integer.toString(x); 30 Integer.toString(x);
|
/external/clang/test/ASTMerge/Inputs/ |
class-template2.cpp | 22 typedef int Integer; 23 extern X0<Integer> *x0i;
|
/external/clang/test/Modules/Inputs/ |
module_private_left.h | 24 typedef __module_private__ int Integer; 25 typedef __module_private__ int Integer;
|
/external/javassist/src/main/javassist/compiler/ |
KeywordTable.java | 26 return ((Integer)found).intValue(); 30 put(name, new Integer(t));
|
/external/replicaisland/src/com/replica/replicaisland/ |
UIConstants.java | 34 "overridePendingTransition", new Class[] { Integer.TYPE, Integer.TYPE } );
|
/external/guava/guava/src/com/google/common/collect/ |
DiscreteDomains.java | 37 * Returns the discrete domain for values of type {@code Integer}. 39 public static DiscreteDomain<Integer> integers() { 43 private static final class IntegerDomain extends DiscreteDomain<Integer> 47 @Override public Integer next(Integer value) { 49 return (i == Integer.MAX_VALUE) ? null : i + 1; 52 @Override public Integer previous(Integer value) { 54 return (i == Integer.MIN_VALUE) ? null : i - 1; 57 @Override public long distance(Integer start, Integer end) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidTreeMapTest.java | 42 TreeMap<Integer, String> tm = new TreeMap<Integer, String>(); 43 HashMap<Integer, String> hm = new HashMap<Integer, String>(); 45 int minVal = Integer.MAX_VALUE; 46 int maxVal = Integer.MIN_VALUE; 57 tm.put(new Integer(val), "V:" + val); 58 hm.put(new Integer(val), "V:" + val); 76 Integer vv = new Integer(val) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/ |
Utils.java | 35 static Integer[] ints = new Integer[INTEGER_POOL_MAX_VALUE+1]; 37 /** Integer objects are immutable so share all Integers with the 40 * Integer object with x in it. 42 public static Integer integer(int x) { method in class:Utils 44 return new Integer(x); 47 ints[x] = new Integer(x);
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
DHGenParameterSpecTest.java | 24 import java.lang.Integer; 43 int[] primes = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE}; 44 int[] exponents = {Integer.MIN_VALUE, -1, 0, 1, Integer.MAX_VALUE};
|