Home
last modified time | relevance | path

Searched refs:FieldId (Results 1 – 25 of 37) sorted by relevance

12

/art/test/159-app-image-fields/
Dinfo.txt2 when the class from the corresponding FieldId is not in the app image, only the
/art/dexlayout/
Ddex_ir.h50 class FieldId; variable
89 virtual void Dispatch(const FieldId* field_id) = 0;
444 IndexedCollectionVector<FieldId>& FieldIds() { return field_ids_; } in FieldIds()
445 const IndexedCollectionVector<FieldId>& FieldIds() const { return field_ids_; } in FieldIds()
553 IndexedCollectionVector<FieldId> field_ids_;
675 class FieldId : public IndexedItem {
677 FieldId(const TypeId* klass, const TypeId* type, const StringId* name) in FieldId() function
679 ~FieldId() override { } in ~FieldId()
694 DISALLOW_COPY_AND_ASSIGN(FieldId);
721 FieldItem(uint32_t access_flags, const FieldId* field_id) in FieldItem()
[all …]
Ddex_verify.h40 bool VerifyId(dex_ir::FieldId* orig, dex_ir::FieldId* output, std::string* error_msg);
Ddex_ir_builder.cc186 std::vector<FieldId*>* field_ids);
192 std::vector<FieldId*>* field_ids);
458 const dex::FieldId& disk_field_id = dex_file.GetFieldId(i); in CreateFieldId()
460 header_->FieldIds().GetOffset() + i * FieldId::ItemSize(), in CreateFieldId()
739 FieldId* field_id = header_->FieldIds()[fields[i].field_idx_]; in CreateAnnotationsDirectoryItem()
927 std::vector<FieldId*> field_ids; in DedupeOrCreateCodeItem()
954 FieldId* field_item = header_->FieldIds()[field.GetIndex()]; in CreateClassData()
960 FieldId* field_item = header_->FieldIds()[field.GetIndex()]; in CreateClassData()
1011 std::vector<FieldId*>* field_ids) { in GetIdsFromByteCode()
1031 std::vector<FieldId*>* field_ids) { in GetIdFromInstruction()
Ddex_visualize.cc130 void DumpFieldId(const dex_ir::FieldId* field_id, int class_index) { in DumpFieldId()
202 for (dex_ir::FieldId* field_id : fixups->FieldIds()) { in DumpMethodItem()
/art/runtime/jdwp/
Djdwp.h59 typedef uint64_t FieldId; /* static or instance field */ typedef
67 static inline void SetFieldId(uint8_t* buf, FieldId val) { return Set8BE(buf, val); } in SetFieldId()
72 static inline void expandBufAddFieldId(ExpandBuf* pReply, FieldId id) { expandBufAdd8BE(pReply, id)… in expandBufAddFieldId()
422 std::string DescribeField(const FieldId& field_id) REQUIRES_SHARED(Locks::mutator_lock_);
440 FieldId ReadFieldId() REQUIRES_SHARED(Locks::mutator_lock_);
Djdwp_event.h72 FieldId fieldId;
Djdwp_request.cc90 FieldId Request::ReadFieldId() { in ReadFieldId()
91 FieldId id = Read8BE(); in ReadFieldId()
Djdwp_handler.cc45 std::string DescribeField(const FieldId& field_id) { in DescribeField()
222 expandBufAdd4BE(pReply, sizeof(FieldId)); in VM_IDSizes()
434 FieldId fieldId = request->ReadFieldId(); in RT_GetValues()
628 FieldId fieldId = request->ReadFieldId(); in CT_SetValues()
799 FieldId fieldId = request->ReadFieldId(); in OR_GetValues()
818 FieldId fieldId = request->ReadFieldId(); in OR_SetValues()
1303 FieldId fieldId = request->ReadFieldId(); in ER_Set()
/art/libdexfile/dex/
Ddex_file_structs.h68 struct FieldId { struct
74 DISALLOW_COPY_AND_ASSIGN(FieldId); argument
Ddex_file.h314 const dex::FieldId& GetFieldId(uint32_t idx) const { in GetFieldId()
319 uint32_t GetIndexForFieldId(const dex::FieldId& field_id) const { in GetIndexForFieldId()
326 const dex::FieldId* FindFieldId(const dex::TypeId& declaring_klass,
336 const char* GetFieldDeclaringClassDescriptor(const dex::FieldId& field_id) const { in GetFieldDeclaringClassDescriptor()
342 const char* GetFieldTypeDescriptor(const dex::FieldId& field_id) const;
345 const char* GetFieldName(const dex::FieldId& field_id) const;
840 const dex::FieldId* const field_ids_;
Ddex_file.cc47 using dex::FieldId;
114 field_ids_(reinterpret_cast<const FieldId*>(base + header_->field_ids_off_)), in DexFile()
239 const FieldId* DexFile::FindFieldId(const TypeId& declaring_klass, in FindFieldId()
250 const FieldId& field = GetFieldId(mid); in FindFieldId()
555 const FieldId& field_id = GetFieldId(field_idx); in PrettyField()
Dart_dex_file_loader_test.cc280 const dex::FieldId& to_find = java_lang_dex_file_->GetFieldId(i); in TEST_F()
284 const dex::FieldId* found = java_lang_dex_file_->FindFieldId(klass, name, type); in TEST_F()
Ddex_file_verifier.cc119 const dex::FieldId* DexFileVerifier::CheckLoadFieldId(uint32_t idx, const char* error_string) { in CheckLoadFieldId()
164 const dex::FieldId* (var) = CheckLoadFieldId(idx, fmt); \
590 (reinterpret_cast<const dex::FieldId*>(begin_ + header_->field_ids_off_) + idx)->class_idx_; in CheckClassDataItemField()
925 (reinterpret_cast<const dex::FieldId*>(begin_ + header_->field_ids_off_) + index)-> in FindClassIndexAndDef()
1786 if (!CheckListSize(ptr_, 1, sizeof(dex::FieldId), "field_ids")) { in CheckIntraSectionIterate()
1789 ptr_ += sizeof(dex::FieldId); in CheckIntraSectionIterate()
2303 const dex::FieldId* item = reinterpret_cast<const dex::FieldId*>(ptr_); in CheckInterFieldIdItem()
2328 const dex::FieldId* prev_item = reinterpret_cast<const dex::FieldId*>(previous_item_); in CheckInterFieldIdItem()
2345 ptr_ += sizeof(dex::FieldId); in CheckInterFieldIdItem()
3098 const dex::FieldId* field_id = in GetFieldDescriptionOrError()
[all …]
Ddex_file-inl.h100 inline const char* DexFile::GetFieldTypeDescriptor(const dex::FieldId& field_id) const { in GetFieldTypeDescriptor()
105 inline const char* DexFile::GetFieldName(const dex::FieldId& field_id) const { in GetFieldName()
Ddex_file_verifier.h169 const dex::FieldId* CheckLoadFieldId(uint32_t idx, const char* error_fmt);
Dtest_dex_file_builder.h149 uint32_t method_ids_offset = field_ids_offset + fields_.size() * sizeof(dex::FieldId); in Build()
202 uint32_t raw_offset = field_ids_offset + entry.second * sizeof(dex::FieldId); in Build()
/art/runtime/
Ddebugger.h362 static bool MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id,
428 static void OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value,
435 static std::string GetFieldName(JDWP::FieldId field_id)
437 static JDWP::JdwpTag GetFieldBasicTag(JDWP::FieldId field_id)
439 static JDWP::JdwpTag GetStaticFieldBasicTag(JDWP::FieldId field_id)
441 static JDWP::JdwpError GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
444 static JDWP::JdwpError SetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id,
447 static JDWP::JdwpError GetStaticFieldValue(JDWP::RefTypeId ref_type_id, JDWP::FieldId field_id,
450 static JDWP::JdwpError SetStaticFieldValue(JDWP::FieldId field_id, uint64_t value, int width)
731 static JDWP::FieldId ToFieldId(const ArtField* f)
Dart_field-inl.h296 const dex::FieldId& field_id = dex_file->GetFieldId(field_index); in GetTypeDescriptor()
347 const dex::FieldId& field_id = GetDexFile()->GetFieldId(dex_field_index); in ResolveNameString()
Ddebugger.cc1419 JDWP::FieldId Dbg::ToFieldId(const ArtField* f) { in ToFieldId()
1420 return static_cast<JDWP::FieldId>(reinterpret_cast<uintptr_t>(f)); in ToFieldId()
1429 static ArtField* FromFieldId(JDWP::FieldId fid) in FromFieldId()
1466 bool Dbg::MatchField(JDWP::RefTypeId expected_type_id, JDWP::FieldId expected_field_id, in MatchField()
1511 std::string Dbg::GetFieldName(JDWP::FieldId field_id) { in GetFieldName()
1754 void Dbg::OutputFieldValue(JDWP::FieldId field_id, const JValue* field_value, in OutputFieldValue()
1777 JDWP::JdwpTag Dbg::GetFieldBasicTag(JDWP::FieldId field_id) { in GetFieldBasicTag()
1781 JDWP::JdwpTag Dbg::GetStaticFieldBasicTag(JDWP::FieldId field_id) { in GetStaticFieldBasicTag()
1831 JDWP::FieldId field_id, JDWP::ExpandBuf* pReply, in GetFieldValueImpl()
1890 JDWP::JdwpError Dbg::GetFieldValue(JDWP::ObjectId object_id, JDWP::FieldId field_id, in GetFieldValue()
[all …]
/art/tools/veridex/
Dresolver.cc66 const dex::FieldId& field_id, in HasSameNameAndType()
198 const dex::FieldId& other_field_id = other_dex_file.GetFieldId(field.GetIndex()); in LookupFieldIn()
280 const dex::FieldId& field_id = dex_file_.GetFieldId(field_index); in GetField()
Dhidden_api.cc90 const dex::FieldId& field_id = dex_file.GetFieldId(field_index); in GetApiFieldName()
/art/test/064-field-access/jasmin/
DSubClassUsingInaccessibleField.j28 ; using this very class as the declaring class in the FieldId, bug: 27684368 .
/art/dexdump/
Ddexdump.cc495 const dex::FieldId& pFieldId = pDexFile->GetFieldId(field_idx); in dumpEncodedValue()
674 const dex::FieldId& pFieldId = pDexFile->GetFieldId(field_idx); in dumpClassAnnotations()
841 const dex::FieldId& pFieldId = pDexFile->GetFieldId(index); in indexString()
1344 const dex::FieldId& field_id = dex_file.GetFieldId(field.GetIndex()); in dumpField()
1640 const dex::FieldId& field_id = pDexFile->GetFieldId(mh.field_or_method_idx_); in dumpMethodHandle()
/art/runtime/verifier/
Dverifier_deps.cc871 const dex::FieldId& field_id = dex_file.GetFieldId(entry.GetDexFieldIndex()); in Dump()
1013 const dex::FieldId& field_id = dex_file.GetFieldId(index); in GetFieldDescription()
1030 const dex::FieldId& field_id = dex_file.GetFieldId(entry.GetDexFieldIndex()); in VerifyFields()

12