/third_party/python/Lib/ctypes/test/ |
H A D | test_byteswap.py | 130 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 [all...] |
H A D | test_pep3118.py | 163 (c_float, "<f", (), c_float), 180 (c_float * 4 * 3 * 2, "<f", (2,3,4), c_float), 181 (c_float * 4 * 0 * 2, "<f", (2,0,4), c_float),
|
H A D | test_functions.py | 60 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double] 68 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 83 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 109 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 110 f.restype = c_float 121 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 134 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_longdouble] 148 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double] 154 f.argtypes = [c_byte, c_short, c_int, c_long, c_float, c_double, c_longlong]
|
H A D | test_callbacks.py | 24 if typ == c_float: 32 if typ == c_float: 80 self.check_type(c_float, math.e) 81 self.check_type(c_float, -math.e)
|
H A D | test_cfuncs.py | 143 self._dll.tf_f.restype = c_float 144 self._dll.tf_f.argtypes = (c_float,) 149 self._dll.tf_bf.restype = c_float 150 self._dll.tf_bf.argtypes = (c_byte, c_float)
|
H A D | test_repr.py | 7 c_float, c_double, c_longdouble, c_bool]:
|
H A D | test_unaligned_structures.py | 14 c_float, c_double,
|
H A D | test_structures.py | 66 "f": c_float, 241 _fields_ = [("phi", c_float), ("rho", c_float)] 503 ('data', c_float * 2), 508 ('more_data', c_float * 2),
|
H A D | test_parameters.py | 219 c_float, 239 self.assertEqual(repr(c_float.from_param(1.5)), "<cparam 'f' (1.5)>")
|
H A D | test_pointers.py | 7 c_long, c_ulong, c_longlong, c_ulonglong, c_double, c_float]
|
H A D | test_as_parameter.py | 24 f.argtypes = [c_byte, c_wchar, c_int, c_long, c_float, c_double]
|
H A D | test_arrays.py | 11 c_long, c_ulonglong, c_float, c_double, c_longdouble
|
H A D | test_numbers.py | 29 float_types = [c_double, c_float] 107 # c_float and c_double can be created from
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/ |
H A D | core_ffi_c.rs | 10 pub type c_float = ::core::ffi::c_float; types
|
H A D | convert-floats.rs | 17 pub bar: ::std::os::raw::c_float, 18 pub baz: ::std::os::raw::c_float, 21 pub complexFloat: __BindgenComplex<::std::os::raw::c_float>,
|
/third_party/rust/crates/linux-raw-sys/src/ |
H A D | lib.rs | 38 pub type c_float = f32; types 59 static_assertions::assert_type_eq_all!(ctypes::c_float, libc::c_float);
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/ |
H A D | core_ffi_c.h | 4 typedef float c_float; typedef
|
/third_party/pulseaudio/src/tests/ |
H A D | volume-ui.py | 99 _get_balance.restype = c_float 103 _get_fade.restype = c_float 108 _set_balance.argtypes = [c_void_p, c_void_p, c_float] 112 _set_fade.argtypes = [c_void_p, c_void_p, c_float]
|
/third_party/rust/crates/libc/src/ |
H A D | sgx.rs | 9 pub type c_float = f32; types
|
H A D | switch.rs | 9 pub type c_float = f32; types
|
/third_party/rust/crates/libc/src/hermit/ |
H A D | mod.rs | 12 pub type c_float = f32; types
|
/third_party/python/Lib/ctypes/ |
H A D | __init__.py | 194 class c_float(_SimpleCData): class 196 _check_size(c_float)
|
H A D | wintypes.py | 15 FLOAT = ctypes.c_float
|
/third_party/python/Lib/multiprocessing/ |
H A D | sharedctypes.py | 32 'f': ctypes.c_float, 'd': ctypes.c_double
|
/third_party/rust/crates/libc/src/windows/ |
H A D | mod.rs | 9 pub type c_float = f32; types 337 pub fn strtof(s: *const c_char, endp: *mut *mut c_char) -> c_float; in strtof()
|