/system/bt/gd/packet/parser/fields/ |
D | scalar_field.cc | 23 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 …]
|
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 | 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 | scalar_field.h | 22 class ScalarField : public PacketField { 24 ScalarField(std::string name, int size, ParseLocation loc);
|
D | vector_field.cc | 26 …: 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()
|
D | fixed_field.h | 26 class FixedField : public ScalarField {
|
D | enum_field.h | 24 class EnumField : public ScalarField {
|
D | count_field.h | 23 class CountField : public ScalarField {
|
D | enum_field.cc | 24 : ScalarField(name, enum_def.size_, loc), enum_def_(enum_def), value_(value) {} in EnumField()
|
D | size_field.h | 23 class SizeField : public ScalarField {
|
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 | 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()
|
/system/bt/gd/packet/parser/ |
D | parent_def.cc | 35 if (constrained_field->GetFieldType() == ScalarField::kFieldType) { in AddParentConstraint() 239 ScalarField::kFieldType, in GetParamList() 509 if (field->GetFieldType() == ScalarField::kFieldType) { in GenInstanceOf()
|
D | packet_def.cc | 299 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()
|
D | struct_def.cc | 274 if (field->GetFieldType() == ScalarField::kFieldType) { in GenConstructor()
|
D | language_y.yy | 537 if (field->GetFieldType() == ScalarField::kFieldType) { 620 $$ = new ScalarField(*$1, $3, LOC);
|