Lines Matching refs:aggregate
683 self.aggregate = None
724 self.aggregate = Aggregate(self, aggregate_name, attrs)
725 self.aggregates[attrs['name']] = self.aggregate
728 self.aggregate.add_section(type_name, attrs)
742 self.aggregate = None
771 aggregate = self.aggregate
772 print("struct %s_packed {" % aggregate.name.lower())
773 print(" uint32_t opaque[{}];".format(aggregate.get_size() // 4))
775 print('#define {}_LENGTH {}'.format(aggregate.name.upper(), aggregate.size))
776 if aggregate.align != None:
777 print('#define {}_ALIGN {}'.format(aggregate.name.upper(), aggregate.align))
778 for section in aggregate.sections:
779 …print('#define {}_SECTION_{}_TYPE struct {}'.format(aggregate.name.upper(), section.name.upper(), …
780 …print('#define {}_SECTION_{}_header {}_header'.format(aggregate.name.upper(), section.name.upper()…
781 …print('#define {}_SECTION_{}_pack {}_pack'.format(aggregate.name.upper(), section.name.upper(), se…
782 …print('#define {}_SECTION_{}_unpack {}_unpack'.format(aggregate.name.upper(), section.name.upper()…
783 …print('#define {}_SECTION_{}_print {}_print'.format(aggregate.name.upper(), section.name.upper(), …
784 …print('#define {}_SECTION_{}_OFFSET {}'.format(aggregate.name.upper(), section.name.upper(), secti…