Searched refs:arr (Results 51 - 75 of 247) sorted by relevance

12345678910

/external/clang/test/CodeGenCXX/
H A D2009-08-11-VectorRetTy.cpp11 Func arr[] = { variable
H A Dc99-variable-length-array.cpp33 T arr[3][n]; local
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/
H A Dp3-0x.cpp16 int arr[3] = {1,2,3}; local
18 for (struct S { S(int) {} } s : arr) { // expected-error {{types may not be defined in a for range declaration}}
/external/clang/test/SemaCXX/
H A Dwarn-empty-body.cpp30 int arr[3] = { 1, 2, 3 }; local
31 for (int j : arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on a separate line to silence this warning}}
35 arr); // expected-warning{{range-based for loop has empty body}} expected-note{{put the semicolon on a separate line to silence this warning}}
95 int arr[3] = { 1, 2, 3 }; local
96 for (int j : arr) // no-warning
128 int arr[3] = { 1, 2, 3 }; local
129 for (int j : arr) EMPTY(j); // no-warning
132 arr) EMPTY(j); // no-warning
209 int arr[3] = { 1, 2, 3 }; local
210 for (int j : arr) // n
243 int arr[3] = { 1, 2, 3 }; local
260 int arr[3] = { 1, 2, 3 }; local
[all...]
H A Dconstexpr-printing.cpp23 constexpr T() : arr() {}
24 int arr[4]; member in struct:T
32 constexpr U u1(&u1.arr[2]);
39 static_assert(test_printing(12, 39.762, 3 + 4i, 12.9 + 3.6i, &u2.arr[4], u2.another.arr[2], (vector_int){5, 1, 2, 3}, u1) == 0, ""); // \
41 expected-note {{in call to 'test_printing(12, 3.976200e+01, 3+4i, 1.290000e+01+3.600000e+00i, &u2.T::arr[4], u2.another.arr[2], {5, 1, 2, 3}, {{{}}, {{}}, &u1.T::arr[2]})'}}
46 constexpr V() : arr{[255] = 42} {}
47 constexpr V(const V &v) : arr{[25
[all...]
/external/v8/test/mjsunit/
H A Dobject-seal.js132 var arr = new Array(42,43);
134 desc = Object.getOwnPropertyDescriptor(arr, '0');
139 desc = Object.getOwnPropertyDescriptor(arr, '1');
144 assertTrue(Object.isExtensible(arr));
145 assertFalse(Object.isSealed(arr));
146 Object.seal(arr);
147 assertTrue(Object.isSealed(arr));
148 assertFalse(Object.isExtensible(arr));
151 assertFalse(Object.isFrozen(arr));
153 desc = Object.getOwnPropertyDescriptor(arr, '
[all...]
H A Dobject-freeze.js126 var arr = new Array(42,43);
128 desc = Object.getOwnPropertyDescriptor(arr, '0');
133 desc = Object.getOwnPropertyDescriptor(arr, '1');
138 assertTrue(Object.isExtensible(arr));
139 assertFalse(Object.isFrozen(arr));
140 Object.freeze(arr);
141 assertTrue(Object.isFrozen(arr));
142 assertFalse(Object.isExtensible(arr));
144 desc = Object.getOwnPropertyDescriptor(arr, '0');
149 desc = Object.getOwnPropertyDescriptor(arr, '
[all...]
H A Dstring-index.js190 var str = 'abcd', arr = ['a', 'b', 'c', 'd', undefined, undefined];
194 var expected = arr[index];
201 var str = 'ab', arr = ['a', 'b'];
205 var expected = arr[index];
212 var str = 'ab', arr = ['a', 'a'];
216 var expected = arr[index];
223 var str = 'ab', arr = ['a', undefined];
227 var expected = arr[index];
234 var str = 'ab', arr = ['a', undefined];
238 var expected = arr[inde
[all...]
/external/stlport/test/unit/
H A Dbound_test.cpp41 int arr[20]; local
44 arr[i] = i/4;
46 int location = upper_bound((int*)arr, (int*)arr + 20, 3) - arr;
/external/llvm/test/CodeGen/CellSPU/useful-harnesses/
H A Di64operations.h3 #define ARR_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Object/
H A Dregress-90596-001.js176 var arr = sList.split(cnCOMMA);
177 arr = arr.sort();
178 var ret = String(arr);
230 var arr = text.match(/^\((.*)\)$/);
233 if (arr != null && arr[1] != null)
234 return arr[1];
245 var arr = text.match(/^\{(.*)\}$/);
248 if (arr !
[all...]
H A Dregress-90596-002.js176 var arr = sList.split(cnCOMMA);
177 arr = arr.sort();
178 var ret = String(arr);
230 var arr = text.match(/^\((.*)\)$/);
233 if (arr != null && arr[1] != null)
234 return arr[1];
245 var arr = text.match(/^\{(.*)\}$/);
248 if (arr !
[all...]
H A Dregress-90596-003.js164 var arr = new Array();
168 arr.push(prop + cnCOLON + obj[prop]);
171 var ret = addBraces(String(arr));
201 var arr = sList.split(cnCOMMA);
202 arr = arr.sort();
203 var ret = String(arr);
269 var arr = text.match(/^\{(.*)\}$/);
272 if (arr != null && arr[
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/
H A Dregress-191633.js72 var arr = new Array(repeat_count);
75 arr[--repeat_count] = str;
77 return str.concat.apply(str, arr);
H A Dregress-192414.js89 var arr = new Array(--repeat_count);
91 arr[--repeat_count] = str;
92 return str.concat.apply(str, arr);
/external/opencv/cxcore/src/
H A Dcxarray.cpp98 CvMat* arr = 0; local
104 CV_CALL( arr = cvCreateMatHeader( height, width, type ));
105 CV_CALL( cvCreateData( arr ));
110 cvReleaseMat( &arr );
112 return arr;
116 static void icvCheckHuge( CvMat* arr )
118 if( (int64)arr->step*arr->rows > INT_MAX )
119 arr->type &= ~CV_MAT_CONT_FLAG;
126 CvMat* arr local
166 cvInitMatHeader( CvMat* arr, int rows, int cols, int type, void* data, int step ) argument
231 CvMat* arr = *array; local
337 CvMatND* arr = 0; local
359 CvMatND* arr = 0; local
417 cvGetMatND( const CvArr* arr, CvMatND* matnd, int* coi ) argument
504 const CvArr* arr = i < count ? arrs[i] : mask; local
641 CvSparseMat* arr = 0; local
711 CvSparseMat* arr = *array; local
1045 cvSetData( CvArr* arr, void* data, int step ) argument
1180 cvGetRawData( const CvArr* arr, uchar** data, int* step, CvSize* roi_size ) argument
1289 cvGetDims( const CvArr* arr, int* sizes ) argument
1351 cvGetDimSize( const CvArr* arr, int index ) argument
1464 cvGetSubRect( const CvArr* arr, CvMat* submat, CvRect rect ) argument
1515 cvGetRows( const CvArr* arr, CvMat* submat, int start_row, int end_row, int delta_row ) argument
1574 cvGetCols( const CvArr* arr, CvMat* submat, int start_col, int end_col ) argument
1623 cvGetDiag( const CvArr* arr, CvMat* submat, int diag ) argument
1896 cvPtr1D( const CvArr* arr, int idx, int* _type ) argument
2009 cvPtr2D( const CvArr* arr, int y, int x, int* _type ) argument
2111 cvPtr3D( const CvArr* arr, int z, int y, int x, int* _type ) argument
2153 cvPtrND( const CvArr* arr, const int* idx, int* _type, int create_node, unsigned* precalc_hashval ) argument
2196 cvGet1D( const CvArr* arr, int idx ) argument
2237 cvGet2D( const CvArr* arr, int y, int x ) argument
2277 cvGet3D( const CvArr* arr, int z, int y, int x ) argument
2306 cvGetND( const CvArr* arr, const int* idx ) argument
2332 cvGetReal1D( const CvArr* arr, int idx ) argument
2379 cvGetReal2D( const CvArr* arr, int y, int x ) argument
2425 cvGetReal3D( const CvArr* arr, int z, int y, int x ) argument
2460 cvGetRealND( const CvArr* arr, const int* idx ) argument
2492 cvSet1D( CvArr* arr, int idx, CvScalar scalar ) argument
2529 cvSet2D( CvArr* arr, int y, int x, CvScalar scalar ) argument
2564 cvSet3D( CvArr* arr, int z, int y, int x, CvScalar scalar ) argument
2588 cvSetND( CvArr* arr, const int* idx, CvScalar scalar ) argument
2608 cvSetReal1D( CvArr* arr, int idx, double value ) argument
2648 cvSetReal2D( CvArr* arr, int y, int x, double value ) argument
2688 cvSetReal3D( CvArr* arr, int z, int y, int x, double value ) argument
2715 cvSetRealND( CvArr* arr, const int* idx, double value ) argument
2740 cvClearND( CvArr* arr, const int* idx ) argument
2895 cvReshapeMatND( const CvArr* arr, int sizeof_header, CvArr* _header, int new_cn, int new_dims, int* new_sizes ) argument
[all...]
H A Dcxrand.cpp70 icvRandBits_##flavor##_C1R( arrtype* arr, int step, CvSize size, \
75 step /= sizeof(arr[0]); \
77 for( ; size.height--; arr += step ) \
92 arr[i] = cast_macro((int)t0); \
93 arr[i+1] = cast_macro((int)t1); \
99 arr[i+2] = cast_macro((int)t0); \
100 arr[i+3] = cast_macro((int)t1); \
119 arr[i] = cast_macro((int)t0); \
120 arr[i+1] = cast_macro((int)t1); \
124 arr[
211 icvRand_64f_C1R( double* arr, int step, CvSize size, uint64* state, const double* param ) argument
279 icvRandn_0_1_32f_C1R( float* arr, int len, uint64* state ) argument
442 cvRandArr( CvRNG* rng, CvArr* arr, int disttype, CvScalar param1, CvScalar param2 ) argument
[all...]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Darray_data_model.js75 var arr = this.array_;
80 e.removed = arr.slice(index, index + deleteCount);
83 var rv = arr.splice.apply(arr, arguments);
/external/valgrind/main/exp-sgcheck/tests/
H A Dhsg.c11 int addup_wrongly ( short* arr )
15 sum += (int)arr[i];
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/
H A Dp4-0x.cpp7 int arr[sizeof(this)]; // expected-error {{invalid use of 'this' outside of a non-static member function}} member in struct:S
/external/clang/test/Sema/
H A Dcomplex-int.c4 __complex__ int arr; local
12 result = arr*ii;
15 result = arr*brr;
18 switch (arr) { // expected-error{{statement requires expression of integer type ('_Complex int' invalid)}}
H A Dms_wide_predefined_expr.cpp8 static int arr[sizeof(STR2WSTR(__FUNCTION__))==12*sizeof(wchar_t) ? 1 : -1]; local
H A Dpredef.c5 static int arr[sizeof(__func__)==12 ? 1 : -1]; local
/external/llvm/utils/obj2yaml/
H A Dobj2yaml.h26 (llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr);
/external/valgrind/main/coregrind/
H A Dm_xarray.c46 void* arr; /* pointer to elements */ member in struct:_XArray
47 Word usedsizeE; /* # used elements in arr */
48 Word totsizeE; /* max size of arr, in elements */
78 xa->arr = NULL;
99 if (nyu->arr) {
107 nyu->arr = nyu->alloc( nyu->cc, nyu->totsizeE * nyu->elemSzB );
108 if (!nyu->arr) {
112 VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB );
123 if (xa->arr)
[all...]

Completed in 377 milliseconds

12345678910