/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_callbacks.py | 83 self.check_type(c_double, 3.14) 84 self.check_type(c_double, -3.14) 117 # POINTER(c_double), for example, is not supported. 119 prototype = self.functype.im_func(POINTER(c_double)) 168 CALLBACK = CFUNCTYPE(c_double, c_double) 172 integrate.argtypes = (c_double, c_double, CALLBACK, c_long) 173 integrate.restype = c_double 237 CALLBACK = CFUNCTYPE(c_double, c_double, c_double, c_double [all...] |
test_byteswap.py | 127 self.assertTrue(c_double.__ctype_le__ is c_double) 128 self.assertTrue(c_double.__ctype_be__.__ctype_le__ is c_double) 130 self.assertTrue(c_double.__ctype_be__ is c_double) 131 self.assertTrue(c_double.__ctype_le__.__ctype_be__ is c_double) 132 s = c_double(math.pi) 135 s = c_double.__ctype_le__(math.pi [all...] |
test_libc.py | 10 lib.my_sqrt.argtypes = c_double, 11 lib.my_sqrt.restype = c_double
|
test_repr.py | 7 c_float, c_double, c_longdouble, c_bool]:
|
test_functions.py | 72 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 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] 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] 137 f.restype = c_double 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]
|
test_pickling.py | 8 _fields_ = [("a", c_int), ("b", c_double)] 27 c_double(3.14),
|
test_pep3118.py | 131 (c_double, "<d", None, c_double), 132 # c_longdouble may be an alias to c_double 144 (c_double * 4, "(4)<d", (4,), c_double),
|
test_unaligned_structures.py | 14 c_float, c_double,
|
test_random_things.py | 62 cb = CFUNCTYPE(c_int, c_double)(callback_func)
|
test_cfuncs.py | 150 self._dll.tf_d.restype = c_double 151 self._dll.tf_d.argtypes = (c_double,) 156 self._dll.tf_bd.restype = c_double 157 self._dll.tf_bd.argtypes = (c_byte, c_double)
|
test_arrays.py | 7 c_long, c_ulonglong, c_float, c_double, c_longdouble
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_callbacks.py | 83 self.check_type(c_double, 3.14) 84 self.check_type(c_double, -3.14) 117 # POINTER(c_double), for example, is not supported. 119 prototype = self.functype.im_func(POINTER(c_double)) 168 CALLBACK = CFUNCTYPE(c_double, c_double) 172 integrate.argtypes = (c_double, c_double, CALLBACK, c_long) 173 integrate.restype = c_double 237 CALLBACK = CFUNCTYPE(c_double, c_double, c_double, c_double [all...] |
test_byteswap.py | 127 self.assertTrue(c_double.__ctype_le__ is c_double) 128 self.assertTrue(c_double.__ctype_be__.__ctype_le__ is c_double) 130 self.assertTrue(c_double.__ctype_be__ is c_double) 131 self.assertTrue(c_double.__ctype_le__.__ctype_be__ is c_double) 132 s = c_double(math.pi) 135 s = c_double.__ctype_le__(math.pi [all...] |
test_libc.py | 10 lib.my_sqrt.argtypes = c_double, 11 lib.my_sqrt.restype = c_double
|
test_repr.py | 7 c_float, c_double, c_longdouble, c_bool]:
|
test_functions.py | 72 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 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] 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] 137 f.restype = c_double 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]
|
test_pickling.py | 8 _fields_ = [("a", c_int), ("b", c_double)] 27 c_double(3.14),
|
test_pep3118.py | 131 (c_double, "<d", None, c_double), 132 # c_longdouble may be an alias to c_double 144 (c_double * 4, "(4)<d", (4,), c_double),
|
test_unaligned_structures.py | 14 c_float, c_double,
|
test_random_things.py | 62 cb = CFUNCTYPE(c_int, c_double)(callback_func)
|
test_cfuncs.py | 150 self._dll.tf_d.restype = c_double 151 self._dll.tf_d.argtypes = (c_double,) 156 self._dll.tf_bd.restype = c_double 157 self._dll.tf_bd.argtypes = (c_byte, c_double)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double namespace 23 c_double(10.0)) 50 c_double(val))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ascii_formatd.py | 11 from ctypes import pythonapi, create_string_buffer, sizeof, byref, c_double namespace 23 c_double(10.0)) 50 c_double(val))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
__init__.py | 201 class c_double(_SimpleCData): class in inherits:_SimpleCData 203 _check_size(c_double) 207 if sizeof(c_longdouble) == sizeof(c_double): 208 c_longdouble = c_double
|
wintypes.py | 16 DOUBLE = c_double
|