Lines Matching refs:Table
41 class Table(object):
49 tables' contents in this object, one at a time. This object's table
50 representation includes table title, table header and one or more then table
53 The table title must start with 'Table ### xxx', where ### is monotonously
54 increasing table number and xxx is some description allowing to deduce the
55 type of the object defined by this table.
57 The cells of the table include names and types of the components, various
61 Once the entire table is scraped, the scraper invokes a method to process it
62 (ProcessTable). The title of the table is examined by this module and the
64 table representation into a TPM2 object.
75 _alg_id_table: actual table of various TPM2 algorithms, a copy of Table 9
88 table
90 being processed specification table
92 brackets, to indicate what type of the algorithm this table
95 specification table
97 table is the selector to be used to process this row (as in
98 picking the object type when the table represents a union)
99 _skip_printing: a Boolean, set to True if the table contents should not be
105 # Match table titles with processing routines.
126 # letters, and should match the third column of Table 9 either inclusively
132 """Create a Table class instance."""
142 """Initialize a new table.
144 This function is invoked each time a new table is encountered in the spec.
146 A typical table header could look like this:
148 'Table 10 - Definition of (UINT16) {ECC} TPM_ECC_CURVE Constants'
151 stripped off before the table header comment is generated for the .h file.
157 title: a string, the title of the table as included in the TCG spec.
161 # Retrieve base type, if present in the table title.
171 # Now retrieve algorithm type, if present in the table title.
204 in the selector column in table 127 (TPM_ALG_!ALG) In this case the split
208 In yet some other cases, say in Table 126 where the type field does not
229 """Set the tuple of table numbers to be ignored by the parser."""
271 """Return True when the parser is in the middle of a table."""
274 def _GetMaxLengths(self, table):
275 """Find out maximum lengths of the table columns.
282 table: a list of string lists. Each component consists of at least two
292 for row in table:
299 """Start a new row in the internal table representation."""
313 """Process accumulated table contents.
316 entire HTML table has been processed. The received contents is handled
317 based on the table title by finding the matching entry in TABLE_ROUTER
324 # The table has a selector column if it has at least three columns, and
328 # Preprocess representation of the table scraped from the spec. Namely,
330 # self._body[], which becomes a list including all scraped table cells,
337 # The name of the type defined in the table, when present, is always the
339 # 'Table 10 - Definition of TPM_ECC_CURVE Constants'
345 # Based on the table title, find the function to process the table and
366 """Process command description table from part 3.
408 table and find all matching entries.
416 A table of alg_type (Table 9 of part 2) entries matching the passed in
422 # Exclusive selection, must exactly match algorithm type from table 9
424 # matching rows of table 9.
460 from the algorithm descriptors table. If there has been no match -
467 # use to find matching entries in the algorithm table.
588 row: a list of strings, a row of a structure or union table scraped from
601 # Find all algorithms of this type in the alg id table
688 the word 'Union' in the table title.