Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/art/test/800-smali/smali/
DsameFieldNames.smali6 .field static public a:D
7 .field static public a:S
8 .field static public a:J
9 .field static public a:F
10 .field static public a:Z
11 .field static public a:I
12 .field static public a:B
13 .field static public a:C
14 .field static public a:Ljava/lang/Integer;
15 .field static public a:Ljava/lang/Long;
[all …]
Db_22881413.smali6 .field private static res1:Ljava/lang/Number;
7 .field private static res2:Ljava/lang/ClassLoader;
8 .field private static res3:Ljava/lang/Package;
9 .field private static res4:Ljava/lang/RuntimeException;
10 .field private static res5:Ljava/lang/Exception;
11 .field private static res6:Ljava/util/ArrayList;
12 .field private static res7:Ljava/util/LinkedList;
13 .field private static res8:Ljava/lang/Thread;
14 .field private static res9:Ljava/lang/ThreadGroup;
15 .field private static res10:Ljava/lang/Runtime;
[all …]
/art/test/530-instanceof-checkcast/src/
DMain.java30 static Object field; field in Main
129 field = (ExactCheck)exactCheck; in checkCheckCast()
131 field = (ExactCheck)regularObject; in checkCheckCast()
136 field = (AbstractCheck)abstractCheckImpl; in checkCheckCast()
138 field = (AbstractCheck)regularObject; in checkCheckCast()
143 field = (InterfaceCheck)interfaceCheckImpl; in checkCheckCast()
145 field = (InterfaceCheck)regularObject; in checkCheckCast()
150 field = (NormalCheck)normalCheck; in checkCheckCast()
151 field = (NormalCheck)exactCheck; in checkCheckCast()
153 field = (NormalCheck)regularObject; in checkCheckCast()
[all …]
/art/test/913-heaps/
Dexpected.txt11 1@1000 --(field@2)--> 2@1000 [size=16, length=-1]
12 1@1000 --(field@3)--> 3@1001 [size=24, length=-1]
16 3@1001 --(field@4)--> 4@1000 [size=16, length=-1]
17 3@1001 --(field@5)--> 5@1002 [size=36, length=-1]
21 5@1002 --(field@10)--> 1@1000 [size=16, length=-1]
22 5@1002 --(field@8)--> 500@0 [size=20, length=2]
23 5@1002 --(field@9)--> 6@1000 [size=16, length=-1]
30 1@1000 --(field@2)--> 2@1000 [size=16, length=-1]
31 1@1000 --(field@3)--> 3@1001 [size=24, length=-1]
35 3@1001 --(field@4)--> 4@1000 [size=16, length=-1]
[all …]
/art/runtime/mirror/
Dfield-inl.h46 ArtField* field, in CreateFromArtField() argument
50 Handle<mirror::Class> type = hs.NewHandle(field->ResolveType()); in CreateFromArtField()
72 auto dex_field_index = field->GetDexFieldIndex(); in CreateFromArtField()
73 auto* resolved_field = field->GetDexCache()->GetResolvedField(dex_field_index, kPointerSize); in CreateFromArtField()
74 if (field->GetDeclaringClass()->IsProxyClass()) { in CreateFromArtField()
75 DCHECK(field->IsStatic()); in CreateFromArtField()
82 DCHECK_EQ(resolved_field, field); in CreateFromArtField()
86 field->GetDexCache()->SetResolvedField(dex_field_index, field, kPointerSize); in CreateFromArtField()
90 ret->SetDeclaringClass<kTransactionActive>(field->GetDeclaringClass()); in CreateFromArtField()
91 ret->SetAccessFlags<kTransactionActive>(field->GetAccessFlags()); in CreateFromArtField()
[all …]
/art/test/408-move-bug/src/
DMain.java37 foo1.field = b; in crash()
38 foo2.field = b; in crash()
39 foo3.field = b; in crash()
40 foo4.field = b; in crash()
51 foo1.field = b; in npe()
52 foo2.field = b; in npe()
53 foo3.field = b; in npe()
54 foo4.field = b; in npe()
66 boolean field; field in Main
/art/test/2027-TwiceTheSameMemoryCouple/src/
DMain.java17 public static int field = 0; field in Main
28 int a = field; in testLoop()
29 field = a + i; in testLoop()
30 int b = field; in testLoop()
31 field = b + 2 * i; in testLoop()
33 assertIntEquals(field, 3675); in testLoop()
34 return field; in testLoop()
/art/runtime/
Dcommon_dex_operations.h96 ArtField* field, in DoFieldGetCommon() argument
99 DCheckStaticState(self, field); in DoFieldGetCommon()
108 ReflectiveHandleWrapper<ArtField> fh(rhs.NewReflectiveHandleWrapper(&field)); in DoFieldGetCommon()
110 if (!field->IsStatic()) { in DoFieldGetCommon()
117 field); in DoFieldGetCommon()
125 result->SetZ(field->GetBoolean(obj)); in DoFieldGetCommon()
128 result->SetB(field->GetByte(obj)); in DoFieldGetCommon()
131 result->SetC(field->GetChar(obj)); in DoFieldGetCommon()
134 result->SetS(field->GetShort(obj)); in DoFieldGetCommon()
137 result->SetI(field->GetInt(obj)); in DoFieldGetCommon()
[all …]
/art/test/046-reflect/src/
DMain.java53 void printFieldInfo(Field field) { in printFieldInfo() argument
54 System.out.println("Field name is " + field.getName()); in printFieldInfo()
56 + field.getDeclaringClass().getName()); in printFieldInfo()
57 System.out.println(" Field type is " + field.getType().getName()); in printFieldInfo()
59 + Integer.toHexString(field.getModifiers())); in printFieldInfo()
67 Field field = null; in showStrings() local
69 field = target.getField("string1"); in showStrings()
70 one = (String) field.get(instance); in showStrings()
72 field = target.getField("string2"); in showStrings()
73 two = (String) field.get(instance); in showStrings()
[all …]
/art/test/713-varhandle-invokers/src/
DMain.java69 int field; field in Main.FieldVarHandleExactInvokerTest
91 field = 3; in run()
93 assertEquals(4, field); in run()
106 assertEquals(4, field); in run()
113 assertEquals(4, field); in run()
120 assertEquals(4, field); in run()
127 assertEquals(4, field); in run()
135 assertEquals(4, field); in run()
144 assertEquals(3, field); in run()
148 assertEquals(4, field); in run()
[all …]
/art/runtime/entrypoints/quick/
Dquick_field_entrypoints.cc44 ArtField* field = FindFieldFromCode<type, kAccessCheck>(field_idx, referrer, self, size); in FindInstanceField() local
45 if (LIKELY(field != nullptr) && UNLIKELY(h == nullptr)) { in FindInstanceField()
46 ThrowNullPointerExceptionForFieldAccess(field, (type & FindFieldFlags::ReadBit) != 0); in FindInstanceField()
49 return field; in FindInstanceField()
76 ArtField* field = FindFieldFast( \
79 if (LIKELY(field != nullptr)) { \
80 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
82 field = FindFieldFromCode<Static ## PrimitiveOrObject ## Read, true>( \
84 if (LIKELY(field != nullptr)) { \
85 return field->Get ## Kind (field->GetDeclaringClass())Ptr; /* NOLINT */ \
[all …]
/art/openjdkjvmti/
Dti_field.h46 jfieldID field,
53 jfieldID field,
58 jfieldID field,
63 jfieldID field,
66 static jvmtiError SetFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field)
68 static jvmtiError ClearFieldModificationWatch(jvmtiEnv* env, jclass klass, jfieldID field)
70 static jvmtiError SetFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field)
72 static jvmtiError ClearFieldAccessWatch(jvmtiEnv* env, jclass klass, jfieldID field)
Dti_field.cc133 jfieldID field, in GetFieldName() argument
140 if (field == nullptr) { in GetFieldName()
145 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldName()
205 jfieldID field, in GetFieldDeclaringClass() argument
210 if (field == nullptr) { in GetFieldDeclaringClass()
218 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldDeclaringClass()
228 jfieldID field, in GetFieldModifiers() argument
233 if (field == nullptr) { in GetFieldModifiers()
241 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldModifiers()
251 jfieldID field, in IsFieldSynthetic() argument
[all …]
/art/test/1981-structural-redef-private-method-handles/
Dexpected.txt2 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD>
3 Reading field FOO using (ID: 2) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 1) value…
4 Reading field BAR using (ID: 3) MethodHandle()Object = (ID: 4) value of <BAR FIELD>
5 Reading field BAR using (ID: 5) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 4) value…
8 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD>
9 Reading field FOO using (ID: 2) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 1) value…
10 Reading field BAR using (ID: 3) MethodHandle()Object = (ID: 4) value of <BAR FIELD>
11 Reading field BAR using (ID: 5) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 4) value…
12 Reading new field BAZ using (ID: 6) MethodHandle()Object = (ID: 7) <NULL>
13 Reading new field BAZ using (ID: 8) java.lang.invoke.FieldVarHandle()->java.lang.Object = (ID: 7) <…
[all …]
Dexpected_no_mh.txt2 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD>
3 Reading field BAR using (ID: 2) MethodHandle()Object = (ID: 3) value of <BAR FIELD>
6 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 1) value of <FOO FIELD>
7 Reading field BAR using (ID: 2) MethodHandle()Object = (ID: 3) value of <BAR FIELD>
8 Reading new field BAZ using (ID: 4) MethodHandle()Object = (ID: 5) <NULL>
9 Reading new field FOO using (ID: 6) MethodHandle()Object = (ID: 1) value of <FOO FIELD>
10 Reading new field BAR using (ID: 7) MethodHandle()Object = (ID: 3) value of <BAR FIELD>
17 Reading field FOO using (ID: 0) MethodHandle()Object = (ID: 9) class art.Test1981$Transform
18 Reading field BAR using (ID: 2) MethodHandle()Object = (ID: 3) value of <BAR FIELD>
19 Reading new field BAZ using (ID: 4) MethodHandle()Object = (ID: 10) 42
[all …]
/art/test/035-enum/src/
DMain.java26 Field field; in main() local
28 field = Shubbery.class.getDeclaredField("CRAWLING"); in main()
33 System.out.println("found field " + field.getName()); in main()
34 System.out.println(" synthetic? " + field.isSynthetic()); in main()
35 System.out.println(" enum? " + field.isEnumConstant()); in main()
/art/libdexfile/dex/
Dclass_accessor_test.cc46 [&](const ClassAccessor::Field& field) { in TEST_F() argument
47 EXPECT_TRUE(field.IsStatic()); in TEST_F()
49 EXPECT_EQ(field.GetIndex(), field_it->GetIndex()); in TEST_F()
50 EXPECT_EQ(field.GetAccessFlags(), field_it->GetAccessFlags()); in TEST_F()
54 [&](const ClassAccessor::Field& field) { in TEST_F() argument
55 EXPECT_FALSE(field.IsStatic()); in TEST_F()
57 EXPECT_EQ(field.GetIndex(), field_it->GetIndex()); in TEST_F()
58 EXPECT_EQ(field.GetAccessFlags(), field_it->GetAccessFlags()); in TEST_F()
59 EXPECT_EQ(field.GetIndex(), instance_field_it->GetIndex()); in TEST_F()
60 EXPECT_EQ(field.GetAccessFlags(), instance_field_it->GetAccessFlags()); in TEST_F()
/art/test/433-gvn/src/
DMain.java24 int a = m.field; in foo()
26 m.field = 42; in foo()
33 return m.field; in foo()
36 public int field; field in Main
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DPathElement.java49 public final String field; field in PathElement
64 public PathElement(AhatInstance instance, String field) { in PathElement() argument
66 this.field = field; in PathElement()
DReference.java27 public final String field; field in Reference
31 public Reference(AhatInstance src, String field, AhatInstance ref, Reachability reachability) { in Reference() argument
33 this.field = field; in Reference()
DAhatClassInstance.java53 for (FieldValue field : getInstanceFields()) { in getField()
54 if (fieldName.equals(field.name)) { in getField()
55 return field.value; in getField()
235 AhatInstance field = getRefField(fieldName); in getByteArrayField() local
236 return field == null ? null : field.asByteArray(); in getByteArrayField()
390 Field field = mFields[mFieldIndex++]; in next() local
392 return new FieldValue(field.name, field.type, value); in next()
437 FieldValue field = mIter.next(); in hasNext() local
438 if (field.value != null && field.value.isAhatInstance()) { in hasNext()
440 if (mJavaLangRefType != Reachability.STRONG && "referent".equals(field.name)) { in hasNext()
[all …]
/art/tools/dexfuzz/src/dexfuzz/rawdex/
DClassDataItem.java87 for (EncodedField field : fields) { in incrementEncodedFields()
88 fieldIdx = field.fieldIdxDiff; in incrementEncodedFields()
90 field.fieldIdxDiff++; in incrementEncodedFields()
127 for (EncodedField field : instanceFields) { in getEncodedFieldWithIndex()
128 searchFieldIdx += field.fieldIdxDiff; in getEncodedFieldWithIndex()
130 return field; in getEncodedFieldWithIndex()
134 for (EncodedField field : staticFields) { in getEncodedFieldWithIndex()
135 searchFieldIdx += field.fieldIdxDiff; in getEncodedFieldWithIndex()
137 return field; in getEncodedFieldWithIndex()
/art/test/684-select-condition/src/
DMain.java47 main.field = 0;
48 return (main.field == 0) ? 0 : param;
53 main.field = 0;
54 return (main.field != 0) ? 0 : param;
81 int field;
/art/test/918-fields/
Dfields.cc32 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_getFieldName() argument
33 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldName()
84 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_getFieldDeclaringClass() argument
85 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldDeclaringClass()
101 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_getFieldModifiers() argument
102 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldModifiers()
118 JNIEnv* env, jclass klass, jobject field) { in Java_art_Test918_isFieldSynthetic() argument
119 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_isFieldSynthetic()
/art/test/471-deopt-environment/src/
DMain.java24 static int field = 42; field in Main
36 int inEnv = willInline(field, field); in main()

12345678910>>...12