/external/clang/test/CodeGen/ |
H A D | 2007-11-29-ArraySizeFromInitializer.c | 3 int array[] = {1, 2, 3, 4, 5}; variable
|
H A D | 2003-07-22-ArrayAccessTypeSafety.c | 4 void test(int* array, long long N) { argument 5 array[N] = N[array] = 33;
|
H A D | 2004-03-09-LargeArrayInitializers.c | 9 const int array[] = { local 31 return array[x];
|
/external/v8/test/mjsunit/regress/ |
H A D | regress-98773.js | 28 // Calling Array.sort on an external array is not supposed to crash. 30 var array = new Int16Array(23); 31 array[7] = 7; array[9] = 9; 32 assertEquals(23, array.length); 33 assertEquals(7, array[7]); 34 assertEquals(9, array[9]); 36 Array.prototype.sort.call(array); 37 assertEquals(23, array.length); 38 assertEquals(7, array[2 [all...] |
/external/chromium/android/ |
H A D | execinfo.cc | 7 int backtrace(void **array, int size) { return 0; } argument 9 char **backtrace_symbols(void *const *array, int size) { return 0; } argument 11 void backtrace_symbols_fd (void *const *array, int size, int fd) {} argument
|
H A D | execinfo.h | 8 int backtrace(void **array, int size); 10 char **backtrace_symbols(void *const *array, int size); 12 void backtrace_symbols_fd (void *const *array, int size, int fd);
|
/external/v8/test/mjsunit/ |
H A D | array-shift.js | 28 // Check that shifting array of holes keeps it as array of holes 30 var array = new Array(10); 31 array.shift(); 32 assertFalse(0 in array); 35 // Now check the case with array of holes and some elements on prototype. 38 var array = new Array(len); 42 assertEquals(len, array.length); 43 for (var i = 0; i < array.length; i++) { 44 assertEquals(array[ [all...] |
H A D | array-splice.js | 28 // Check that splicing array of holes keeps it as array of holes 31 var array = new Array(10); 32 var spliced = array.splice(1, 1, 'one', 'two'); 36 assertEquals(11, array.length); 37 assertFalse(0 in array, "0 in array"); 38 assertTrue(1 in array); 39 assertTrue(2 in array); 40 assertFalse(3 in array, " [all...] |
H A D | array-unshift.js | 28 // Check that unshifting array of holes keeps the original array 29 // as array of holes 31 var array = new Array(10); 32 assertEquals(13, array.unshift('1st', '2ns', '3rd')); 33 assertTrue(0 in array); 34 assertTrue(1 in array); 35 assertTrue(2 in array); 36 assertFalse(3 in array); 45 var array [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | 2005-02-13-BadDynamicInit.cpp | 5 unsigned array[1]; member in struct:Data 9 Data shared_null = { shared_null.array };
|
/external/stlport/test/unit/ |
H A D | bnegate_test.cpp | 32 int array [4] = { 4, 9, 7, 1 }; local 34 sort(array, array + 4, binary_negate<greater<int> >(greater<int>())); 35 CPPUNIT_ASSERT(array[0]==1); 36 CPPUNIT_ASSERT(array[1]==4); 37 CPPUNIT_ASSERT(array[2]==7); 38 CPPUNIT_ASSERT(array[3]==9); 42 int array [4] = { 4, 9, 7, 1 }; local 43 sort(array, array [all...] |
H A D | greater_test.cpp | 33 int array[4] = { 3, 1, 4, 2 }; local 34 sort(array, array + 4, greater<int>() ); 36 CPPUNIT_ASSERT(array[0]==4); 37 CPPUNIT_ASSERT(array[1]==3); 38 CPPUNIT_ASSERT(array[2]==2); 39 CPPUNIT_ASSERT(array[3]==1); 43 int array [4] = { 3, 1, 4, 2 }; local 44 sort(array, array [all...] |
H A D | less_test.cpp | 33 int array [4] = { 3, 1, 4, 2 }; local 34 sort(array, array + 4, less<int>()); 36 CPPUNIT_ASSERT(array[0]==1); 37 CPPUNIT_ASSERT(array[1]==2); 38 CPPUNIT_ASSERT(array[2]==3); 39 CPPUNIT_ASSERT(array[3]==4); 43 int array [4] = { 3, 1, 4, 2 }; local 44 sort(array, array [all...] |
H A D | bind_test.cpp | 55 int array [3] = { 1, 2, 3 }; local 56 int* p = remove_if((int*)array, (int*)array + 3, bind1st(less<int>(), 2)); 58 CPPUNIT_ASSERT(p == &array[2]); 59 CPPUNIT_ASSERT(array[0] == 1); 60 CPPUNIT_ASSERT(array[1] == 2); 62 for_each((int*)array, (int*)array + 3, bind1st(pre_increment(), 1)); 63 CPPUNIT_ASSERT(array[0] == 2); 64 CPPUNIT_ASSERT(array[ 75 int array [3] = { 1, 2, 3 }; local 84 int array [3] = { 1, 2, 3 }; local 104 int array[3] = { 1, 2, 3 }; local 143 A array[3]; local [all...] |
H A D | finsert_test.cpp | 33 char const* array [] = { "laurie", "jennifer", "leisa" }; local 36 fit = copy(array, array + 3, front_insert_iterator<deque <char const*> >(names)); 38 CPPUNIT_ASSERT(names[0]==array[2]); 39 CPPUNIT_ASSERT(names[1]==array[1]); 40 CPPUNIT_ASSERT(names[2]==array[0]); 42 copy(array, array + 3, fit); 43 CPPUNIT_ASSERT(names[3]==array[2]); 44 CPPUNIT_ASSERT(names[4]==array[ 50 char const* array [] = { "laurie", "jennifer", "leisa" }; local [all...] |
/external/webkit/Source/WebCore/page/ |
H A D | Crypto.cpp | 41 bool isIntegerArray(ArrayBufferView* array) argument 43 return array->isByteArray() 44 || array->isUnsignedByteArray() 45 || array->isShortArray() 46 || array->isUnsignedShortArray() 47 || array->isIntArray() 48 || array->isUnsignedIntArray(); 57 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec) argument 60 if (!array || !isIntegerArray(array)) { [all...] |
/external/clang/test/Sema/ |
H A D | warn-char-subscripts.c | 4 int array[1] = { 0 }; local 6 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} 10 int array[1] = { 0 }; local 12 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} 16 int *array = 0; local 18 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} 22 int *array local 29 int *array = 0; local 34 int array[1] = { 0 }; local 40 int array[1] = { 0 }; local 47 int array[1] = { 0 }; local 54 int array[1] = { 0 }; local 61 int array[1] = { 0 }; local [all...] |
/external/eigen/doc/snippets/ |
H A D | Map_inner_stride.cpp | 1 int array[12]; variable 2 for(int i = 0; i < 12; ++i) array[i] = i; 4 (array, 6) // the inner stride has already been passed as template parameter
|
H A D | Map_outer_stride.cpp | 1 int array[12]; variable 2 for(int i = 0; i < 12; ++i) array[i] = i; 3 cout << Map<MatrixXi, 0, OuterStride<> >(array, 3, 3, OuterStride<>(4)) << endl;
|
H A D | Map_simple.cpp | 1 int array[9]; variable 2 for(int i = 0; i < 9; ++i) array[i] = i; 3 cout << Map<Matrix3i>(array) << endl;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
H A D | 11.4.6.js | 53 var array = new Array(); 55 array[item++] = new TestCase( SECTION, "+('')", 0, +("") ); 56 array[item++] = new TestCase( SECTION, "+(' ')", 0, +(" ") ); 57 array[item++] = new TestCase( SECTION, "+(\\t)", 0, +("\t") ); 58 array[item++] = new TestCase( SECTION, "+(\\n)", 0, +("\n") ); 59 array[item++] = new TestCase( SECTION, "+(\\r)", 0, +("\r") ); 60 array[item++] = new TestCase( SECTION, "+(\\f)", 0, +("\f") ); 62 array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0009)", 0, +(String.fromCharCode(0x0009)) ); 63 array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0020)", 0, +(String.fromCharCode(0x0020)) ); 64 array[ite [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
H A D | 15.6.4.3.js | 37 var array = new Array(); 40 array[item++] = new TestCase( "15.8.6.4", "new Boolean(1)", true, (new Boolean(1)).valueOf() ); 42 array[item++] = new TestCase( "15.8.6.4", "new Boolean(0)", false, (new Boolean(0)).valueOf() ); 43 array[item++] = new TestCase( "15.8.6.4", "new Boolean(-1)", true, (new Boolean(-1)).valueOf() ); 44 array[item++] = new TestCase( "15.8.6.4", "new Boolean('1')", true, (new Boolean("1")).valueOf() ); 45 array[item++] = new TestCase( "15.8.6.4", "new Boolean('0')", true, (new Boolean("0")).valueOf() ); 46 array[item++] = new TestCase( "15.8.6.4", "new Boolean(true)", true, (new Boolean(true)).valueOf() ); 47 array[item++] = new TestCase( "15.8.6.4", "new Boolean(false)", false, (new Boolean(false)).valueOf() ); 48 array[item++] = new TestCase( "15.8.6.4", "new Boolean('true')", true, (new Boolean("true")).valueOf() ); 49 array[ite [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/ |
H A D | 7.7.3.js | 48 var array = new Array(); 51 array[item++] = new TestCase( SECTION, "0", 0, 0 ); 52 array[item++] = new TestCase( SECTION, "1", 1, 1 ); 53 array[item++] = new TestCase( SECTION, "2", 2, 2 ); 54 array[item++] = new TestCase( SECTION, "3", 3, 3 ); 55 array[item++] = new TestCase( SECTION, "4", 4, 4 ); 56 array[item++] = new TestCase( SECTION, "5", 5, 5 ); 57 array[item++] = new TestCase( SECTION, "6", 6, 6 ); 58 array[item++] = new TestCase( SECTION, "7", 7, 7 ); 59 array[ite [all...] |
/external/clang/test/SemaCXX/ |
H A D | static-array-member.cpp | 4 static int array[]; member in struct:X0 10 int X0::array[sizeof(X0) * 2]; member in class:X0 14 static T array[]; member in struct:X1 18 T X1<T, N>::array[N]; member in class:X1
|
H A D | warn-char-subscripts.cpp | 5 int array[1] = { 0 }; local 7 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} 12 int array[1] = { 0 }; local 14 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}}
|