Home
last modified time | relevance | path

Searched refs:tf_i (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/ctypes/test/
Dtest_cfuncs.py67 self._dll.tf_i.restype = c_int
68 self._dll.tf_i.argtypes = (c_int,)
69 self.assertEqual(self._dll.tf_i(-2147483646), -715827882)
177 self._dll.tf_i.restype = process_result
178 self._dll.tf_i.argtypes = (c_int,)
179 self.assertEqual(self._dll.tf_i(42), 28)
181 self.assertEqual(self._dll.tf_i(-42), -28)
/external/python/cpython2/Lib/ctypes/test/
Dtest_cfuncs.py67 self._dll.tf_i.restype = c_int
68 self._dll.tf_i.argtypes = (c_int,)
69 self.assertEqual(self._dll.tf_i(-2147483646), -715827882)
177 self._dll.tf_i.restype = process_result
178 self._dll.tf_i.argtypes = (c_int,)
179 self.assertEqual(self._dll.tf_i(42), 28)
181 self.assertEqual(self._dll.tf_i(-42), -28)
/external/python/cpython2/Modules/_ctypes/
D_ctypes_test.c479 EXPORT(int) tf_i(int c) { S; return c/3; } in tf_i() function
/external/python/cpython3/Modules/_ctypes/
D_ctypes_test.c639 EXPORT(int) tf_i(int c) { S; return c/3; } in tf_i() function