Home
last modified time | relevance | path

Searched refs:sfields (Results 1 – 6 of 6) sorted by relevance

/art/test/2009-structural-local-ref/src-art/art/
DTest2009.java111 Class<?> sfields = MakeClass(); in doTest() local
114 sfields.newInstance(), in doTest()
117 Redefinition.doCommonStructuralClassRedefinition(sfields, DEX_BYTES); in doTest()
/art/runtime/mirror/
Dclass.cc1131 LengthPrefixedArray<ArtField>* sfields = GetSFieldsPtr(); in FindDeclaredStaticField() local
1132 if (sfields == nullptr) { in FindDeclaredStaticField()
1139 DCHECK_EQ(sfields->size(), 2u); in FindDeclaredStaticField()
1140 DCHECK_EQ(strcmp(sfields->At(0).GetName(), "interfaces"), 0); in FindDeclaredStaticField()
1141 DCHECK_EQ(strcmp(sfields->At(0).GetTypeDescriptor(), "[Ljava/lang/Class;"), 0); in FindDeclaredStaticField()
1142 DCHECK_EQ(strcmp(sfields->At(1).GetName(), "throws"), 0); in FindDeclaredStaticField()
1143 DCHECK_EQ(strcmp(sfields->At(1).GetTypeDescriptor(), "[[Ljava/lang/Class;"), 0); in FindDeclaredStaticField()
1145 return (type == "[Ljava/lang/Class;") ? &sfields->At(0) : nullptr; in FindDeclaredStaticField()
1147 return (type == "[[Ljava/lang/Class;") ? &sfields->At(1) : nullptr; in FindDeclaredStaticField()
1152 auto [success, field] = FindFieldByNameAndType(GetDexFile(), sfields, name, type); in FindDeclaredStaticField()
[all …]
/art/test/1975-hello-structural-transformation/src/art/
DTest1975.java263 public static native void readNativeFields(Class<?> field_class, long[] sfields); in readNativeFields() argument
/art/openjdkjvmti/
Dti_class.cc568 art::IterationRange<art::StrideIterator<art::ArtField>> sfields = klass->GetSFields(); in GetClassFields() local
579 for (art::ArtField& field : sfields) { in GetClassFields()
Dti_redefine.cc2873 auto sfields = cand->GetSFields(); in UpdateClassStructurally()
2874 return std::find_if(sfields.begin(), sfields.end(), pred) != sfields.end(); in UpdateClassStructurally()
/art/runtime/
Dclass_linker.cc3964 LengthPrefixedArray<ArtField>* sfields = AllocArtFieldArray(self, in LoadClass() local
4001 LoadField(field, klass, &sfields->At(num_sfields)); in LoadClass()
4045 if (sfields != nullptr) { in LoadClass()
4046 sfields->SetSize(num_sfields); in LoadClass()
4053 klass->SetSFieldsPtr(sfields); in LoadClass()
5288 LengthPrefixedArray<ArtField>* sfields = AllocArtFieldArray(self, allocator, num_fields); in CreateProxyClass() local
5289 temp_klass->SetSFieldsPtr(sfields); in CreateProxyClass()
5293 ArtField& interfaces_sfield = sfields->At(0); in CreateProxyClass()
5299 ArtField& throws_sfield = sfields->At(1); in CreateProxyClass()