Searched refs:arr (Results 76 - 100 of 266) sorted by relevance

1234567891011

/external/clang/test/Sema/
H A Dms_wide_predefined_expr.cpp9 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
H A Dmerge-decls.c84 int arr[10]; local
85 test6_f(&arr); // expected-warning {{incompatible pointer types passing 'int (*)[10]' to parameter of type 'int (*)[11]}}
H A Dexpr-address-of.c87 register int arr[2]; local
93 int *_dummy0 = &(int*) arr; // expected-error {{cannot take the address of an rvalue}}
94 int *_dummy1 = &(arr + 1); // expected-error {{cannot take the address of an rvalue}}
/external/clang/test/SemaTemplate/
H A Ddependent-sized_array.cpp26 S<0> arr[N] = {{ 4 }}; local
H A Dinstantiate-self.cpp67 typedef int arr[f(T())];
71 typedef int arr[g(T())];
83 typedef int arr[g(T())];
/external/llvm/utils/obj2yaml/
H A Dobj2yaml.h25 (llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr);
H A Dobj2yaml.cpp28 const llvm::ArrayRef<uint8_t> arr) {
33 const iter_t end = arr.end();
34 for (iter_t iter = arr.begin(); iter != end; ++iter)
38 for (iter_t iter = arr.begin(); iter != end; ++iter)
27 writeHexStream(llvm::raw_ostream &Out, const llvm::ArrayRef<uint8_t> arr) argument
/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...]
/external/clang/test/SemaCXX/
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...]
H A Dcondition.cpp8 typedef int arr[10]; typedef
9 while (arr x=0) ; // expected-error {{an array type is not allowed here}} expected-error {{array initializer must be an initializer list}}
H A Dwarn-memset-bad-sizeof.cpp31 char arr[5]; local
73 memset(arr, 0, sizeof(arr));
86 memcpy(0, &arr, sizeof(arr));
88 memcpy(0, &arr, sizeof(Buff));
105 memcpy(&foo, &arr, sizeof(Foo));
106 memcpy(&arr, &foo, sizeof(Foo));
/external/v8/test/mjsunit/
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/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DBundleTest.java279 boolean [] arr = new boolean[] { false, true };
280 bundle.putBooleanArray("foo", arr);
282 assertArrayEquals(arr, bundle.getBooleanArray("foo"));
288 byte [] arr = new byte[] { 12, 24 };
289 bundle.putByteArray("foo", arr);
291 Assert.assertArrayEquals(arr, bundle.getByteArray("foo"));
297 char [] arr = new char[] { 'c', 'j' };
298 bundle.putCharArray("foo", arr);
300 Assert.assertArrayEquals(arr, bundle.getCharArray("foo"));
306 double [] arr
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
H A Dshell.js154 * If available, arr.toSource() gives more detail than arr.toString()
156 * var arr = Array(1,2,'3');
158 * arr.toSource()
161 * arr.toString()
167 function formatArray(arr)
171 return arr.toSource();
175 return toSource(arr);
181 * Imitate SpiderMonkey's arr.toSource() method:
189 function toSource(arr)
[all...]
/external/clang/test/CodeGenCXX/
H A Dconst-init.cpp76 int arr[2]; variable
77 // CHECK: @pastEnd = constant i32* bitcast (i8* getelementptr (i8* bitcast ([2 x i32]* @arr to i8*), i64 8) to i32*)
78 int &pastEnd = arr[2];
H A Ddelete.cpp68 void test(A (*arr)[10][20]) { argument
69 delete [] arr;
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Array/
H A Dregress-101964.js48 var arr = Array(BIG); variable
50 arr.length = LITTLE;
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
H A DAnimation.java201 Savable[] arr = in.readSavableArray("tracks", null);
202 tracks = new Track[arr.length];
203 System.arraycopy(arr, 0, tracks, 0, arr.length);
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/grid/
H A DFractalTileLoader.java57 float[] arr = buffer.array();
58 for (int i = 0; i < arr.length; i++) {
59 arr[i] = arr[i] * this.heightScale;
/external/valgrind/main/none/tests/x86-linux/
H A Dseg_override.c124 int arr[9]; local
126 for (i = 0; i < 9; i++) arr[i] = 11*i;
128 set_ldt1( &arr[4] );
133 for (i = 0; i < 9; i++) printf("%d ", arr[i]);
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Function/
H A Dregress-58274.js162 var arr = s.match(re);
164 if (!(arr && arr[1]))
166 return arr[1];
/external/harfbuzz/src/
H A Dharfbuzz-dump-main.c33 #define N_ELEMENTS(arr) (sizeof(arr)/ sizeof((arr)[0]))
/external/v8/test/mjsunit/regress/
H A Dregress-1713.js37 var arr = [];
38 do {arr.push(new Array(1024));} while (--N > 0);
39 return arr;
/external/clang/test/Analysis/
H A Duninit-sometimes.cpp131 int arr[3] = { 1, 2, 3 }; local
133 for (int &a : arr) { // no-warning, condition was not explicitly specified
135 x = &a - arr;
147 int arr[3] = { 1, 2, 3 }; local
149 for (int &a : arr) { // no-warning

Completed in 492 milliseconds

1234567891011