Searched refs:fields (Results 1 - 18 of 18) sorted by relevance

/art/test/406-fields/src/
H A DMain.java25 AllFields fields = new AllFields();
27 assertEquals(false, fields.iZ);
28 assertEquals(0, fields.iB);
29 assertEquals(0, fields.iC);
30 assertEquals(0, fields.iI);
31 assertEquals(0, fields.iJ);
32 assertEquals(0, fields.iS);
33 assertEquals(0.0f, fields.iF);
34 assertEquals(0.0, fields.iD);
35 assertNull(fields
[all...]
/art/tools/dexfuzz/src/dexfuzz/program/
H A DMutationSerializer.java40 // Write out the common fields.
44 // Use the mutation's own function to write out the rest of the fields.
51 String[] fields = null;
53 fields = line.split(" ");
59 String mutatorClassName = fields[0];
83 // Populate the common fields of the mutation.
88 mutation.mutatableCodeIdx = Integer.parseInt(fields[1]);
90 // Use the mutation's own method to read the rest of the fields.
91 mutation.parseString(fields);
/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DClassDataItem.java85 private void incrementEncodedFields(int insertedIdx, EncodedField[] fields) { argument
87 for (EncodedField field : fields) {
/art/runtime/mirror/
H A Dobject.cc80 // object above, copy references fields one by one again with a
206 ArtField* fields = cur->GetIFields(); local
210 ArtField* field = &fields[i];
227 ArtField* fields = AsClass()->GetSFields(); local
229 ArtField* field = &fields[i];
H A Ddex_cache.h50 ObjectArray<Class>* types, PointerArray* methods, PointerArray* fields,
/art/test/064-field-access/src/
H A DMain.java114 * Local class with some fields.
205 * the various protected fields declared by other.PublicClass and its parent
518 Field[] fields;
525 fields = SamePackage.class.getDeclaredFields();
526 check(fields.length == 72);
533 fields = PublicClass.class.getDeclaredFields();
534 check(fields.length == 72);
540 fields = PublicClass.class.getSuperclass().getDeclaredFields();
541 check(fields.length == 72);
547 for (Field f : fields) {
[all...]
/art/test/121-modifiers/src/
H A DAsm.java115 for (FieldNode fieldNode : (List<FieldNode>)classNode.fields) {
/art/runtime/gc/accounting/
H A Dspace_bitmap.cc192 // Visit fields of parent classes first.
197 // Walk instance fields
198 auto* fields = klass->GetIFields(); local
200 ArtField* field = &fields[i];
220 // Walk instance fields of all objects
223 // Walk static fields of a Class
/art/runtime/native/
H A Djava_lang_Class.cc119 // Lets go subtract all the non public fields.
187 // Performs a binary search through an array of fields, TODO: Is this fast enough if we don't use
191 Thread* self ATTRIBUTE_UNUSED, mirror::String* name, ArtField* fields, size_t num_fields)
199 ArtField* const field = &fields[mid];
213 CHECK_NE(fields[i].GetName(), name->ToModifiedUtf8());
/art/runtime/
H A Dutils.cc991 // Extract the three fields we care about.
992 std::vector<std::string> fields; local
993 Split(stats, ' ', &fields);
994 *state = fields[0][0];
995 *utime = strtoull(fields[11].c_str(), nullptr, 10);
996 *stime = strtoull(fields[12].c_str(), nullptr, 10);
997 *task_cpu = strtoull(fields[36].c_str(), nullptr, 10);
H A Dclass_linker.cc186 // Gap between two fields in object layout.
222 // Shuffle fields forward, making use of gaps whenever possible.
520 // dex_cache_ fields and register them in class_table_.
1060 ArtField* fields[2] = { klass->GetSFields(), klass->GetIFields() }; local
1064 CHECK_EQ(fields[i][j].GetDeclaringClass(), klass);
1278 // PreZygote classes can't move so we won't need to update fields' declaring classes.
1495 auto fields(hs.NewHandle(AllocPointerArray(self, dex_file.NumFieldIds())));
1496 if (fields.Get() == nullptr) {
1501 fields.Get(), image_pointer_size_);
1864 // Load the fields an
4002 ArtField* fields = new_class->GetIFields(); local
5114 ArtField* const fields = is_static ? klass->GetSFields() : klass->GetIFields(); local
[all...]
/art/patchoat/
H A Dpatchoat.cc480 auto* fields = dex_cache->GetResolvedFields(); local
481 if (fields != nullptr) {
482 CHECK(!fields->IsObjectArray());
483 CHECK(fields->IsArrayInstance());
484 FixupNativePointerArray(fields);
733 // Update the OatHeader fields referencing the boot image.
/art/compiler/
H A Dimage_writer.cc103 // Dex caches must not have their dex fields set in the image. These are memory buffers of mapped
106 // We may open them in the unstarted-runtime code for class metadata. Their fields should all be
201 // Write out the image + fields + methods.
388 // - classes in general [because their static fields get overwritten]
425 // If the class's static fields are all final, put it into a separate bin
777 // Walk instance fields of the given Class. Separate function to allow recursion on the super
780 // Visit fields of parent classes first.
800 // For an unvisited object, visit it then all its children found via fields.
803 // an object and its fields
805 // Walk instance fields o
826 ArtField* fields[] = { as_klass->GetSFields(), as_klass->GetIFields() }; local
1231 ArtField* fields[2] = { orig->GetSFields(), orig->GetIFields() }; local
[all...]
/art/runtime/interpreter/
H A Dunstarted_runtime.cc232 ArtField* fields = klass->GetIFields(); local
234 ArtField* f = &fields[i];
241 fields = klass->GetSFields();
243 ArtField* f = &fields[i];
/art/runtime/arch/
H A Dstub_test.cc2073 // Static fields.
2074 ArtField* fields = c->GetSFields(); local
2077 ArtField* f = &fields[i];
2112 // Instance fields.
2113 fields = c->GetIFields();
2116 ArtField* f = &fields[i];
/art/test/046-reflect/src/
H A DMain.java462 // Getting the declared fields doesn't run <clinit>.
463 Field[] fields = niuClass.getDeclaredFields();
464 System.out.println("got fields");
570 System.out.println("ERROR: fields shouldn't have reference equality");
572 System.out.println("fields are unique");
575 System.out.println("fields are .equals");
577 System.out.println("ERROR: fields fail equality");
/art/oatdump/
H A Doatdump.cc1528 // TODO: Dump fields.
1655 ArtField* fields = klass->GetIFields(); local
1657 PrintField(os, &fields[i], obj);
/art/runtime/gc/
H A Dheap.cc2887 auto* fields = is_static ? klass->GetSFields() : klass->GetIFields(); variable
2889 CHECK_EQ(fields == nullptr, num_fields == 0u);
2891 ArtField* cur = &fields[i];

Completed in 516 milliseconds