/system/bt/gd/packet/parser/fields/ |
D | custom_field.cc | 38 std::string CustomField::GetDataType() const { in GetDataType() function in CustomField 44 s << GetDataType() << "::Parse( " << GetName() << "_ptr, " << GetName() << "_it);"; in GenExtractor() 60 s << "std::unique_ptr<" << GetDataType() << "> " << GetGetterFunctionName() << "() const {"; in GenGetter() 66 s << "std::unique_ptr<" << GetDataType() << "> " << GetName() << "_value"; in GenGetter() 67 s << " = std::make_unique<" << GetDataType() << ">();"; in GenGetter() 68 s << GetDataType() << "* " << GetName() << "_ptr = " << GetName() << "_value.get();"; in GenGetter() 76 return GetDataType(); in GetBuilderParameterType()
|
D | array_field.cc | 82 std::string ArrayField::GetDataType() const { in GetDataType() function in ArrayField 83 return "std::array<" + element_field_->GetDataType() + "," + std::to_string(array_size_) + ">"; in GetDataType() 87 s << GetDataType() << "::iterator ret_it = " << GetName() << "_ptr->begin();"; in GenExtractor() 97 s << element_field_->GetDataType() << " " << element_field_->GetName() << "_ptr;"; in GenExtractor() 116 s << GetDataType() << " " << GetGetterFunctionName() << "() {"; in GenGetter() 122 s << GetDataType() << " " << GetName() << "_value{};"; in GenGetter() 123 s << GetDataType() << "* " << GetName() << "_ptr = &" << GetName() << "_value;"; in GenGetter() 133 ss << "std::array<" << element_field_->GetDataType() << "," << array_size_ << ">"; in GetBuilderParameterType() 135 ss << "const std::array<" << element_field_->GetDataType() << "," << array_size_ << ">&"; in GetBuilderParameterType() 145 s << "std::array<" << element_field_->GetDataType() << "," << array_size_ << "> " << GetName(); in GenBuilderMember() [all …]
|
D | struct_field.cc | 38 std::string StructField::GetDataType() const { in GetDataType() function in StructField 44 s << GetDataType() << "::Parse(" << GetName() << "_ptr, " << GetName() << "_it);"; in GenExtractor() 54 s << GetDataType() << " " << GetGetterFunctionName() << "() const {"; in GenGetter() 59 s << GetDataType() << " " << GetName() << "_value{};"; in GenGetter() 60 s << GetDataType() << "* " << GetName() << "_ptr = &" << GetName() << "_value;"; in GenGetter() 68 return GetDataType(); in GetBuilderParameterType() 92 return GetDataType(); in GetRustDataType()
|
D | vector_field.cc | 106 std::string VectorField::GetDataType() const { in GetDataType() function in VectorField 107 return "std::vector<" + element_field_->GetDataType() + ">"; in GetDataType() 130 s << element_field_->GetDataType() << " " << element_field_->GetName() << "_ptr;"; in GenExtractor() 132 s << element_field_->GetDataType() << " " << element_field_->GetName() << "_value;"; in GenExtractor() 133 …s << element_field_->GetDataType() << "* " << element_field_->GetName() << "_ptr = &" << element_f… in GenExtractor() 154 s << GetDataType() << " " << GetGetterFunctionName() << "() {"; in GenGetter() 160 s << GetDataType() << " " << GetName() << "_value{};"; in GenGetter() 161 s << GetDataType() << "* " << GetName() << "_ptr = &" << GetName() << "_value;"; in GenGetter() 171 ss << "std::vector<" << element_field_->GetDataType() << ">"; in GetBuilderParameterType() 173 ss << "const std::vector<" << element_field_->GetDataType() << ">&"; in GetBuilderParameterType() [all …]
|
D | variable_length_struct_field.cc | 38 std::string VariableLengthStructField::GetDataType() const { in GetDataType() function in VariableLengthStructField 59 s << GetDataType() << " " << GetGetterFunctionName() << "() const {"; in GenGetter() 64 s << GetDataType() << " " << GetName() << "_ptr{};"; in GenGetter() 71 return GetDataType(); in GetBuilderParameterType()
|
D | scalar_field.cc | 39 std::string ScalarField::GetDataType() const { in GetDataType() function in ScalarField 90 s << "*" << GetName() << "_ptr = static_cast<" << GetDataType() << ">(extracted_value);"; in GenExtractor() 100 s << GetDataType() << " " << GetGetterFunctionName() << "() const {"; in GenGetter() 104 s << GetDataType() << " " << GetName() << "_value{};"; in GenGetter() 105 s << GetDataType() << "* " << GetName() << "_ptr = &" << GetName() << "_value;"; in GenGetter() 112 return GetDataType(); in GetBuilderParameterType()
|
D | enum_field.cc | 34 std::string EnumField::GetDataType() const { in GetDataType() function in EnumField 56 s << GetDataType() << "Text(" << accessor << ")"; in GenStringRepresentation()
|
D | checksum_start_field.cc | 33 std::string ChecksumStartField::GetDataType() const { in GetDataType() function in ChecksumStartField 70 return GetDataType(); in GetRustDataType()
|
D | group_field.cc | 42 std::string GroupField::GetDataType() const { in GetDataType() function in GroupField 87 return GetDataType(); in GetRustDataType()
|
D | body_field.cc | 42 std::string BodyField::GetDataType() const { in GetDataType() function in BodyField 80 return GetDataType(); in GetRustDataType()
|
D | custom_field_fixed_size.cc | 30 std::string CustomFieldFixedSize::GetDataType() const { in GetDataType() function in CustomFieldFixedSize 52 s << "*" << GetName() << "_ptr = " << GetName() << "_it.extract<" << GetDataType() << ">();"; in GenExtractor()
|
D | fixed_enum_field.h | 34 virtual std::string GetDataType() const override;
|
D | fixed_enum_field.cc | 29 std::string FixedEnumField::GetDataType() const { in GetDataType() function in FixedEnumField
|
D | fixed_scalar_field.h | 34 virtual std::string GetDataType() const override;
|
D | fixed_field.h | 32 virtual std::string GetDataType() const override = 0;
|
D | enum_field.h | 34 virtual std::string GetDataType() const override;
|
D | fixed_scalar_field.cc | 29 std::string FixedScalarField::GetDataType() const { in GetDataType() function in FixedScalarField
|
D | padding_field.cc | 37 std::string PaddingField::GetDataType() const { in GetDataType() function in PaddingField
|
D | reserved_field.cc | 35 std::string ReservedField::GetDataType() const { in GetDataType() function in ReservedField
|
D | checksum_field.cc | 29 std::string ChecksumField::GetDataType() const { in GetDataType() function in ChecksumField
|
D | group_field.h | 38 virtual std::string GetDataType() const override;
|
D | reserved_field.h | 32 virtual std::string GetDataType() const override;
|
D | custom_field_fixed_size.h | 30 virtual std::string GetDataType() const override;
|
D | checksum_field.h | 31 virtual std::string GetDataType() const override;
|
D | variable_length_struct_field.h | 34 virtual std::string GetDataType() const override;
|