/external/clang/test/Sema/ |
merge-decls.c | 84 int arr[10]; local 85 test6_f(&arr); // expected-warning {{incompatible pointer types passing 'int (*)[10]' to parameter of type 'int (*)[11]}}
|
ast-print.c | 22 int arr(int a[static 3]) { function
|
complex-int.c | 4 __complex__ int arr; local 14 result = arr*ii; 17 result = arr*brr; 20 switch (arr) { // expected-error{{statement requires expression of integer type ('_Complex int' invalid)}}
|
expr-address-of.c | 87 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/SemaCXX/ |
condition.cpp | 8 typedef int arr[10]; typedef 9 while (arr x={0}) ; // expected-error {{an array type is not allowed here}}
|
warn-memset-bad-sizeof.cpp | 31 char arr[5]; local 73 memset(arr, 0, sizeof(arr)); 86 memcpy(0, &arr, sizeof(arr)); 88 memcpy(0, &arr, sizeof(Buff)); 107 memcpy(&foo, &arr, sizeof(Foo)); 108 memcpy(&arr, &foo, sizeof(Foo));
|
for-range-examples.cpp | 197 void foo(int arr[]) { // expected-note {{declared here}} 198 for (auto i : arr) { } 199 // expected-error@-1 {{cannot build range expression with array function parameter 'arr' since parameter with array type 'int []' is treated as pointer type 'int *'}} 207 void foo(vector arr[]) { // expected-note {{declared here}} 208 // Don't suggest to dereference arr. 209 for (auto i : arr) { } 210 // expected-error@-1 {{cannot build range expression with array function parameter 'arr' since parameter with array type 'test6::vector []' is treated as pointer type 'test6::vector *'}} 216 int arr[5], b; local 217 for (a : arr) {} // expected-error {{requires type for loop variable}} 219 for (b : arr) {} // expected-error {{requires type for loop variable} [all...] |
/external/kernel-headers/original/uapi/xen/ |
privcmd.h | 61 xen_pfn_t __user *arr; /* array of mfns - or'd with member in struct:privcmd_mmapbatch 72 const xen_pfn_t __user *arr; /* array of mfns */ member in struct:privcmd_mmapbatch_v2
|
/external/v8/test/webkit/fast/js/kde/ |
Array.js | 159 var arr = new Array(); 165 arr.length = 40; 166 arr[maxint] = "test"; 167 shouldBe("arr.length","40"); 168 shouldBe("arr[maxint]","\"test\""); 169 delete arr[maxint]; 170 shouldBe("arr.length","40"); 171 shouldBe("arr[maxint]","undefined"); 172 arr[maxint-1] = "test2"; 173 shouldBe("arr.length","maxint") [all...] |
/external/v8/test/mjsunit/ |
delete-non-configurable.js | 44 var arr = new Array(length); 47 arr[i] = i; 48 Object.defineProperty(arr, i, { configurable: false }); 52 assertFalse(delete arr[i]); 53 assertThrows("'use strict'; delete arr[i];", TypeError); 54 assertFalse(delete arr[i.toString()]); 55 assertThrows("'use strict'; delete arr[i.toString()];", TypeError); 56 assertEquals(i, arr[i]); 59 assertEquals(length, arr.length); 60 assertTrue(delete arr[length]) [all...] |
elide-double-hole-check-5.js | 33 var arr = [0.0,,2.5]; variable 34 assertEquals(0.5, f1(arr, 0)); 35 assertEquals(0.5, f1(arr, 0)); 38 assertEquals(2, f1(arr, 1)); 39 assertEquals(2, f1(arr, 1)); 40 assertEquals(0.5, f1(arr, 0));
|
elide-double-hole-check-7.js | 33 var arr = [0.0,,2.5]; variable 34 assertEquals(0.5, f1(arr, 0)); 35 assertEquals(0.5, f1(arr, 0)); 37 assertEquals(2, f1(arr, 1)); 39 assertEquals(2, f1(arr, 1)); 40 assertEquals(0.5, f1(arr, 0));
|
/development/tools/idegen/src/com/android/idegen/ |
ModuleIndexes.java | 60 String[] arr = line.split(":"); 61 if (arr.length < 2) { 65 String makeFile = arr[0]; 66 String moduleName = arr[1];
|
/external/clang/test/CodeGenCXX/ |
c99-variable-length-array.cpp | 33 T arr[3][n]; local
|
/external/jmonkeyengine/engine/src/core/com/jme3/animation/ |
Animation.java | 201 Savable[] arr = in.readSavableArray("tracks", null); local 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/ |
FractalTileLoader.java | 57 float[] arr = buffer.array(); local 58 for (int i = 0; i < arr.length; i++) { 59 arr[i] = arr[i] * this.heightScale;
|
/external/valgrind/none/tests/x86-linux/ |
seg_override.c | 124 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]);
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
MarshalQueryableString.java | 47 byte[] arr = value.getBytes(UTF8_CHARSET); 49 buffer.put(arr); 55 byte[] arr = value.getBytes(UTF8_CHARSET); 57 return arr.length + 1; // metadata strings are NUL-terminated
|
/frameworks/base/keystore/java/android/security/keystore/ |
ArrayUtils.java | 58 public static byte[] subarray(byte[] arr, int offset, int len) { 62 if ((offset == 0) && (len == arr.length)) { 63 return arr; 66 System.arraycopy(arr, offset, result, 0, len);
|
/frameworks/base/services/core/jni/ |
com_android_server_ConsumerIrService.cpp | 89 jint *arr = freqsOut.get(); local 90 if (arr == NULL) { 95 arr[i*2] = ranges[i].min; 96 arr[i*2+1] = ranges[i].max;
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
MessageHeaderViewTest.java | 60 String[] arr = new String[len]; local 61 for (int i=0; i < arr.length; i++) { 62 arr[i] = String.format("\"%s%02d\" <foo@bar.com>", prefix, i); 64 return arr;
|
/art/runtime/mirror/ |
iftable.h | 48 void SetMethodArray(int32_t i, PointerArray* arr) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { 49 DCHECK(arr != nullptr); 52 Set<false>(idx, arr);
|
/cts/common/device-side/device-info/tests/src/com/android/compatibility/common/deviceinfo/ |
SampleDeviceInfo.java | 62 int[] arr = new int[1001]; local 65 arr[i] = i; 68 addArray("long_int_array", arr);
|
/external/fio/lib/ |
num2str.c | 7 #define ARRAY_LENGTH(arr) sizeof(arr) / sizeof((arr)[0])
|
/external/v8/test/webkit/ |
array-tostring-and-join.js | 30 var arr = [1, 2]; variable 32 obj.__proto__.toString = function() { return "*" + arr + "*"; } 33 arr[2] = arr; 34 arr[3] = obj; 36 shouldBe("arr.join()", "'1,2,,**'");
|