Home
last modified time | relevance | path

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

/system/bt/gd/packet/parser/
Dparent_def.h30 class ParentDef : public TypeDef {
32 ParentDef(std::string name, FieldList fields);
33 ParentDef(std::string name, FieldList fields, ParentDef* parent);
67 const ParentDef* GetRootDef() const;
73 std::vector<const ParentDef*> GetAncestors() const;
77 std::map<const ParentDef*, const std::variant<int64_t, std::string>>
79 std::vector<const ParentDef*> FindPathToDescendant(std::string descendant) const;
83 ParentDef* parent_{nullptr};
85 ParentDef* complement_{nullptr};
87 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 …]
Dstruct_def.h28 class StructDef : public ParentDef {
Dpacket_def.h27 class PacketDef : public ParentDef {
Dpacket_def.cc26 PacketDef::PacketDef(std::string name, FieldList fields) : ParentDef(name, fields, nullptr) {} in PacketDef()
27 PacketDef::PacketDef(std::string name, FieldList fields, PacketDef* parent) : ParentDef(name, field… in PacketDef()
1108 const ParentDef* prev = nullptr; in GenRustAccessStructImpls()
1189 const ParentDef* prev = nullptr; in GenRustBuilderStructImpls()
Dstruct_def.cc24 : ParentDef(name, fields, parent), total_size_(GetSize(true)) {} in StructDef()