Lines Matching refs:start

409     __slots__ = ["start", "end", "type", "default", "shift", "_defines"]
411 start: int
418 def __init__(self, parent: Node, name: str, start: int, end: int, ty: str, *,
422 self.start = start
430 if self.start > self.end:
432 % (self.start, self.end, self.name))
434 if self.type == "bool" and self.end != self.start:
485 if self.end - self.start < 32:
487 elif self.end - self.start < 64:
491 % (self.end - self.start, self.name))
563 # the context, or when we start emitting.
677 __slots__ = ["start", "count", "size", "fields"]
679 start: int
684 def __init__(self, start: int, count: int, size: int, fields) -> None:
685 self.start = start
702 def collect_dwords(self, dwords: t.Dict[int, Group.DWord], start: int) -> None:
704 index = (start + field.start) // 32
709 clone.start = clone.start + start
710 clone.end = clone.end + start
721 while index < (start + field.end) // 32:
767 if root.is_known_struct(field.type) and field.start % 32 == 0:
802 % (field.start - dword_start, field.end - dword_start))
807 % (field.name, field.start - dword_start, field.end - dword_start))
810 % (field.name, field.start - dword_start, field.end - dword_start))
813 % (field.name, field.start - dword_start, field.end - dword_start))
816 % (field.name, field.start - dword_start, field.end - dword_start))
821 % (field.name, field.start - dword_start, field.end - dword_start))
824 % (index, field_index, field.start - dword_start,
838 % (index, addr.name, addr.shift, addr.start - dword_start,
848 % (addr.name, addr.shift, addr.start - dword_start, addr.end - dword_start))
882 if root.is_known_struct(field.type) and field.start % 32 == 0:
904 % (vname, v, field.start - dword_start, field.end - dword_start))
908 dword_field_start = field.start - dword_start
973 field = Field(parent, name=attrs["name"], start=int(attrs["start"]), end=int(attrs["end"]),