Home
last modified time | relevance | path

Searched refs:ScalarField (Results 1 – 20 of 20) sorted by relevance

/system/bt/gd/packet/parser/fields/
Dscalar_field.cc23 const std::string ScalarField::kFieldType = "ScalarField";
25 ScalarField::ScalarField(std::string name, int size, ParseLocation loc) : PacketField(name, loc), s… in ScalarField() function in ScalarField
31 const std::string& ScalarField::GetFieldType() const { in GetFieldType()
32 return ScalarField::kFieldType; in GetFieldType()
35 Size ScalarField::GetSize() const { in GetSize()
39 std::string ScalarField::GetDataType() const { in GetDataType()
52 int ScalarField::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds()
69 void ScalarField::GenExtractor(std::ostream& s, int num_leading_bits, bool) const { in GenExtractor()
93 std::string ScalarField::GetGetterFunctionName() const { in GetGetterFunctionName()
99 void ScalarField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter()
[all …]
Dfixed_field.cc23 : ScalarField(name + std::to_string(unique_id_++), size, loc) {} in FixedField()
27 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
Dsize_field.cc23 : ScalarField(name + "_size", size, loc), sized_field_name_(name) {} in SizeField()
31 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
Dcount_field.cc23 : ScalarField(name + "_count", size, loc), sized_field_name_(name) {} in CountField()
31 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
Dscalar_field.h22 class ScalarField : public PacketField {
24 ScalarField(std::string name, int size, ParseLocation loc);
Dvector_field.cc26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in VectorField()
262 if (element_field_type == ScalarField::kFieldType) { in GenBoundsCheck()
309 if (element_field_type == ScalarField::kFieldType) { in GenRustGetter()
367 if (GetElementField()->GetFieldType() == ScalarField::kFieldType) { in GenRustWriter()
Dfixed_field.h26 class FixedField : public ScalarField {
Denum_field.h24 class EnumField : public ScalarField {
Dcount_field.h23 class CountField : public ScalarField {
Denum_field.cc24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
Dsize_field.h23 class SizeField : public ScalarField {
Dchecksum_field.cc23 : ScalarField(name, size, loc), type_name_(type_name) {} in ChecksumField()
Dcustom_field_fixed_size.h22 class CustomFieldFixedSize : public ScalarField {
Dchecksum_field.h23 class ChecksumField : public ScalarField {
Dcustom_field_fixed_size.cc24 : ScalarField(name, size, loc), type_name_(type_name) {} in CustomFieldFixedSize()
Darray_field.cc26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in ArrayField()
/system/bt/gd/packet/parser/
Dparent_def.cc35 if (constrained_field->GetFieldType() == ScalarField::kFieldType) { in AddParentConstraint()
239 ScalarField::kFieldType, in GetParamList()
509 if (field->GetFieldType() == ScalarField::kFieldType) { in GenInstanceOf()
Dpacket_def.cc299 if (field->GetFieldType() == ScalarField::kFieldType) { in GenValidator()
709 if (field->GetFieldType() == ScalarField::kFieldType) { in GenBuilderConstructor()
972 } else if (constraint_type == ScalarField::kFieldType) { in GenRustStructImpls()
1207 if (field->GetFieldType() == ScalarField::kFieldType) { in GenRustBuilderStructImpls()
Dstruct_def.cc274 if (field->GetFieldType() == ScalarField::kFieldType) { in GenConstructor()
Dlanguage_y.yy537 if (field->GetFieldType() == ScalarField::kFieldType) {
620 $$ = new ScalarField(*$1, $3, LOC);