Home | History | Annotate | Download | only in tables

Lines Matching refs:Format

40 		if self.Format == 1:
43 elif self.Format == 2:
76 assert 0, "unknown format: %s" % self.Format
77 del self.Format # Don't need this anymore
83 format = 1
87 # find out whether Format 2 is more compact or not
101 # Format 2 is more compact
117 format = 2
120 # fallthrough; Format 1 is more compact
121 self.Format = format
148 if self.Format == 1:
155 elif self.Format == 2:
161 assert 0, "unknown format: %s" % self.Format
163 del self.Format # Don't need this anymore
174 # figure out format
175 format = 2
188 format = 1
191 self.Format = format
197 if format == 1:
225 if self.Format == 1:
243 elif self.Format == 2:
266 assert 0, "unknown format: %s" % self.Format
268 del self.Format # Don't need this anymore
275 format = 2
298 # Format 2 is more compact
306 format = 2
309 # Format 1 is more compact
315 format = 1
317 self.Format = format
338 if self.Format == 1:
346 assert 0, "unknown format: %s" % self.Format
348 del self.Format # Don't need this anymore
351 self.Format = 1
406 if self.Format == 1:
413 assert 0, "unknown format: %s" % self.Format
415 del self.Format # Don't need this anymore
418 self.Format = 1
475 # For each subtable format there is a class. However, we don't really distinguish
476 # between "field name" and "format name": often these are the same. Yet there's
478 # from "format name" to "field name". _buildClasses() uses this to create a
561 extSubTable.Format = 1
569 newSubTable.Format = oldSubTable.Format
600 newSubTable.Format = oldSubTable.Format
668 newExtSubTable.Format = extSubTable.Format
698 formatPat = re.compile("([A-Za-z0-9]+)Format(\d+)$")
763 name, format = m.groups()
764 format = int(format)
770 cls.converters[format] = converters
771 cls.convertersByName[format] = convertersByName