Home
last modified time | relevance | path

Searched refs:array1 (Results 1 – 6 of 6) sorted by relevance

/external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/
Dgeneral1.js41 var array1 = []; variable
43 array1.push(123); //array1 = [123]
44 array1.push("dog"); //array1 = [123,dog]
45 array1.push(-99); //array1 = [123,dog,-99]
46 array1.push("cat"); //array1 = [123,dog,-99,cat]
47 testcases[count++] = new TestCase( SECTION, "array1.pop()", array1.pop(),'cat');
49 array1.push("mouse"); //array1 = [123,dog,-99,mouse]
50 testcases[count++] = new TestCase( SECTION, "array1.shift()", array1.shift(),123);
52 array1.unshift(96); //array1 = [96,dog,-99,mouse]
53 …ount++] = new TestCase( SECTION, "state of array", String([96,"dog",-99,"mouse"]), String(array1));
[all …]
Dgeneral2.js42 array1 = new Array(); variable
51 array1.push(i);
57 for (i = array1.length; i > 0; i--)
59 array3 = array1.slice(1,i);
60 array1.splice(1,i-1);
61 array1 = array3.concat(array1);
68 array1.push(array1.shift());
72 …tCase( SECTION, "Array.push,pop,shift,unshift,slice,splice", true,String(array1) == String(array2)…
73 array1.sort();
75 testcases[count++] = new TestCase( SECTION, "Array.sort", true,String(array1) == String(array2));
/external/icu4c/i18n/unicode/
Ddtfmtsym.h649 static UBool arrayCompare(const UnicodeString* array1,
/external/dbus/dbus/
Ddbus-marshal-basic.c1651 unsigned char array1[5] = { 3, 4, 0, 1, 9 }; in _dbus_marshal_test() local
1762 MARSHAL_TEST_FIXED_ARRAY (BYTE, DBUS_BIG_ENDIAN, array1); in _dbus_marshal_test()
1763 MARSHAL_TEST_FIXED_ARRAY (BYTE, DBUS_LITTLE_ENDIAN, array1); in _dbus_marshal_test()
/external/icu4c/i18n/
Ddtfmtsym.cpp413 DateFormatSymbols::arrayCompare(const UnicodeString* array1, in arrayCompare() argument
417 if (array1 == array2) return TRUE; in arrayCompare()
421 if (array1[count] != array2[count]) return FALSE; in arrayCompare()
/external/gtest/test/
Dgtest_unittest.cc4445 static void AssertStringArrayEq(size_t size1, CharType** array1, in AssertStringArrayEq() argument
4450 ASSERT_STREQ(array1[i], array2[i]) << " where i == " << i; in AssertStringArrayEq()