Lines Matching refs:_AddToHfile
232 def _AddToHfile(self, text=''): member in Table
264 self._AddToHfile('typedef %s %s;' % (old_type, new_type))
353 self._AddToHfile('// Unprocessed: %s' % self._title)
358 self._AddToHfile('// Skipped: %s' % self._title)
360 self._AddToHfile('// %s' % self._title)
495 self._AddToHfile('\n')
536 self._AddToHfile('\n')
578 self._AddToHfile('typedef struct {')
580 self._AddToHfile(' %s %-*s %s;' % (self._title_type, max_type_len,
582 self._AddToHfile('} %s;\n' % type_name)
659 self._AddToHfile('typedef union {')
662 self._AddToHfile('typedef union {')
664 self._AddToHfile(' struct {')
666 self._AddToHfile('typedef struct {')
672 self._AddToHfile('#ifdef %s' % line[2])
673 self._AddToHfile(space_prefix + ' %-*s %s;' % (
676 self._AddToHfile('#endif')
678 self._AddToHfile(' } t;')
679 self._AddToHfile(' TPM2B b;')
680 self._AddToHfile('} %s;\n' % type_name)
764 self._AddToHfile('enum {')
766 self._AddToHfile(' %s = %d,' % (row[0], value + 1))
767 self._AddToHfile('};\n')
783 self._AddToHfile()
819 self._AddToHfile('#define %-*s %*s' % (max_name_len, row[0],
821 self._AddToHfile()