Searched defs:fields (Results 1 - 15 of 15) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DClassDataItem.java85 private void incrementEncodedFields(int insertedIdx, EncodedField[] fields) { argument
87 for (EncodedField field : fields) {
/art/tools/ahat/src/
H A DObjectHandler.java116 List<FieldValue> fields = inst.getInstanceFields();
118 Diff.fields(fields, base.asClassInstance().getInstanceFields());
120 SubsetSelector<FieldValue> selector = new SubsetSelector(query, INSTANCE_FIELDS_ID, fields);
153 private static void printFields(Doc doc, boolean diff, List<FieldValue> fields) { argument
160 for (FieldValue field : fields) {
196 List<FieldValue> fields = clsobj.getStaticFieldValues();
198 Diff.fields(fields, base.asClassObj().getStaticFieldValues());
200 SubsetSelector<FieldValue> selector = new SubsetSelector(query, STATIC_FIELDS_ID, fields);
[all...]
/art/tools/ahat/src/heapdump/
H A DDiff.java345 public static void fields(List<FieldValue> a, List<FieldValue> b) { method in class:Diff
346 // Fields with the same name and type are considered matching fields.
347 // For simplicity, we assume the matching fields are in the same order in
348 // both A and B, though some fields may be added or removed in either
362 // Assume fields i, ..., j-1 in B have no match in A.
378 // All remaining fields in B are unmatched by any in A.
/art/runtime/
H A Dimage.cc29 const uint8_t ImageHeader::kImageVersion[] = { '0', '4', '3', '\0' }; // hash-based DexCache fields
153 const ImageSection& fields = GetFieldsSection(); local
154 for (size_t pos = 0; pos < fields.Size(); ) {
155 auto* array = reinterpret_cast<LengthPrefixedArray<ArtField>*>(base + fields.Offset() + pos);
H A Dutils.cc727 // Extract the three fields we care about.
728 std::vector<std::string> fields; local
729 Split(stats, ' ', &fields);
730 *state = fields[0][0];
731 *utime = strtoull(fields[11].c_str(), nullptr, 10);
732 *stime = strtoull(fields[12].c_str(), nullptr, 10);
733 *task_cpu = strtoull(fields[36].c_str(), nullptr, 10);
H A Dclass_linker.cc273 // Gap between two fields in object layout.
311 // Shuffle fields forward, making use of gaps whenever possible.
622 // Run Class through FindSystemClass. This initializes the dex_cache_ fields and register it
1239 // class loader fields.
1331 mirror::FieldDexCacheType* const fields = member in class:art::mirror
1334 DCHECK_EQ(mirror::DexCache::GetNativePairPtrSize(fields, j, image_pointer_size_).index,
1336 DCHECK(mirror::DexCache::GetNativePairPtrSize(fields, j, image_pointer_size_).object ==
1339 fields,
1346 dex_cache->SetResolvedFields(fields);
2776 // Load the fields an
7623 LengthPrefixedArray<ArtField>* const fields = is_static ? klass->GetSFieldsPtr() : local
[all...]
/art/runtime/mirror/
H A Ddex_cache.cc69 mirror::FieldDexCacheType* fields = (dex_file->NumFieldIds() == 0u) ? nullptr : local
131 CHECK_EQ(GetNativePairPtrSize(fields, i, image_pointer_size).index, 0u);
132 CHECK(GetNativePairPtrSize(fields, i, image_pointer_size).object == nullptr);
148 if (fields != nullptr) {
149 mirror::FieldDexCachePair::Initialize(fields, image_pointer_size);
162 fields,
/art/dexlayout/
H A Ddex_writer.cc219 size_t DexWriter::WriteEncodedFields(dex_ir::FieldItemVector* fields, size_t offset) { argument
222 for (std::unique_ptr<dex_ir::FieldItem>& field : *fields) {
H A Ddex_ir.cc204 * Get all the types, strings, methods, and fields referred to from bytecode.
512 const DexFile::FieldAnnotationsItem* fields = local
515 if (fields != nullptr) {
518 FieldId* field_id = GetFieldId(fields[i].field_idx_);
520 dex_file.GetFieldAnnotationSetItem(fields[i]);
521 uint32_t annotation_set_offset = fields[i].annotations_off_;
694 // Add "fixup" references to types, strings, methods, and fields.
740 // Read the fields and methods defined by the class, resolving the circular reference from those
745 // Static fields.
752 // Instance fields
[all...]
H A Ddexlayout.cc154 * In the base language the access_flags fields are type uint16_t; in Dalvik they're uint32_t.
727 dex_ir::FieldAnnotationVector* fields = annotations_directory->GetFieldAnnotations(); local
737 // Annotations on fields.
738 if (fields != nullptr) {
739 for (auto& field : *fields) {
1384 // Prepare data for static fields.
1390 // Static fields.
1392 fprintf(out_file_, " Static fields -\n");
1406 // Instance fields.
1408 fprintf(out_file_, " Instance fields
[all...]
/art/test/912-classes/
H A Dclasses.cc102 jfieldID* fields = nullptr; local
103 jvmtiError result = jvmti_env->GetClassFields(klass, &count, &fields);
111 jvmti_env->GetFieldModifiers(klass, fields[i], &modifiers);
114 fields[i],
118 if (fields != nullptr) {
119 jvmti_env->Deallocate(reinterpret_cast<unsigned char*>(fields));
/art/runtime/verifier/
H A Dverifier_deps.cc971 const std::set<FieldResolution>& fields,
973 // Check recorded fields are resolved the same way, have the same recorded class,
976 for (const auto& entry : fields) {
969 VerifyFields(Handle<mirror::ClassLoader> class_loader, const DexFile& dex_file, const std::set<FieldResolution>& fields, Thread* self) const argument
/art/dexdump/
H A Ddexdump.cc29 * - no "deprecated" on fields and methods
32 * - class shows declared fields and methods; does not show inherited fields
233 * In the base language the access_flags fields are type u2; in Dalvik
666 const DexFile::FieldAnnotationsItem* fields = pDexFile->GetFieldAnnotations(dir); local
676 // Annotations on fields.
677 if (fields != nullptr) {
679 const u4 field_idx = fields[i].field_idx_;
683 dumpAnnotationSetItem(pDexFile, pDexFile->GetFieldAnnotationSetItem(fields[i]));
1513 fprintf(gOutFile, " Static fields
[all...]
/art/compiler/
H A Dimage_writer.cc290 // Write out the image + fields + methods.
536 // - classes in general [because their static fields get overwritten]
573 // If the class's static fields are all final, put it into a separate bin
782 // Check static fields and their classes.
963 // Prune fields and make the contents of the field array deterministic.
1006 // This is done after fields and methods as their lookup can touch the types array.
1249 // Visit and assign offsets for fields and field arrays.
1257 LengthPrefixedArray<ArtField>* fields[] = { local
1269 for (LengthPrefixedArray<ArtField>* cur_fields : fields) {
1285 // Forward individual fields s
[all...]
/art/runtime/gc/space/
H A Dimage_space.cc990 // the instance fields.
994 // No AsClass since our fields aren't quite fixed up yet.
1000 // Make sure the klass contents are fixed up since we depend on it to walk the fields.
1219 // Fixup objects may read fields in the boot image, use the mutator lock here for sanity. Though
1265 mirror::FieldDexCacheType* fields = dex_cache->GetResolvedFields(); local
1266 if (fields != nullptr) {
1267 mirror::FieldDexCacheType* new_fields = fixup_adapter.ForwardObject(fields);
1268 if (fields != new_fields) {
1314 TimingLogger::ScopedTiming timing("Fixup fields", &logger);

Completed in 3673 milliseconds