Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/packet/parser/
Dparent_def.h32 class ParentDef : public TypeDef {
34 ParentDef(std::string name, FieldList fields);
35 ParentDef(std::string name, FieldList fields, ParentDef* parent);
69 const ParentDef* GetRootDef() const;
75 std::vector<const ParentDef*> GetAncestors() const;
79 std::map<const ParentDef*, const std::variant<int64_t, std::string>>
81 std::vector<const ParentDef*> FindPathToDescendant(std::string descendant) const;
85 ParentDef* parent_{nullptr};
87 ParentDef* complement_{nullptr};
89 std::vector<ParentDef*> children_;
Dparent_def.cc22 ParentDef::ParentDef(std::string name, FieldList fields) : ParentDef(name, fields, nullptr) {} in ParentDef() function in ParentDef
23 ParentDef::ParentDef(std::string name, FieldList fields, ParentDef* parent) in ParentDef() function in ParentDef
26 void ParentDef::AddParentConstraint(std::string field_name, std::variant<int64_t, std::string> valu… in AddParentConstraint()
58 void ParentDef::AddTestCase(std::string packet_bytes) { in AddTestCase()
67 void ParentDef::AssignSizeFields() { in AssignSizeFields()
115 void ParentDef::SetEndianness(bool is_little_endian) { in SetEndianness()
120 Size ParentDef::GetSize(bool without_payload) const { in GetSize()
169 Size ParentDef::GetOffsetForField(std::string field_name, bool from_end) const { in GetOffsetForField()
235 FieldList ParentDef::GetParamList() const { in GetParamList()
263 void ParentDef::GenMembers(std::ostream& s) const { in GenMembers()
[all …]
Dpacket_dependency.h30 const ParentDef* parent,
33 const ParentDef* parent,
38 PacketDependency(const ParentDef* root);
Dpacket_dependency.cc23 PacketDependency::PacketDependency(const ParentDef* root) { in PacketDependency()
40 const ParentDef* parent, in CollectInitialParseAndMatchFields()
88 const ParentDef* parent, in FinalizeParseAndMatchFields()
Dstruct_def.h28 class StructDef : public ParentDef {
Dpacket_def.h27 class PacketDef : public ParentDef {
Dpacket_def.cc27 PacketDef::PacketDef(std::string name, FieldList fields) : ParentDef(name, fields, nullptr) {} in PacketDef()
28 PacketDef::PacketDef(std::string name, FieldList fields, PacketDef* parent) : ParentDef(name, field… in PacketDef()
Dstruct_def.cc24 : ParentDef(name, fields, parent), total_size_(GetSize(true)) {} in StructDef()