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.cc21 const std::string ScalarField::kFieldType = "ScalarField";
23 ScalarField::ScalarField(std::string name, int size, ParseLocation loc) : PacketField(name, loc), s… in ScalarField() function in ScalarField
29 const std::string& ScalarField::GetFieldType() const { in GetFieldType()
30 return ScalarField::kFieldType; in GetFieldType()
33 Size ScalarField::GetSize() const { in GetSize()
37 std::string ScalarField::GetDataType() const { in GetDataType()
50 int ScalarField::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds()
67 void ScalarField::GenExtractor(std::ostream& s, int num_leading_bits, bool) const { in GenExtractor()
91 std::string ScalarField::GetGetterFunctionName() const { in GetGetterFunctionName()
97 void ScalarField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter()
[all …]
Dcount_field.cc23 : ScalarField(name + "_count", size, loc), sized_field_name_(name) {} in CountField()
31 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
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()
Dscalar_field.h22 class ScalarField : public PacketField {
24 ScalarField(std::string name, int size, ParseLocation loc);
Dcount_field.h23 class CountField : public ScalarField {
Denum_field.h24 class EnumField : public ScalarField {
Dfixed_field.h26 class FixedField : public ScalarField {
Denum_field.cc24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
Dchecksum_field.cc23 : ScalarField(name, size, loc), type_name_(type_name) {} in ChecksumField()
Dcustom_field_fixed_size.h22 class CustomFieldFixedSize : public ScalarField {
Dsize_field.h23 class SizeField : 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()
Dvector_field.cc26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in VectorField()
/system/bt/gd/packet/parser/
Dparent_def.cc35 if (constrained_field->GetFieldType() == ScalarField::kFieldType) { in AddParentConstraint()
222 ScalarField::kFieldType, in GetParamList()
471 if (field->GetFieldType() == ScalarField::kFieldType) { in GenInstanceOf()
Dpacket_def.cc294 if (field->GetFieldType() == ScalarField::kFieldType) { in GenValidator()
684 if (field->GetFieldType() == ScalarField::kFieldType) { in GenBuilderConstructor()
Dstruct_def.cc275 if (field->GetFieldType() == ScalarField::kFieldType) { in GenConstructor()
Dlanguage_y.yy487 if (field->GetFieldType() == ScalarField::kFieldType) {
570 $$ = new ScalarField(*$1, $3, LOC);