/system/bt/gd/packet/parser/fields/ |
D | scalar_field.cc | 51 int num_leading_bits = 0; in GenBounds() local 55 num_leading_bits = start_offset.bits() % 8; in GenBounds() 58 num_leading_bits = GetShiftBits(end_offset.bits() + size.bits()); in GenBounds() 59 Size byte_offset = Size(num_leading_bits + size.bits()) + end_offset; in GenBounds() 64 return num_leading_bits; in GenBounds() 67 void ScalarField::GenExtractor(std::ostream& s, int num_leading_bits, bool) const { in GenExtractor() argument 72 std::string extract_type = util::GetTypeForSize(size.bits() + num_leading_bits); in GenExtractor() 76 if (num_leading_bits != 0) { in GenExtractor() 77 s << "extracted_value >>= " << num_leading_bits << ";"; in GenExtractor() 101 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() local [all …]
|
D | array_field.cc | 86 void ArrayField::GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const { in GenExtractor() argument 101 element_field_->GenExtractor(s, num_leading_bits, for_struct); in GenExtractor() 121 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() local 124 GenExtractor(s, num_leading_bits, false); in GenGetter()
|
D | variable_length_struct_field.cc | 63 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() local 65 GenExtractor(s, num_leading_bits, false); in GenGetter()
|
D | struct_field.cc | 58 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() local 61 GenExtractor(s, num_leading_bits, false); in GenGetter()
|
D | vector_field.cc | 110 void VectorField::GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const { in GenExtractor() argument 136 element_field_->GenExtractor(s, num_leading_bits, for_struct); in GenExtractor() 159 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() local 162 GenExtractor(s, num_leading_bits, false); in GenGetter()
|
D | custom_field.cc | 65 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() local 69 GenExtractor(s, num_leading_bits, false); in GenGetter()
|
D | reserved_field.h | 34 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | padding_field.h | 38 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | custom_field_fixed_size.h | 34 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | body_field.h | 37 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | group_field.h | 40 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | checksum_start_field.h | 36 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | checksum_field.h | 33 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | variable_length_struct_field.h | 36 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | scalar_field.h | 36 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | struct_field.h | 36 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | custom_field.h | 36 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | payload_field.h | 37 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | packet_field.h | 51 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const = 0;
|
D | array_field.h | 41 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | vector_field.h | 42 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
/system/bt/gd/packet/parser/ |
D | struct_def.cc | 142 int num_leading_bits = in GenParse() local 145 field->GenExtractor(s, num_leading_bits, true); in GenParse() 150 int num_leading_bits = in GenParse() local 153 field->GenExtractor(s, num_leading_bits, true); in GenParse()
|