/external/clang/test/Sema/ |
D | self-comparison.c | 49 int array1[2]; in array_comparisons() local 55 return array1 == array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 56 return array1 != array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 57 return array1 < array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 58 return array1 <= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 59 return array1 > array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons() 60 return array1 >= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons() 65 return array1 == array2; // expected-warning{{array comparison always evaluates to false}} in array_comparisons() 66 return array1 != array2; // expected-warning{{array comparison always evaluates to true}} in array_comparisons() 71 return array1 < array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons() [all …]
|
D | constant-builtins-2.c | 55 int array1[__builtin_strlen("ab\0cd")]; variable 56 int array2[(sizeof(array1)/sizeof(int)) == 2? 1 : -1];
|
D | vector-ops.c | 19 int array1[v2ua]; // expected-error{{size of array has non-integer type 'v2u'}} in test1() local
|
/external/webkit/Source/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/stlport/test/unit/ |
D | insert_test.cpp | 33 char const* array1 [] = { "laurie", "jennifer", "leisa" }; in insert1() local 36 deque<char const*> names(array1, array1 + 3); in insert1() 49 copy(array1, array1 + 3, itd); in insert1() 57 char const* array1 [] = { "laurie", "jennifer", "leisa" }; in insert2() local 60 deque<char const*> names(array1, array1 + 3); in insert2()
|
D | list_test.cpp | 57 int array1 [] = { 9, 16, 36 }; in list1() local 60 list<int> l1(array1, array1 + 3); in list1() 97 int array1 [] = { 1, 16 }; in list2() local 100 list<int> l1(array1, array1 + 2); in list2() 150 int array1 [] = { 1, 3, 6, 7 }; in list4() local 153 list<int> l1(array1, array1 + 4); in list4()
|
D | set_test.cpp | 77 int array1 [] = { 1, 3, 6, 7 }; in set2() local 78 s.insert(array1, array1 + 4); in set2() 125 int array1 [] = { 1, 3, 6, 7 }; in bounds() local 126 set<int> s(array1, array1 + sizeof(array1) / sizeof(array1[0])); in bounds()
|
/external/v8/test/mjsunit/regress/ |
D | regress-swapelements.js | 37 var array1 = new Array(size); variable 41 array1.splice(0, 1); 48 array1[i] = new Item(i); 49 array1[i].toString = myToString; 51 array1.sort();
|
/external/clang/test/SemaCXX/ |
D | warn-self-comparisons.cpp | 3 void f(int (&array1)[2], int (&array2)[2]) { in f() 4 if (array1 == array2) { } // no warning in f()
|
D | c99-variable-length-array.cpp | 17 …int array1[N]; // expected-warning{{variable length arrays are a C99 feature, accepted as an exten… in vla() local 26 …int array1[N]; // expected-warning{{variable length arrays are a C99 feature, accepted as an exten… in vla_in_template() local
|
D | non-empty-class-size-zero.cpp | 6 int array1[0]; member
|
D | offsetof.cpp | 29 int array1[__builtin_offsetof(HasArray, array[i])]; in test_ice() local
|
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/ |
D | p6.cpp | 21 int array1[X0<int>::Inner0<int*>::value == 1? 1 : -1]; variable 75 int array1[Outer<int>::Inner<int, float>::value? -1 : 1]; variable
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
D | p3.cpp | 30 const int array1[] = { 1, 2, 3}; in test_g0() local 31 B<const int, 3> b1 = g0(array1); in test_g0() 32 B<int, 3> b2 = g0b(array1); in test_g0()
|
/external/chromium/chrome/browser/resources/ |
D | print_preview.js | 623 function areArraysEqual(array1, array2) { argument 624 if (array1.length != array2.length) 626 for (var i = 0; i < array1.length; i++) 627 if(array1[i] != array2[i])
|
/external/clang/test/SemaTemplate/ |
D | instantiate-enum.cpp | 11 int array1[adder<long, 3, 4>::value == 7? 1 : -1]; variable
|
D | instantiate-declref-ice.cpp | 20 int array1[X0<int>::value == sizeof(int)? 1 : -1]; variable
|
D | instantiate-expr-5.cpp | 33 int array1[__builtin_offsetof(AnonymousUnion<T>, f) == 0? 1 : -1]; in test_anon_union() local
|
D | temp_class_order.cpp | 24 int array1[X1<int*, float*>::value == 1? 1 : -1]; variable
|
/external/clang/test/CXX/temp/temp.decls/temp.friend/ |
D | p4.cpp | 21 int array1[sizeof(X2<float>)]; // expected-note{{instantiation of}} variable
|
/external/clang/test/PCH/Inputs/ |
D | arc.h | 18 typedef int array1[sizeof((__bridge CFTypeRef)CreateSomething())]; typedef
|
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/ |
D | p9.cpp | 13 int array1[X1<>::value? 1 : -1]; variable
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/ |
D | sfinae-1.cpp | 16 int array1[is_class<int>::value? -1 : 1]; variable
|
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/ |
D | p2.cpp | 15 int array1[X<0, 1, int>::value == 1? 1 : -1]; variable
|