• Home
  • Raw
  • Download

Lines Matching refs:ParentDef

22 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()
272 void ParentDef::GenSize(std::ostream& s) const { in GenSize()
360 void ParentDef::GenSerialize(std::ostream& s) const { in GenSerialize()
495 void ParentDef::GenInstanceOf(std::ostream& s) const { in GenInstanceOf()
524 const ParentDef* ParentDef::GetRootDef() const { in GetRootDef()
532 std::vector<const ParentDef*> ParentDef::GetAncestors() const { in GetAncestors()
533 std::vector<const ParentDef*> res; in GetAncestors()
543 std::map<std::string, std::variant<int64_t, std::string>> ParentDef::GetAllConstraints() const { in GetAllConstraints()
552 bool ParentDef::HasAncestorNamed(std::string name) const { in HasAncestorNamed()
563 std::string ParentDef::FindConstraintField() const { in FindConstraintField()
574 std::map<const ParentDef*, const std::variant<int64_t, std::string>>
575 ParentDef::FindDescendantsWithConstraint( in FindDescendantsWithConstraint()
577 std::map<const ParentDef*, const std::variant<int64_t, std::string>> res; in FindDescendantsWithConstraint()
590 std::vector<const ParentDef*> ParentDef::FindPathToDescendant(std::string descendant) const { in FindPathToDescendant()
591 std::vector<const ParentDef*> res; in FindPathToDescendant()
607 bool ParentDef::HasChildEnums() const { in HasChildEnums()
611 void ParentDef::GenRustConformanceCheck(std::ostream& s) const { in GenRustConformanceCheck()
628 void ParentDef::GenRustWriteToFields(std::ostream& s) const { in GenRustWriteToFields()
686 void ParentDef::GenSizeRetVal(std::ostream& s) const { in GenSizeRetVal()