/system/bt/gd/packet/parser/fields/ |
D | packet_field.cc | 21 PacketField::PacketField(std::string name, ParseLocation loc) : loc_(loc), name_(name) {} in PacketField() function in PacketField 23 std::string PacketField::GetDebugName() const { in GetDebugName() 27 ParseLocation PacketField::GetLocation() const { in GetLocation() 31 std::string PacketField::GetName() const { in GetName() 35 Size PacketField::GetBuilderSize() const { in GetBuilderSize() 39 Size PacketField::GetStructSize() const { in GetStructSize() 43 int PacketField::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds() 75 bool PacketField::GenBuilderParameter(std::ostream& s) const { in GenBuilderParameter() 84 bool PacketField::BuilderParameterMustBeMoved() const { in BuilderParameterMustBeMoved() 88 bool PacketField::GenBuilderMember(std::ostream& s) const { in GenBuilderMember() [all …]
|
D | group_field.h | 24 class GroupField : public PacketField { 26 GroupField(ParseLocation loc, std::list<PacketField*>* fields); 56 const std::list<PacketField*>* GetFields() const; 59 std::list<PacketField*>* fields_;
|
D | packet_field.h | 27 class PacketField : public Loggable { 29 virtual ~PacketField() = default; 31 PacketField(std::string name, ParseLocation loc); 107 virtual const PacketField* GetElementField() const;
|
D | group_field.cc | 19 GroupField::GroupField(ParseLocation loc, std::list<PacketField*>* fields) in GroupField() 20 : PacketField("Groups have no name", loc), fields_(fields) {} in GroupField() 82 const std::list<PacketField*>* GroupField::GetFields() const { in GetFields()
|
D | array_field.h | 23 class ArrayField : public PacketField { 63 virtual const PacketField* GetElementField() const override; 69 const PacketField* element_field_{nullptr};
|
D | vector_field.h | 24 class VectorField : public PacketField { 68 virtual const PacketField* GetElementField() const override; 74 const PacketField* element_field_{nullptr};
|
D | array_field.cc | 26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in ArrayField() 36 : PacketField(name, loc), element_field_(type_def->GetNewField("val", loc)), in ArrayField() 175 const PacketField* ArrayField::GetElementField() const { in GetElementField()
|
D | vector_field.cc | 26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in VectorField() 36 : PacketField(name, loc), element_field_(type_def->GetNewField("val", loc)), in VectorField() 230 const PacketField* VectorField::GetElementField() const { in GetElementField()
|
D | padding_field.cc | 23 : PacketField("padding_" + std::to_string(size * 8), loc), size_(size * 8) {} in PaddingField()
|
D | checksum_start_field.cc | 23 : PacketField(name + "_start", loc), started_field_name_(name) {} in ChecksumStartField()
|
D | reserved_field.cc | 25 : PacketField("ReservedScalar" + std::to_string(unique_id_++), loc), size_(size) {} in ReservedField()
|
D | reserved_field.h | 22 class ReservedField : public PacketField {
|
D | padding_field.h | 22 class PaddingField : public PacketField {
|
D | body_field.h | 23 class BodyField : public PacketField {
|
D | body_field.cc | 21 BodyField::BodyField(ParseLocation loc) : PacketField("body", loc) {} in BodyField()
|
/system/bt/gd/packet/parser/ |
D | field_list.h | 26 using FieldListIterator = std::vector<PacketField*>::const_iterator; 27 using ReverseFieldListIterator = std::vector<PacketField*>::const_reverse_iterator; 33 FieldList(std::vector<PacketField*> fields) { in FieldList() 34 for (PacketField* field : fields) { in FieldList() 47 PacketField* operator[](int index) const { 51 PacketField* GetField(std::string field_name) const { in GetField() 60 void AppendField(PacketField* field) { in AppendField() 65 void PrependField(PacketField* field) { in PrependField() 184 void AddField(PacketField* field) { in AddField() 206 std::vector<PacketField*> field_list_; [all …]
|
D | packet_def.h | 32 PacketField* GetNewField(const std::string& name, ParseLocation loc) const; 40 void GenParserFieldGetter(std::ostream& s, const PacketField* field) const;
|
D | checksum_def.h | 30 virtual PacketField* GetNewField(const std::string& name, ParseLocation loc) const override;
|
D | checksum_def.cc | 24 PacketField* ChecksumDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField()
|
D | enum_def.h | 31 virtual PacketField* GetNewField(const std::string& name, ParseLocation loc) const;
|
D | struct_parser_generator.h | 37 const PacketField* packet_field_;
|
D | type_def.h | 46 virtual PacketField* GetNewField(const std::string& name, ParseLocation loc) const = 0;
|
D | custom_field_def.h | 32 virtual PacketField* GetNewField(const std::string& name, ParseLocation loc) const override;
|
D | struct_def.h | 33 PacketField* GetNewField(const std::string& name, ParseLocation loc) const;
|
D | enum_def.cc | 40 PacketField* EnumDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField()
|