Home
last modified time | relevance | path

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

12

/external/clang/test/Sema/
Dself-comparison.c49 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 …]
Dconstant-builtins-2.c55 int array1[__builtin_strlen("ab\0cd")]; variable
56 int array2[(sizeof(array1)/sizeof(int)) == 2? 1 : -1];
Dvector-ops.c19 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/
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/stlport/test/unit/
Dinsert_test.cpp33 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()
Dlist_test.cpp57 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()
Dset_test.cpp77 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/
Dregress-swapelements.js37 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/
Dwarn-self-comparisons.cpp3 void f(int (&array1)[2], int (&array2)[2]) { in f()
4 if (array1 == array2) { } // no warning in f()
Dc99-variable-length-array.cpp17 …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
Dnon-empty-class-size-zero.cpp6 int array1[0]; member
Doffsetof.cpp29 int array1[__builtin_offsetof(HasArray, array[i])]; in test_ice() local
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/
Dp6.cpp21 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/
Dp3.cpp30 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/
Dprint_preview.js623 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/
Dinstantiate-enum.cpp11 int array1[adder<long, 3, 4>::value == 7? 1 : -1]; variable
Dinstantiate-declref-ice.cpp20 int array1[X0<int>::value == sizeof(int)? 1 : -1]; variable
Dinstantiate-expr-5.cpp33 int array1[__builtin_offsetof(AnonymousUnion<T>, f) == 0? 1 : -1]; in test_anon_union() local
Dtemp_class_order.cpp24 int array1[X1<int*, float*>::value == 1? 1 : -1]; variable
/external/clang/test/CXX/temp/temp.decls/temp.friend/
Dp4.cpp21 int array1[sizeof(X2<float>)]; // expected-note{{instantiation of}} variable
/external/clang/test/PCH/Inputs/
Darc.h18 typedef int array1[sizeof((__bridge CFTypeRef)CreateSomething())]; typedef
/external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
Dp9.cpp13 int array1[X1<>::value? 1 : -1]; variable
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
Dsfinae-1.cpp16 int array1[is_class<int>::value? -1 : 1]; variable
/external/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/
Dp2.cpp15 int array1[X<0, 1, int>::value == 1? 1 : -1]; variable

12