/external/clang/test/SemaCXX/ |
constant-expression-cxx1y.cpp | 9 int arr[10]; member in struct:S 11 constexpr int &get(int n) { return arr[n]; } 12 constexpr const int &get(int n) const { return arr[n]; } 105 uchar arr[4] = { uchar(x >> 24), uchar(x >> 16), uchar(x >> 8), uchar(x) }; local 106 return *reinterpret_cast<int*>(arr); // expected-note {{reinterpret_cast is not allowed in a constant expression}} 114 uchar arr[4] = { uchar(x >> 24), uchar(x >> 16), uchar(x >> 8), uchar(x) }; local 115 return *reinterpret_cast<int*>(arr); // expected-note {{reinterpret_cast is not allowed in a constant expression}} 190 int arr[1234] = { 1, 2, 3, 4 }; local 191 arr[k1] = 5; // expected-note {{past-the-end}} expected-note {{cannot refer to element 1235}} expected-note {{cannot refer to element -1}} 192 return arr[k2] 291 int arr[10]; member in namespace:incdec 295 static_assert(ref(&arr[0])++ == &arr[0], ""); member in namespace:incdec 296 static_assert(ref(&arr[10])++ == &arr[10], ""); \/\/ expected-error {{constant}} expected-note {{cannot refer to element 11}} member in namespace:incdec 297 static_assert(postinc(&arr[0]) == &arr[1], ""); member in namespace:incdec 303 static_assert(postdec(&arr[1]) == &arr[0], ""); member in namespace:incdec 378 int arr[123] = {}; local 499 int arr[] = { 1, 2, 3, 4, 5 }; local 529 T arr[N]; local [all...] |
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));
|
/external/clang/test/OpenMP/ |
target_codegen_registration.cpp | 171 int arr[4]; member in struct:SA 190 int arr[8]; member in struct:SB 210 int arr[16]; member in struct:SC 230 int arr[32]; member in struct:SD 250 int arr[64]; member in struct:SE 273 int arr[128 + x]; member in struct:ST
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
BundleTest.java | 295 boolean [] arr = new boolean[] { false, true }; 296 bundle.putBooleanArray("foo", arr); 298 assertArrayEquals(arr, bundle.getBooleanArray("foo")); 304 byte [] arr = new byte[] { 12, 24 }; 305 bundle.putByteArray("foo", arr); 307 Assert.assertArrayEquals(arr, bundle.getByteArray("foo")); 313 char [] arr = new char[] { 'c', 'j' }; local 314 bundle.putCharArray("foo", arr); 316 Assert.assertArrayEquals(arr, bundle.getCharArray("foo")); 322 double [] arr = new double[] { 1.2, 3.4 } local 331 int [] arr = new int[] { 87, 65 }; local 340 long [] arr = new long[] { 23, 11 }; local 349 short [] arr = new short[] { 89, 37 }; local 360 Parcelable[] arr = new Parcelable[] { innerBundle }; local [all...] |
/external/fio/tools/hist/ |
fiologparser_hist.py | 97 arr = np.append(times, hists, axis=1) 99 return arr 128 arr = arrs[fp] 129 yield np.insert(arr[0], 1, fps.index(fp)) 130 arrs[fp] = arr[1:] 240 arr = np.transpose(list(map(fncn, bins))) 241 idx = np.where(arr == hist_cols) 243 table = repr(arr.astype(int)).replace('-10', 'N/A').replace('array',' ') 302 arr = np.empty(shape=(0,__TOTAL_COLUMNS - 1)) 304 while more_data or len(arr) > 0 [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
ExifTag.java | 482 Short[] arr = (Short[]) obj; local 483 int[] fin = new int[arr.length]; 484 for (int i = 0; i < arr.length; i++) { 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 490 Integer[] arr = (Integer[]) obj; local 491 int[] fin = new int[arr.length]; 492 for (int i = 0; i < arr.length; i++) { 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue() 498 Long[] arr = (Long[]) obj; local 506 Byte[] arr = (Byte[]) obj; local 656 int[] arr = new int[val.length]; local [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
ExifTag.java | 482 Short[] arr = (Short[]) obj; local 483 int[] fin = new int[arr.length]; 484 for (int i = 0; i < arr.length; i++) { 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 490 Integer[] arr = (Integer[]) obj; local 491 int[] fin = new int[arr.length]; 492 for (int i = 0; i < arr.length; i++) { 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue() 498 Long[] arr = (Long[]) obj; local 506 Byte[] arr = (Byte[]) obj; local 656 int[] arr = new int[val.length]; local [all...] |
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
ExifTag.java | 482 Short[] arr = (Short[]) obj; local 483 int[] fin = new int[arr.length]; 484 for (int i = 0; i < arr.length; i++) { 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 490 Integer[] arr = (Integer[]) obj; local 491 int[] fin = new int[arr.length]; 492 for (int i = 0; i < arr.length; i++) { 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue() 498 Long[] arr = (Long[]) obj; local 506 Byte[] arr = (Byte[]) obj; local 656 int[] arr = new int[val.length]; local [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
ExifTag.java | 482 Short[] arr = (Short[]) obj; local 483 int[] fin = new int[arr.length]; 484 for (int i = 0; i < arr.length; i++) { 485 fin[i] = (arr[i] == null) ? 0 : arr[i].shortValue() & 0x0ffff; 490 Integer[] arr = (Integer[]) obj; local 491 int[] fin = new int[arr.length]; 492 for (int i = 0; i < arr.length; i++) { 493 fin[i] = (arr[i] == null) ? 0 : arr[i].intValue() 498 Long[] arr = (Long[]) obj; local 506 Byte[] arr = (Byte[]) obj; local 656 int[] arr = new int[val.length]; local [all...] |
/external/clang/test/CodeGen/ |
arm64-aapcs-arguments.c | 21 typedef struct { float arr[4]; } HFA; member in struct:__anon15843 33 typedef struct { int8x16_t arr[3]; } BigHFA; member in struct:__anon15844
|
captured-statements-nested.c | 13 int arr[param][size]; local 31 arr[10][z.a] = 12;
|
ms-inline-asm.cpp | 9 int arr[4]; member in struct:Foo 12 char arr[2]; member in struct:Foo::Bar 41 __asm mov eax, LENGTH Foo::arr 42 __asm mov eax, LENGTH Foo::Bar::arr 46 __asm mov eax, TYPE Foo::arr 47 __asm mov eax, TYPE Foo::Bar::arr 51 __asm mov eax, SIZE Foo::arr 52 __asm mov eax, SIZE Foo::Bar::arr
|
/external/clang/test/CodeGenCXX/ |
delete.cpp | 68 void test(A (*arr)[10][20]) { 69 delete [] arr;
|
c99-variable-length-array.cpp | 33 T arr[3][n]; local
|
/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]}}
|
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)}}
|
/external/google-benchmark/test/ |
donotoptimize_test.cc | 20 static unsigned char arr[2] = {}; local 21 BitRef b(1, arr[0]);
|
/external/libcxx/utils/google-benchmark/test/ |
donotoptimize_test.cc | 20 static unsigned char arr[2] = {}; local 21 BitRef b(1, arr[0]);
|
/external/tensorflow/tensorflow/python/summary/ |
text_summary_test.py | 43 arr = array_ops.constant(["one", "two", "three"]) 44 summ = text_summary.text_summary("foo", arr)
|
/hardware/libhardware/modules/input/evdev/ |
BitUtils.cpp | 38 bool testBitInRange(const uint8_t arr[], size_t start, size_t end) { 53 uint8_t bits = arr[i];
|
/art/compiler/optimizing/ |
scheduler_test.cc | 208 HInstruction* arr = new (GetAllocator()) HParameterValue(graph_->GetDexFile(), local 231 new (GetAllocator()) HArraySet(arr, c0, c0, DataType::Type::kInt32, 0); 233 new (GetAllocator()) HArraySet(arr, c1, c0, DataType::Type::kInt32, 0); 234 HInstruction* arr_set_i = new (GetAllocator()) HArraySet(arr, i, c0, DataType::Type::kInt32, 0); 236 new (GetAllocator()) HArraySet(arr, add0, c0, DataType::Type::kInt32, 0); 238 new (GetAllocator()) HArraySet(arr, add1, c0, DataType::Type::kInt32, 0); 240 new (GetAllocator()) HArraySet(arr, sub0, c0, DataType::Type::kInt32, 0); 242 new (GetAllocator()) HArraySet(arr, sub1, c0, DataType::Type::kInt32, 0); 243 HInstruction* arr_set_j = new (GetAllocator()) HArraySet(arr, j, c0, DataType::Type::kInt32, 0); 255 HInstruction* block_instructions[] = {arr, [all...] |
/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/tensorflow/tensorflow/core/kernels/ |
bincount_op_test.cc | 30 Tensor arr(DT_INT32, TensorShape({arr_size})); 31 arr.flat<int32>() = arr.flat<int32>().setRandom().abs(); 40 .Input(test::graph::Constant(g, arr))
|
/external/valgrind/none/tests/x86-linux/ |
seg_override.c | 125 int arr[9]; local 127 for (i = 0; i < 9; i++) arr[i] = 11*i; 129 set_ldt1( &arr[4] ); 134 for (i = 0; i < 9; i++) printf("%d ", arr[i]);
|