HomeSort by relevance Sort by last modified time
    Searched defs:array (Results 126 - 150 of 2821) sorted by null

1 2 3 4 56 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/lang/reflect/
OldAndroidArrayTest.java 19 import java.lang.reflect.Array;
23 * Test java.lang.reflect.Array methods.
28 Object intArray = Array.newInstance(Integer.TYPE, 2);
30 int[] array = (int[]) intArray; local
31 array[0] = 5;
32 Array.setInt(intArray, 1, 6);
34 assertEquals(5, Array.getInt(intArray, 0));
35 assertEquals(6, array[1]);
38 array[2] = 27;
44 assertEquals(2, array.length)
61 String[] array = (String[]) strArray; local
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DragListener.java 66 ArrayAdapter array = (ArrayAdapter) mStatePanelTrack.getAdapter(); local
68 State current = (State) array.getItem(origin);
69 array.remove(current);
70 array.insert(current, pos);
  /packages/apps/UnifiedEmail/src/com/android/mail/preferences/
SimpleBackupSharedPreference.java 62 final JSONArray array = new JSONArray(); local
64 array.put(o);
66 json.put(VALUE, array);
77 final JSONArray array = (JSONArray) value; local
78 for (int i = 0, len = array.length(); i < len; i++) {
79 set.add(array.get(i));
  /art/compiler/utils/
atomic_method_ref_map-inl.h 31 ElementArray* const array = GetArray(ref.dex_file); local
32 if (array == nullptr) {
35 return (*array)[ref.dex_method_index].CompareExchangeStrongSequentiallyConsistent(
43 const ElementArray* const array = GetArray(ref.dex_file); local
44 if (array == nullptr) {
47 *out = (*array)[ref.dex_method_index].LoadRelaxed();
  /art/test/461-get-reference-vreg/src/
Main.java 34 Object a = array[0];
61 static Object[] array = new Object[] { new Object() }; field in class:Main
  /art/test/530-checker-regression-reftyp-final/src/
Main.java 37 // Bug #1: RTP would set the type of `array` to exact Object[]. Instruction
39 Object[] array = $noinline$getArray(); local
40 expectTrue = array instanceof MyClassA[];
46 // for `array` would be again set to exact MyClassA[] and incorrectly
48 expectTrue = array instanceof MyClassB[];
  /art/test/554-checker-rtp-checkcast/src/
Main.java 28 int[] array = new int[20]; local
29 if (array.hashCode() > 5) {
30 array = (int[]) returnIntArray();
32 array[0] = 14;
41 int[] array = new int[20]; local
45 array[i] = i;
47 array = (int[]) returnIntArray();
50 array[0] = 14;
  /art/test/575-checker-string-init-alias/src/
Main.java 36 int[] array = new int[1]; local
41 m.invoke(null, new Object[] { array , "foo" });
56 m.invoke(null, new Object[] { array, "bar" });
  /art/test/655-jit-clinit/src/
Main.java 32 for (int i = 0; i < array.length; ++i) {
33 array[i] = array;
38 array = new Object[10000];
45 static Object[] array; field in class:Foo
  /dalvik/dx/src/com/android/dx/io/instructions/
ShortArrayCodeOutput.java 24 /** array to write to */
25 private final short[] array; field in class:ShortArrayCodeOutput
37 this.array = new short[maxSize];
41 * Gets the array. The returned array contains exactly the data
47 if (cursor == array.length) {
48 return array;
52 System.arraycopy(array, 0, result, 0, cursor);
58 array[cursor()] = codeUnit;
  /development/ndk/platforms/android-21/arch-arm/src/
crtbegin.c 74 structors_array_t array; local
77 array.preinit_array = &__PREINIT_ARRAY__;
78 array.init_array = &__INIT_ARRAY__;
79 array.fini_array = &__FINI_ARRAY__;
80 array.ctor_list = &__CTOR_LIST__;
83 __libc_init(elfdata, (void *) 0, &main, &array);
  /development/ndk/platforms/android-9/arch-arm/src/
crtbegin_dynamic.c 78 structors_array_t array; local
81 array.preinit_array = &__PREINIT_ARRAY__;
82 array.init_array = &__INIT_ARRAY__;
83 array.fini_array = &__FINI_ARRAY__;
84 array.ctor_list = &__CTOR_LIST__;
87 __libc_init(elfdata, (void *) 0, &main, &array);
crtbegin_static.c 78 structors_array_t array; local
81 array.preinit_array = &__PREINIT_ARRAY__;
82 array.init_array = &__INIT_ARRAY__;
83 array.fini_array = &__FINI_ARRAY__;
84 array.ctor_list = &__CTOR_LIST__;
87 __libc_init(elfdata, (void *) 0, &main, &array);
  /development/ndk/platforms/android-9/arch-mips/src/
crtbegin.c 60 structors_array_t array; local
61 array.preinit_array = &__PREINIT_ARRAY__;
62 array.init_array = &__INIT_ARRAY__;
63 array.fini_array = &__FINI_ARRAY__;
64 array.ctor_list = &__CTOR_LIST__;
65 array.dtor_list = &__DTOR_LIST__;
67 __libc_init(raw_args, NULL, &main, &array);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassObjectReference/
ReflectedType002Test.java 42 * <BR>Starts ReflectedType002Debuggee then checks the following array
51 * <BR>&nbsp;&nbsp; - refTypeTag takes the TypeTag constant ARRAY
62 TypeSignatureAndTag[] array = new TypeSignatureAndTag[] { local
64 JDWPConstants.TypeTag.ARRAY),
66 JDWPConstants.TypeTag.ARRAY),
68 JDWPConstants.TypeTag.ARRAY),
69 new TypeSignatureAndTag("[C", JDWPConstants.TypeTag.ARRAY)
72 runReflectedTypeTest(array);
ReflectedTypeTest.java 76 TypeSignatureAndTag[] array = new TypeSignatureAndTag[] { local
87 runReflectedTypeTest(array);
  /external/clang/test/Analysis/
symbol-reaper.c 55 struct S1 array[5]; member in struct:S2
62 s2.array[x].field = 1;
  /external/clang/test/CodeGen/
sanitize-init-order.cpp 35 const volatile PODWithCtor array[5][5]; member in namespace:NS
  /external/clang/test/CodeGenCXX/
global-llvm-constant.cpp 27 X1 array[3]; member in struct:X2
implicit-copy-assign-operator.cpp 16 int array[3][4]; member in struct:POD
microsoft-abi-array-cookies.cpp 11 ClassWithoutDtor *array = new ClassWithoutDtor[42]; local
14 delete [] array;
26 ClassWithDtor *array = new ClassWithDtor[42]; local
31 // CHECK: [[ARRAY:%.*]] = getelementptr inbounds i8, i8* [[ALLOCATED]], i32 4
32 // CHECK: bitcast i8* [[ARRAY]] to [[CLASS:%.*]]*
34 delete [] array;
48 ClassWithAlignment *array = new ClassWithAlignment[42]; local
53 // CHECK: [[ARRAY:%.*]] = getelementptr inbounds i8, i8* [[ALLOCATED]], i32 8
54 // CHECK: bitcast i8* [[ARRAY]] to [[CLASS:%.*]]*
56 delete [] array;
    [all...]
  /external/clang/test/Index/
load-exprs.c 24 struct X array[3]; member in struct:Y
30 struct Y y0 = { .array[StartIndex].b = bval, .array[StartIndex].a = aval };
31 __builtin_offsetof(struct Y, array[StartIndex].b);
69 // CHECK: load-exprs.c:30:20: MemberRef=array:24:12 Extent=[30:20 - 30:25]
73 // CHECK: load-exprs.c:30:49: MemberRef=array:24:12 Extent=[30:49 - 30:54]
78 // CHECK: load-exprs.c:31:32: MemberRef=array:24:12 Extent=[31:32 - 31:37]
  /external/clang/test/PCH/
stmts.h 67 // variable-length array
68 int array[x * 17 + 3]; local
  /external/clang/test/Sema/
warn-char-subscripts.c 4 int array[1] = { 0 }; local
6 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}}
10 int array[1] = { 0 }; local
12 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}}
16 int *array = 0; local
18 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}}
22 int *array = 0 local
29 int *array = 0; local
34 int array[1] = { 0 }; local
40 int array[1] = { 0 }; local
47 int array[1] = { 0 }; local
54 int array[1] = { 0 }; local
61 int array[1] = { 0 }; local
    [all...]
warn-tautological-compare.c 15 if (!b) {} // expected-warning {{address of array 'b' will always evaluate to 'true'}}
16 if (b == 0) {} // expected-warning {{comparison of array 'b' equal to a null pointer is always false}}
17 if (!c.x) {} // expected-warning {{address of array 'c.x' will always evaluate to 'true'}}
18 if (c.x == 0) {} // expected-warning {{comparison of array 'c.x' equal to a null pointer is always false}}
19 if (!str) {} // expected-warning {{address of array 'str' will always evaluate to 'true'}}
20 if (0 == str) {} // expected-warning {{comparison of array 'str' equal to a null pointer is always false}}
23 int array[2]; variable
26 if (!array) { // expected-warning {{address of array 'array' will always evaluate to 'true'}
    [all...]

Completed in 5083 milliseconds

1 2 3 4 56 7 8 91011>>