/arkcompiler/runtime_core/libpandafile/ |
D | file_writer.cpp | 29 file_ = fopen(file_name.c_str(), mode); in FileWriter() 34 if (file_ != nullptr) { in ~FileWriter() 35 fclose(file_); in ~FileWriter() 64 if (file_ == nullptr) { in FinishWrite() 69 bool ret = fwrite(buf.data(), sizeof(decltype(buf.back())), length, file_) == length; in FinishWrite() 70 fclose(file_); in FinishWrite() 71 file_ = nullptr; in FinishWrite()
|
D | file_reader.cpp | 66 auto sp = file_->GetSpanFromId(id); in CreateLiteralArrayItem() 143 auto data = file_->GetStringData(str_id); in CreateLiteralArrayItem() 154 auto data = file_->GetStringData(str_id); in CreateLiteralArrayItem() 165 MethodDataAccessor method_acc(*file_, method_id); in CreateLiteralArrayItem() 188 AnnotationDataAccessor ann_acc(*file_, ann_id); in CreateAnnotationItem() 192 if (!file_->IsExternal(ann_class_id)) { in CreateAnnotationItem() 252 auto data = file_->GetStringData(str_id); in CreateAnnotationItem() 267 MethodDataAccessor method_acc(*file_, method_id); in CreateAnnotationItem() 275 FieldDataAccessor field_acc(*file_, field_id); in CreateAnnotationItem() 420 auto data = file_->GetStringData(str_id); in CreateAnnotationItem() [all …]
|
D | file_reader.h | 53 explicit FileReader(std::unique_ptr<const File> &&file) : file_(std::move(file)) {} in FileReader() 136 auto data = file_->GetStringData(string_id); in SetStringFieldValue() 147 if (file_->IsExternal(method_id)) { in CreateGenericMethodItem() 156 if (file_->IsExternal(field_id)) { in CreateGenericFieldItem() 165 if (file_->IsExternal(class_id)) { in CreateGenericClassItem() 173 std::unique_ptr<const File> file_; variable
|
D | line_number_program.h | 27 : pf_(pf), file_(file), line_(line), constant_pool_(constant_pool) in LineProgramState() 43 file_ = File::EntityId(offset); in SetFile() 48 return pf_.GetStringData(file_).data; in GetFile() 53 return file_.IsValid(); in HasFile() 112 File::EntityId file_; variable
|
D | file_writer.h | 225 return file_ != nullptr; 241 FILE *file_;
|
D | file.cpp | 327 : file_(file), span_(span), idx_(idx) in ClassIdxIterator() 382 return file_.GetStringData(File::EntityId(id)).data; in operator *() 406 const File &file_; member in panda::panda_file::ClassIdxIterator
|
/arkcompiler/runtime_core/libpandabase/os/ |
D | file.h | 41 explicit FileHolder(File file) : file_(file) {} in FileHolder() 45 file_.Close(); in ~FileHolder() 49 File file_;
|
/arkcompiler/runtime_core/disassembler/ |
D | disassembler.cpp | 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() [all …]
|
D | disassembler.h | 161 std::unique_ptr<const panda_file::File> file_; variable
|
/arkcompiler/runtime_core/disassembler/templates/ |
D | bc_ins_to_pandasm_ins.cpp.erb | 65 id = file_->ResolveMethodIndex(method_id, idx); 70 panda_file::MethodDataAccessor mda(*file_, id); 71 panda_file::ProtoDataAccessor pda(*file_, mda.GetProtoId());
|
D | type_to_pandasm_type.cpp.erb | 28 …pandasm_type = pandasm::Type::FromDescriptor(StringDataToString(file_->GetStringData(pda.GetRefere… 59 std::string type_name = StringDataToString(file_->GetStringData(field_id));
|
D | get_ins_info.cpp.erb | 27 panda_file::CodeDataAccessor code_accessor(*file_, code_id);
|
/arkcompiler/runtime_core/libpandabase/events/ |
D | events_gen.h.erb | 156 file_.open("events.csv"); 159 file_.open(path.data()); 163 file_.close(); 171 …file_ << "<%= event.name.camelize %>," << <%= event.fields.map(&:name).join(" << ',' << ") %> << s… 176 std::ofstream file_ GUARDED_BY(GetLock());
|
/arkcompiler/runtime_core/compiler/tests/ |
D | panda_runner.h | 49 file_ = pandasm::AsmEmitter::Emit(res.Value()); in Parse() 183 std::unique_ptr<const panda_file::File> file_ {nullptr};
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecode_circuit_builder.h | 270 : tsManager_(tsManager), circuit_(circuit), file_(jsPandaFile), in BytecodeCircuitBuilder() 345 return file_; in GetJSPandaFile() 598 const JSPandaFile *file_ {nullptr};
|
D | bytecode_circuit_builder.cpp | 105 auto pf = file_->GetPandaFile(); in CollectTryCatchBlockInfo()
|