Home
last modified time | relevance | path

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

/third_party/typescript/tests/baselines/reference/
DasyncFunctionContextuallyTypedReturns.types66 type MyCallback = (thing: string) => void;
67 >MyCallback : MyCallback
70 declare function h(cb: (v: boolean) => MyCallback | PromiseLike<MyCallback>): void;
71 >h : (cb: (v: boolean) => MyCallback | PromiseLike<MyCallback>) => void
72 >cb : (v: boolean) => MyCallback | PromiseLike<MyCallback>
77 >h : (cb: (v: boolean) => MyCallback | PromiseLike<MyCallback>) => void
78 …v ? (abc) => { } : Promise.reject() : (v: boolean) => ((abc: string) => void) | Promise<MyCallback>
80 >v ? (abc) => { } : Promise.reject() : ((abc: string) => void) | Promise<MyCallback>
84 >Promise.reject() : Promise<MyCallback>
91 >h : (cb: (v: boolean) => MyCallback | PromiseLike<MyCallback>) => void
[all …]
DasyncFunctionContextuallyTypedReturns.symbols46 type MyCallback = (thing: string) => void;
47 >MyCallback : Symbol(MyCallback, Decl(asyncFunctionContextuallyTypedReturns.ts, 6, 59))
50 declare function h(cb: (v: boolean) => MyCallback | PromiseLike<MyCallback>): void;
54 >MyCallback : Symbol(MyCallback, Decl(asyncFunctionContextuallyTypedReturns.ts, 6, 59))
56 >MyCallback : Symbol(MyCallback, Decl(asyncFunctionContextuallyTypedReturns.ts, 6, 59))
DasyncFunctionContextuallyTypedReturns.js10 type MyCallback = (thing: string) => void;
11 declare function h(cb: (v: boolean) => MyCallback | PromiseLike<MyCallback>): void;
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Dservice_reflection_test.py64 def MyCallback(response): function
70 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback)
79 unittest_pb2.BarRequest(), MyCallback)
92 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback)
98 unittest_pb2.BarRequest(), MyCallback)
113 def MyCallback(response): function
126 stub.Foo(rpc_controller, request, MyCallback)
/third_party/python/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.py237 MyCallback = CFUNCTYPE(c_int, c_int)
243 cb = MyCallback(callback)
248 f.argtypes = [c_int, MyCallback]
249 cb = MyCallback(callback)
268 MyCallback = CFUNCTYPE(c_int, c_int)
270 f.argtypes = [c_int, MyCallback]
277 cb = MyCallback(callback)
287 MyCallback = CFUNCTYPE(c_longlong, c_longlong)
289 f.argtypes = [c_longlong, MyCallback]
295 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)
/third_party/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)
101 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback)
107 unittest_pb2.BarRequest(), MyCallback)
122 def MyCallback(response): function
135 stub.Foo(rpc_controller, request, MyCallback)
/third_party/typescript/tests/cases/compiler/
DasyncFunctionContextuallyTypedReturns.ts11 type MyCallback = (thing: string) => void;
12 declare function h(cb: (v: boolean) => MyCallback | PromiseLike<MyCallback>): void;
/third_party/skia/third_party/externals/oboe/tests/
DtestXRunBehaviour.cpp24 class MyCallback : public AudioStreamCallback { class
81 MyCallback callback; in TEST_F()
DtestStreamClosedMethods.cpp22 class MyCallback : public AudioStreamCallback { class
144 AudioStreamCallback *callback = new MyCallback(); in TEST_F()
/third_party/skia/third_party/externals/oboe/docs/
DGettingStarted.md145 class MyCallback : public oboe::AudioStreamCallback {
169 MyCallback myCallback;
/third_party/skia/third_party/externals/imgui/
Dimgui_demo.cpp1333 static int MyCallback(ImGuiInputTextCallbackData* data) in ShowDemoWindowWidgets() function
1369 …mGui::InputText("Completion", buf1, 64, ImGuiInputTextFlags_CallbackCompletion, Funcs::MyCallback); in ShowDemoWindowWidgets()
1373 … ImGui::InputText("History", buf2, 64, ImGuiInputTextFlags_CallbackHistory, Funcs::MyCallback); in ShowDemoWindowWidgets()
1378 …ImGui::InputText("Edit", buf3, 64, ImGuiInputTextFlags_CallbackEdit, Funcs::MyCallback, (void*)&ed… in ShowDemoWindowWidgets()