• Home
  • Raw
  • Download

Lines Matching full:std

42         std::string whole_line;
43 std::string exception_record;
44 std::string try_begin_label;
45 std::string try_end_label;
46 std::string catch_begin_label;
47 std::string catch_end_label;
51 std::unordered_map<std::string_view, size_t> try_catch_labels;
52 std::unordered_map<std::string, std::vector<const CatchBlock *>> try_catch_map;
53 std::vector<std::string> try_catch_order;
54 TryCatchInfo(std::unordered_map<std::string_view, size_t> &labels, in TryCatchInfo()
55 std::unordered_map<std::string, std::vector<const CatchBlock *>> &map, in TryCatchInfo()
56 std::vector<std::string> &param_try_catch_order) in TryCatchInfo()
64 std::unique_ptr<ParamMetadata> metadata;
67 : type(std::move(t)), metadata(extensions::MetadataExtension::CreateParamMetadata(lang)) in Parameter()
72 std::string name = "";
74 std::unique_ptr<FunctionMetadata> metadata;
76 std::unordered_map<std::string, panda::pandasm::Label> label_table;
77 std::vector<panda::pandasm::Ins> ins; /* function instruction list */
78 std::vector<panda::pandasm::debuginfo::LocalVariable> local_variable_debug;
79 std::string source_file; /* The file in which the function is defined or empty */
80 std::string source_code;
81 std::vector<CatchBlock> catch_blocks;
84 std::vector<Parameter> params;
88 std::optional<FileLocation> file_location;
112 void SetInsDebug(const std::vector<debuginfo::Ins> &ins_debug) in SetInsDebug()
115 for (std::size_t i = 0; i < ins.size(); i++) { in SetInsDebug()
125 …Function(std::string s, panda::panda_file::SourceLang lang, size_t b_l, size_t b_r, std::string f_… in Function()
127 : name(std::move(s)), in Function()
134 Function(std::string s, panda::panda_file::SourceLang lang) in Function()
135 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateFunctionMetada… in Function()
139 std::size_t GetParamsNum() const in GetParamsNum()
144 std::size_t GetTotalRegs() const in GetTotalRegs()
155 const std::unordered_map<std::string, panda_file::BaseMethodItem *> &methods,
156 const std::unordered_map<std::string, panda_file::BaseFieldItem *> &fields,
157 const std::unordered_map<std::string, panda_file::BaseClassItem *> &classes,
158 const std::unordered_map<std::string, panda_file::StringItem *> &strings,
159 … const std::unordered_map<std::string, panda_file::LiteralArrayItem *> &literalarrays) const;
170 void CollectLocalVariable(std::vector<LocalVariablePair> &local_variable_info) const;
172std::vector<uint8_t> *constant_pool, uint32_t &pc_inc, size_t instruction_number,
174 …void EmitNumber(panda_file::LineNumberProgramItem *program, std::vector<uint8_t> *constant_pool, u…
176 …void EmitLineNumber(panda_file::LineNumberProgramItem *program, std::vector<uint8_t> *constant_poo…
180 …void EmitColumnNumber(panda_file::LineNumberProgramItem *program, std::vector<uint8_t> *constant_p…
183 …void BuildLineNumberProgram(panda_file::DebugInfoItem *debug_item, const std::vector<uint8_t> &byt…
184 … panda_file::ItemContainer *container, std::vector<uint8_t> *constant_pool,
187 Function::TryCatchInfo MakeOrderAndOffsets(const std::vector<uint8_t> &bytecode) const;
189 std::vector<panda_file::CodeItem::TryBlock> BuildTryBlocks(
190 …panda_file::MethodItem *method, const std::unordered_map<std::string, panda_file::BaseClassItem *>…
191 const std::vector<uint8_t> &bytecode) const;
205 … return std::any_of(ins.cbegin(), ins.cend(), [](const Ins &insn) { return insn.CanThrow(); }); in CanThrow()
210 … return std::any_of(ins.cbegin(), ins.cend(), [](const Ins &insn) { return insn.HasDebugInfo(); }); in HasDebugInfo()