Searched refs:c_float (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython2/Lib/ctypes/test/ |
D | test_byteswap.py | 110 self.assertIs(c_float.__ctype_le__, c_float) 111 self.assertIs(c_float.__ctype_be__.__ctype_le__, c_float) 113 self.assertIs(c_float.__ctype_be__, c_float) 114 self.assertIs(c_float.__ctype_le__.__ctype_be__, c_float) 115 s = c_float(math.pi) 119 s = c_float.__ctype_le__(math.pi) 122 s = c_float.__ctype_be__(math.pi) 171 ("l", c_float),
|
D | test_functions.py | 70 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 78 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 93 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 119 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 120 f.restype = c_float 131 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 143 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 157 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 163 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
|
D | test_pep3118.py | 134 (c_float, "<f", None, c_float), 149 (c_float * 4 * 3 * 2, "<f", (2,3,4), c_float),
|
D | test_callbacks.py | 21 if typ == c_float: 29 if typ == c_float: 81 self.check_type(c_float, math.e) 82 self.check_type(c_float, -math.e)
|
D | test_cfuncs.py | 139 self._dll.tf_f.restype = c_float 140 self._dll.tf_f.argtypes = (c_float,) 145 self._dll.tf_bf.restype = c_float 146 self._dll.tf_bf.argtypes = (c_byte, c_float)
|
D | test_repr.py | 7 c_float, c_double, c_longdouble, c_bool]:
|
D | test_unaligned_structures.py | 14 c_float, c_double,
|
D | test_arrays.py | 9 c_long, c_ulonglong, c_float, c_double, c_longdouble
|
D | test_pointers.py | 7 c_long, c_ulong, c_longlong, c_ulonglong, c_double, c_float]
|
D | test_as_parameter.py | 24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
|
D | test_numbers.py | 29 float_types = [c_double, c_float]
|
D | test_structures.py | 58 "f": c_float,
|
/external/python/cpython2/Lib/ctypes/ |
D | wintypes.py | 13 FLOAT = c_float
|
D | __init__.py | 194 class c_float(_SimpleCData): class 196 _check_size(c_float)
|
/external/python/cpython2/Lib/multiprocessing/ |
D | sharedctypes.py | 54 'f': ctypes.c_float, 'd': ctypes.c_double
|
/external/flatbuffers/tests/ |
D | py_test.py | 186 float32Val = N.Float32Flags.py_type(ctypes.c_float(3.14159).value)
|
/external/python/cpython2/Doc/library/ |
D | ctypes.rst | 250 | :class:`c_float` | :c:type:`float` | float | 526 >>> f = c_float() 669 ... ("b", c_float), 2220 .. class:: c_float
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.5.rst | 1697 :func:`c_float`, :func:`c_double`, :func:`c_char_p` (equivalent to :c:type:`char
|
/external/python/cpython2/Misc/ |
D | NEWS | 4649 ctypes.c_float that caused an incorrect exception to be returned in the
|