/external/webkit/JavaScriptCore/tests/mozilla/js1_2/Array/ |
D | general1.js | 41 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 …]
|
D | general2.js | 42 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/ |
D | bitvec.cpp | 83 int hamming_distance(uinT32* array1, uinT32* array2, int length) { in hamming_distance() argument 89 diff = *array1++ ^ *array2++;/*different bits */ in hamming_distance()
|
D | bitvec.h | 72 int hamming_distance(uinT32* array1, uinT32* array2, int length);
|
/external/tesseract/liblept/ |
D | compare.c | 966 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/ |
D | ambigs.h | 65 static inline int compare(const UNICHAR_ID array1[], in compare() argument 67 const UNICHAR_ID *ptr1 = array1; in compare()
|
/external/icu4c/i18n/unicode/ |
D | dtfmtsym.h | 649 static UBool arrayCompare(const UnicodeString* array1,
|
/external/dbus/dbus/ |
D | dbus-marshal-basic.c | 1651 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/ |
D | dtfmtsym.cpp | 413 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/ |
D | gtest_unittest.cc | 4445 static void AssertStringArrayEq(size_t size1, CharType** array1, in AssertStringArrayEq() argument 4450 ASSERT_STREQ(array1[i], array2[i]) << " where i == " << i; in AssertStringArrayEq()
|