Home
last modified time | relevance | path

Searched refs:array1 (Results 1 – 10 of 10) 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/tesseract/cutil/
Dbitvec.cpp83 int hamming_distance(uinT32* array1, uinT32* array2, int length) { in hamming_distance() argument
89 diff = *array1++ ^ *array2++;/*different bits */ in hamming_distance()
Dbitvec.h72 int hamming_distance(uinT32* array1, uinT32* array2, int length);
/external/tesseract/liblept/
Dcompare.c966 l_float32 *array1, *array2; in pixCompareRankDifference() local
998 array1 = numaGetFArray(nah, L_NOCOPY); in pixCompareRankDifference()
1013 array1[val]++; in pixCompareRankDifference()
1027 array1[val]++; in pixCompareRankDifference()
1031 array1[val]++; in pixCompareRankDifference()
1035 array1[val]++; in pixCompareRankDifference()
1041 array1 = numaGetFArray(nan, L_NOCOPY); in pixCompareRankDifference()
1050 array2[i] = array2[i - 1] - array1[i - 1]; in pixCompareRankDifference()
/external/tesseract/ccutil/
Dambigs.h65 static inline int compare(const UNICHAR_ID array1[], in compare() argument
67 const UNICHAR_ID *ptr1 = array1; in compare()
/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()