Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 2069) sorted by relevance

12345678910>>...83

/third_party/cef/tests/ceftests/
Djsdialog_unittest.cc194 CefRefPtr<JSDialogTestHandler> handler = new JSDialogTestHandler( in TEST() local
199 handler->ExecuteTest(); in TEST()
201 EXPECT_TRUE(handler->got_onjsdialog_); in TEST()
202 EXPECT_FALSE(handler->got_onbeforeunloaddialog_); in TEST()
203 EXPECT_TRUE(handler->got_onresetdialogstate_); in TEST()
204 EXPECT_TRUE(handler->got_onloadend_); in TEST()
206 ReleaseAndWaitForDestructor(handler); in TEST()
211 CefRefPtr<JSDialogTestHandler> handler = new JSDialogTestHandler( in TEST() local
216 handler->ExecuteTest(); in TEST()
218 EXPECT_TRUE(handler->got_onjsdialog_); in TEST()
[all …]
Dlife_span_unittest.cc187 CefRefPtr<LifeSpanTestHandler> handler = new LifeSpanTestHandler(settings); in TEST() local
188 handler->ExecuteTest(); in TEST()
190 EXPECT_TRUE(handler->got_after_created_); in TEST()
191 EXPECT_TRUE(handler->got_do_close_); in TEST()
192 EXPECT_TRUE(handler->got_before_close_); in TEST()
193 EXPECT_FALSE(handler->got_before_unload_dialog_); in TEST()
194 EXPECT_TRUE(handler->got_unload_message_); in TEST()
195 EXPECT_TRUE(handler->got_load_end_); in TEST()
196 EXPECT_FALSE(handler->got_delay_close_); in TEST()
198 ReleaseAndWaitForDestructor(handler); in TEST()
[all …]
Ddialog_unittest.cc43 explicit Callback(DialogTestHandler* handler) : handler_(handler) {} in Callback() argument
153 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST() local
154 handler->ExecuteTest(); in TEST()
155 ReleaseAndWaitForDestructor(handler); in TEST()
168 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST() local
169 handler->ExecuteTest(); in TEST()
170 ReleaseAndWaitForDestructor(handler); in TEST()
179 CefRefPtr<DialogTestHandler> handler = new DialogTestHandler(config); in TEST() local
180 handler->ExecuteTest(); in TEST()
181 ReleaseAndWaitForDestructor(handler); in TEST()
[all …]
Ddisplay_unittest.cc143 CefRefPtr<TitleTestHandler> handler = new TitleTestHandler(); in TEST() local
144 handler->ExecuteTest(); in TEST()
145 ReleaseAndWaitForDestructor(handler); in TEST()
243 CefRefPtr<AutoResizeTestHandler> handler = new AutoResizeTestHandler(); in TEST() local
244 handler->ExecuteTest(); in TEST()
245 ReleaseAndWaitForDestructor(handler); in TEST()
339 CefRefPtr<ConsoleTestHandler> handler = new ConsoleTestHandler(config); in TEST() local
340 handler->ExecuteTest(); in TEST()
341 ReleaseAndWaitForDestructor(handler); in TEST()
349 CefRefPtr<ConsoleTestHandler> handler = new ConsoleTestHandler(config); in TEST() local
[all …]
Dscheme_handler_unittest.cc866 CefRefPtr<TestSchemeHandler> handler = new TestSchemeHandler(&g_TestResults); in TEST() local
867 handler->ExecuteTest(); in TEST()
881 handler->ExecuteTest(); in TEST()
895 handler->ExecuteTest(); in TEST()
897 ReleaseAndWaitForDestructor(handler); in TEST()
914 CefRefPtr<TestSchemeHandler> handler = new TestSchemeHandler(&g_TestResults); in TEST() local
915 handler->ExecuteTest(); in TEST()
916 ReleaseAndWaitForDestructor(handler); in TEST()
934 CefRefPtr<TestSchemeHandler> handler = new TestSchemeHandler(&g_TestResults); in TEST() local
935 handler->ExecuteTest(); in TEST()
[all …]
/third_party/alsa-lib/src/
Dasync.c100 int snd_async_add_handler(snd_async_handler_t **handler, int fd, in snd_async_add_handler() argument
105 assert(handler); in snd_async_add_handler()
115 *handler = h; in snd_async_add_handler()
138 int snd_async_del_handler(snd_async_handler_t *handler) in snd_async_del_handler() argument
142 assert(handler); in snd_async_del_handler()
143 list_del(&handler->glist); in snd_async_del_handler()
153 if (handler->type == SND_ASYNC_HANDLER_GENERIC) in snd_async_del_handler()
155 if (!list_empty(&handler->hlist)) in snd_async_del_handler()
156 list_del(&handler->hlist); in snd_async_del_handler()
157 if (!list_empty(&handler->hlist)) in snd_async_del_handler()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dmessage-handler.c71 struct pa_message_handler *handler; in pa_message_handler_register() local
81 handler = pa_xnew0(struct pa_message_handler, 1); in pa_message_handler_register()
82 handler->userdata = userdata; in pa_message_handler_register()
83 handler->callback = cb; in pa_message_handler_register()
84 handler->object_path = pa_xstrdup(object_path); in pa_message_handler_register()
85 handler->description = pa_xstrdup(description); in pa_message_handler_register()
87 pa_assert_se(pa_hashmap_put(c->message_handlers, handler->object_path, handler) == 0); in pa_message_handler_register()
92 struct pa_message_handler *handler; in pa_message_handler_unregister() local
97 pa_assert_se(handler = pa_hashmap_remove(c->message_handlers, object_path)); in pa_message_handler_unregister()
99 pa_xfree(handler->object_path); in pa_message_handler_unregister()
[all …]
/third_party/jerryscript/tests/jerry/es2015/
Dproxy_get_prototoype_of.js20 var handler = { getPrototypeOf (target) { variable
24 var proxy = new Proxy(target, handler);
76 var handler = { variable
81 var proxy = new Proxy(target, handler);
91 var handler = { variable
96 var proxy = new Proxy(target, handler);
101 var handler = {};
102 var proxy = new Proxy(target, handler);
108 var handler = { getPrototypeOf: null }; variable
109 var proxy = new Proxy(target, handler);
[all …]
Dproxy_has.js20 var handler = { has (target) { variable
24 var proxy = new Proxy(target, handler);
61 var handler = { variable
67 var proxy = new Proxy(target, handler);
77 var handler = { variable
86 var proxy = new Proxy(target, handler);
95 var handler = {};
96 var proxy = new Proxy(target, handler);
104 var handler = {has: null}; variable
105 var proxy = new Proxy(target, handler);
[all …]
Dproxy_prevent_extensions.js20 var handler = { preventExtensions (target) { variable
24 var proxy = new Proxy(target, handler);
44 var handler = {};
45 var proxy = new Proxy(target, handler);
55 var handler = { preventExtensions: null }; variable
56 var proxy = new Proxy(target, handler);
66 var handler = { preventExtensions: 42 }; variable
67 var proxy = new Proxy(target, handler);
78 var handler = { variable
86 var proxy = new Proxy(target, handler);
[all …]
Dproxy_own_keys.js28 var handler = { ownKeys (target) { variable
32 var proxy = new Proxy(target, handler);
71 var handler = { variable
77 var proxy = new Proxy(target, handler);
84 handler.ownKeys = function(target) {return Object.getOwnPropertyNames(target);};
93 var handler = {};
94 var proxy = new Proxy(target, handler);
100 var handler = {ownKeys: null}; variable
101 var proxy = new Proxy(target, handler);
107 var handler = {ownKeys: 42}; variable
[all …]
Dproxy_get.js20 var handler = { get (target) { variable
24 var proxy = new Proxy(target, handler);
56 var handler = {handler: 1}; variable
57 var proxy = new Proxy(target, handler);
61 assert(proxy.handler === undefined);
63 handler.get = function () {return "value 2"}; function
67 assert(proxy.handler === "value 2");
74 assert(proxy2.handler === "value 3");
83 var handler = new Proxy({}, {get: function() {throw 42;}}); variable
84 var proxy = new Proxy ({}, handler);
[all …]
Dproxy_define_own_property.js20 var handler = { defineProperty (target) { variable
26 var proxy = new Proxy(target, handler);
34 var handler = { variable
43 var proxy = new Proxy(target, handler);
51 var handler = { variable
57 var proxy = new Proxy(target, handler);
89 var handler = { variable
93 var proxy = new Proxy(target, handler);
104 var handler = { variable
108 var proxy = new Proxy(target, handler);
[all …]
/third_party/skia/third_party/externals/expat/expat/lib/
Dxmlrole.c115 ((state)->handler \
118 # define setTopLevel(state) ((state)->handler = internalSubset)
144 state->handler = prolog1; in prolog0()
147 state->handler = prolog1; in prolog0()
150 state->handler = prolog1; in prolog0()
153 state->handler = prolog1; in prolog0()
161 state->handler = doctype0; in prolog0()
164 state->handler = error; in prolog0()
193 state->handler = doctype0; in prolog1()
196 state->handler = error; in prolog1()
[all …]
/third_party/python/Modules/expat/
Dxmlrole.c115 ((state)->handler \
118 # define setTopLevel(state) ((state)->handler = internalSubset)
144 state->handler = prolog1; in prolog0()
147 state->handler = prolog1; in prolog0()
150 state->handler = prolog1; in prolog0()
153 state->handler = prolog1; in prolog0()
161 state->handler = doctype0; in prolog0()
164 state->handler = error; in prolog0()
193 state->handler = doctype0; in prolog1()
196 state->handler = error; in prolog1()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dgas_server.c41 struct gas_server_handler *handler; member
65 response->handler->status_cb(response->handler->ctx, in gas_server_response_timeout()
85 gas_server_send_resp(struct gas_server *gas, struct gas_server_handler *handler, in gas_server_send_resp() argument
90 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp()
106 response->handler = handler; in gas_server_send_resp()
121 handler->adv_proto_id_len + in gas_server_send_resp()
131 wpabuf_put_u8(resp, 1 + handler->adv_proto_id_len); /* Length */ in gas_server_send_resp()
134 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len); in gas_server_send_resp()
166 struct gas_server_handler *handler; in gas_server_rx_initial_req() local
213 dl_list_for_each(handler, &gas->handlers, struct gas_server_handler, in gas_server_rx_initial_req()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dgas_server.c43 struct gas_server_handler *handler; member
69 response->handler->status_cb(response->handler->ctx, in gas_server_response_timeout()
89 gas_server_send_resp(struct gas_server *gas, struct gas_server_handler *handler, in gas_server_send_resp() argument
95 size_t hdr_len = 24 + 2 + 5 + 3 + handler->adv_proto_id_len + 2; in gas_server_send_resp()
105 response->handler = handler; in gas_server_send_resp()
124 handler->adv_proto_id_len + in gas_server_send_resp()
134 wpabuf_put_u8(resp, 1 + handler->adv_proto_id_len); /* Length */ in gas_server_send_resp()
137 wpabuf_put_data(resp, handler->adv_proto_id, handler->adv_proto_id_len); in gas_server_send_resp()
171 struct gas_server_handler *handler; in gas_server_rx_initial_req() local
224 dl_list_for_each(handler, &gas->handlers, struct gas_server_handler, in gas_server_rx_initial_req()
[all …]
/third_party/typescript/tests/baselines/reference/
DvarianceCallbacksAndIndexedAccesses.types39 addEventListener(type: "message", handler: Action1<MessageEventLike<T>>): void;
40 >addEventListener : { (type: "message", handler: Action1<MessageEventLike<T>>): void; (type: string…
42 >handler : Action1<MessageEventLike<T>>
44 addEventListener(type: string, handler: Action1<any>): void;
45 >addEventListener : { (type: "message", handler: Action1<MessageEventLike<T>>): void; (type: string…
47 >handler : Action1<any>
49 removeEventListener(type: "message", handler: Action1<MessageEventLike<T>>): void;
50 …removeEventListener : { (type: "message", handler: Action1<MessageEventLike<T>>): void; (type: str…
52 >handler : Action1<MessageEventLike<T>>
54 removeEventListener(type: string, handler: Action1<any>): void;
[all …]
/third_party/node/test/parallel/
Dtest-whatwg-events-add-event-listener-options-signal.js15 function handler() { function
20 et.addEventListener('test', handler, { signal: controller.signal });
31 et.addEventListener('test', handler, { signal: controller.signal }),
40 function handler() {
45 et.addEventListener('test', handler, { signal: controller.signal });
46 et.removeEventListener('test', handler);
54 function handler() {
60 et.addEventListener('test', handler, options);
68 function handler() {
74 et.addEventListener('test', handler, options);
[all …]
Dtest-events-listener-count-with-listener.js8 const handler = common.mustCall(undefined, 3); constant
12 assert.strictEqual(EE.listenerCount('event', handler), 0);
15 EE.once('event', handler);
18 assert.strictEqual(EE.listenerCount('event', handler), 1);
24 assert.strictEqual(EE.listenerCount('event', handler), 0);
27 EE.on('event', handler);
30 assert.strictEqual(EE.listenerCount('event', handler), 1);
36 assert.strictEqual(EE.listenerCount('event', handler), 1);
40 assert.strictEqual(EE.listenerCount('another-event', handler), 0);
43 EE.once('event', handler);
[all …]
/third_party/node/test/fixtures/wpt/dom/events/
DAddEventListenerOptions-signal.any.js5 function handler() { function
10 et.addEventListener('test', handler, { signal: controller.signal });
18 et.addEventListener('test', handler, { signal: controller.signal });
25 function handler() { function
30 et.addEventListener('test', handler, { signal: controller.signal });
31 et.removeEventListener('test', handler);
38 function handler() { function
43 et.addEventListener('test', handler, { signal: controller.signal, once: true });
51 function handler() { function
56 et.addEventListener('test', handler, { signal: controller.signal, once: true });
[all …]
/third_party/vk-gl-cts/framework/qphelper/
DqpCrashHandler.c264 qpCrashHandler* handler = (qpCrashHandler*)deCalloc(sizeof(qpCrashHandler)); in qpCrashHandler_create() local
266 if (!handler) in qpCrashHandler_create()
267 return handler; in qpCrashHandler_create()
271 handler->crashHandlerFunc = handlerFunc ? handlerFunc : defaultCrashHandler; in qpCrashHandler_create()
272 handler->handlerUserPointer = userPointer; in qpCrashHandler_create()
278 handler->crashHandlerLock = deMutex_create(&attr); in qpCrashHandler_create()
280 if (!handler->crashHandlerLock) in qpCrashHandler_create()
282 deFree(handler); in qpCrashHandler_create()
287 qpCrashInfo_init(&handler->crashInfo); in qpCrashHandler_create()
288 handler->crashAddress = 0; in qpCrashHandler_create()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Deloop_win.c21 eloop_sock_handler handler; member
28 eloop_event_handler handler; member
37 eloop_timeout_handler handler; member
43 eloop_signal_handler handler; member
113 int eloop_register_read_sock(int sock, eloop_sock_handler handler, in eloop_register_read_sock() argument
144 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock()
184 eloop_event_handler handler, in eloop_register_event() argument
203 tmp[eloop.event_count].handler = handler; in eloop_register_event()
238 eloop_timeout_handler handler, in eloop_register_timeout() argument
270 timeout->handler = handler; in eloop_register_timeout()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Deloop_win.c21 eloop_sock_handler handler; member
28 eloop_event_handler handler; member
37 eloop_timeout_handler handler; member
43 eloop_signal_handler handler; member
113 int eloop_register_read_sock(int sock, eloop_sock_handler handler, in eloop_register_read_sock() argument
144 tmp[eloop.reader_count].handler = handler; in eloop_register_read_sock()
184 eloop_event_handler handler, in eloop_register_event() argument
203 tmp[eloop.event_count].handler = handler; in eloop_register_event()
238 eloop_timeout_handler handler, in eloop_register_timeout() argument
270 timeout->handler = handler; in eloop_register_timeout()
[all …]
/third_party/node/deps/v8/src/ic/
Dhandler-configuration.cc29 int InitPrototypeChecksImpl(Isolate* isolate, Handle<ICHandler> handler, in InitPrototypeChecksImpl() argument
52 handler->set_data2(HeapObjectReference::Weak(*native_context)); in InitPrototypeChecksImpl()
70 handler->set_data1(*data1); in InitPrototypeChecksImpl()
77 handler->set_data2(*maybe_data2); in InitPrototypeChecksImpl()
80 handler->set_data3(*maybe_data2); in InitPrototypeChecksImpl()
104 void InitPrototypeChecks(Isolate* isolate, Handle<ICHandler> handler, in InitPrototypeChecks() argument
109 isolate, handler, nullptr, lookup_start_object_map, data1, maybe_data2); in InitPrototypeChecks()
132 Handle<LoadHandler> handler = isolate->factory()->NewLoadHandler(data_size); in LoadFromPrototype() local
134 handler->set_smi_handler(*smi_handler); in LoadFromPrototype()
135 handler->set_validity_cell(*validity_cell); in LoadFromPrototype()
[all …]

12345678910>>...83