Searched refs:ScalarField (Results 1 – 20 of 20) sorted by relevance
/system/bt/gd/packet/parser/fields/ |
D | scalar_field.cc | 21 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 …]
|
D | count_field.cc | 23 : ScalarField(name + "_count", size, loc), sized_field_name_(name) {} in CountField() 31 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
|
D | fixed_field.cc | 23 : ScalarField(name + std::to_string(unique_id_++), size, loc) {} in FixedField() 27 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
|
D | size_field.cc | 23 : ScalarField(name + "_size", size, loc), sized_field_name_(name) {} in SizeField() 31 ScalarField::GenGetter(s, start_offset, end_offset); in GenGetter()
|
D | scalar_field.h | 22 class ScalarField : public PacketField { 24 ScalarField(std::string name, int size, ParseLocation loc);
|
D | count_field.h | 23 class CountField : public ScalarField {
|
D | enum_field.h | 24 class EnumField : public ScalarField {
|
D | fixed_field.h | 26 class FixedField : public ScalarField {
|
D | enum_field.cc | 24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
|
D | checksum_field.cc | 23 : ScalarField(name, size, loc), type_name_(type_name) {} in ChecksumField()
|
D | custom_field_fixed_size.h | 22 class CustomFieldFixedSize : public ScalarField {
|
D | size_field.h | 23 class SizeField : public ScalarField {
|
D | checksum_field.h | 23 class ChecksumField : public ScalarField {
|
D | custom_field_fixed_size.cc | 24 : ScalarField(name, size, loc), type_name_(type_name) {} in CustomFieldFixedSize()
|
D | array_field.cc | 26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in ArrayField()
|
D | vector_field.cc | 26 …: PacketField(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_… in VectorField()
|
/system/bt/gd/packet/parser/ |
D | parent_def.cc | 35 if (constrained_field->GetFieldType() == ScalarField::kFieldType) { in AddParentConstraint() 222 ScalarField::kFieldType, in GetParamList() 471 if (field->GetFieldType() == ScalarField::kFieldType) { in GenInstanceOf()
|
D | packet_def.cc | 294 if (field->GetFieldType() == ScalarField::kFieldType) { in GenValidator() 684 if (field->GetFieldType() == ScalarField::kFieldType) { in GenBuilderConstructor()
|
D | struct_def.cc | 275 if (field->GetFieldType() == ScalarField::kFieldType) { in GenConstructor()
|
D | language_y.yy | 487 if (field->GetFieldType() == ScalarField::kFieldType) { 570 $$ = new ScalarField(*$1, $3, LOC);
|