Searched refs:handler (Results 126 - 150 of 1334) sorted by relevance

1234567891011>>

/external/chromium_org/components/invalidation/
H A Dfake_invalidator.h23 bool IsHandlerRegistered(InvalidationHandler* handler) const;
24 ObjectIdSet GetRegisteredIds(InvalidationHandler* handler) const;
33 virtual void RegisterHandler(InvalidationHandler* handler) OVERRIDE;
34 virtual void UpdateRegisteredIds(InvalidationHandler* handler,
36 virtual void UnregisterHandler(InvalidationHandler* handler) OVERRIDE;
H A Dinvalidation_notifier.cc44 void InvalidationNotifier::RegisterHandler(InvalidationHandler* handler) { argument
46 registrar_.RegisterHandler(handler);
49 void InvalidationNotifier::UpdateRegisteredIds(InvalidationHandler* handler, argument
52 registrar_.UpdateRegisteredIds(handler, ids);
56 void InvalidationNotifier::UnregisterHandler(InvalidationHandler* handler) { argument
58 registrar_.UnregisterHandler(handler);
H A Dinvalidator_registrar_unittest.cc32 virtual void RegisterHandler(InvalidationHandler* handler) OVERRIDE {
33 registrar_.RegisterHandler(handler);
36 virtual void UpdateRegisteredIds(InvalidationHandler* handler,
38 registrar_.UpdateRegisteredIds(handler, ids);
41 virtual void UnregisterHandler(InvalidationHandler* handler) OVERRIDE {
42 registrar_.UnregisterHandler(handler);
/external/mockito/src/org/mockito/internal/creation/
H A DCglibMockMaker.java21 public <T> T createMock(MockCreationSettings<T> settings, MockHandler handler) { argument
22 InternalMockHandler mockitoHandler = cast(handler);
28 private InternalMockHandler cast(MockHandler handler) { argument
29 if (!(handler instanceof InternalMockHandler)) {
33 return (InternalMockHandler) handler;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSslErrorHandlerTest.java20 private SslErrorHandler handler; field in class:SslErrorHandlerTest
25 handler = Robolectric.newInstanceOf(SslErrorHandler.class);
26 shadow = Robolectric.shadowOf(handler);
37 handler.cancel();
44 handler.proceed();
/external/chromium_org/mojo/public/cpp/utility/tests/
H A Drun_loop_unittest.cc97 RemoveOnReadyRunLoopHandler handler; local
102 handler.set_run_loop(&run_loop);
103 run_loop.AddHandler(&handler, test_pipe.handle0.get(),
106 EXPECT_EQ(1, handler.ready_count());
107 EXPECT_EQ(0, handler.error_count());
133 QuitOnReadyRunLoopHandler handler; local
138 handler.set_run_loop(&run_loop);
139 run_loop.AddHandler(&handler, test_pipe.handle0.get(),
142 EXPECT_EQ(1, handler.ready_count());
143 EXPECT_EQ(0, handler
170 QuitOnErrorRunLoopHandler handler; local
186 TestRunLoopHandler handler; local
276 AddHandlerOnErrorHandler handler; local
375 NestingRunLoopHandler handler; local
425 TestRunLoopHandler handler; local
[all...]
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/
H A Dmali_parser.js364 function handler(eventName, cpuNumber, pid, ts, eventBase) {
367 this.importer.registerEventHandler(hwcEventName, handler.bind(this));
370 function handler(eventName, cpuNumber, pid, ts, eventBase) {
373 this.importer.registerEventHandler(hwcEventName, handler.bind(this));
384 function handler(eventName, cpuNumber, pid, ts, eventBase) {
387 this.importer.registerEventHandler(hwcEventName, handler.bind(this));
390 function handler(eventName, cpuNumber, pid, ts, eventBase) {
393 this.importer.registerEventHandler(hwcEventName, handler.bind(this));
404 function handler(eventName, cpuNumber, pid, ts, eventBase) {
407 this.importer.registerEventHandler(hwcEventName, handler
[all...]
/external/chromium_org/chrome/browser/custom_handlers/
H A Dregister_protocol_handler_infobar_delegate.h19 // Creates a new register protocol handler infobar and delegate. Searches
20 // |infobar_service| for an existing infobar for the same |handler|; replaces
25 const ProtocolHandler& handler);
29 const ProtocolHandler& handler);
45 // Returns a user-friendly name for the protocol of this protocol handler.
46 base::string16 GetProtocolName(const ProtocolHandler& handler) const;
H A Dregister_protocol_handler_permission_request.cc17 const ProtocolHandler& handler) {
18 if (handler.protocol() == "mailto")
20 if (handler.protocol() == "webcal")
22 return base::UTF8ToUTF16(handler.protocol());
30 const ProtocolHandler& handler,
34 handler_(handler),
16 GetProtocolName( const ProtocolHandler& handler) argument
28 RegisterProtocolHandlerPermissionRequest( ProtocolHandlerRegistry* registry, const ProtocolHandler& handler, GURL url, bool user_gesture) argument
/external/chromium_org/content/browser/ssl/
H A Dssl_policy.h31 void OnCertError(SSLCertErrorHandler* handler);
54 void OnAllowCertificate(scoped_refptr<SSLCertErrorHandler> handler,
67 void OnCertErrorInternal(SSLCertErrorHandler* handler, int options_mask);
/external/libcxx/test/language.support/support.dynamic/alloc.errors/set.new.handler/
H A DAndroid.mk17 test_makefile := external/libcxx/test/language.support/support.dynamic/alloc.errors/set.new.handler/Android.mk
19 test_name := language.support/support.dynamic/alloc.errors/set.new.handler/set_new_handler
23 test_name := language.support/support.dynamic/alloc.errors/set.new.handler/get_new_handler
/external/llvm/include/llvm/Support/
H A DErrorHandling.h25 /// An error handler callback.
30 /// install_fatal_error_handler - Installs a new error handler to be used
33 /// If no error handler is installed the default is to print the error message
34 /// to stderr, and call exit(1). If an error handler is installed then it is
35 /// the handler's responsibility to log the message, it will no longer be
36 /// printed to stderr. If the error handler returns, then exit(1) will be
39 /// It is dangerous to naively use an error handler which throws an exception.
45 /// handler.
46 void install_fatal_error_handler(fatal_error_handler_t handler,
56 explicit ScopedFatalErrorHandler(fatal_error_handler_t handler, argument
[all...]
/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_request_handler.cc36 ServiceWorkerRequestHandler* handler = variable
38 if (!handler)
40 return handler->MaybeCreateJob(request, network_delegate);
86 scoped_ptr<ServiceWorkerRequestHandler> handler(
89 if (!handler)
92 request->SetUserData(&kUserDataKey, handler.release());
/external/chromium_org/net/http/
H A Dhttp_auth_handler_digest_unittest.cc53 scoped_ptr<HttpAuthHandler> handler; local
55 // Create a handler for a particular challenge.
58 challenge, target, url_origin.GetOrigin(), BoundNetLog(), &handler);
59 if (rv_create != OK || handler.get() == NULL) {
60 ADD_FAILURE() << "Unable to create auth handler.";
73 int rv_generate = handler->GenerateAuthToken(
355 scoped_ptr<HttpAuthHandler> handler; local
360 &handler);
365 EXPECT_TRUE(handler.get() == NULL);
368 ASSERT_TRUE(handler
520 scoped_ptr<HttpAuthHandler> handler; local
547 scoped_ptr<HttpAuthHandler> handler; local
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
H A Dlogutils.py145 # Create the handler.
146 handler = logging.StreamHandler(stream)
152 handler.setFormatter(formatter)
153 handler.addFilter(logging_filter)
155 return [handler]
202 for handler in handlers:
203 logger.addHandler(handler)
/external/guava/guava-tests/test/com/google/common/eventbus/
H A DEventHandlerTest.java50 EventHandler handler = new EventHandler(this, method);
52 handler.handleEvent(FIXTURE_ARGUMENT);
86 EventHandler handler = new EventHandler(this, method);
89 handler.handleEvent(new Object());
99 EventHandler handler = new EventHandler(this, method);
102 handler.handleEvent(new Object());
/external/apache-http/src/org/apache/http/protocol/
H A DHttpRequestHandlerRegistry.java64 public void register(final String pattern, final HttpRequestHandler handler) { argument
65 matcher.register(pattern, handler);
/external/chromium_org/chrome/browser/feedback/system_logs/log_sources/
H A Dmemory_details_log_source.cc40 handler(new SystemLogsMemoryHandler(callback));
42 handler->StartFetch(MemoryDetails::UPDATE_USER_METRICS);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/injected/
H A Devent_suspender.js64 * Returns a handler that only runs the argument if events are not suspended.
66 * @param {Function} handler Function that will be used as an event handler.
68 * @return {Function} Function wrapping the handler.
70 cvox.ChromeVoxEventSuspender.makeSuspendableHandler = function(handler, ret) {
75 return handler();
/external/chromium_org/content/browser/android/in_process/
H A Dsynchronous_input_event_filter.h23 // The provided |handler| process WebInputEvents synchronously on the merged
35 virtual void SetBoundHandler(const Handler& handler) OVERRIDE;
44 void SetBoundHandlerOnUIThread(const Handler& handler);
/external/chromium_org/content/browser/
H A Dbrowser_url_handler_impl.cc107 void BrowserURLHandlerImpl::AddHandlerPair(URLHandler handler, argument
109 url_handlers_.push_back(HandlerPair(handler, reverse_handler));
117 URLHandler handler = *url_handlers_[i].first; local
118 if (handler && handler(url, browser_context)) {
131 URLHandler handler = *url_handlers_[i].first; local
132 if (!handler) {
135 } else if (handler(&test_url, browser_context)) {
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Ddrag_wrapper.js13 * delegates event handling to |handler|. The |handler| must implement:
21 function DragWrapper(target, handler) {
22 this.initialize(target, handler);
26 initialize: function(target, handler) {
34 this.handler_ = handler;
71 // drag over handler so that we make the necessary updates (one visible
/external/chromium_org/v8/src/heap/
H A Dgc-idle-time-handler-unittest.cc7 #include "src/heap/gc-idle-time-handler.h"
20 GCIdleTimeHandler* handler() { return &handler_; } function in class:v8::internal::__anon17296::GCIdleTimeHandlerTest
154 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
165 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
175 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
184 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
197 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
211 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
223 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
225 handler()
[all...]
/external/libcxx/test/language.support/support.dynamic/alloc.errors/new.handler/
H A DAndroid.mk17 test_makefile := external/libcxx/test/language.support/support.dynamic/alloc.errors/new.handler/Android.mk
19 test_name := language.support/support.dynamic/alloc.errors/new.handler/new_handler
/external/libcxx/test/language.support/support.exception/exception.terminate/terminate.handler/
H A DAndroid.mk17 test_makefile := external/libcxx/test/language.support/support.exception/exception.terminate/terminate.handler/Android.mk
19 test_name := language.support/support.exception/exception.terminate/terminate.handler/terminate_handler

Completed in 9105 milliseconds

1234567891011>>