Home
last modified time | relevance | path

Searched refs:element_size (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/gd/packet/parser/fields/
Darray_field.cc25 ArrayField::ArrayField(std::string name, int element_size, int array_size, ParseLocation loc) in ArrayField() argument
26 …ld(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_(element_si… in ArrayField()
28 if (element_size > 64 || element_size < 0) in ArrayField()
29 ERROR(this) << __func__ << ": Not implemented for element size = " << element_size; in ArrayField()
30 if (element_size % 8 != 0) { in ArrayField()
31 …ERROR(this) << "Can only have arrays with elements that are byte aligned (" << element_size << ")"; in ArrayField()
Dvector_field.cc25 VectorField::VectorField(std::string name, int element_size, std::string size_modifier, ParseLocati… in VectorField() argument
26 …ld(name, loc), element_field_(new ScalarField("val", element_size, loc)), element_size_(element_si… in VectorField()
28 if (element_size > 64 || element_size < 0) in VectorField()
29 ERROR(this) << __func__ << ": Not implemented for element size = " << element_size; in VectorField()
30 if (element_size % 8 != 0) { in VectorField()
31 …ERROR(this) << "Can only have arrays with elements that are byte aligned (" << element_size << ")"; in VectorField()
Darray_field.h25 ArrayField(std::string name, int element_size, int fixed_size, ParseLocation loc);
Dvector_field.h26 VectorField(std::string name, int element_size, std::string size_modifier, ParseLocation loc);
/packages/modules/Bluetooth/system/stack/include/
Dsdpdefs.h193 inline unsigned element_size(const uint8_t& element) { return element & 0x7; } in element_size() function
/packages/modules/Bluetooth/system/gd/packet/parser/
Dlanguage_y.yy719 DEBUG() << "Vector field defined name=" << *$1 << " element_size=" << $3;
725 DEBUG() << "Vector field defined name=" << *$1 << " element_size=" << $3
733 DEBUG() << "Array field defined name=" << *$1 << " element_size=" << $3