Lines Matching defs:CheckedInt

566 # Metaclass for bounds-checked integer parameters.  See CheckedInt.
571 # CheckedInt is an abstract base class, so we actually don't
573 # just for classes that derive from CheckedInt.
574 if name == 'CheckedInt':
579 panic("CheckedInt subclass %s must define either\n" \
593 class CheckedInt(NumericParamValue):
608 raise TypeError("Can't convert object of type %s to CheckedInt" \
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
644 class Percent(CheckedInt): cxx_type = 'int'; min = 0; max = 100
646 class Cycles(CheckedInt):
698 class MemorySize(CheckedInt):
710 class MemorySize32(CheckedInt):
722 class Addr(CheckedInt):