Home
last modified time | relevance | path

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

12

/packages/modules/Bluetooth/system/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()
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 …]
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.cc177 if (field->GetFieldType() != PaddingField::kFieldType) { in GenValidator()
226 if (field->GetFieldType() == ChecksumStartField::kFieldType) { in GenValidator()
279 if (field->GetFieldType() == CustomField::kFieldType) { in GenValidator()
315 if (field->GetFieldType() == ScalarField::kFieldType) { in GenValidator()
345 …if (field->GetFieldType() == ReservedField::kFieldType || field->GetFieldType() == FixedScalarFiel… in GenParserToString()
346 field->GetFieldType() == ChecksumStartField::kFieldType) in GenParserToString()
640 if (param->GetFieldType() == VectorField::kFieldType) { in GenBuilderCreatePybind11()
642 } else if (param->GetFieldType() == ArrayField::kFieldType) { in GenBuilderCreatePybind11()
739 if (field->GetFieldType() == ScalarField::kFieldType) { in GenBuilderConstructor()
741 } else if (field->GetFieldType() == EnumField::kFieldType) { in GenBuilderConstructor()
[all …]
Dlanguage_y.yy426 if ($1->GetFieldType() == GroupField::kFieldType) {
443 if ($1->GetFieldType() == GroupField::kFieldType) {
538 if (field->GetFieldType() == ScalarField::kFieldType) {
541 } else if (field->GetFieldType() == EnumField::kFieldType) {
555 ERRORLOC(LOC) << "Unimplemented constraint of type " << field->GetFieldType();
/packages/modules/Bluetooth/system/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()
262 if (size_field_ != nullptr && size_field_->GetFieldType() == SizeField::kFieldType) { in GenBoundsCheck()
281 …size_field_ != nullptr && size_field_->GetFieldType() == CountField::kFieldType && !element_size.e… in GenBoundsCheck()
[all …]
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()
Dscalar_field.cc31 const std::string& ScalarField::GetFieldType() const { in GetFieldType() function in ScalarField
227 if (GetFieldType() == SizeField::kFieldType || GetFieldType() == FixedScalarField::kFieldType) { in GenRustWriter()
Dpacket_field.cc24 return "Field{Type:" + GetFieldType() + ", Name:" + GetName() + "}"; in GetDebugName()
105 s << "\"REPRESENTATION_UNIMPLEMENTED " << GetFieldType() << " " << accessor << "\""; 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;
Denum_field.h32 virtual const std::string& GetFieldType() const override;
Dcount_field.h31 virtual const std::string& GetFieldType() const override;
Dsize_field.cc25 const std::string& SizeField::GetFieldType() const { in GetFieldType() function in SizeField
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
Dfixed_scalar_field.cc25 const std::string& FixedScalarField::GetFieldType() const { in GetFieldType() function in FixedScalarField
Dsize_field.h31 virtual const std::string& GetFieldType() const override;
Dpadding_field.cc25 const std::string& PaddingField::GetFieldType() const { in GetFieldType() function in PaddingField
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
Dreserved_field.cc27 const std::string& ReservedField::GetFieldType() const { in GetFieldType() function in ReservedField
Dcustom_field_fixed_size.h28 virtual const std::string& GetFieldType() const override;
Dbody_field.cc30 const std::string& BodyField::GetFieldType() const { in GetFieldType() function in BodyField

12