/system/bt/gd/packet/parser/fields/ |
D | scalar_field.cc | 53 int num_leading_bits = 0; in GenBounds() local 57 num_leading_bits = start_offset.bits() % 8; in GenBounds() 60 num_leading_bits = GetShiftBits(end_offset.bits() + size.bits()); in GenBounds() 61 Size byte_offset = Size(num_leading_bits + size.bits()) + end_offset; in GenBounds() 66 return num_leading_bits; in GenBounds() 69 void ScalarField::GenExtractor(std::ostream& s, int num_leading_bits, bool) const { in GenExtractor() argument 74 std::string extract_type = util::GetTypeForSize(size.bits() + num_leading_bits); in GenExtractor() 78 if (num_leading_bits != 0) { in GenExtractor() 79 s << "extracted_value >>= " << num_leading_bits << ";"; in GenExtractor() 103 int num_leading_bits = GenBounds(s, start_offset, end_offset, GetSize()); in GenGetter() local [all …]
|
D | custom_field_fixed_size.cc | 82 int num_leading_bits = GetRustBitOffset(s, start_offset, end_offset, GetSize()); in GenRustGetter() local 83 if (num_leading_bits != 0) { in GenRustGetter() 96 int num_leading_bits = GetRustBitOffset(s, start_offset, end_offset, GetSize()); in GenRustWriter() local 97 if (num_leading_bits != 0) { in GenRustWriter()
|
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 | 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 | 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 | group_field.h | 40 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const override;
|
D | reserved_field.h | 34 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 | 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 | padding_field.h | 38 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 | body_field.h | 37 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 | 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 | 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;
|
D | packet_field.h | 51 virtual void GenExtractor(std::ostream& s, int num_leading_bits, bool for_struct) const = 0;
|
/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()
|