Home
last modified time | relevance | path

Searched refs:file_ (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/runtime_core/libpandafile/
Dfile_writer.cpp29 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()
Dfile_reader.cpp66 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 …]
Dfile_reader.h53 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
Dline_number_program.h27 : 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
Dfile_writer.h225 return file_ != nullptr;
241 FILE *file_;
Dfile.cpp327 : 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/
Dfile.h41 explicit FileHolder(File file) : file_(file) {} in FileHolder()
45 file_.Close(); in ~FileHolder()
49 File file_;
/arkcompiler/runtime_core/disassembler/
Ddisassembler.cpp29 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 …]
Ddisassembler.h161 std::unique_ptr<const panda_file::File> file_; variable
/arkcompiler/runtime_core/disassembler/templates/
Dbc_ins_to_pandasm_ins.cpp.erb65 id = file_->ResolveMethodIndex(method_id, idx);
70 panda_file::MethodDataAccessor mda(*file_, id);
71 panda_file::ProtoDataAccessor pda(*file_, mda.GetProtoId());
Dtype_to_pandasm_type.cpp.erb28 …pandasm_type = pandasm::Type::FromDescriptor(StringDataToString(file_->GetStringData(pda.GetRefere…
59 std::string type_name = StringDataToString(file_->GetStringData(field_id));
Dget_ins_info.cpp.erb27 panda_file::CodeDataAccessor code_accessor(*file_, code_id);
/arkcompiler/runtime_core/libpandabase/events/
Devents_gen.h.erb156 file_.open("events.csv");
159 file_.open(path.data());
163 file_.close();
171file_ << "<%= event.name.camelize %>," << <%= event.fields.map(&:name).join(" << ',' << ") %> << s…
176 std::ofstream file_ GUARDED_BY(GetLock());
/arkcompiler/runtime_core/compiler/tests/
Dpanda_runner.h49 file_ = pandasm::AsmEmitter::Emit(res.Value()); in Parse()
183 std::unique_ptr<const panda_file::File> file_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_circuit_builder.h270 : tsManager_(tsManager), circuit_(circuit), file_(jsPandaFile), in BytecodeCircuitBuilder()
345 return file_; in GetJSPandaFile()
598 const JSPandaFile *file_ {nullptr};
Dbytecode_circuit_builder.cpp105 auto pf = file_->GetPandaFile(); in CollectTryCatchBlockInfo()