/art/test/406-fields/src/ |
D | Main.java | 25 AllFields fields = new AllFields(); in $opt$testAll() local 27 assertEquals(false, fields.iZ); in $opt$testAll() 28 assertEquals(0, fields.iB); in $opt$testAll() 29 assertEquals(0, fields.iC); in $opt$testAll() 30 assertEquals(0, fields.iI); in $opt$testAll() 31 assertEquals(0, fields.iJ); in $opt$testAll() 32 assertEquals(0, fields.iS); in $opt$testAll() 33 assertNull(fields.iObject); in $opt$testAll() 36 fields.iZ = true; in $opt$testAll() 37 fields.iB = -2; in $opt$testAll() [all …]
|
/art/runtime/mirror/ |
D | object.cc | 207 ObjectArray<ArtField>* fields = cur->GetIFields(); in CheckFieldAssignmentImpl() local 208 if (fields != NULL) { in CheckFieldAssignmentImpl() 209 size_t num_ifields = fields->GetLength(); in CheckFieldAssignmentImpl() 211 ArtField* field = fields->Get(i); in CheckFieldAssignmentImpl() 227 ObjectArray<ArtField>* fields = AsClass()->GetSFields(); in CheckFieldAssignmentImpl() local 228 if (fields != NULL) { in CheckFieldAssignmentImpl() 229 size_t num_sfields = fields->GetLength(); in CheckFieldAssignmentImpl() 231 ArtField* field = fields->Get(i); in CheckFieldAssignmentImpl()
|
D | dex_cache.h | 53 ObjectArray<ArtField>* fields)
|
/art/runtime/gc/accounting/ |
D | space_bitmap.cc | 191 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetIFields(); in WalkInstanceFields() local 192 if (fields != NULL) { in WalkInstanceFields() 193 for (int32_t i = 0; i < fields->GetLength(); i++) { in WalkInstanceFields() 194 mirror::ArtField* field = fields->Get(i); in WalkInstanceFields() 220 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetSFields(); in WalkFieldsInOrder() local 221 if (fields != NULL) { in WalkFieldsInOrder() 222 for (int32_t i = 0; i < fields->GetLength(); i++) { in WalkFieldsInOrder() 223 mirror::ArtField* field = fields->Get(i); in WalkFieldsInOrder()
|
/art/test/064-field-access/src/ |
D | Main.java | 518 Field[] fields; in doReflectionTests() local 525 fields = SamePackage.class.getDeclaredFields(); in doReflectionTests() 526 check(fields.length == 72); in doReflectionTests() 533 fields = PublicClass.class.getDeclaredFields(); in doReflectionTests() 534 check(fields.length == 72); in doReflectionTests() 540 fields = PublicClass.class.getSuperclass().getDeclaredFields(); in doReflectionTests() 541 check(fields.length == 72); in doReflectionTests() 547 for (Field f : fields) { in doReflectionTests()
|
/art/test/090-loop-formation/ |
D | info.txt | 3 in the loop region, and the JIT compiler won't choke on unresolved fields.
|
/art/test/121-modifiers/src/ |
D | Asm.java | 115 for (FieldNode fieldNode : (List<FieldNode>)classNode.fields) { in modify()
|
/art/test/046-reflect/ |
D | expected.txt | 105 got fields 122 fields are unique 123 fields are .equals
|
/art/runtime/ |
D | utils.cc | 1032 std::vector<std::string> fields; in GetTaskStats() local 1033 Split(stats, ' ', fields); in GetTaskStats() 1034 *state = fields[0][0]; in GetTaskStats() 1035 *utime = strtoull(fields[11].c_str(), NULL, 10); in GetTaskStats() 1036 *stime = strtoull(fields[12].c_str(), NULL, 10); in GetTaskStats() 1037 *task_cpu = strtoull(fields[36].c_str(), NULL, 10); in GetTaskStats()
|
D | class_linker.cc | 1918 fields(hs.NewHandle(AllocArtFieldArray(self, dex_file.NumFieldIds()))); in AllocDexCache() local 1919 if (fields.Get() == nullptr) { in AllocDexCache() 1923 fields.Get()); in AllocDexCache() 2784 mirror::ObjectArray<mirror::ArtField>* fields = in LoadClassMembers() local 2786 if (UNLIKELY(fields == nullptr)) { in LoadClassMembers() 2790 klass->SetIFields(fields); in LoadClassMembers() 4401 mirror::ObjectArray<mirror::ArtField>* fields = new_class->GetIFields(); in FixupTemporaryDeclaringClass() local 4402 if (fields != nullptr) { in FixupTemporaryDeclaringClass() 4403 for (int index = 0; index < fields->GetLength(); index ++) { in FixupTemporaryDeclaringClass() 4404 if (fields->Get(index)->GetDeclaringClass() == temp_class) { in FixupTemporaryDeclaringClass() [all …]
|
/art/runtime/interpreter/ |
D | interpreter_common.cc | 839 ObjectArray<ArtField>* fields = klass->GetIFields(); in UnstartedRuntimeInvoke() local 840 for (int32_t i = 0; i < fields->GetLength() && found == NULL; ++i) { in UnstartedRuntimeInvoke() 841 ArtField* f = fields->Get(i); in UnstartedRuntimeInvoke() 847 fields = klass->GetSFields(); in UnstartedRuntimeInvoke() 848 for (int32_t i = 0; i < fields->GetLength() && found == NULL; ++i) { in UnstartedRuntimeInvoke() 849 ArtField* f = fields->Get(i); in UnstartedRuntimeInvoke()
|
/art/runtime/arch/ |
D | stub_test.cc | 1550 Handle<mirror::ObjectArray<mirror::ArtField>> fields(hs.NewHandle(c.Get()->GetSFields())); in TestFields() local 1551 int32_t num_fields = fields->GetLength(); in TestFields() 1554 Handle<mirror::ArtField> f(hs.NewHandle(fields->Get(i))); in TestFields() 1585 Handle<mirror::ObjectArray<mirror::ArtField>> fields(hs.NewHandle(c.Get()->GetIFields())); in TestFields() local 1586 int32_t num_fields = fields->GetLength(); in TestFields() 1589 Handle<mirror::ArtField> f(hs.NewHandle(fields->Get(i))); in TestFields()
|
/art/oatdump/ |
D | oatdump.cc | 1195 mirror::ObjectArray<mirror::ArtField>* fields = klass->GetIFields(); in DumpFields() local 1196 if (fields != nullptr) { in DumpFields() 1197 for (int32_t i = 0; i < fields->GetLength(); i++) { in DumpFields() 1198 mirror::ArtField* field = fields->Get(i); in DumpFields()
|
/art/runtime/gc/ |
D | heap.cc | 2579 mirror::ObjectArray<mirror::ArtField>* fields = is_static ? klass->GetSFields() in operator ()() local 2581 CHECK(fields != NULL); in operator ()() 2582 for (int32_t i = 0; i < fields->GetLength(); ++i) { in operator ()() 2583 mirror::ArtField* cur = fields->Get(i); in operator ()()
|
/art/test/046-reflect/src/ |
D | Main.java | 449 Field[] fields = niuClass.getDeclaredFields(); in checkClinitForFields() local
|