Home
last modified time | relevance | path

Searched refs:MyCallback (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py69 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/
Dtest_as_parameter.py77 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)
Dtest_functions.py247 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)
Dtest_refcounts.py6 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/
Dtest_as_parameter.py77 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)
Dtest_functions.py247 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)
Dtest_refcounts.py5 MyCallback = ctypes.CFUNCTYPE(ctypes.c_int, ctypes.c_int) variable
18 f.argtypes = [ctypes.c_int, MyCallback]
25 cb = MyCallback(callback)