/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarDatabaseHelperTest.java | 56 "_id INTEGER PRIMARY KEY," + 61 "_sync_local_id INTEGER," + 62 "_sync_dirty INTEGER," + 63 "_sync_mark INTEGER," + // Used to filter out new rows 67 "hidden INTEGER NOT NULL DEFAULT 0," + 68 "color INTEGER," + 69 "access_level INTEGER," + 70 "selected INTEGER NOT NULL DEFAULT 1," + 71 "sync_events INTEGER NOT NULL DEFAULT 0," + 85 "_id INTEGER PRIMARY KEY," [all...] |
/art/test/573-checker-checkcast-regression/src/ |
Main.java | 20 Object[] array = { new Integer(1), new Integer(2), new Integer(3) }; 44 Integer integer1 = (Integer) objectArray[index1]; 45 Integer integer2 = (Integer) objectArray[index2];
|
/external/clang/test/Analysis/ |
CFNumber.c | 19 return CFNumberCreate(0, kCFNumberSInt16Type, &x); // expected-warning{{An 8 bit integer is used to initialize a CFNumber object that represents a 16 bit integer. 8 bits of the CFNumber value will be garbage}} 23 return CFNumberCreate(0, kCFNumberSInt8Type, &x); // expected-warning{{A 16 bit integer is used to initialize a CFNumber object that represents an 8 bit integer. 8 bits of the input integer will be lost}} 32 return CFNumberCreate(0, kCFNumberLongType, &i); // expected-warning{{A 32 bit integer is used to initialize a CFNumber object that represents a 64 bit integer}}
|
/external/compiler-rt/test/ubsan/TestCases/Integer/ |
no-recover.cpp | 1 // RUN: %clangxx -fsanitize=unsigned-integer-overflow %s -o %t && %run %t 2>&1 | FileCheck %s --check-prefix=RECOVER 2 // RUN: %clangxx -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=all -fsanitize-recover=unsigned-integer-overflow %s -o %t && %run %t 2>&1 | FileCheck %s --check-prefix=RECOVER 3 // RUN: %clangxx -fsanitize=unsigned-integer-overflow -fno-sanitize-recover=unsigned-integer-overflow %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=ABORT 16 // RECOVER: no-recover.cpp:[[@LINE-1]]:5: runtime error: unsigned integer overflow: 2271560481 + 3989547399 cannot be represented in type 'unsigned int' 17 // ABORT: no-recover.cpp:[[@LINE-2]]:5: runtime error: unsigned integer overflow: 2271560481 + 3989547399 cannot be represented in type 'unsigned int'
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractImmutableTableTest.java | 31 abstract Iterable<ImmutableTable<Character, Integer, String>> 36 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { 48 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { 60 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { 72 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { 83 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) { 89 for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
|
ImmutableMultimapTest.java | 40 ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>() 47 Builder<String, Integer> builder = new Builder<String, Integer>(); 49 builder.put(Maps.immutableEntry("one", (Integer) null)); 65 ImmutableMultimap.Builder<String, Integer> builder = 66 new Builder<String, Integer>(); 69 Entry<String, Integer> entry = new AbstractMapEntry<String, Integer>() { 73 @Override public Integer getValue() [all...] |
/external/ppp/pppd/plugins/radius/etc/ |
dictionary | 11 # integer - 32 bit value in big endian order (high byte first) 23 # 7 = 1 (integer encoding) 38 # ATTRIBUTE RP-Upstream-Speed-Limit 1 integer RoaringPenguin 41 # RP-Upstream-Speed-Limit, number 1, type integer and vendor RoaringPenguin. 50 ATTRIBUTE NAS-Port-Id 5 integer 51 ATTRIBUTE Service-Type 6 integer 52 ATTRIBUTE Framed-Protocol 7 integer 55 ATTRIBUTE Framed-Routing 10 integer 57 ATTRIBUTE Framed-MTU 12 integer 58 ATTRIBUTE Framed-Compression 13 integer [all...] |
/frameworks/base/docs/image_sources/fundamentals/ |
fragments.graffle | 6 <integer>0</integer> 28 <integer>2</integer> 46 <integer>1</integer> 58 <integer>6</integer> 85 <integer>199</integer> [all...] |
service_lifecycle.graffle | 15 <integer>6</integer> 21 <integer>1</integer> [all...] |
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/ |
Antlr.Runtime.Tools.pas | 49 TIntegerArray = array of Integer; 131 function GetCapacity: Integer; 132 procedure SetCapacity(Value: Integer); 133 function GetCount: Integer; 134 procedure SetCount(Value: Integer); 135 function GetItem(Index: Integer): T; 136 procedure SetItem(Index: Integer; const Value: T); 141 function Add(const Value: T): Integer; 148 procedure Insert(Index: Integer; const Value: T); 150 procedure InsertRange(Index: Integer; const Values: array of T); overload [all...] |
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
SetOfProducedProducerTest.java | 40 Producer<Set<Produced<Integer>>> producer = 42 Producers.<Set<Integer>>immediateProducer(ImmutableSet.of(1, 2)), 43 Producers.<Set<Integer>>immediateProducer(ImmutableSet.of(5, 7))); 55 Producer<Set<Produced<Integer>>> producer = 57 Producers.<Set<Integer>>immediateProducer(ImmutableSet.of(1, 2)), 58 Producers.<Set<Integer>>immediateFailedProducer(e)); 61 Produced.successful(1), Produced.successful(2), Produced.<Integer>failed(e)); 66 Producer<Set<Produced<Integer>>> producer = 67 SetOfProducedProducer.create(Producers.<Set<Integer>>immediateProducer(null)); 68 Results<Integer> results = Results.create(producer.get().get()) [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue103/ |
MergingTest.java | 65 assertEquals(Integer.valueOf(1), center.get("x")); 66 assertEquals(Integer.valueOf(2), center.get("y")); 70 assertEquals(Integer.valueOf(0), left.get("x")); 71 assertEquals(Integer.valueOf(2), left.get("y")); 75 assertEquals(Integer.valueOf(10), big.get("r")); 79 assertEquals(Integer.valueOf(1), small.get("r")); 87 assertEquals(Integer.valueOf(1), explicitKeys.get("x")); 88 assertEquals(Integer.valueOf(2), explicitKeys.get("y")); 89 assertEquals(Integer.valueOf(10), explicitKeys.get("r")); 94 assertEquals(Integer.valueOf(1), merge_center.get("x")) [all...] |
/frameworks/base/docs/image_sources/in-app-billing/v3/ |
iab_v3_consumption_flow.graffle | 6 <integer>0</integer> 21 <integer>2</integer> 37 <integer>0</integer> 41 <integer>1</integer> 51 <integer>8</integer> [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
ServiceStateTest.java | 82 ArrayList<Pair<Integer, Boolean>> rats = new ArrayList<Pair<Integer, Boolean>>(); 84 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_IS95A, true)); 85 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_IS95B, true)); 86 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT, true)); 87 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_0, true)); 88 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_A, true)); 89 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EVDO_B, true)); 90 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_EHRPD, true)); 92 rats.add(new Pair<Integer, Boolean>(ServiceState.RIL_RADIO_TECHNOLOGY_GPRS, false)) [all...] |
/external/jacoco/org.jacoco.doc/diagrams/ |
implementation.graffle | 6 <integer>0</integer> 21 <integer>2</integer> 39 <integer>1</integer> 49 <integer>8</integer> 58 <integer>16</integer> [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheExpirationTest.java | 51 CountingRemovalListener<String, Integer> removalListener = countingRemovalListener(); 53 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() 63 CountingRemovalListener<String, Integer> removalListener = countingRemovalListener(); 65 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder() 73 private void checkExpiration(LoadingCache<String, Integer> cache, WatchedCreatorLoader loader, 74 FakeTicker ticker, CountingRemovalListener<String, Integer> removalListener) { 77 assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); 82 assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i)); 100 CountingRemovalListener<String, Integer> removalListener = countingRemovalListener(); 102 LoadingCache<String, Integer> cache = CacheBuilder.newBuilder( [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
MutableTypeToInstanceMapTest.java | 97 map.put(TypeToken.of(Integer.class), new Integer(5)); 104 map.putAll(ImmutableMap.of(TypeToken.of(Integer.class), new Integer(5))); 144 assertNull(map.putInstance(Integer.class, new Integer(5))); 146 Integer oldValue = map.putInstance(Integer.class, new Integer(7)); 149 Integer newValue = map.getInstance(Integer.class) [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
CollectionAndMapModifyStreamTest.java | 58 List<Integer> content = LambdaTestHelpers.countTo(10); 60 List<Collection<Integer>> collections = new ArrayList<>(); 69 Stack<Integer> stack = new Stack<>(); 79 ArrayBlockingQueue<Integer> arrayBlockingQueue = new ArrayBlockingQueue<>(content.size()); 80 for (Integer i : content) 99 public void testCollectionSizeRemove(String name, Collection<Integer> c) { 101 Stream<Integer> s = c.stream(); 109 Map<Integer, Integer> content = new HashMap<>(); 114 Map<String, Supplier<Map<Integer, Integer>>> maps = new HashMap<>() [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
TreeSubSetTest.java | 41 private NavigableSet<Integer> populatedSet(int n) { 42 TreeSet<Integer> q = new TreeSet<Integer>(); 46 assertTrue(q.add(new Integer(i))); 48 assertTrue(q.add(new Integer(i))); 49 assertTrue(q.add(new Integer(-n))); 50 assertTrue(q.add(new Integer(n))); 51 NavigableSet s = q.subSet(new Integer(0), true, new Integer(n), false); 113 assertTrue(q.add(new Integer(1))) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int/ |
Test_mul_int.java | 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, 1 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); 75 * @title Arguments = Integer.MIN_VALUE, 1 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); 83 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/ |
Test_mul_int_2addr.java | 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, 1 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); 75 * @title Arguments = Integer.MIN_VALUE, 1 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); 83 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALU [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ContiguousSetTest.java | 36 private static DiscreteDomain<Integer> NOT_EQUAL_TO_INTEGERS = new DiscreteDomain<Integer>() { 37 @Override public Integer next(Integer value) { 41 @Override public Integer previous(Integer value) { 45 @Override public long distance(Integer start, Integer end) { 49 @Override public Integer minValue() { 53 @Override public Integer maxValue() [all...] |
HashBiMapTest.java | 62 BiMap<Integer, Integer> bimap = HashBiMap.create(N); 63 BiMap<Integer, Integer> inverse = bimap.inverse(); 84 Set<Entry<Integer, Integer>> entries = bimap.entrySet(); 85 for (Entry<Integer, Integer> entry : entries) { 94 BiMap<Integer, String> map = HashBiMap.create(); 96 Set<Map.Entry<Integer, String>> entries = map.entrySet() [all...] |
ImmutableMultimapTest.java | 40 ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>() 47 Builder<String, Integer> builder = new Builder<String, Integer>(); 49 builder.put(Maps.immutableEntry("one", (Integer) null)); 65 ImmutableMultimap.Builder<String, Integer> builder = 66 new Builder<String, Integer>(); 69 Entry<String, Integer> entry = new AbstractMapEntry<String, Integer>() { 73 @Override public Integer getValue() [all...] |
/frameworks/base/docs/image_sources/training/basics/basic-simple-screen-mock.graffle/ |
data.plist | 6 <integer>0</integer> 21 <integer>2</integer> 39 <integer>1</integer> 49 <integer>8</integer> 74 <integer>200</integer> [all...] |