Home
last modified time | relevance | path

Searched refs:CountField (Results 1 – 7 of 7) sorted by relevance

/system/bt/gd/packet/parser/fields/
Dcount_field.cc20 const std::string CountField::kFieldType = "CountField";
22 CountField::CountField(std::string name, int size, ParseLocation loc) in CountField() function in CountField
25 const std::string& CountField::GetFieldType() const { in GetFieldType()
26 return CountField::kFieldType; in GetFieldType()
29 void CountField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter()
35 bool CountField::GenBuilderParameter(std::ostream&) const { in GenBuilderParameter()
40 bool CountField::HasParameterValidator() const { in HasParameterValidator()
44 void CountField::GenParameterValidator(std::ostream&) const { in GenParameterValidator()
49 void CountField::GenInserter(std::ostream&) const { in GenInserter()
53 void CountField::GenValidator(std::ostream&) const { in GenValidator()
[all …]
Dcount_field.h23 class CountField : public ScalarField {
25 CountField(std::string name, int size, ParseLocation loc);
Dvector_field.cc112 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()
/system/bt/gd/packet/parser/
Dstruct_def.cc59 …etFieldType() == FixedScalarField::kFieldType || field->GetFieldType() == CountField::kFieldType || in GenToString()
124 field->GetFieldType() != CountField::kFieldType) { in GenParse()
140 field->GetFieldType() != CountField::kFieldType) { 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()
Dparent_def.cc67 …if (field->GetFieldType() != SizeField::kFieldType && field->GetFieldType() != CountField::kFieldT… in AssignSizeFields()
418 } else if (field->GetFieldType() == CountField::kFieldType) { in GenSerialize()
Dpacket_def.cc138 CountField::kFieldType, in GenParserDefinitionPybind11()
Dlanguage_y.yy629 $$ = new CountField(*$3, $6, LOC);