Searched refs:MyCallback (Results 1 – 7 of 7) sorted by relevance
/external/protobuf/python/google/protobuf/internal/ |
D | service_reflection_test.py | 69 def MyCallback(response): function 75 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 84 unittest_pb2.BarRequest(), MyCallback) 97 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 103 unittest_pb2.BarRequest(), MyCallback) 118 def MyCallback(response): function 131 stub.Foo(rpc_controller, request, MyCallback)
|
/external/python/cpython3/Lib/ctypes/test/ |
D | test_as_parameter.py | 77 MyCallback = CFUNCTYPE(c_int, c_int) 83 cb = MyCallback(callback) 89 f.argtypes = [c_int, MyCallback] 90 cb = MyCallback(callback) 112 MyCallback = CFUNCTYPE(c_int, c_int) 114 f.argtypes = [c_int, MyCallback] 121 cb = MyCallback(callback) 130 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 132 f.argtypes = [c_longlong, MyCallback] 138 cb = MyCallback(callback)
|
D | test_functions.py | 247 MyCallback = CFUNCTYPE(c_int, c_int) 253 cb = MyCallback(callback) 258 f.argtypes = [c_int, MyCallback] 259 cb = MyCallback(callback) 278 MyCallback = CFUNCTYPE(c_int, c_int) 280 f.argtypes = [c_int, MyCallback] 287 cb = MyCallback(callback) 297 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 299 f.argtypes = [c_longlong, MyCallback] 305 cb = MyCallback(callback)
|
D | test_refcounts.py | 6 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int) variable 20 f.argtypes = [ctypes.c_int, MyCallback] 27 cb = MyCallback(callback)
|
/external/python/cpython2/Lib/ctypes/test/ |
D | test_as_parameter.py | 77 MyCallback = CFUNCTYPE(c_int, c_int) 83 cb = MyCallback(callback) 89 f.argtypes = [c_int, MyCallback] 90 cb = MyCallback(callback) 112 MyCallback = CFUNCTYPE(c_int, c_int) 114 f.argtypes = [c_int, MyCallback] 121 cb = MyCallback(callback) 130 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 132 f.argtypes = [c_longlong, MyCallback] 138 cb = MyCallback(callback)
|
D | test_functions.py | 247 MyCallback = CFUNCTYPE(c_int, c_int) 253 cb = MyCallback(callback) 258 f.argtypes = [c_int, MyCallback] 259 cb = MyCallback(callback) 278 MyCallback = CFUNCTYPE(c_int, c_int) 280 f.argtypes = [c_int, MyCallback] 287 cb = MyCallback(callback) 297 MyCallback = CFUNCTYPE(c_longlong, c_longlong) 299 f.argtypes = [c_longlong, MyCallback] 305 cb = MyCallback(callback)
|
D | test_refcounts.py | 5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int) variable 18 f.argtypes = [ctypes.c_int, MyCallback] 25 cb = MyCallback(callback)
|