Home
last modified time | relevance | path

Searched refs:FixedScalarField (Results 1 – 7 of 7) sorted by relevance

/system/bt/gd/packet/parser/fields/
Dfixed_scalar_field.cc20 const std::string FixedScalarField::kFieldType = "FixedScalarField";
22 FixedScalarField::FixedScalarField(int size, int64_t value, ParseLocation loc) in FixedScalarField() function in FixedScalarField
25 const std::string& FixedScalarField::GetFieldType() const { in GetFieldType()
26 return FixedScalarField::kFieldType; in GetFieldType()
29 std::string FixedScalarField::GetDataType() const { in GetDataType()
33 void FixedScalarField::GenValue(std::ostream& s) const { in GenValue()
37 void FixedScalarField::GenStringRepresentation(std::ostream& s, std::string) const { in GenStringRepresentation()
41 void FixedScalarField::GenRustWriter(std::ostream& s, Size start_offset, Size end_offset) const { in GenRustWriter()
46 void FixedScalarField::GenRustGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenRustGetter()
Dfixed_scalar_field.h26 class FixedScalarField : public FixedField {
28 FixedScalarField(int size, int64_t value, ParseLocation loc);
Dscalar_field.cc218 if (GetFieldType() == SizeField::kFieldType || GetFieldType() == FixedScalarField::kFieldType) { in GenRustWriter()
/system/bt/gd/packet/parser/
Dstruct_def.cc59 …field->GetFieldType() == FixedScalarField::kFieldType || field->GetFieldType() == CountField::kFie… in GenToString()
122 field->GetFieldType() != FixedScalarField::kFieldType && in GenParse()
138 …field->GetFieldType() != FixedScalarField::kFieldType && field->GetFieldType() != SizeField::kFiel… in GenParse()
322 if (!include_fixed && field->GetFieldType() == FixedScalarField::kFieldType) { in GenRustFieldNameAndType()
400 if (field->GetFieldType() == FixedScalarField::kFieldType) { in GenRustImpls()
402 static_cast<FixedScalarField*>(field)->GenValue(s); in GenRustImpls()
Dpacket_def.cc54 FixedScalarField::kFieldType, in GenParserDefinition()
136 FixedScalarField::kFieldType, in GenParserDefinitionPybind11()
329 …ieldType() == ReservedField::kFieldType || field->GetFieldType() == FixedScalarField::kFieldType || in GenParserToString()
857 FixedScalarField::kFieldType, in GenRustStructFieldNameAndType()
877 FixedScalarField::kFieldType, in GenRustStructFieldNames()
1010 FixedScalarField::kFieldType, in GenRustStructImpls()
1140 FixedScalarField::kFieldType, in GenRustAccessStructImpls()
1198 FixedScalarField::kFieldType, in GenRustBuilderStructImpls()
Dparent_def.cc613 FixedScalarField::kFieldType, in GenRustConformanceCheck()
620 auto f = (FixedScalarField*)field; in GenRustConformanceCheck()
Dlanguage_y.yy539 …expanded_fields->push_back(new FixedScalarField(field->GetSize().bits(), std::get<int64_t>(constra…
687 $$ = new FixedScalarField($5, $3, LOC);