/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
NumberTest.java | 28 ((byte) new Integer(number).intValue()) == new Integer(number) 32 ((byte) new Integer(number).intValue()) == new Integer(number) 36 ((byte) new Integer(number).intValue()) == new Integer(number) 40 ((byte) new Integer(number).intValue()) == new Integer(number) 50 ((short) new Integer(number).intValue()) == new Integer(number [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
SequentialOpTest.java | 51 @Test(dataProvider = "StreamTestData<Integer>", dataProviderClass = StreamTestDataProvider.class, 53 public void testLazy(String name, TestData.OfRef<Integer> data) { 54 Function<Integer, Integer> id = LambdaTestHelpers.identity(); 56 Supplier<Stream<Integer>>[] suppliers = new Supplier[] { () -> data.stream(), () -> data.parallelStream() }; 57 UnaryOperator<Stream<Integer>>[] configs 59 (UnaryOperator<Stream<Integer>>) s -> s.peek(e -> { counter.incrementAndGet(); }), 60 (UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).sequential().map(id), 61 (UnaryOperator<Stream<Integer>>) s -> s.map(id).peek(e -> { counter.incrementAndGet(); }).parallel().map(id), 62 (UnaryOperator<Stream<Integer>>) s -> s.sequential().map(id).peek(e -> [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/util/ |
Ints.java | 12 public static int[] toArray(List<Integer> integerList) { 15 for (Integer data : integerList) { 21 public static List<Integer> asList(int[] intArray) { 22 List<Integer> integerList = new ArrayList<>(intArray.length);
|
/external/autotest/frontend/migrations/ |
045_test_planner_framework.py | 10 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, 22 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, 23 `plan_id` integer NOT NULL, 24 `host_id` integer NOT NULL, 34 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, 42 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, 43 `plan_id` integer NOT NULL, 44 `control_file_id` integer NOT NULL, 45 `execution_order` integer NOT NULL 53 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY [all...] |
019_add_abort_log.py | 9 `queue_entry_id` integer NOT NULL PRIMARY KEY, 10 `aborted_by_id` integer NOT NULL,
|
033_add_host_attributes.py | 3 `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, 4 `host_id` integer NOT NULL,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/ |
Test_sub_int.java | 55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 71 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 75 * @title Arguments = Integer.MAX_VALUE, -1 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/ |
Test_sub_int_2addr.java | 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); 58 * @title Arguments = 0, Integer.MAX_VALUE 62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); 66 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 70 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 74 * @title Arguments = Integer.MAX_VALUE, -1 78 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableBiMapTest.java | 80 public static class MapTests extends AbstractMapTests<String, Integer> { 81 @Override protected Map<String, Integer> makeEmptyMap() { 85 @Override protected Map<String, Integer> makePopulatedMap() { 93 @Override protected Integer getValueNotInPopulatedMap() { 99 extends AbstractMapTests<String, Integer> { 100 @Override protected Map<String, Integer> makeEmptyMap() { 104 @Override protected Map<String, Integer> makePopulatedMap() { 112 @Override protected Integer getValueNotInPopulatedMap() { 119 ImmutableBiMap<String, Integer> map 120 = new Builder<String, Integer>().build() [all...] |
MultimapBuilderTest.java | 35 ListMultimap<String, Integer> a = 36 MultimapBuilder.hashKeys().arrayListValues().<String, Integer>build(); 37 SortedSetMultimap<String, Integer> b = 38 MultimapBuilder.linkedHashKeys().treeSetValues().<String, Integer>build(); 39 SetMultimap<String, Integer> c = MultimapBuilder.treeKeys(String.CASE_INSENSITIVE_ORDER) 40 .hashSetValues().<String, Integer>build(); 44 ListMultimap<String, Integer> multimap = 45 MultimapBuilder.treeKeys().arrayListValues().<String, Integer>build();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
MultimapsTest.java | 70 private static final Comparator<Integer> INT_COMPARATOR = 71 Ordering.<Integer>natural().reverse().nullsFirst(); 83 ListMultimap<String, Integer> mod = ArrayListMultimap.create(); 84 ListMultimap<String, Integer> unmod = Multimaps.unmodifiableListMultimap(mod); 87 ImmutableListMultimap<String, Integer> immutable = 91 immutable, Multimaps.unmodifiableListMultimap((ListMultimap<String, Integer>) immutable)); 96 SetMultimap<String, Integer> mod = HashMultimap.create(); 97 SetMultimap<String, Integer> unmod = Multimaps.unmodifiableSetMultimap(mod); 100 ImmutableSetMultimap<String, Integer> immutable = 104 immutable, Multimaps.unmodifiableSetMultimap((SetMultimap<String, Integer>) immutable)) [all...] |
TableCollectionTest.java | 123 Table<String, Integer, Character> table 139 Table<String, Integer, Character> table = HashBasedTable.create(); 151 TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create(); 168 Table<String, Integer, Character> table = HashBasedTable.create(); 179 RowSortedTable<String, Integer, Character> table = TreeBasedTable.create(); 195 Table<Integer, String, Character> table 211 Table<Integer, String, Character> table = HashBasedTable.create(); 222 Table<Integer, String, Character> table = TreeBasedTable.create(); 238 Table<Integer, String, Character> table = HashBasedTable.create(); 249 RowSortedTable<Integer, String, Character> table = TreeBasedTable.create() [all...] |
ImmutableRangeSetTest.java | 42 private static final ImmutableSet<Range<Integer>> RANGES = ImmutableSet.of( 43 Range.<Integer>all(), 55 static final class ImmutableRangeSetIntegerAsSetGenerator implements TestSetGenerator<Integer> { 57 public SampleElements<Integer> samples() { 58 return new SampleElements<Integer>(1, 4, 3, 2, 5); 62 public Integer[] createArray(int length) { 63 return new Integer[length]; 67 public Iterable<Integer> order(List<Integer> insertionOrder) { 72 public Set<Integer> create(Object... elements) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
SuppliersTest.java | 38 Supplier<Integer> fiveSupplier = new Supplier<Integer>() { 40 public Integer get() { 45 Function<Number, Integer> intValueFunction = 46 new Function<Number, Integer>() { 48 public Integer apply(Number x) { 53 Supplier<Integer> squareSupplier = Suppliers.compose(intValueFunction, 56 assertEquals(Integer.valueOf(5), squareSupplier.get()); 60 Supplier<ArrayList<Integer>> listSupplier 61 = new Supplier<ArrayList<Integer>>() { [all...] |
/packages/apps/Bluetooth/res/values/ |
config.xml | 41 <integer name="gatt_high_priority_min_interval">9</integer> 42 <integer name="gatt_high_priority_max_interval">12</integer> 45 <integer name="gatt_balanced_priority_min_interval">24</integer> 46 <integer name="gatt_balanced_priority_max_interval">40</integer> 47 <integer name="gatt_low_power_min_interval">80</integer> [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/json/ |
JsonTest.java | 30 Map<String, Integer> map = (Map<String, Integer>) loader.load("{a: 1}"); 31 assertEquals(new Integer(1), map.get("a")); 35 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\": 1}"); 36 assertEquals(new Integer(1), map.get("a")); 49 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\":1}"); 50 assertEquals(new Integer(1), map.get("a")); 54 Map<String, Integer> map = (Map<String, Integer>) loader.load("{\"a\":\"1\"}") [all...] |
/external/clang/test/PCH/ |
exprs.c | 13 int integer; variable 19 int_decl_ref *int_ptr1 = &integer; 20 enum_decl_ref *enum_ptr1 = &integer; 23 integer_literal *int_ptr2 = &integer; 38 char_literal *int_ptr3 = &integer; 41 negate_enum *int_ptr4 = &integer; 61 add_result *int_ptr5 = &integer; 64 addeq_result *int_ptr6 = &integer; 72 void_ptr vp1 = &integer; 90 types_compatible *int_ptr7 = &integer; [all...] |
/frameworks/base/packages/SystemUI/res/values/ |
config.xml | 28 <integer name="config_recents_max_thumbnail_count">10</integer> 31 <integer name="config_recents_max_icon_count">20</integer> 53 <integer name="config_maxNotificationIcons">5</integer> 65 <integer translatable="false" name="config_vibration_duration">0</integer> 68 <integer translatable="false" name="config_search_panel_view_vibration_duration">20</integer> [all...] |
/frameworks/base/docs/image_sources/training/basics/basic-lifecycle.graffle/ |
data.plist | 6 <integer>3</integer> 21 <integer>2</integer> 39 <integer>1</integer> 49 <integer>6</integer> 74 <integer>37924</integer> [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...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsDatabaseHelperUpgradeTest.java | 124 calls.assertHasColumn(Calls.LAST_MODIFIED, INTEGER, false, "0"); 127 voicemailStatus.assertHasColumn(Status.QUOTA_OCCUPIED, INTEGER, false, "-1"); 128 voicemailStatus.assertHasColumn(Status.QUOTA_TOTAL, INTEGER, false, "-1"); 161 new TableColumn(AccountsColumns._ID, INTEGER, false, null), 168 new TableColumn(BaseColumns._ID, INTEGER, false, null), 169 new TableColumn(Contacts.NAME_RAW_CONTACT_ID, INTEGER, false, null), 170 new TableColumn(Contacts.PHOTO_ID, INTEGER, false, null), 171 new TableColumn(Contacts.PHOTO_FILE_ID, INTEGER, false, null), 173 new TableColumn(Contacts.SEND_TO_VOICEMAIL, INTEGER, true, "0"), 174 new TableColumn(Contacts.TIMES_CONTACTED, INTEGER, true, "0") [all...] |
/external/jacoco/org.jacoco.doc/diagrams/ |
flow.graffle | 15 <integer>8</integer> 21 <integer>1</integer> [all...] |
/device/asus/fugu/overlay/frameworks/base/core/res/res/values-large/ |
config.xml | 9 <integer name="config_longPressOnHomeBehavior">1</integer>
|
/external/clang/test/Modules/Inputs/ |
module_private_left.h | 24 typedef __module_private__ int Integer; 25 typedef __module_private__ int Integer;
|
/external/clang/test/Sema/ |
builtin-stackaddress.c | 7 return __builtin_return_address(x); // expected-error{{argument to '__builtin_return_address' must be a constant integer}} 15 return __builtin_frame_address(x); // expected-error{{argument to '__builtin_frame_address' must be a constant integer}}
|