| /external/compiler-rt/test/tsan/ |
| signal_sync.cc | 11 static void handler(int sig) { function 32 act.sa_handler = &handler;
|
| /external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/ |
| InvocationHandlerAdapter.java | 35 private MockHandler handler; field in class:InvocationHandlerAdapter 37 public InvocationHandlerAdapter(MockHandler handler) { 38 this.handler = handler; 52 return handler.handle(Mockito.framework().getInvocationFactory().createInvocation(proxy, 63 return handler; 66 public void setHandler(MockHandler handler) { 67 this.handler = handler;
|
| /external/libxml2/python/tests/ |
| thread2.py | 21 def handler(self,ctx,str): member in class:ErrorHandler 39 # check ther global error handler 48 # global error handler 50 libxml2.registerErrorHandler(eh.handler,"")
|
| validDTD.py | 12 def handler(self, msg, data): member in class:ErrorHandler 14 raise Exception("Error handler did not receive correct argument") 31 ctxt.setValidityErrorHandler(e.handler, e.handler, ARG)
|
| validRNG.py | 12 def handler(self, msg, data): member in class:ErrorHandler 14 raise Exception("Error handler did not receive correct argument") 46 ctxt.setValidityErrorHandler(e.handler, e.handler, ARG)
|
| validSchemas.py | 12 def handler(self, msg, data): member in class:ErrorHandler 14 raise Exception("Error handler did not receive correct argument") 53 ctxt_valid.setValidityErrorHandler(e.handler, e.handler, ARG)
|
| /external/linux-kselftest/tools/testing/selftests/timers/ |
| leapcrash.c | 51 void handler(int unused) function 67 signal(SIGINT, handler); 68 signal(SIGKILL, handler);
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/ |
| 1-3.c | 28 void handler(int signo) function 32 printf("In handler\n"); 49 act.sa_handler = handler;
|
| 10-1.c | 24 void handler(int signo) function 28 printf("In handler\n"); 40 act.sa_handler = handler;
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
| 20-1.c | 29 void handler(int signo) function 33 printf("in handler\n"); 57 act.sa_handler = handler;
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/ |
| 1-3.c | 19 void handler(int signo) function 21 printf("In handler\n"); 39 act.sa_handler = handler;
|
| 3-1.c | 10 * - Send a signal to the child process and have the handler exit with 11 * success; if the handler is not called, return 0 25 void handler(int signo) function 41 act.sa_handler = handler;
|
| 5-2.c | 22 void handler(int signo) function 24 printf("In handler\n"); 37 act.sa_handler = handler;
|
| 7-1.c | 23 void handler(int signo) function 25 printf("In handler\n"); 38 act.sa_handler = handler;
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_kill/ |
| 1-1.c | 24 SIGTOTEST, and calling a handler that sets handler_called to 1. Now 30 4. In the new thread, if the handler wasn't called for more than 5 51 void handler() function 62 act.sa_handler = handler;
|
| 1-2.c | 22 * -> set a signal handler 25 * -> Wait that the signal handler is called 86 /* Signal handler */ 87 void handler(int sig) function 93 ("The signal handler was not trigged in the killed thread"); 121 /* Set the signal handler */ 123 sa.sa_handler = handler; 133 UNRESOLVED(ret, "Failed to set signal handler"); 157 /* Check if handler has been trigged inside the child */
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/ |
| 4-1.c | 18 4. Raise both signals make sure that the handler associated with these 23 causes the handler to be executed. 24 - A value of 0 if both signals were infact pending and the handler 37 void handler(int signo) function 51 act.sa_handler = handler;
|
| 5-1.c | 14 4. Raise SIGABRT, and make sure that the handler associated with it 19 5b. Change mask to SIGUSR1 and check that the handler is called. This means 25 causes the handler to be executed. 26 - A value of 0 if SIGABRT was in fact pending and the handler 39 void handler(int signo) function 52 act.sa_handler = handler;
|
| 6-1.c | 18 4. Raise SIGALRM, and verify that handler was called, otherwise 21 handler wasn't called, otherwise test fails. 37 void handler(int signo) function 54 act.sa_handler = handler; 90 ("FAIL: Handler was not called for even though signal was removed from the signal mask\n");
|
| 9-1.c | 7 1. Use sigaction to setup a signal handler for SIGABRT 13 the signal handler code. 30 void handler(int signo) function 47 act.sa_handler = handler; 80 ("Handler wasn't called, implying signal was not delivered.\n");
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/raise/ |
| 10000-1.c | 54 void handler(int signo) function 65 act.sa_handler = handler;
|
| 2-1.c | 9 * signal handler it calls returns. 37 void handler(int signo) function 50 act.sa_handler = handler;
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_post/ |
| 6-1.c | 16 * 4) Call sempost() from within the handler for SIGALRM 37 void handler(int signo) function 55 act.sa_handler = handler;
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigaction/ |
| 11-1.c | 33 void handler(int signo, siginfo_t * info, void *context) function 48 act.sa_sigaction = handler;
|
| 19-1.c | 25 * -> register a handler for SIGABRT with SA_SIGINFO, and a known function 49 static void handler(int sig, siginfo_t *info, void *context) function 77 /* Set the signal handler */ 79 sa.sa_sigaction = handler; 88 /* Install the signal handler for SIGABRT */ 92 perror("Failed to set signal handler"); 98 "The signal handler has been called before signal was raised");
|