/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetDecoderTest.java | 42 byte[] arr = encode("UTF-16", "Android"); 43 ByteBuffer inBuffer = ByteBuffer.wrap(arr, 0, arr.length).slice(); 44 CharBuffer outBuffer = CharBuffer.allocate(arr.length); 56 byte[] arr = encode("UTF-16", "Android"); 57 arr = prependByteToByteArray(arr, new Integer(1).byteValue()); 59 ByteBuffer inBuffer = ByteBuffer.wrap(arr, offset, arr.length - offset).slice(); 60 CharBuffer outBuffer = CharBuffer.allocate(arr.length - offset) [all...] |
/external/clang/test/CodeGen/ |
armv7k-abi.c | 10 float arr[4]; member in struct:__anon15853 20 double arr[4]; member in struct:__anon15854 79 char arr[7]; member in struct:__anon15859
|
captured-statements.c | 57 int arr[] = {1, 2, 3, 4, 5}; local 61 arr[2] = vla_arr[size - 1];
|
/external/clang/test/Sema/ |
block-args.c | 55 void (^block)(array_ty) = ^(array_ty arr) { }; 56 array_ty arr; local 57 block(arr);
|
ms-inline-asm.c | 54 int t2(int *arr, int i) { 56 mov eax, arr; local 57 mov eax, arr[0]; local 58 mov eax, arr[1 + 2]; local 59 mov eax, arr[1 + (2 * 5) - 3 + 1<<1]; local 63 __asm { mov eax, arr[ebp + 1 + (2 * 5) - 3 + 1<<1] } 65 __asm { mov eax, arr[esi * 4] } 67 __asm { mov eax, arr[i] } 73 //__asm mov eax, [arr + i];
|
/external/libcxx/test/std/utilities/optional/optional.specalg/ |
make_optional.pass.cpp | 28 int arr[10]; ((void)arr); local 29 ASSERT_SAME_TYPE(decltype(make_optional(arr)), optional<int*>);
|
/external/mockito/src/test/java/org/mockito/internal/matchers/ |
EqualityTest.java | 18 int[] arr = new int[] {1, 2}; local 19 assertTrue(areEqual(arr, arr));
|
/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/useful-harnesses/ |
i64operations.h | 3 #define ARR_SIZE(arr) (sizeof(arr)/sizeof(arr[0]))
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
GenericAdapterTest.java | 35 String[] arr = { "Hello", "World" }; local 36 List<String> list = Arrays.asList(arr); 38 getBinder().setArr(arr);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/optional/optional.specalg/ |
make_optional.pass.cpp | 28 int arr[10]; ((void)arr); local 29 ASSERT_SAME_TYPE(decltype(make_optional(arr)), optional<int*>);
|
/external/opencv/cxcore/src/ |
cxarray.cpp | 98 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 = 0 local 231 CvMat* arr = *array; local 337 CvMatND* arr = 0; local 359 CvMatND* arr = 0; local 504 const CvArr* arr = i < count ? arrs[i] : mask; local 641 CvSparseMat* arr = 0; local 711 CvSparseMat* arr = *array; local [all...] |
cxrand.cpp | 70 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[i+2] = cast_macro((int)t0); [all...] |
/prebuilts/misc/common/swig/include/2.0.11/python/ |
carrays.i | 15 NAME *arr = %new_instance(NAME); 16 arr->el = %new_array(nelements, TYPE); 17 return arr;
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/ |
p4.cpp | 27 int arr[] = {1, 2, 3}; local 28 for (auto i : arr) {
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/ |
p3-0x.cpp | 16 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/Parser/ |
brackets.cpp | 128 static int arr[3]; member in struct:test6::A 130 int [3] ::test6::A::arr = {1,2,3}; member in class:test6::test6::A 132 // CHECK: {{^}}int [3] ::test6::A::arr = {1,2,3};
|
/external/valgrind/coregrind/ |
m_xarray.c | 46 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 */ 77 xa->arr = NULL; 96 if (nyu->arr) { 104 nyu->arr = nyu->alloc_fn( nyu->cc, nyu->totsizeE * nyu->elemSzB ); 105 VG_(memcpy)( nyu->arr, xa->arr, nyu->totsizeE * nyu->elemSzB ); 115 if (xa->arr) 116 xa->free_fn(xa->arr); [all...] |
/external/valgrind/exp-sgcheck/tests/ |
hsg.c | 11 int addup_wrongly ( short* arr ) 15 sum += (int)arr[i];
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
ViewDataBinding.java | 670 protected static <T> T getFromArray(T[] arr, int index) { 671 if (arr == null || index < 0 || index >= arr.length) { 674 return arr[index]; 678 protected static <T> void setTo(T[] arr, int index, T value) { 679 if (arr == null || index < 0 || index >= arr.length) { 682 arr[index] = value; 686 protected static boolean getFromArray(boolean[] arr, int index) { 687 if (arr == null || index < 0 || index >= arr.length) [all...] |
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
sort_ops_test.py | 45 arr = np.random.random(shape) 51 np.sort(arr, axis=sort_axis), 52 sort_ops.sort(constant_op.constant(arr), axis=sort_axis).eval()) 59 arr = np.random.random(shape) 63 np.sort(arr, axis=sort_axis), 64 sort_ops.sort(constant_op.constant(arr), axis=sort_axis).eval()) 79 arr = constant_op.constant([3, 4, 5]) 81 sort_ops.sort(arr, axis=-4) 84 arr = np.random.random((10, 5, 5)) 87 np.sort(arr, axis=0)[::-1] [all...] |
/art/benchmark/scoped-primitive-array/src/ |
ScopedPrimitiveArrayBenchmark.java | 19 static native long measureByteArray(int reps, byte[] arr); 20 static native long measureShortArray(int reps, short[] arr); 21 static native long measureIntArray(int reps, int[] arr); 22 static native long measureLongArray(int reps, long[] arr);
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_object/ |
Test_aget_object.java | 31 String[] arr = new String[] {"a", "b"}; local 32 assertEquals("a", t.run(arr, 0)); 40 String[] arr = new String[] {"a", "b"}; local 41 assertEquals("b", t.run(arr, 1));
|
/dalvik/dx/tests/078-dex-local-variable-table/ |
Blort.class | |
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
p4-0x.cpp | 7 int arr[sizeof(this)]; // expected-error {{invalid use of 'this' outside of a non-static member function}} member in struct:S
|
/external/clang/test/OpenMP/ |
task_codegen.cpp | 27 int arr[10][a]; local 97 #pragma omp task shared(a, s) depend(in : a, b, s, arr[:]) 143 #pragma omp task untied depend(out : s[0], arr[4:][b]) 191 #pragma omp task final(true) depend(inout: a, s[1], arr[:a][3:])
|