/external/fio/ |
io_ddir.h | 67 #define ddir_rw_sum(arr) \ 68 ((arr)[DDIR_READ] + (arr)[DDIR_WRITE] + (arr)[DDIR_TRIM])
|
/external/v8/test/mjsunit/ |
elide-double-hole-check-2.js | 33 var arr = [0.0,,]; variable 34 assertEquals(0.5, f(arr, 0)); 35 assertEquals(0.5, f(arr, 0)); 37 assertEquals(0.5, f(arr, 0)); 38 assertEquals(NaN, f(arr, 1)); 39 arr.__proto__ = [1.5,1.5,1.5]; 40 assertEquals(2, f(arr, 1)); 41 assertEquals(0.5, f(arr, 0));
|
/external/v8/test/mjsunit/regress/ |
regress-3255.js | 7 var arr = []; variable 14 f(arr, 0);
|
regress-369450.js | 14 var arr = [].concat(v, [{}], [2.3]); variable 15 assertEquals([{}, 2.3], arr);
|
/packages/apps/Nfc/tests/src/com/android/nfc/ |
MockLlcpSocket.java | 65 byte[] arr = mReceivedPackets.remove(0); 66 System.arraycopy(arr, 0, receiveBuffer, 0, arr.length); 67 return arr.length;
|
/external/clang/test/OpenMP/ |
for_simd_ast_print.cpp | 11 template<class T, class N> T reduct(T* arr, N num) { 17 #pragma omp for simd private(myind, g_ind), linear(ind), aligned(arr) 18 // CHECK-NEXT: #pragma omp for simd private(myind,g_ind) linear(ind) aligned(arr) 21 T cur = arr[myind]; 123 float arr[16]; local 124 S2<4>::func(0,arr,arr,arr);
|
parallel_for_simd_ast_print.cpp | 11 template<class T, class N> T reduct(T* arr, N num) { 17 #pragma omp parallel for simd private(myind, g_ind), linear(ind), aligned(arr) 18 // CHECK-NEXT: #pragma omp parallel for simd private(myind,g_ind) linear(ind) aligned(arr) 21 T cur = arr[myind]; 123 float arr[16]; local 124 S2<4>::func(0,arr,arr,arr);
|
simd_ast_print.cpp | 11 template<class T, class N> T reduct(T* arr, N num) { 17 #pragma omp simd private(myind, g_ind), linear(ind), aligned(arr) 18 // CHECK-NEXT: #pragma omp simd private(myind,g_ind) linear(ind) aligned(arr) 21 T cur = arr[myind]; 121 float arr[16]; local 122 S2<4>::func(0,arr,arr,arr);
|
/libcore/luni/src/test/java/libcore/java/text/ |
CollatorTest.java | 65 byte [] arr = mColl.getCollationKey(sixteen).toByteArray(); 66 int len = arr.length; 67 assertTrue("Collation key not 0 terminated", arr[arr.length - 1] == 0); 69 String foo = new String(arr, 0, len, "iso8859-1"); 71 arr = mColl.getCollationKey(sixteen).toByteArray(); 72 len = arr.length; 73 assertTrue("Collation key not 0 terminated", arr[arr.length - 1] == 0); 75 String bar = new String(arr, 0, len, "iso8859-1") [all...] |
/external/clang/test/SemaCXX/ |
constexpr-printing.cpp | 23 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{[255] = 42} { [all...] |
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}} 192 int arr[1234] = { 1, 2, 3, 4 }; local 193 arr[k1] = 5; // expected-note {{past-the-end}} expected-note {{cannot refer to element 1235}} expected-note {{cannot refer to element -1}} 194 return arr[k2] 293 int arr[10]; member in namespace:incdec 297 static_assert(ref(&arr[0])++ == &arr[0], ""); member in namespace:incdec 298 static_assert(ref(&arr[10])++ == &arr[10], ""); \/\/ expected-error {{constant}} expected-note {{cannot refer to element 11}} member in namespace:incdec 299 static_assert(postinc(&arr[0]) == &arr[1], ""); member in namespace:incdec 305 static_assert(postdec(&arr[1]) == &arr[0], ""); member in namespace:incdec 380 int arr[123] = {}; local 501 int arr[] = { 1, 2, 3, 4, 5 }; local 531 T arr[N]; local [all...] |
/external/clang/test/Analysis/ |
dtor.cpp | 140 IntWrapper arr[2]; local 145 clang_analyzer_eval(arr[0].x == 0); // expected-warning{{UNKNOWN}} 146 clang_analyzer_eval(arr[1].x == 0); // expected-warning{{UNKNOWN}} 148 arr[0].x = &i; 149 arr[1].x = &j; 150 clang_analyzer_eval(*arr[0].x == 42); // expected-warning{{TRUE}} 151 clang_analyzer_eval(*arr[1].x == 42); // expected-warning{{TRUE}} 312 IntWrapper arr[2][2]; local 317 clang_analyzer_eval(arr[0][0].x == 0); // expected-warning{{UNKNOWN}} 318 clang_analyzer_eval(arr[1][1].x == 0); // expected-warning{{UNKNOWN} [all...] |
/external/libvncserver/webclients/novnc/include/ |
rfb.js | 590 var arr; 594 arr = keyEvent(keysym, down); 595 arr = arr.concat(fbUpdateRequests()); 596 ws.send(arr); [all...] |
/external/robolectric/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...] |
/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/Launcher3/WallpaperPicker/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...] |
/bionic/libc/kernel/uapi/xen/ |
privcmd.h | 47 xen_pfn_t __user * arr; member in struct:privcmd_mmapbatch 57 const xen_pfn_t __user * arr; member in struct:privcmd_mmapbatch_v2
|
/external/clang/test/CodeGen/ |
arm64-aapcs-arguments.c | 21 typedef struct { float arr[4]; } HFA; member in struct:__anon6101 33 typedef struct { int8x16_t arr[3]; } BigHFA; member in struct:__anon6102
|
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/ |
const-init.cpp | 76 int arr[2]; variable 77 // CHECK: @pastEnd = constant i32* bitcast (i8* getelementptr (i8, i8* bitcast ([2 x i32]* @arr to i8*), i64 8) to i32*) 78 int &pastEnd = arr[2];
|
delete.cpp | 68 void test(A (*arr)[10][20]) { 69 delete [] arr;
|