Home
last modified time | relevance | path

Searched refs:StructDef (Results 1 – 8 of 8) sorted by relevance

/system/bt/gd/packet/parser/
Dstruct_def.cc22 StructDef::StructDef(std::string name, FieldList fields) : StructDef(name, fields, nullptr) {} in StructDef() function in StructDef
23 StructDef::StructDef(std::string name, FieldList fields, StructDef* parent) in StructDef() function in StructDef
26 PacketField* StructDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField()
34 TypeDef::Type StructDef::GetDefinitionType() const { in GetDefinitionType()
38 void StructDef::GenSpecialize(std::ostream& s) const { in GenSpecialize()
48 void StructDef::GenToString(std::ostream& s) const { in GenToString()
79 void StructDef::GenParse(std::ostream& s) const { in GenParse()
161 void StructDef::GenParseFunctionPrototype(std::ostream& s) const { in GenParseFunctionPrototype()
171 void StructDef::GenDefinition(std::ostream& s) const { in GenDefinition()
223 void StructDef::GenDefinitionPybind11(std::ostream& s) const { in GenDefinitionPybind11()
[all …]
Dstruct_def.h28 class StructDef : public ParentDef {
30 StructDef(std::string name, FieldList fields);
31 StructDef(std::string name, FieldList fields, StructDef* parent);
Dstruct_parser_generator.h34 explicit TreeNode(const StructDef* s) in TreeNode()
36 const StructDef* struct_def_;
Dstruct_parser_generator.cc23 const auto* struct_def = static_cast<const StructDef*>(s.second); in StructParserGenerator()
Dlanguage_y.yy47 StructDef* struct_definition_value;
272 … auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list));
297 …auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list), (
322 …auto struct_definition = new StructDef(std::move(struct_name), std::move(field_definition_list), (
Dgen_rust.cc155 const auto* struct_def = static_cast<const StructDef*>(s.second); in generate_rust_source_one_file()
Dgen_cpp.cc187 const auto* struct_def = static_cast<const StructDef*>(s.second); in generate_cpp_headers_one_file()
358 const auto* struct_def = static_cast<const StructDef*>(s.second); in generate_pybind11_sources_one_file()
Dmain.cc87 auto* struct_def = static_cast<StructDef*>(s.second); in parse_declarations_one_file()