Home
last modified time | relevance | path

Searched refs:c_float (Results 1 – 25 of 53) sorted by relevance

123

/external/python/cpython2/Lib/ctypes/test/
Dtest_byteswap.py110 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),
Dtest_functions.py70 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]
Dtest_pep3118.py160 (c_float, "<f", None, c_float),
176 (c_float * 4 * 3 * 2, "<f", (2,3,4), c_float),
Dtest_callbacks.py21 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)
Dtest_cfuncs.py139 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)
Dtest_repr.py7 c_float, c_double, c_longdouble, c_bool]:
Dtest_unaligned_structures.py14 c_float, c_double,
Dtest_arrays.py9 c_long, c_ulonglong, c_float, c_double, c_longdouble
/external/python/cpython3/Lib/ctypes/test/
Dtest_byteswap.py130 self.assertIs(c_float.__ctype_le__, c_float)
131 self.assertIs(c_float.__ctype_be__.__ctype_le__, c_float)
133 self.assertIs(c_float.__ctype_be__, c_float)
134 self.assertIs(c_float.__ctype_le__.__ctype_be__, c_float)
135 s = c_float(math.pi)
139 s = c_float.__ctype_le__(math.pi)
142 s = c_float.__ctype_be__(math.pi)
191 ("l", c_float),
Dtest_functions.py70 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]
Dtest_pep3118.py163 (c_float, "<f", (), c_float),
179 (c_float * 4 * 3 * 2, "<f", (2,3,4), c_float),
Dtest_cfuncs.py139 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)
Dtest_callbacks.py23 if typ == c_float:
31 if typ == c_float:
77 self.check_type(c_float, math.e)
78 self.check_type(c_float, -math.e)
Dtest_repr.py7 c_float, c_double, c_longdouble, c_bool]:
Dtest_unaligned_structures.py14 c_float, c_double,
Dtest_structures.py66 "f": c_float,
241 _fields_ = [("phi", c_float), ("rho", c_float)]
503 ('data', c_float * 2),
508 ('more_data', c_float * 2),
/external/llvm-project/flang/module/
Diso_c_binding.f9052 c_float = 4, & variable
61 c_float_complex = c_float, &
/external/rust/crates/libc/src/
Dsgx.rs9 pub type c_float = f32; typedef
Dswitch.rs9 pub type c_float = f32; typedef
/external/rust/crates/libc/src/hermit/
Dmod.rs12 pub type c_float = f32; typedef
/external/capstone/bindings/python/capstone/
Dm68k.py33 ('simm', ctypes.c_float),
/external/rust/crates/cexpr/src/
Dliteral.rs298 fn c_float(i: &[u8]) -> nom::IResult<&[u8], f64> { in c_float() function
349 map(full(c_float), EvalResult::Float), in one_literal()
/external/python/cpython2/Lib/ctypes/
Dwintypes.py13 FLOAT = c_float
D__init__.py194 class c_float(_SimpleCData): class
196 _check_size(c_float)
/external/python/cpython3/Lib/ctypes/
D__init__.py192 class c_float(_SimpleCData): class
194 _check_size(c_float)

123