/external/python/cpython2/Lib/ctypes/test/ |
test_functions.py | 335 class S2H(Structure): 338 dll.ret_2h_func.restype = S2H 339 dll.ret_2h_func.argtypes = [S2H] 340 inp = S2H(99, 88) 341 s2h = dll.ret_2h_func(inp) 342 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3)) 346 class S2H(Structure): 350 windll.s_ret_2h_func.restype = S2H 351 windll.s_ret_2h_func.argtypes = [S2H] [all...] |
test_as_parameter.py | 163 class S2H(Structure): 166 dll.ret_2h_func.restype = S2H 167 dll.ret_2h_func.argtypes = [S2H] 168 inp = S2H(99, 88) 169 s2h = dll.ret_2h_func(self.wrap(inp)) 170 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))
|
/external/python/cpython3/Lib/ctypes/test/ |
test_functions.py | 335 class S2H(Structure): 338 dll.ret_2h_func.restype = S2H 339 dll.ret_2h_func.argtypes = [S2H] 340 inp = S2H(99, 88) 341 s2h = dll.ret_2h_func(inp) 342 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3)) 346 class S2H(Structure): 350 windll.s_ret_2h_func.restype = S2H 351 windll.s_ret_2h_func.argtypes = [S2H] [all...] |
test_as_parameter.py | 163 class S2H(Structure): 166 dll.ret_2h_func.restype = S2H 167 dll.ret_2h_func.argtypes = [S2H] 168 inp = S2H(99, 88) 169 s2h = dll.ret_2h_func(self.wrap(inp)) 170 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/ |
test_functions.py | 342 class S2H(Structure): 345 dll.ret_2h_func.restype = S2H 346 dll.ret_2h_func.argtypes = [S2H] 347 inp = S2H(99, 88) 348 s2h = dll.ret_2h_func(inp) 349 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3)) 353 class S2H(Structure): 357 windll.s_ret_2h_func.restype = S2H 358 windll.s_ret_2h_func.argtypes = [S2H] [all...] |
test_as_parameter.py | 166 class S2H(Structure): 169 dll.ret_2h_func.restype = S2H 170 dll.ret_2h_func.argtypes = [S2H] 171 inp = S2H(99, 88) 172 s2h = dll.ret_2h_func(self.wrap(inp)) 173 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))
|
/prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/ |
test_functions.py | 342 class S2H(Structure): 345 dll.ret_2h_func.restype = S2H 346 dll.ret_2h_func.argtypes = [S2H] 347 inp = S2H(99, 88) 348 s2h = dll.ret_2h_func(inp) 349 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3)) 353 class S2H(Structure): 357 windll.s_ret_2h_func.restype = S2H 358 windll.s_ret_2h_func.argtypes = [S2H] [all...] |
test_as_parameter.py | 166 class S2H(Structure): 169 dll.ret_2h_func.restype = S2H 170 dll.ret_2h_func.argtypes = [S2H] 171 inp = S2H(99, 88) 172 s2h = dll.ret_2h_func(self.wrap(inp)) 173 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_functions.py | 342 class S2H(Structure): 345 dll.ret_2h_func.restype = S2H 346 dll.ret_2h_func.argtypes = [S2H] 347 inp = S2H(99, 88) 348 s2h = dll.ret_2h_func(inp) 349 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3)) 353 class S2H(Structure): 357 windll.s_ret_2h_func.restype = S2H 358 windll.s_ret_2h_func.argtypes = [S2H] [all...] |
test_as_parameter.py | 166 class S2H(Structure): 169 dll.ret_2h_func.restype = S2H 170 dll.ret_2h_func.argtypes = [S2H] 171 inp = S2H(99, 88) 172 s2h = dll.ret_2h_func(self.wrap(inp)) 173 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_functions.py | 342 class S2H(Structure): 345 dll.ret_2h_func.restype = S2H 346 dll.ret_2h_func.argtypes = [S2H] 347 inp = S2H(99, 88) 348 s2h = dll.ret_2h_func(inp) 349 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3)) 353 class S2H(Structure): 357 windll.s_ret_2h_func.restype = S2H 358 windll.s_ret_2h_func.argtypes = [S2H] [all...] |
test_as_parameter.py | 166 class S2H(Structure): 169 dll.ret_2h_func.restype = S2H 170 dll.ret_2h_func.argtypes = [S2H] 171 inp = S2H(99, 88) 172 s2h = dll.ret_2h_func(self.wrap(inp)) 173 self.assertEqual((s2h.x, s2h.y), (99*2, 88*3))
|
/external/python/cpython2/Modules/_ctypes/ |
_ctypes_test.c | 602 } S2H; 604 EXPORT(S2H) ret_2h_func(S2H inp) 646 EXPORT(S2H) __stdcall s_ret_2h_func(S2H inp) { return ret_2h_func(inp); }
|
/external/python/cpython3/Modules/_ctypes/ |
_ctypes_test.c | 604 } S2H; 606 EXPORT(S2H) ret_2h_func(S2H inp) 648 EXPORT(S2H) __stdcall s_ret_2h_func(S2H inp) { return ret_2h_func(inp); }
|