Searched refs:SizeField (Results 1 – 13 of 13) sorted by relevance
/system/bt/gd/packet/parser/fields/ |
D | size_field.cc | 20 const std::string SizeField::kFieldType = "SizeField"; 22 SizeField::SizeField(std::string name, int size, ParseLocation loc) in SizeField() function in SizeField 25 const std::string& SizeField::GetFieldType() const { in GetFieldType() 26 return SizeField::kFieldType; in GetFieldType() 29 void SizeField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() 35 std::string SizeField::GetBuilderParameterType() const { in GetBuilderParameterType() 39 bool SizeField::GenBuilderParameter(std::ostream&) const { in GenBuilderParameter() 44 bool SizeField::HasParameterValidator() const { in HasParameterValidator() 48 void SizeField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 53 void SizeField::GenInserter(std::ostream&) const { in GenInserter() [all …]
|
D | size_field.h | 23 class SizeField : public ScalarField { 25 SizeField(std::string name, int size, ParseLocation loc);
|
D | body_field.h | 31 void SetSizeField(const SizeField* size_field); 63 const SizeField* size_field_{nullptr};
|
D | payload_field.h | 31 void SetSizeField(const SizeField* size_field); 68 const SizeField* size_field_;
|
D | vector_field.h | 62 void SetSizeField(const SizeField* size_field); 87 const SizeField* size_field_{nullptr};
|
D | body_field.cc | 23 void BodyField::SetSizeField(const SizeField* size_field) { in SetSizeField()
|
D | vector_field.cc | 54 if (size_field_->GetFieldType() == SizeField::kFieldType) { in GetSize() 91 if (size_field_->GetFieldType() == SizeField::kFieldType) { in GetStructSize() 213 void VectorField::SetSizeField(const SizeField* size_field) { in SetSizeField()
|
D | payload_field.cc | 25 void PayloadField::SetSizeField(const SizeField* size_field) { in SetSizeField()
|
D | scalar_field.cc | 218 if (GetFieldType() == SizeField::kFieldType || GetFieldType() == FixedScalarField::kFieldType) { in GenRustWriter()
|
/system/bt/gd/packet/parser/ |
D | struct_def.cc | 60 field->GetFieldType() == SizeField::kFieldType) in GenToString() 138 …field->GetFieldType() != FixedScalarField::kFieldType && field->GetFieldType() != SizeField::kFiel… in GenParse() 148 …if (field->GetFieldType() == CountField::kFieldType || field->GetFieldType() == SizeField::kFieldT… in GenParse() 210 …if (field->GetFieldType() == CountField::kFieldType || field->GetFieldType() == SizeField::kFieldT… in GenDefinition() 319 SizeField::kFieldType, in GenRustFieldNameAndType() 336 SizeField::kFieldType, in GenRustFieldNames() 354 SizeField::kFieldType, in GenRustDeclarations() 395 SizeField::kFieldType, in GenRustImpls()
|
D | parent_def.cc | 71 …if (field->GetFieldType() != SizeField::kFieldType && field->GetFieldType() != CountField::kFieldT… in AssignSizeFields() 75 const SizeField* size_field = static_cast<SizeField*>(field); in AssignSizeFields() 348 if (field->GetFieldType() == SizeField::kFieldType) { in GenSize() 349 const auto& field_name = ((SizeField*)field)->GetSizedFieldName(); in GenSize() 391 if (field->GetFieldType() == SizeField::kFieldType) { in GenSerialize() 392 const auto& field_name = ((SizeField*)field)->GetSizedFieldName(); in GenSerialize() 455 const auto& vector_name = ((SizeField*)field)->GetSizedFieldName() + "_"; in GenSerialize() 644 if (field->GetFieldType() == SizeField::kFieldType) { in GenRustWriteToFields() 645 const auto& field_name = ((SizeField*)field)->GetSizedFieldName(); in GenRustWriteToFields()
|
D | packet_def.cc | 138 SizeField::kFieldType, in GenParserDefinitionPybind11() 855 SizeField::kFieldType, in GenRustStructFieldNameAndType() 875 SizeField::kFieldType, in GenRustStructFieldNames() 1008 SizeField::kFieldType, in GenRustStructImpls() 1138 SizeField::kFieldType, in GenRustAccessStructImpls() 1196 SizeField::kFieldType, in GenRustBuilderStructImpls()
|
D | language_y.yy | 663 $$ = new SizeField(*$3, $6, LOC); 669 $$ = new SizeField("payload", $6, LOC); 674 $$ = new SizeField("body", $6, LOC);
|