/art/test/019-wrong-array-type/src/ |
Main.java | 24 Object[] objArray = strArray; 27 objArray[0] = new Integer(1);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
EmptyStackExceptionTest.java | 25 Object[] objArray = new Object[10]; 34 for (int counter = 0; counter < objArray.length + 1; counter++) 47 for (int counter = 0; counter < objArray.length; counter++) { 48 objArray[counter] = new Integer(counter); 52 for (int counter = 0; counter < objArray.length; counter++) { 53 s.push(objArray[counter]); 62 objArray = null;
|
TreeSetTest.java | 42 Object objArray[] = new Object[1000]; 57 TreeSet myTreeSet = new TreeSet(Arrays.asList(objArray)); 59 myTreeSet.size() == objArray.length); 60 for (int counter = 0; counter < objArray.length; counter++) 62 .contains(objArray[counter])); 89 for (int i = 0; i < objArray.length; i++) 90 myTreeSet.add(objArray[i]); 93 anotherTreeSet.size() == objArray.length); 94 for (int counter = 0; counter < objArray.length; counter++) 96 anotherTreeSet.contains(objArray[counter])) [all...] |
HashSetTest.java | 37 Object[] objArray; 85 HashSet hs2 = new HashSet(Arrays.asList(objArray)); 86 for (int counter = 0; counter < objArray.length; counter++) 88 .contains(objArray[counter])); 90 hs2.size() == objArray.length); 142 assertTrue("Returned false for valid object", hs.contains(objArray[90])); 200 assertTrue("Returned incorrect size", hs.size() == (objArray.length + 1)); 221 objArray = new Object[1000]; 222 for (int i = 0; i < objArray.length; i++) { 223 objArray[i] = new Integer(i) [all...] |
TreeMapTest.java | 90 Object objArray[] = new Object[1000]; 126 assertTrue("Map is incorrect size", myTreeMap.size() == objArray.length); 127 for (Object element : objArray) { 171 for (Object element : objArray) { 232 .containsValue(objArray[986])); 245 anEntrySet.size() == objArray.length); 408 ks.size() == objArray.length); 421 objArray[objArray.length - 1].toString())); 422 assertNotSame(objArray[objArray.length - 1].toString(), tm.lastKey()) [all...] |
LinkedListTest.java | 52 Object[] objArray; 93 ll.get(51) == objArray[50] && (ll.get(52) == objArray[51])); 148 assertTrue("Manipulated elements < index", ll.get(i) == objArray[i]); 151 ll.get(i) == objArray[i - 50]); 154 ll.get(i) == objArray[i - 100]); 320 .contains(objArray[99])); 335 assertTrue("Returned incorrect element", ll.get(22) == objArray[22]); 351 assertEquals("Returned incorrect first element", ll.peek(), objArray[0]); 352 assertEquals("Peek remove the head (first element) of this list", ll.getFirst(), objArray[0]) [all...] |
LinkedHashSetTest.java | 34 Object[] objArray; 95 LinkedHashSet hs2 = new LinkedHashSet(Arrays.asList(objArray)); 96 for (int counter = 0; counter < objArray.length; counter++) 98 .contains(objArray[counter])); 100 .size() == objArray.length); 154 assertTrue("Returned false for valid object", hs.contains(objArray[90])); 218 assertTrue("Returned incorrect size", hs.size() == (objArray.length + 1)); 333 objArray = new Object[1000]; 334 for (int i = 0; i < objArray.length; i++) 335 objArray[i] = new Integer(i) [all...] |
IdentityHashMap2Test.java | 50 private Object[] objArray; 93 myMap.put(objArray2[counter], objArray[counter]); 202 .containsValue(objArray[19])); 258 for (int i = 0; i < objArray.length; i++) { 362 m.remove(objArray[0])); 371 assertEquals("Returned incorrect size, ", (objArray.length), hm.size()); 427 for (int i = 0; i < objArray.length; i++) 429 .contains(objArray[i])); 433 myIdentityHashMap.put(objArray2[i], objArray[i]); 435 values.remove(objArray[0]) [all...] |
ArrayListTest.java | 35 Object[] objArray; 73 ArrayList al = new ArrayList(Arrays.asList(objArray)); 75 .size() == objArray.length); 76 for (int counter = 0; counter < objArray.length; counter++) 79 al.get(counter) == objArray[counter]); 104 alist.get(51) == objArray[50] 105 && (alist.get(52) == objArray[51])); 114 assertEquals(alist.get(1), objArray[0]); 115 assertEquals(alist.get(2), objArray[1]); 164 assertEquals(alist.get(size - 2), objArray[size - 2]) [all...] |
CollectionsTest.java | 72 private Integer[] objArray; 405 objArray[count++]); 407 assertEquals("Enumeration missing elements: " + count, objArray.length, 449 // assumes s, objArray are sorted 451 objArray[objArray.length - 1]); 477 // assumes s, objArray are sorted 489 // assumes s, objArray are sorted 491 objArray[0]); 497 // assumes s, objArray are sorte [all...] |
HashMapTest.java | 94 Object[] objArray; 156 myMap.put(objArray2[counter], objArray[counter]); 354 for (int i = 0; i < objArray.length; i++) 356 .contains(objArray[i].toString())); 584 hm.size() == (objArray.length + 2)); 595 for (int i = 0; i < objArray.length; i++) 597 .contains(objArray[i])); 601 myHashMap.put(objArray2[i], objArray[i]); 712 objArray = new Object[hmSize]; 714 for (int i = 0; i < objArray.length; i++) [all...] |
LinkedHashMapTest.java | 42 Object[] objArray; 124 myMap.put(objArray2[counter], objArray[counter]); 253 for (int i = 0; i < objArray.length; i++) 255 .contains(objArray[i].toString())); 307 for (int i = 0; i < objArray.length; i++) 309 .contains(objArray[i])); 313 myLinkedHashMap.put(objArray2[i], objArray[i]); 509 hm.size() == (objArray.length + 2)); 713 objArray = new Object[hmSize]; 715 for (int i = 0; i < objArray.length; i++) [all...] |
TreeMapExtendTest.java | 75 Object objArray[] = new Object[1000]; 187 key = objArray[counter].toString(); 201 key = objArray[100].toString(); 213 key = objArray[109].toString(); 227 key = objArray[counter].toString(); 245 key = objArray[100].toString(); 257 key = objArray[109].toString(); 273 value = objArray[counter]; 287 value = objArray[100]; 299 value = objArray[109] [all...] |
IdentityHashMapTest.java | 57 Object[] objArray; 99 myMap.put(objArray2[counter], objArray[counter]); 191 .containsValue(objArray[19])); 248 for (int i = 0; i < objArray.length; i++) { 370 m.remove(objArray[0])); 393 assertEquals("Returned incorrect size, ", (objArray.length + 2), hm 462 objArray = new Object[hmSize]; 464 for (int i = 0; i < objArray.length; i++) { 465 objArray[i] = new Integer(i); 467 objArray2[i] = new String(objArray[i].toString()) [all...] |
ArraysTest.java | 48 Object[] objArray; 265 Arrays.binarySearch(objectArray, objArray[counter]) == counter); 294 objectArray[counter] = objArray[arraySize - counter - 1]; 303 Arrays.binarySearch(objectArray, objArray[counter], comp) == arraySize [all...] |
VectorTest.java | 34 Object[] objArray; 124 myVector.size() == objArray.length); 125 for (int counter = 0; counter < objArray.length; counter++) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldListIteratorTest.java | 29 static Object[] objArray; 31 objArray = new Object[100]; 32 for (int i = 0; i < objArray.length; i++) 33 objArray[i] = new Integer(i); 37 for (int i = 0; i < objArray.length; i++) { 45 for (int i = 0; i < objArray.length; i++) { 46 assertTrue(objArray[i].equals(l.next())); 106 for (int i = 0; i < objArray.length; i++) { 130 for (int i = 0; i < objArray.length; i++) { 147 for (int i = objArray.length - 1; i > -1 ; i--) [all...] |
OldTreeSetTest.java | 33 Object objArray[] = new Object[1000]; 37 TreeSet myTreeSet = new TreeSet(Arrays.asList(objArray)); 39 myTreeSet.size() == objArray.length); 40 for (int counter = 0; counter < objArray.length; counter++) 42 .contains(objArray[counter])); 76 ts.add(objArray[0]); 77 assertTrue("Added existing element", ts.size() == objArray.length + 1); 123 ts.first() == objArray[0]); 140 assertTrue("Returned incorrect set", s.contains(objArray[i])); 168 ts.last() == objArray[objArray.length - 1]) [all...] |
OldTreeMapTest.java | 81 Object objArray[] = new Object[1000]; 108 assertTrue("Map is incorrect size", myTreeMap.size() == objArray.length); 109 for (Object element : objArray) { 292 objArray[objArray.length - 1].toString())); 349 for (Object element : objArray) { 396 SortedMap subMap = tm.subMap(objArray[100].toString(), objArray[109] 401 objArray[counter].toString()).equals(objArray[counter])) [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_UnmodifiableCollectionTest.java | 92 Object[] objArray; 93 objArray = col.toArray(); 97 objArray[counter] == it.next()); 101 objArray = new Object[100]; 102 col.toArray(objArray); 106 objArray[counter] == it.next());
|
Support_UnmodifiableMapTest.java | 143 Object[] objArray; 144 objArray = keySet.toArray(); 148 objArray[counter] == it.next()); 152 objArray = new Object[100]; 153 keySet.toArray(objArray); 157 objArray[counter] == it.next());
|
/libcore/support/src/test/java/tests/support/ |
Support_UnmodifiableCollectionTest.java | 92 Object[] objArray; 93 objArray = col.toArray(); 97 objArray[counter] == it.next()); 101 objArray = new Object[100]; 102 col.toArray(objArray); 106 objArray[counter] == it.next());
|
/external/chromium_org/third_party/codesighs/ |
maptsvdifftool.c | 676 ObjectStats** objArray = NULL; 684 objArray = (ObjectStats**)malloc(allSymbolCount * sizeof(ObjectStats*)); 686 if(NULL == objArray || NULL == symArray) 723 objArray[arrayCount] = theObject; 794 objArray[negationLoop]->mSize -= lookingFor; 802 objArray[negationLoop]->mSize += lookingFor; 816 CLEANUP(objArray); [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
StringAndJsonUtilsTests.java | 251 final List<Object> objArray = Arrays.asList(objs); 252 final String str = JsonUtils.listToJsonStr(objArray);
|
/external/conscrypt/src/main/native/ |
org_conscrypt_NativeCrypto.cpp | [all...] |