/art/test/800-smali/smali/ |
D | sameFieldNames.smali | 6 .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 …]
|
D | b_22881413.smali | 6 .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/913-heaps/ |
D | expected.txt | 11 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/test/530-instanceof-checkcast/src/ |
D | Main.java | 30 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/408-move-bug/src/ |
D | Main.java | 37 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/046-reflect/src/ |
D | Main.java | 53 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/ |
D | Main.java | 69 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/ |
D | quick_field_entrypoints.cc | 44 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/runtime/ |
D | common_dex_operations.h | 94 ArtField* field, in DoFieldGetCommon() argument 97 DCheckStaticState(self, field); in DoFieldGetCommon() 106 if (!field->IsStatic()) { in DoFieldGetCommon() 113 field); in DoFieldGetCommon() 121 result->SetZ(field->GetBoolean(obj)); in DoFieldGetCommon() 124 result->SetB(field->GetByte(obj)); in DoFieldGetCommon() 127 result->SetC(field->GetChar(obj)); in DoFieldGetCommon() 130 result->SetS(field->GetShort(obj)); in DoFieldGetCommon() 133 result->SetI(field->GetInt(obj)); in DoFieldGetCommon() 136 result->SetJ(field->GetLong(obj)); in DoFieldGetCommon() [all …]
|
/art/runtime/mirror/ |
D | field-inl.h | 46 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 …]
|
D | class-refvisitor-inl.h | 56 for (ArtField& field : GetSFieldsUnchecked()) { in VisitNativeRoots() 58 field.VisitRoots(visitor); in VisitNativeRoots() 60 CHECK_EQ(field.GetDeclaringClass<kReadBarrierOption>(), this) << GetStatus(); in VisitNativeRoots() 63 for (ArtField& field : GetIFieldsUnchecked()) { in VisitNativeRoots() 65 field.VisitRoots(visitor); in VisitNativeRoots() 67 CHECK_EQ(field.GetDeclaringClass<kReadBarrierOption>(), this) << GetStatus(); in VisitNativeRoots()
|
/art/openjdkjvmti/ |
D | ti_field.cc | 52 jfieldID field, in GetFieldName() argument 59 if (field == nullptr) { in GetFieldName() 64 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldName() 124 jfieldID field, in GetFieldDeclaringClass() argument 129 if (field == nullptr) { in GetFieldDeclaringClass() 137 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldDeclaringClass() 147 jfieldID field, in GetFieldModifiers() argument 152 if (field == nullptr) { in GetFieldModifiers() 160 art::ArtField* art_field = art::jni::DecodeArtField(field); in GetFieldModifiers() 170 jfieldID field, in IsFieldSynthetic() argument [all …]
|
D | ti_field.h | 46 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)
|
/art/test/035-enum/src/ |
D | Main.java | 26 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/ |
D | class_accessor_test.cc | 46 [&](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()
|
D | class_accessor-inl.h | 110 Field field(dex_file_, ptr_pos_, hiddenapi_ptr_pos_); in VisitFieldsAndMethods() 111 VisitMembers(num_static_fields_, static_field_visitor, &field); in VisitFieldsAndMethods() 112 field.NextSection(); in VisitFieldsAndMethods() 113 VisitMembers(num_instance_fields_, instance_field_visitor, &field); in VisitFieldsAndMethods() 115 Method method(dex_file_, field.ptr_pos_, field.hiddenapi_ptr_pos_, /*is_static_or_direct*/ true); in VisitFieldsAndMethods() 183 Field field(dex_file_, ptr_pos_, hiddenapi_ptr_pos_); in GetMethodsInternal() 184 VisitMembers(NumFields(), VoidFunctor(), &field); in GetMethodsInternal() 191 field.ptr_pos_, in GetMethodsInternal() 192 field.hiddenapi_ptr_pos_), in GetMethodsInternal() 198 field.ptr_pos_, in GetMethodsInternal() [all …]
|
/art/test/433-gvn/src/ |
D | Main.java | 24 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/ |
D | PathElement.java | 49 public final String field; field in PathElement 64 public PathElement(AhatInstance instance, String field) { in PathElement() argument 66 this.field = field; in PathElement()
|
D | Reference.java | 27 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()
|
D | AhatClassInstance.java | 53 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/ |
D | ClassDataItem.java | 87 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/ |
D | Main.java | 47 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/ |
D | fields.cc | 32 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/ |
D | Main.java | 24 static int field = 42; field in Main 36 int inEnv = willInline(field, field); in main()
|
/art/test/581-rtp/src/ |
D | Main.java | 33 field = o; in main() 37 if (field != null) { in main() 43 static Object field; field in Main
|