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 …]
Dparent_def.cc35 if (constrained_field->GetFieldType() == ScalarField::kFieldType) { in AddParentConstraint()
39 } else if (constrained_field->GetFieldType() == EnumField::kFieldType) { in AddParentConstraint()
67 …if (field->GetFieldType() != SizeField::kFieldType && field->GetFieldType() != CountField::kFieldT… in AssignSizeFields()
87 if (var_len_field->GetFieldType() == PayloadField::kFieldType) { in AssignSizeFields()
93 if (var_len_field->GetFieldType() == BodyField::kFieldType) { in AssignSizeFields()
99 if (var_len_field->GetFieldType() == VectorField::kFieldType) { in AssignSizeFields()
121 …(field->GetFieldType() == PayloadField::kFieldType || field->GetFieldType() == BodyField::kFieldTy… in GetSize()
126 if (field->GetFieldType() == CustomField::kFieldType && field->GetSize().has_dynamic()) { in GetSize()
183 if (field->GetFieldType() != PaddingField::kFieldType || !from_end) { in GetOffsetForField()
303 if (field->GetFieldType() == PaddingField::kFieldType) { in GenSize()
[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()
Dpacket_def.cc173 if (field->GetFieldType() != PaddingField::kFieldType) { in GenValidator()
206 if (field->GetFieldType() == ChecksumStartField::kFieldType) { in GenValidator()
258 if (field->GetFieldType() == CustomField::kFieldType) { in GenValidator()
294 if (field->GetFieldType() == ScalarField::kFieldType) { in GenValidator()
324 …if (field->GetFieldType() == ReservedField::kFieldType || field->GetFieldType() == FixedScalarFiel… in GenParserToString()
325 field->GetFieldType() == ChecksumStartField::kFieldType) in GenParserToString()
585 if (param->GetFieldType() == VectorField::kFieldType) { in GenBuilderCreatePybind11()
587 } else if (param->GetFieldType() == ArrayField::kFieldType) { in GenBuilderCreatePybind11()
684 if (field->GetFieldType() == ScalarField::kFieldType) { in GenBuilderConstructor()
686 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenBuilderConstructor()
/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()
Dpacket_field.cc24 return "Field{Type:" + GetFieldType() + ", Name:" + GetName() + "}"; in GetDebugName()
105 s << "\"REPRESENTATION_UNIMPLEMENTED " << GetFieldType() << " " << accessor << "\""; in GenStringRepresentation()
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.h32 virtual const std::string& GetFieldType() const override;
Dfixed_enum_field.cc25 const std::string& FixedEnumField::GetFieldType() const { in GetFieldType() function in FixedEnumField
Dfixed_scalar_field.h32 virtual const std::string& GetFieldType() const override;
Dfixed_scalar_field.cc25 const std::string& FixedScalarField::GetFieldType() const { in GetFieldType() function in FixedScalarField
Dcount_field.cc25 const std::string& CountField::GetFieldType() const { in GetFieldType() function in CountField
Dcount_field.h31 virtual const std::string& GetFieldType() const override;
Dpadding_field.cc25 const std::string& PaddingField::GetFieldType() const { in GetFieldType() function in PaddingField
Denum_field.h32 virtual const std::string& GetFieldType() const override;
Dchecksum_start_field.cc25 const std::string& ChecksumStartField::GetFieldType() const { in GetFieldType() function in ChecksumStartField
Dreserved_field.cc27 const std::string& ReservedField::GetFieldType() const { in GetFieldType() function in ReservedField
Dsize_field.cc25 const std::string& SizeField::GetFieldType() const { in GetFieldType() function in SizeField
Denum_field.cc26 const std::string& EnumField::GetFieldType() const { in GetFieldType() function in EnumField
Dreserved_field.h28 virtual const std::string& GetFieldType() const override;
Dchecksum_field.cc25 const std::string& ChecksumField::GetFieldType() const { in GetFieldType() function in ChecksumField
Dpadding_field.h30 virtual const std::string& GetFieldType() const override;
Dcustom_field_fixed_size.h28 virtual const std::string& GetFieldType() const override;
Dsize_field.h31 virtual const std::string& GetFieldType() const override;
Dbody_field.h29 virtual const std::string& GetFieldType() const override;

12