/external/autotest/server/cros/dynamic_suite/ |
dynamic_suite_unittest.py | 140 def handler(signal_number, frame): function in function:DynamicSuiteTest.testReimageAndSIGTERM 141 """Handler for receiving a signal. 148 signal.signal(signal.SIGTERM, handler)
|
/external/chromium-trace/catapult/telemetry/telemetry/testing/ |
simple_mock.py | 24 def WhenCalled(self, handler): 25 self.when_called_handlers.append(handler) 84 def handler(*args, **_): function in function:MockObject._install_hook 98 handler.is_hook = True 99 setattr(self, func_name, handler)
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
modpython.py | 41 register a cleanup handler with yet another PythonOption directive: 106 class Handler(object): 206 def handler(req): function 234 # Import the wsgi 'application' callable and pass it to Handler.run 243 # Import the wsgi 'application' callable and pass it to Handler.run 250 Handler(req).run(app) 252 # status was set in Handler; always return apache.OK
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/s3/ |
test_website.py | 34 from boto import handler namespace 227 h = handler.XmlHandler(webconfig, None)
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_flag_parser.h | 84 FlagHandlerBase *handler; member in struct:__sanitizer::FlagParser::Flag 93 void RegisterHandler(const char *name, FlagHandlerBase *handler,
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
SimpleTimeLimiter.java | 96 InvocationHandler handler = new InvocationHandler() { local 115 return newProxy(interfaceType, handler); 190 Class<T> interfaceType, InvocationHandler handler) { 192 new Class<?>[] { interfaceType }, handler);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingTestCase.java | 62 * This invocation handler only registers that a method was called, 65 InvocationHandler handler = new InvocationHandler() { local 76 new Class[] { c }, handler); 123 InvocationHandler handler = new InvocationHandler() { local 139 handler);
|
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
URLStreamHandlerRuntime.java | 27 * {@link URLStreamHandler} to process coverage data. The handler is not 50 handlers.put(protocol, handler); 130 private final URLStreamHandler handler = new URLStreamHandler() { field in class:URLStreamHandlerRuntime
|
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
AbstractHandler.java | 19 package org.eclipse.jetty.server.handler; 24 import org.eclipse.jetty.server.Handler; 36 public abstract class AbstractHandler extends AggregateLifeCycle implements Handler
|
DebugHandler.java | 19 package org.eclipse.jetty.server.handler; 37 * Debug Handler. 38 * A lightweight debug handler that can be used in production code. 51 * @see org.eclipse.jetty.server.Handler#handle(java.lang.String, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, int) 122 * @see org.eclipse.jetty.server.handler.HandlerWrapper#doStart() 134 * @see org.eclipse.jetty.server.handler.HandlerWrapper#doStop()
|
ScopedHandler.java | 19 package org.eclipse.jetty.server.handler; 52 * <p>If non scoped handler X was in the chained A, B, X & C, then 104 * @see org.eclipse.jetty.server.handler.HandlerWrapper#doStart() 142 * Scope the handler 149 * Scope the handler 167 * Do the handler work within the scope. 174 * Do the handler work within the scope.
|
ShutdownHandler.java | 19 package org.eclipse.jetty.server.handler; 34 * A handler that shuts the server down on a valid request. Used to do "soft" restarts from Java. If _exitJvm ist set to true a hard System.exit() call is being 37 * This handler is a contribution from Johannes Brodwall: https://bugs.eclipse.org/bugs/show_bug.cgi?id=357687 44 handlers.setHandlers(new Handler[]
|
/external/jetty/src/java/org/eclipse/jetty/servlet/ |
Invoker.java | 37 import org.eclipse.jetty.server.Handler; 39 import org.eclipse.jetty.server.handler.ContextHandler; 40 import org.eclipse.jetty.server.handler.HandlerWrapper; 86 Handler handler=_contextHandler.getHandler(); local 87 while (handler!=null && !(handler instanceof ServletHandler) && (handler instanceof HandlerWrapper)) 88 handler=((HandlerWrapper)handler).getHandler() [all...] |
/external/libbrillo/brillo/http/ |
http_connection_fake.cc | 47 auto handler = transport->GetHandler(request_.GetURL(), request_.GetMethod()); local 48 if (handler.is_null()) { 55 handler.Run(request_, &response_);
|
/external/libunwind/tests/ |
Gtest-resume-sig.c | 68 handler (int sig, function 73 handler (int sig) 151 sa.sa_sigaction = handler; 154 sa.sa_handler = handler; 165 signal handler need to use the FPU for any reason. This seems to
|
/external/libvncserver/libvncserver/ |
auth.c | 49 rfbRegisterSecurityHandler(rfbSecurityHandler* handler) 53 if(handler == NULL) 56 next = handler->next; 59 if(head == handler) { 67 handler->next = securityHandlers; 68 securityHandlers = handler; 79 rfbUnregisterSecurityHandler(rfbSecurityHandler* handler) 83 if(handler == NULL) 86 if(securityHandlers == handler) { 88 rfbUnregisterSecurityHandler(handler->next) 207 rfbSecurityHandler* handler; local 334 rfbSecurityHandler* handler; local [all...] |
/external/libweave/examples/daemon/light/ |
light.cc | 172 // LightHandler is a command handler example that shows 313 LightHandler handler; local 314 handler.Register(daemon.GetDevice());
|
/external/libweave/examples/daemon/lock/ |
lock.cc | 66 // LockHandler is a command handler example that shows 143 LockHandler handler; local 144 handler.Register(daemon.GetDevice());
|
/external/mockito/src/org/mockito/internal/handler/ |
MockHandlerImpl.java | 5 package org.mockito.internal.handler; 25 * Invocation handler set on mock objects.
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
io_service.hpp | 74 * associated handler. Handlers are invoked only by a thread that is currently 80 * If an exception is thrown from a handler, the exception is allowed to 210 * @li Uninvoked handler objects that were scheduled for deferred invocation 225 * complete. The corresponding handler objects are destroyed, and all 243 * of them to invoke a handler. 271 * of them to invoke a handler. 292 /// handler. 294 * The run_one() function blocks until one handler has been dispatched, or 308 /// handler. 310 * The run_one() function blocks until one handler has been dispatched, o 428 dispatch(ASIO_MOVE_ARG(CompletionHandler) handler); member in class:asio::io_service 454 post(ASIO_MOVE_ARG(CompletionHandler) handler); member in class:asio::io_service [all...] |
/external/skia/tools/ |
CrashHandler.cpp | 31 static void handler(int sig) { function 63 static void handler(int sig) { function 90 // Register our signal handler unless something's already done so (e.g. catchsegv). 91 void (*prev)(int) = signal(kSignals[i], handler); 115 static LONG WINAPI handler(EXCEPTION_POINTERS* e) { function 184 SetUnhandledExceptionFilter(handler);
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/ |
FixOffsetsTest.java | 79 builder.addLabel("handler"); 95 Label handler = builder.getLabel("handler"); local 97 builder.addCatch(tryStart, tryEnd, handler);
|
/external/v8/test/mjsunit/harmony/ |
proxies-get-own-property-descriptor.js | 28 var handler = { 40 var proxy = new Proxy(target, handler); 63 handler.getOwnPropertyDescriptor = undefined; 71 handler.getOwnPropertyDescriptor = function(target, name) { return undefined; }; 78 handler.getOwnPropertyDescriptor = function(target, name) { 90 handler.getOwnPropertyDescriptor = function(target, name) { return undefined; }; 99 handler.getOwnPropertyDescriptor = function() { return existent_desc; }; 108 handler.getOwnPropertyDescriptor = {}; 112 handler.getOwnPropertyDescriptor = function() { throw "ball"; }; 116 handler.getOwnPropertyDescriptor = function() { return 1; [all...] |
/external/v8/test/unittests/heap/ |
gc-idle-time-handler-unittest.cc | 7 #include "src/heap/gc-idle-time-handler.h" 20 GCIdleTimeHandler* handler() { return &handler_; } function in class:v8::internal::__anon24525::GCIdleTimeHandlerTest 133 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); 145 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); 156 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); 168 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); 180 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); 188 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); 198 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state); 207 GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state) [all...] |
/external/valgrind/none/tests/amd64/ |
faultstatus.c | 2 Check that a fault signal handler gets the expected info 58 static void handler(int sig, siginfo_t *si, void *uc) function 96 sa.sa_sigaction = handler; 130 fprintf(stderr, " FAIL: no fault, or handler returned\n");
|