Lines Matching refs:end
409 __slots__ = ["start", "end", "type", "default", "shift", "_defines"]
412 end: int
418 def __init__(self, parent: Node, name: str, start: int, end: int, ty: str, *,
423 self.end = end
430 if self.start > self.end:
431 raise ValueError("Start cannot be after end. Start: %d, End: %d, Field: '%s'"
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))
710 clone.end = clone.end + start
721 while index < (start + field.end) // 32:
734 # that, since that'll account for MBZ dwords at the end of a group
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))
825 field.end - dword_start))
839 addr.end - dword_start, v))
848 % (addr.name, addr.shift, addr.start - dword_start, addr.end - dword_start))
904 % (vname, v, field.start - dword_start, field.end - dword_start))
909 dword_field_end = field.end - dword_start
973 field = Field(parent, name=attrs["name"], start=int(attrs["start"]), end=int(attrs["end"]),
994 # its parent, pop() and push the new condition. So per branch we end