• Home
  • Raw
  • Download

Lines Matching refs:file_

29     file_.swap(file_new);  in Disassemble()
31 if (file_ != nullptr) { in Disassemble()
57 debug_info_extractor_ = std::make_unique<panda_file::DebugInfoExtractor>(file_.get()); in CollectInfo()
76 if (file_ != nullptr) { in Serialize()
77 os << "# source binary: " << file_->GetFilename() << "\n\n"; in Serialize()
142 if (!file_->IsExternal(record_id)) { in GetRecord()
173 panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetMethod()
201 auto sp = file_->GetSpanFromId(id); in FillLiteralArrayData()
216 lit.value_ = StringDataToString(file_->GetStringData(panda_file::File::EntityId(str_id))); in FillLiteralArrayData()
252 … auto str_data = file_->GetStringData(panda_file::File::EntityId(std::get<uint32_t>(value))); in FillLiteralData()
258 … panda_file::MethodDataAccessor mda(*file_, panda_file::File::EntityId(std::get<uint32_t>(value))); in FillLiteralData()
259 lit.value_ = StringDataToString(file_->GetStringData(mda.GetNameId())); in FillLiteralData()
280 panda_file::LiteralDataAccessor lit_array_accessor(*file_, file_->GetLiteralArraysId()); in GetLiteralArrayByOffset()
331 panda_file::LiteralDataAccessor lit_array_accessor(*file_, file_->GetLiteralArraysId()); in GetLiteralArray()
342 const auto lit_arrays_id = file_->GetLiteralArraysId(); in GetLiteralArrays()
347 panda_file::LiteralDataAccessor lda(*file_, lit_arrays_id); in GetLiteralArrays()
366 const auto class_idx = file_->GetClasses(); in GetRecords()
370 auto class_off = file_->GetHeader()->class_idx_off + sizeof(uint32_t) * i; in GetRecords()
372 if (class_id > file_->GetHeader()->file_size) { in GetRecords()
375 … << ") out of bounds (0x" << file_->GetHeader()->file_size << ")!"; in GetRecords()
405 panda_file::ClassDataAccessor class_accessor {*file_, record_id}; in GetFields()
411 field.name = StringDataToString(file_->GetStringData(field_name_id)); in GetFields()
424 panda_file::ClassDataAccessor class_accessor {*file_, record_id}; in GetMethods()
446 panda_file::ProtoDataAccessor proto_accessor(*file_, proto_id); in GetParams()
476 panda_file::CodeDataAccessor code_accessor(*file_, code_id); in GetExceptions()
494 const auto class_id = file_->ResolveClassIndex(method_id, class_idx); in GetExceptions()
653 panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetMetaData()
655 …const auto method_name_raw = StringDataToString(file_->GetStringData(method_accessor.GetNameId())); in GetMetaData()
658 … const auto class_name = StringDataToString(file_->GetStringData(method_accessor.GetClassId())); in GetMetaData()
669 if (file_->IsExternal(method_accessor.GetMethodId())) { in GetMetaData()
699 if (file_->IsExternal(record_id)) { in GetMetaData()
714 panda_file::FieldDataAccessor field_accessor(*file_, field_id); in GetMetaData()
848 ss << "\"" << StringDataToString(file_->GetStringData(id)) << "\""; in ScalarValueToString()
858 panda_file::FieldDataAccessor field_accessor(*file_, id); in ScalarValueToString()
860 << StringDataToString(file_->GetStringData(field_accessor.GetNameId())); in ScalarValueToString()
901 ss << '\"' << StringDataToString(file_->GetStringData(id)) << '\"'; in ArrayValueToString()
911 panda_file::FieldDataAccessor field_accessor(*file_, id); in ArrayValueToString()
913 << StringDataToString(file_->GetStringData(field_accessor.GetNameId())); in ArrayValueToString()
926 panda::panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetFullMethodName()
928 …const auto method_name_raw = StringDataToString(file_->GetStringData(method_accessor.GetNameId())); in GetFullMethodName()
942 panda::panda_file::MethodDataAccessor method_accessor(*file_, method_id); in GetMethodSignature()
953 std::string name = StringDataToString(file_->GetStringData(class_id)); in GetFullRecordName()
965 if (file_->IsExternal(record_id)) { in GetRecordInfo()
969 panda_file::ClassDataAccessor class_accessor {*file_, record_id}; in GetRecordInfo()
993 panda_file::MethodDataAccessor method_accessor {*file_, method_id}; in GetMethodInfo()
1016 panda_file::CodeDataAccessor codeda(*file_, method_accessor.GetCodeId().value()); in GetMethodInfo()
1550 const auto offset = file_->ResolveOffsetByIndex(method_id, bc_ins.GetId(idx).AsIndex()); in IDToString()
1556 name << StringDataToString(file_->GetStringData(offset)); in IDToString()
1570 if (file_->IsExternal(class_id)) { in GetRecordLanguage()
1574 panda_file::ClassDataAccessor cda(*file_, class_id); in GetRecordLanguage()
1611 panda_file::CodeDataAccessor code_accessor(*file_, code_id); in GetInstructions()
1642 const auto arg_method_id = file_->ResolveMethodIndex(method_id, arg_method_idx); in GetInstructions()
1647 const bool is_external = file_->IsExternal(arg_method_id); in GetInstructions()