Home
last modified time | relevance | path

Searched refs:kFieldType (Results 1 – 25 of 44) 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 …ield->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 …]
Dpacket_def.cc54 FixedScalarField::kFieldType, in GenParserDefinition()
55 FixedEnumField::kFieldType, in GenParserDefinition()
136 FixedScalarField::kFieldType, in GenParserDefinitionPybind11()
137 FixedEnumField::kFieldType, in GenParserDefinitionPybind11()
138 SizeField::kFieldType, in GenParserDefinitionPybind11()
139 CountField::kFieldType, in GenParserDefinitionPybind11()
174 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()
[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()
189 if (field->GetFieldType() == PayloadField::kFieldType) { in AddField()
196 if (field->GetFieldType() == BodyField::kFieldType) { in AddField()
/system/bt/gd/packet/parser/fields/
Dvector_field.cc23 const std::string VectorField::kFieldType = "VectorField"; member in VectorField
44 return VectorField::kFieldType; in GetFieldType()
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()
262 if (element_field_type == ScalarField::kFieldType) { in GenBoundsCheck()
272 } else if (size_field_->GetFieldType() == CountField::kFieldType) { in GenBoundsCheck()
[all …]
Dfixed_enum_field.cc20 const std::string FixedEnumField::kFieldType = "FixedEnumField"; member in FixedEnumField
26 return FixedEnumField::kFieldType; in GetFieldType()
Dsize_field.cc20 const std::string SizeField::kFieldType = "SizeField"; member in SizeField
26 return SizeField::kFieldType; in GetFieldType()
Dfixed_scalar_field.cc20 const std::string FixedScalarField::kFieldType = "FixedScalarField"; member in FixedScalarField
26 return FixedScalarField::kFieldType; in GetFieldType()
Dpadding_field.cc20 const std::string PaddingField::kFieldType = "PaddingField"; member in PaddingField
26 return PaddingField::kFieldType; in GetFieldType()
Dcount_field.cc20 const std::string CountField::kFieldType = "CountField"; member in CountField
26 return CountField::kFieldType; in GetFieldType()
Denum_field.cc21 const std::string EnumField::kFieldType = "EnumField"; member in EnumField
27 return EnumField::kFieldType; in GetFieldType()
Dreserved_field.cc22 const std::string ReservedField::kFieldType = "ReservedField"; member in ReservedField
28 return ReservedField::kFieldType; in GetFieldType()
Dchecksum_field.cc20 const std::string ChecksumField::kFieldType = "ChecksumField"; member in ChecksumField
26 return ChecksumField::kFieldType; in GetFieldType()
Dchecksum_start_field.cc20 const std::string ChecksumStartField::kFieldType = "ChecksumStartField"; member in ChecksumStartField
26 return ChecksumStartField::kFieldType; in GetFieldType()
Dgroup_field.cc26 const std::string GroupField::kFieldType = "GroupField"; member in GroupField
34 return GroupField::kFieldType; in GetFieldType()
Dbody_field.cc19 const std::string BodyField::kFieldType = "BodyField"; member in BodyField
31 return BodyField::kFieldType; in GetFieldType()
Dvariable_length_struct_field.cc20 const std::string VariableLengthStructField::kFieldType = "VariableLengthStructField"; member in VariableLengthStructField
26 return VariableLengthStructField::kFieldType; in GetFieldType()
Dscalar_field.cc23 const std::string ScalarField::kFieldType = "ScalarField"; member in ScalarField
32 return ScalarField::kFieldType; in GetFieldType()
218 if (GetFieldType() == SizeField::kFieldType || GetFieldType() == FixedScalarField::kFieldType) { in GenRustWriter()
Dcustom_field_fixed_size.cc21 const std::string CustomFieldFixedSize::kFieldType = "CustomField"; member in CustomFieldFixedSize
27 return CustomFieldFixedSize::kFieldType; in GetFieldType()
Dcustom_field.cc20 const std::string CustomField::kFieldType = "CustomField"; member in CustomField
26 return CustomField::kFieldType; in GetFieldType()
Dpayload_field.cc20 const std::string PayloadField::kFieldType = "PayloadField"; member in PayloadField
34 return PayloadField::kFieldType; in GetFieldType()
Dstruct_field.cc20 const std::string StructField::kFieldType = "StructField"; member in StructField
26 return StructField::kFieldType; in GetFieldType()
Dfixed_enum_field.h30 static const std::string kFieldType; variable
Darray_field.cc23 const std::string ArrayField::kFieldType = "ArrayField"; member in ArrayField
44 return ArrayField::kFieldType; in GetFieldType()
189 if (element_field_->GetFieldType() == CustomField::kFieldType) { in GenStringRepresentation()
Dfixed_scalar_field.h30 static const std::string kFieldType; variable

12