Home | History | Annotate | Download | only in tables

Lines Matching full:items

46 			stats = sorted([(v, k) for k, v in cachingStats.items()])
60 - For simple items, the write method adds a string to the
61 writer's self.items list.
62 - For Struct/Table/Subtable items, it add first adds new writer to the
63 to the writer's self.items, then calls the item's compile method.
65 each writer representing a table, and the writer.items list containing
195 self.items = []
243 for item in self.items:
255 items = list(self.items) # make a shallow copy
257 numItems = len(items)
259 item = items[i]
263 items[i] = packULong(item.pos - pos)
266 items[i] = packUShort(item.pos - pos)
275 # when we split the subtable in two, some items may no longer be duplicates.
281 for item in table.items:
292 items = items[i+1:]
294 for j in range(len(items)):
295 item = items[j]
304 return bytesjoin(items)
308 return hash(self.items)
315 return self.items == other.items
318 # Convert CountData references to data string items
327 items = self.items
328 iRange = list(range(len(items)))
335 item = items[i]
337 items[i] = item.getCountData()
345 items[i] = item = internedItem
348 self.items = tuple(items)
351 # Convert table references in self.items tree to a flat
365 numItems = len(self.items)
379 item = self.items[i]
390 item = self.items[i]
425 self.items.append(struct.pack(">H", value))
428 self.items.append(struct.pack(">h", value))
433 self.items.append(b[1:])
436 self.items.append(struct.pack(">l", value))
439 self.items.append(struct.pack(">L", value))
444 self.items.append(tag)
447 self.items.append(subWriter)
451 self.items.append(ref)
456 self.items.append(data)
459 self.items.append(data)
845 for k, v in attrs.items():