/system/bt/gd/packet/parser/fields/ |
D | vector_field.cc | 253 std::string VectorField::GetRustDataType() const { in GetRustDataType() function in VectorField 254 return "Vec::<" + element_field_->GetRustDataType() + ">"; in GetRustDataType() 310 s << "let " << GetName() << ": " << GetRustDataType() << " = "; in GenRustGetter() 327 s << element_field->GetRustDataType() << "::from_le_bytes(["; in GenRustGetter() 337 s << "let mut " << GetName() << ": " << GetRustDataType() << " = Vec::new();"; in GenRustGetter() 354 s << " match " << element_field->GetRustDataType() << "::parse(&parsable_) {"; in GenRustGetter()
|
D | scalar_field.cc | 139 std::string ScalarField::GetRustDataType() const { in GetRustDataType() function in ScalarField 208 if (GetRustParseDataType() != GetRustDataType()) { in GenRustGetter() 210 …s << GetRustDataType() << "::from_" << GetRustParseDataType() << "(" << GetName() << ").unwrap();"; in GenRustGetter() 220 } else if (GetRustParseDataType() != GetRustDataType()) { in GenRustWriter()
|
D | payload_field.cc | 116 std::string PayloadField::GetRustDataType() const { in GetRustDataType() function in PayloadField 121 s << "let " << GetName() << ": " << GetRustDataType() << " = "; in GenRustGetter()
|
D | struct_field.cc | 91 std::string StructField::GetRustDataType() const { in GetRustDataType() function in StructField 101 s << GetRustDataType() << "::parse(&bytes[" << start_offset.bytes() << ".."; in GenRustGetter()
|
D | enum_field.h | 46 virtual std::string GetRustDataType() const override;
|
D | fixed_scalar_field.cc | 42 s << "let " << GetName() << ": " << GetRustDataType() << " = " << value_ << ";"; in GenRustWriter()
|
D | padding_field.cc | 65 std::string PaddingField::GetRustDataType() const { in GetRustDataType() function in PaddingField
|
D | enum_field.cc | 59 std::string EnumField::GetRustDataType() const { in GetRustDataType() function in EnumField
|
D | reserved_field.cc | 71 std::string ReservedField::GetRustDataType() const { in GetRustDataType() function in ReservedField
|
D | checksum_start_field.cc | 69 std::string ChecksumStartField::GetRustDataType() const { in GetRustDataType() function in ChecksumStartField
|
D | group_field.cc | 86 std::string GroupField::GetRustDataType() const { in GetRustDataType() function in GroupField
|
D | body_field.cc | 79 std::string BodyField::GetRustDataType() const { in GetRustDataType() function in BodyField
|
D | group_field.h | 58 virtual std::string GetRustDataType() const override;
|
D | reserved_field.h | 50 virtual std::string GetRustDataType() const override;
|
D | custom_field_fixed_size.h | 50 virtual std::string GetRustDataType() const override;
|
D | variable_length_struct_field.h | 54 virtual std::string GetRustDataType() const override;
|
D | padding_field.h | 54 virtual std::string GetRustDataType() const override;
|
D | checksum_start_field.h | 56 virtual std::string GetRustDataType() const override;
|
D | body_field.h | 55 virtual std::string GetRustDataType() const override;
|
D | array_field.cc | 199 std::string ArrayField::GetRustDataType() const { in GetRustDataType() function in ArrayField 200 return "[" + element_field_->GetRustDataType() + "; " + std::to_string(array_size_) + "]"; in GetRustDataType()
|
D | custom_field.h | 56 virtual std::string GetRustDataType() const override;
|
D | payload_field.h | 59 virtual std::string GetRustDataType() const override;
|
D | struct_field.h | 54 virtual std::string GetRustDataType() const override;
|
D | scalar_field.h | 54 virtual std::string GetRustDataType() const override;
|
D | array_field.h | 67 virtual std::string GetRustDataType() const override;
|