/external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/ |
general2.js | 43 array2 = []; 46 // this for loop populates array1 and array2 as follows: 48 // array2 = [size - 1, size - 2,...,4,3,2,1,0] 52 array2.push(size - 1 - i); 56 // that it should be similarly ordered to array2 65 // and array2 69 array2.unshift(array2.pop()); 72 testcases[count++] = new TestCase( SECTION, "Array.push,pop,shift,unshift,slice,splice", true,String(array1) == String(array2)); 74 array2.sort() [all...] |
/external/stlport/test/unit/ |
insert_test.cpp | 34 char const* array2 [] = { "amanda", "saskia", "carrie" }; local 40 itd = copy(array2, array2 + 3, insert_iterator<deque <char const*> >(names, i)); 58 char const* array2 [] = { "amanda", "saskia", "carrie" }; local 62 copy(array2, array2 + 3, inserter(names, i));
|
list_test.cpp | 58 int array2 [] = { 1, 4 }; local 61 list<int> l2(array2, array2 + 2); 98 int array2 [] = { 4, 9 }; local 101 list<int> l2(array2, array2 + 2); 151 int array2 [] = { 2, 4 }; local 154 list<int> l2(array2, array2 + 2);
|
vector_test.cpp | 237 int array2 [] = { 9, 16 }; local 254 // Insert contents of array2 before fourth element. 255 v.insert(v.begin() + 3, array2, array2 + 2);
|
/ndk/tests/device/test-gnustl-full/unit/ |
insert_test.cpp | 34 char const* array2 [] = { "amanda", "saskia", "carrie" }; local 40 itd = copy(array2, array2 + 3, insert_iterator<deque <char const*> >(names, i)); 58 char const* array2 [] = { "amanda", "saskia", "carrie" }; local 62 copy(array2, array2 + 3, inserter(names, i));
|
list_test.cpp | 58 int array2 [] = { 1, 4 }; local 61 list<int> l2(array2, array2 + 2); 98 int array2 [] = { 4, 9 }; local 101 list<int> l2(array2, array2 + 2); 151 int array2 [] = { 2, 4 }; local 154 list<int> l2(array2, array2 + 2);
|
vector_test.cpp | 237 int array2 [] = { 9, 16 }; local 254 // Insert contents of array2 before fourth element. 255 v.insert(v.begin() + 3, array2, array2 + 2);
|
/ndk/tests/device/test-stlport/unit/ |
insert_test.cpp | 34 char const* array2 [] = { "amanda", "saskia", "carrie" }; local 40 itd = copy(array2, array2 + 3, insert_iterator<deque <char const*> >(names, i)); 58 char const* array2 [] = { "amanda", "saskia", "carrie" }; local 62 copy(array2, array2 + 3, inserter(names, i));
|
list_test.cpp | 58 int array2 [] = { 1, 4 }; local 61 list<int> l2(array2, array2 + 2); 98 int array2 [] = { 4, 9 }; local 101 list<int> l2(array2, array2 + 2); 151 int array2 [] = { 2, 4 }; local 154 list<int> l2(array2, array2 + 2);
|
vector_test.cpp | 237 int array2 [] = { 9, 16 }; local 254 // Insert contents of array2 before fourth element. 255 v.insert(v.begin() + 3, array2, array2 + 2);
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
KeyGeneratorThread.java | 43 byte[] array2 = k.getEncoded(); 46 if (array1[i] == array2[i]) { 61 array2 = k.getEncoded(); 63 if (array1[i] == array2[i]) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
NameDistance.java | 65 byte[] array1, array2; 68 array2 = bytes1; 71 array2 = bytes2; 79 if (array1[i] != array2[i]) { 97 int length2 = array2.length; 125 if (!mMatchFlags2[j] && c1 == array2[j]) { 144 if (array1[i] != array2[j]) {
|
/frameworks/base/core/java/com/android/internal/util/ |
ArrayUtils.java | 78 * @param array2 the second byte array 82 public static boolean equals(byte[] array1, byte[] array2, int length) { 83 if (array1 == array2) { 86 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { 90 if (array1[i] != array2[i]) {
|
/libcore/luni/src/main/java/java/util/ |
Arrays.java | [all...] |
/external/astl/tests/ |
test_algorithm.cpp | 108 char array2[1] = { '\0' }; local 111 std::fill_n(array2, 1, sc); 112 EXPECT_TRUE(array2[0] == 1 );
|
test_string.cpp | 523 char array2[] = { 'a', 'b', 'u', 'g', 'g' }; 524 EXPECT_TRUE(str01.compare(array2) < 0);
|
/packages/apps/Gallery3D/src/com/cooliris/media/ |
LongSparseArray.java | 395 * @param array2 401 public static boolean equals(byte[] array1, byte[] array2, int length) { 402 if (array1 == array2) { 405 if (array1 == null || array2 == null || array1.length < length || array2.length < length) { 409 if (array1[i] != array2[i]) {
|
/frameworks/base/tests/CoreTests/android/core/ |
ReflectArrayTest.java | 114 String[][] array2 = (String[][]) strStrStrArray; local
|
/dalvik/tests/045-reflect-array/src/ |
Main.java | 120 String[][] array2 = (String[][]) strStrStrArray; local
|
/cts/tests/tests/content/src/android/content/res/cts/ |
ResourcesTest.java | 627 int[]array2 = mResources.getIntArray(R.array.integers); local 630 checkArrayEqual(expectedArray2, array2); 634 private void checkArrayEqual(int[] array1, int[] array2) { 635 assertNotNull(array2); 636 assertEquals(array1.length, array2.length); 638 assertEquals(array1[i], array2[i]);
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
AddressUnitTests.java | 559 private static boolean addressArrayEquals(Address[] array1, Address[] array2) { 560 if (array1.length != array2.length) { 564 if (!addressEquals(array1[i], array2[i])) {
|
/external/chromium/third_party/icu/public/i18n/unicode/ |
dtfmtsym.h | 667 * @param array2 another array to be compared with. 673 const UnicodeString* array2,
|
/external/icu4c/i18n/unicode/ |
dtfmtsym.h | 701 * @param array2 another array to be compared with. 707 const UnicodeString* array2,
|
/external/dbus/dbus/ |
dbus-marshal-basic.c | 1652 dbus_int16_t array2[3] = { 124, 457, 780 }; local [all...] |
/external/chromium/third_party/icu/source/i18n/ |
dtfmtsym.cpp | 430 const UnicodeString* array2, 433 if (array1 == array2) return TRUE; 437 if (array1[count] != array2[count]) return FALSE; [all...] |