/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_bitfields.py | 19 ("M", c_short, 1), 20 ("N", c_short, 2), 21 ("O", c_short, 3), 22 ("P", c_short, 4), 23 ("Q", c_short, 5), 24 ("R", c_short, 6), 25 ("S", c_short, 7)] 49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong) 165 _fields_ = [("a", c_short, 1), 166 ("b", c_short, 14) [all...] |
test_parameters.py | 91 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer namespace 105 self.assertRaises(TypeError, LPINT.from_param, pointer(c_short(42))) 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 115 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 122 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 127 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_short(22)))) 133 from ctypes import c_short, c_uint, c_int, c_long, POINTER namespace 143 self.assertRaises(TypeError, LPINT.from_param, c_short*3)
|
test_pep3118.py | 116 (c_short, "<h", None, c_short), 146 (POINTER(c_short) * 2, "(2)&<h", (2,), POINTER(c_short)), 147 (POINTER(c_short) * 2 * 3, "(3,2)&<h", (3,2,), POINTER(c_short)), 148 (POINTER(c_short * 2), "&(2)<h", None, POINTER(c_short)),
|
test_byteswap.py | 26 self.assertTrue(c_short.__ctype_le__ is c_short) 27 self.assertTrue(c_short.__ctype_be__.__ctype_le__ is c_short) 29 self.assertTrue(c_short.__ctype_be__ is c_short) 30 self.assertTrue(c_short.__ctype_le__.__ctype_be__ is c_short) 31 s = c_short.__ctype_be__(0x1234) 36 s = c_short.__ctype_le__(0x1234 [all...] |
test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
test_functions.py | 83 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 98 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 110 f.restype = c_short 124 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 136 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 148 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 165 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 171 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong] 213 self.assertRaises(ArgumentError, f, byref(c_short(22))) 343 _fields_ = [("x", c_short), [all...] |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong,
|
test_cast.py | 14 if 2*sizeof(c_short) == sizeof(c_int): 15 ptr = cast(array, POINTER(c_short))
|
test_cfuncs.py | 42 self._dll.tf_h.restype = c_short 43 self._dll.tf_h.argtypes = (c_short,) 48 self._dll.tf_bh.restype = c_short 49 self._dll.tf_bh.argtypes = (c_byte, c_short)
|
test_as_parameter.py | 167 _fields_ = [("x", c_short), 168 ("y", c_short)]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_bitfields.py | 19 ("M", c_short, 1), 20 ("N", c_short, 2), 21 ("O", c_short, 3), 22 ("P", c_short, 4), 23 ("Q", c_short, 5), 24 ("R", c_short, 6), 25 ("S", c_short, 7)] 49 signed_int_types = (c_byte, c_short, c_int, c_long, c_longlong) 165 _fields_ = [("a", c_short, 1), 166 ("b", c_short, 14) [all...] |
test_parameters.py | 91 from ctypes import c_short, c_uint, c_int, c_long, POINTER, pointer namespace 105 self.assertRaises(TypeError, LPINT.from_param, pointer(c_short(42))) 110 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 115 self.assertRaises(TypeError, LPINT.from_param, byref(c_short(22))) 122 from ctypes import c_short, c_uint, c_int, c_long, pointer, POINTER, byref namespace 127 self.assertRaises(TypeError, LPLPINT.from_param, byref(pointer(c_short(22)))) 133 from ctypes import c_short, c_uint, c_int, c_long, POINTER namespace 143 self.assertRaises(TypeError, LPINT.from_param, c_short*3)
|
test_pep3118.py | 116 (c_short, "<h", None, c_short), 146 (POINTER(c_short) * 2, "(2)&<h", (2,), POINTER(c_short)), 147 (POINTER(c_short) * 2 * 3, "(3,2)&<h", (3,2,), POINTER(c_short)), 148 (POINTER(c_short * 2), "&(2)<h", None, POINTER(c_short)),
|
test_byteswap.py | 26 self.assertTrue(c_short.__ctype_le__ is c_short) 27 self.assertTrue(c_short.__ctype_be__.__ctype_le__ is c_short) 29 self.assertTrue(c_short.__ctype_be__ is c_short) 30 self.assertTrue(c_short.__ctype_le__.__ctype_be__ is c_short) 31 s = c_short.__ctype_be__(0x1234) 36 s = c_short.__ctype_le__(0x1234 [all...] |
test_repr.py | 5 for base in [c_byte, c_short, c_int, c_long, c_longlong,
|
test_functions.py | 83 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 98 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 110 f.restype = c_short 124 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 136 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 148 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 165 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 171 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong] 213 self.assertRaises(ArgumentError, f, byref(c_short(22))) 343 _fields_ = [("x", c_short), [all...] |
test_unaligned_structures.py | 13 for typ in [c_short, c_int, c_long, c_longlong,
|
test_cast.py | 14 if 2*sizeof(c_short) == sizeof(c_int): 15 ptr = cast(array, POINTER(c_short))
|
test_cfuncs.py | 42 self._dll.tf_h.restype = c_short 43 self._dll.tf_h.argtypes = (c_short,) 48 self._dll.tf_bh.restype = c_short 49 self._dll.tf_bh.argtypes = (c_byte, c_short)
|
test_as_parameter.py | 167 _fields_ = [("x", c_short), 168 ("y", c_short)]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
wintypes.py | 32 SHORT = c_short 108 _fields_ = [('Left', c_short), 109 ('Top', c_short), 110 ('Right', c_short), 111 ('Bottom', c_short)] 115 _fields_ = [('X', c_short), 116 ('Y', c_short)]
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
wintypes.py | 32 SHORT = c_short 108 _fields_ = [('Left', c_short), 109 ('Top', c_short), 110 ('Right', c_short), 111 ('Bottom', c_short)] 115 _fields_ = [('X', c_short), 116 ('Y', c_short)]
|
/prebuilts/misc/common/swig/include/2.0.11/ocaml/ |
swig.ml | 12 | C_short of int 52 | C_short s 69 | C_short s -> (float_of_int s) 117 let make_short i = C_short i
|
ocaml.swg | 15 #define C_short 3 109 case C_short: 287 sv = caml_swig_alloc(1,C_short); 392 case C_short: 431 case C_short: 539 case C_short:
|
swig.mli | 10 | C_short of int
|