Home
last modified time | relevance | path

Searched refs:GetRustParseDataType (Results 1 – 4 of 4) sorted by relevance

/system/bt/gd/packet/parser/fields/
Dscalar_field.cc143 std::string ScalarField::GetRustParseDataType() const { in GetRustParseDataType() function in ScalarField
170 s << GetRustParseDataType() << "::from_le_bytes(["; in GenRustGetter()
208 if (GetRustParseDataType() != GetRustDataType()) { in GenRustGetter()
210 …s << GetRustDataType() << "::from_" << GetRustParseDataType() << "(" << GetName() << ").unwrap();"; in GenRustGetter()
220 } else if (GetRustParseDataType() != GetRustDataType()) { in GenRustWriter()
222 …s << "let " << GetName() << " = self." << GetName() << ".to_" << GetRustParseDataType() << "().unw… in GenRustWriter()
245 …<< "(buffer[" << start_offset.bytes() + access_offset << "] as " << GetRustParseDataType() << ") &… in GenRustWriter()
Dcustom_field_fixed_size.cc76 std::string CustomFieldFixedSize::GetRustParseDataType() const { in GetRustParseDataType() function in CustomFieldFixedSize
104 …s << "let " << GetName() << ": " << GetRustParseDataType() << " = self." << GetName() << ".into();… in GenRustWriter()
Dcustom_field_fixed_size.h52 virtual std::string GetRustParseDataType() const override;
Dscalar_field.h56 virtual std::string GetRustParseDataType() const;