Home
last modified time | relevance | path

Searched refs:GetFieldType (Results 1 – 25 of 45) sorted by relevance

12

/system/bt/gd/packet/parser/
Dstruct_def.cc57 if (field->GetFieldType() == ReservedField::kFieldType || in GenToString()
58 field->GetFieldType() == ChecksumStartField::kFieldType || in GenToString()
59 …field->GetFieldType() == FixedScalarField::kFieldType || field->GetFieldType() == CountField::kFie… in GenToString()
60 field->GetFieldType() == SizeField::kFieldType) in GenToString()
121 …if (field->GetFieldType() != ReservedField::kFieldType && field->GetFieldType() != BodyField::kFie… in GenParse()
122 field->GetFieldType() != FixedScalarField::kFieldType && in GenParse()
123 …field->GetFieldType() != ChecksumStartField::kFieldType && field->GetFieldType() != ChecksumField:… in GenParse()
124 field->GetFieldType() != CountField::kFieldType) { in GenParse()
137 …if (field->GetFieldType() != ReservedField::kFieldType && field->GetFieldType() != BodyField::kFie… in GenParse()
138 …field->GetFieldType() != FixedScalarField::kFieldType && field->GetFieldType() != SizeField::kFiel… in GenParse()
[all …]
Dfield_list.h74 …if (field->GetFieldType() == PayloadField::kFieldType || field->GetFieldType() == BodyField::kFiel… in GetFieldsBeforePayloadOrBody()
87 …if (field->GetFieldType() == PayloadField::kFieldType || field->GetFieldType() == BodyField::kFiel… in GetFieldsAfterPayloadOrBody()
101 if (field_types.find(field->GetFieldType()) != field_types.end()) { in GetFieldsWithTypes()
113 if (field_types.find(field->GetFieldType()) == field_types.end()) { in GetFieldsWithoutTypes()
189 if (field->GetFieldType() == PayloadField::kFieldType) { in AddField()
196 if (field->GetFieldType() == BodyField::kFieldType) { in AddField()
Dparent_def.cc35 if (constrained_field->GetFieldType() == ScalarField::kFieldType) { in AddParentConstraint()
39 } else if (constrained_field->GetFieldType() == EnumField::kFieldType) { in AddParentConstraint()
71 …if (field->GetFieldType() != SizeField::kFieldType && field->GetFieldType() != CountField::kFieldT… in AssignSizeFields()
91 if (var_len_field->GetFieldType() == PayloadField::kFieldType) { in AssignSizeFields()
97 if (var_len_field->GetFieldType() == BodyField::kFieldType) { in AssignSizeFields()
103 if (var_len_field->GetFieldType() == VectorField::kFieldType) { in AssignSizeFields()
125 …(field->GetFieldType() == PayloadField::kFieldType || field->GetFieldType() == BodyField::kFieldTy… in GetSize()
130 if (field->GetFieldType() == CustomField::kFieldType && field->GetSize().has_dynamic()) { in GetSize()
179 if (field->GetFieldType() == PaddingField::kFieldType) { in GetOffsetForField()
199 if (!from_end || field->GetFieldType() != PaddingField::kFieldType) { in GetOffsetForField()
[all …]
Dpacket_def.cc174 if (field->GetFieldType() != PaddingField::kFieldType) { in GenValidator()
211 if (field->GetFieldType() == ChecksumStartField::kFieldType) { in GenValidator()
263 if (field->GetFieldType() == CustomField::kFieldType) { in GenValidator()
299 if (field->GetFieldType() == ScalarField::kFieldType) { in GenValidator()
329 …if (field->GetFieldType() == ReservedField::kFieldType || field->GetFieldType() == FixedScalarFiel… in GenParserToString()
330 field->GetFieldType() == ChecksumStartField::kFieldType) in GenParserToString()
610 if (param->GetFieldType() == VectorField::kFieldType) { in GenBuilderCreatePybind11()
612 } else if (param->GetFieldType() == ArrayField::kFieldType) { in GenBuilderCreatePybind11()
709 if (field->GetFieldType() == ScalarField::kFieldType) { in GenBuilderConstructor()
711 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenBuilderConstructor()
[all …]
/system/bt/gd/packet/parser/fields/
Dvector_field.cc43 const std::string& VectorField::GetFieldType() const { in GetFieldType() function in VectorField
54 if (size_field_->GetFieldType() == SizeField::kFieldType) { in GetSize()
91 if (size_field_->GetFieldType() == SizeField::kFieldType) { in GetStructSize()
112 if (size_field_ != nullptr && size_field_->GetFieldType() == CountField::kFieldType) { in GenExtractor()
121 if (size_field_ != nullptr && size_field_->GetFieldType() == CountField::kFieldType) { in GenExtractor()
214 if (size_field->GetFieldType() == CountField::kFieldType && !size_modifier_.empty()) { in SetSizeField()
243 if (element_field_->GetFieldType() == CustomField::kFieldType) { in GenStringRepresentation()
258 auto element_field_type = GetElementField()->GetFieldType(); in GenBoundsCheck()
272 } else if (size_field_->GetFieldType() == CountField::kFieldType) { in GenBoundsCheck()
305 auto element_field_type = GetElementField()->GetFieldType(); in GenRustGetter()
[all …]
Dfixed_enum_field.h32 virtual const std::string& GetFieldType() const override;
Darray_field.cc43 const std::string& ArrayField::GetFieldType() const { in GetFieldType() function in ArrayField
181 s << "/* " << element_field_->GetDataType() << " " << element_field_->GetFieldType() << " */"; in GenStringRepresentation()
189 if (element_field_->GetFieldType() == CustomField::kFieldType) { in GenStringRepresentation()
Dfixed_enum_field.cc25 const std::string& FixedEnumField::GetFieldType() const { in GetFieldType() function in FixedEnumField
Dpacket_field.cc24 return "Field{Type:" + GetFieldType() + ", Name:" + GetName() + "}"; in GetDebugName()
105 s << "\"REPRESENTATION_UNIMPLEMENTED " << GetFieldType() << " " << accessor << "\""; in GenStringRepresentation()
Dfixed_scalar_field.h32 virtual const std::string& GetFieldType() const override;
Denum_field.h32 virtual const std::string& GetFieldType() const override;
Dcount_field.h31 virtual const std::string& GetFieldType() const override;
Dscalar_field.cc31 const std::string& ScalarField::GetFieldType() const { in GetFieldType() function in ScalarField
218 if (GetFieldType() == SizeField::kFieldType || GetFieldType() == FixedScalarField::kFieldType) { in GenRustWriter()
Dsize_field.cc25 const std::string& SizeField::GetFieldType() const { in GetFieldType() function in SizeField
Dfixed_scalar_field.cc25 const std::string& FixedScalarField::GetFieldType() const { in GetFieldType() function in FixedScalarField
Dpadding_field.cc25 const std::string& PaddingField::GetFieldType() const { in GetFieldType() function in PaddingField
Dcount_field.cc25 const std::string& CountField::GetFieldType() const { in GetFieldType() function in CountField
Denum_field.cc26 const std::string& EnumField::GetFieldType() const { in GetFieldType() function in EnumField
Dsize_field.h31 virtual const std::string& GetFieldType() const override;
Dreserved_field.cc27 const std::string& ReservedField::GetFieldType() const { in GetFieldType() function in ReservedField
Dchecksum_field.cc25 const std::string& ChecksumField::GetFieldType() const { in GetFieldType() function in ChecksumField
Dchecksum_start_field.cc25 const std::string& ChecksumStartField::GetFieldType() const { in GetFieldType() function in ChecksumStartField
Dgroup_field.cc33 const std::string& GroupField::GetFieldType() const { in GetFieldType() function in GroupField
Dbody_field.cc30 const std::string& BodyField::GetFieldType() const { in GetFieldType() function in BodyField
Dgroup_field.h34 virtual const std::string& GetFieldType() const override;

12