Lines Matching defs:size

578             if not (hasattr(cls, 'size') and hasattr(cls, 'unsigned')):
580 " 'min' and 'max' or 'size' and 'unsigned'\n",
584 cls.max = 2 ** cls.size - 1
586 cls.min = -(2 ** (cls.size - 1))
587 cls.max = (2 ** (cls.size - 1)) - 1
627 class Int(CheckedInt): cxx_type = 'int'; size = 32; unsigned = False
628 class Unsigned(CheckedInt): cxx_type = 'unsigned'; size = 32; unsigned = True
630 class Int8(CheckedInt): cxx_type = 'int8_t'; size = 8; unsigned = False
631 class UInt8(CheckedInt): cxx_type = 'uint8_t'; size = 8; unsigned = True
632 class Int16(CheckedInt): cxx_type = 'int16_t'; size = 16; unsigned = False
633 class UInt16(CheckedInt): cxx_type = 'uint16_t'; size = 16; unsigned = True
634 class Int32(CheckedInt): cxx_type = 'int32_t'; size = 32; unsigned = False
635 class UInt32(CheckedInt): cxx_type = 'uint32_t'; size = 32; unsigned = True
636 class Int64(CheckedInt): cxx_type = 'int64_t'; size = 64; unsigned = False
637 class UInt64(CheckedInt): cxx_type = 'uint64_t'; size = 64; unsigned = True
639 class Counter(CheckedInt): cxx_type = 'Counter'; size = 64; unsigned = True
640 class Tick(CheckedInt): cxx_type = 'Tick'; size = 64; unsigned = True
641 class TcpPort(CheckedInt): cxx_type = 'uint16_t'; size = 16; unsigned = True
642 class UdpPort(CheckedInt): cxx_type = 'uint16_t'; size = 16; unsigned = True
648 size = 64
701 size = 64
713 size = 32
724 size = 64
734 # "size", an exception will occur and numeric translation will
767 # size keyword.
770 elif 'size' in kwargs:
771 self.end = self.start + Addr(kwargs.pop('size')) - 1
773 raise TypeError("Either end or size must be specified")
831 def size(self):
832 # Divide the size by the size of the interleaving slice