/bionic/libc/unistd/ |
siginterrupt.c | 34 struct sigaction act; local 36 (void) sigaction(sig, NULL, &act); 39 act.sa_flags &= ~SA_RESTART; 41 act.sa_flags |= SA_RESTART; 43 return sigaction(sig, &act, NULL);
|
/external/valgrind/main/none/tests/ |
coolo_sigaction.cpp | 16 struct sigaction act; local 17 act.sa_handler=theHandler; 18 sigemptyset(&(act.sa_mask)); 19 sigaddset(&(act.sa_mask), SIGCHLD); 21 sigprocmask(SIG_UNBLOCK, &(act.sa_mask), 0); 23 act.sa_flags = SA_NOCLDSTOP; 29 act.sa_flags |= SA_RESTART; 32 sigaction( SIGCHLD, &act, &oldChildHandlerData ); 34 act.sa_handler=SIG_IGN; 35 sigemptyset(&(act.sa_mask)) [all...] |
/system/core/init/ |
init_parser.h | 25 void action_add_queue_tail(struct action *act); 27 void (*func)(struct action *act));
|
init_parser.c | 334 void (*func)(struct action *act)) 337 struct action *act; local 339 act = node_to_item(node, struct action, alist); 340 if (!strcmp(act->name, trigger)) { 341 func(act); 349 struct action *act; local 351 act = node_to_item(node, struct action, alist); 352 if (!strncmp(act->name, "property:", strlen("property:"))) { 353 const char *test = act->name + strlen("property:"); 360 action_add_queue_tail(act); 369 struct action *act; local 401 struct action *act; local 428 struct action *act = node_to_item(node, struct action, qlist); local 641 struct action *act; local 661 struct action *act = state->context; local [all...] |
signal_handler.c | 133 struct sigaction act; local 135 act.sa_handler = sigchld_handler; 136 act.sa_flags = SA_NOCLDSTOP; 137 act.sa_mask = 0; 138 act.sa_restorer = NULL; 139 sigaction(SIGCHLD, &act, 0);
|
parser.c | 14 struct action *act; 36 act = node_to_item(node, struct action, alist); 37 RAW("on %s\n", act->name); 38 list_for_each(node2, &act->commands) {
|
/external/valgrind/main/memcheck/tests/ |
sigaltstack.c | 16 struct sigaction act; local 31 act.sa_flags=SA_ONSTACK; 32 act.sa_handler=&sig_handler; 33 sigemptyset(&act.sa_mask); 34 res = sigaction(SIGUSR1,&act,0);
|
/external/qemu/target-i386/ |
kvm-gs-restore.c | 71 struct sigaction act; local 80 sigfillset(&act.sa_mask); 81 act.sa_flags = 0; 82 act.sa_handler = temp_sig_handler; 84 sigaction(SIGALRM, &act, &old_alarm_act); 85 sigaction(SIGIO, &act, &old_gio_act); 86 sigaction(SIGUSR1, &act, &old_usr1_act); 87 sigaction(SIGPIPE, &act, &old_pipe_act); 88 act.sa_flags = SA_NOCLDSTOP; 89 sigaction(SIGCHLD, &act, &old_chld_act) [all...] |
/bionic/linker/ |
debugger.c | 161 struct sigaction act; local 162 memset(&act, 0, sizeof(act)); 163 act.sa_sigaction = debugger_signal_handler; 164 act.sa_flags = SA_RESTART | SA_SIGINFO; 165 sigemptyset(&act.sa_mask); 167 sigaction(SIGILL, &act, NULL); 168 sigaction(SIGABRT, &act, NULL); 169 sigaction(SIGBUS, &act, NULL); 170 sigaction(SIGFPE, &act, NULL) [all...] |
/cts/tools/dasm/src/java_cup/runtime/ |
lr_parser.java | 8 * parsers act by shifting input onto a parse stack until the symbols 476 int act; local 509 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); 512 if (act > 0) 515 cur_token.parse_state = act-1; 523 else if (act < 0) 526 lhs_sym = do_action((-act)-1, this, stack, tos); 529 lhs_sym_num = production_tab[(-act)-1][0]; 530 handle_size = production_tab[(-act)-1][1]; 540 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num) 637 int act; local 834 int act; local 955 int act; local 1027 int act; local [all...] |
/external/qemu/ |
vl-android-ui.c | 186 struct sigaction act; local 188 memset(&act, 0, sizeof(act)); 189 act.sa_handler = termsig_handler; 190 sigaction(SIGINT, &act, NULL); 191 sigaction(SIGHUP, &act, NULL); 192 sigaction(SIGTERM, &act, NULL); 194 act.sa_handler = sigchld_handler; 195 act.sa_flags = SA_NOCLDSTOP; 196 sigaction(SIGCHLD, &act, NULL) 213 struct sigaction act; local [all...] |
os-posix.c | 58 struct sigaction act; local 59 sigfillset(&act.sa_mask); 60 act.sa_flags = 0; 61 act.sa_handler = SIG_IGN; 62 sigaction(SIGPIPE, &act, NULL); 77 struct sigaction act; local 79 memset(&act, 0, sizeof(act)); 80 act.sa_handler = termsig_handler; 81 sigaction(SIGINT, &act, NULL) [all...] |
/external/oprofile/daemon/ |
oprofiled.c | 216 struct sigaction act; local 218 act.sa_handler = opd_alarm; 219 act.sa_flags = 0; 220 sigemptyset(&act.sa_mask); 222 if (sigaction(SIGALRM, &act, NULL)) { 227 act.sa_handler = opd_sighup; 228 act.sa_flags = 0; 229 sigemptyset(&act.sa_mask); 230 sigaddset(&act.sa_mask, SIGALRM); 232 if (sigaction(SIGHUP, &act, NULL)) [all...] |
opd_perfmon.c | 167 struct sigaction act; local 175 act.sa_handler = child_sigusr1; 176 act.sa_flags = 0; 177 sigemptyset(&act.sa_mask); 179 if (sigaction(SIGUSR1, &act, NULL)) { 184 act.sa_handler = child_sigusr2; 185 act.sa_flags = 0; 186 sigemptyset(&act.sa_mask); 188 if (sigaction(SIGUSR2, &act, NULL)) { 193 act.sa_handler = child_sigterm [all...] |
/cts/tools/dasm/src/java_cup/ |
parse_action_table.java | 63 parse_action act; local 72 act = under_state[row].under_term[col]; 73 if (act != null && act.kind() == parse_action.REDUCE) 76 ((reduce_action)act).reduce_with().note_reduction_use();
|
/system/extras/tests/bionic/libc/other/ |
test_timer_create2.c | 81 struct sigaction act[1]; local 87 memset(act, 0, sizeof(*act)); 88 act->sa_handler = handle; 89 sigaction( SIGUSR1, act, NULL );
|
/external/valgrind/main/coregrind/ |
m_redir.c | 297 static void show_active ( HChar* left, Active* act ); 527 Active act; local 573 act.from_addr = sym_addr; 574 act.to_addr = sp->to_addr; 575 act.parent_spec = parent_spec; 576 act.parent_sym = parent_sym; 577 act.isWrap = sp->isWrap; 578 act.isIFunc = isIFunc; 580 maybe_add_active( act ); 637 /* Add an act (passed by value; is copied here) and deal wit 715 Active* act; local 838 Active act; local 1342 Active* act; local [all...] |
/development/samples/RenderScript/MiscSamples/src/com/example/android/rs/miscsamples/ |
RsListView.java | 62 int act = ev.getAction(); local 63 if (act == MotionEvent.ACTION_DOWN) { 66 } else if (act == MotionEvent.ACTION_MOVE) {
|
/frameworks/base/core/java/android/app/ |
ActivityGroup.java | 114 Activity act = mLocalActivityManager.getActivity(who); local 121 if (act != null) { 122 act.onActivityResult(requestCode, resultCode, data);
|
/external/chromium/third_party/libjingle/source/talk/examples/call/ |
console.cc | 151 struct sigaction act; 152 act.sa_handler = &DoNothing; 153 sigemptyset(&act.sa_mask); 154 act.sa_flags = 0; 155 if (sigaction(SIGUSR1, &act, NULL) < 0) {
|
/development/samples/RenderScript/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboView.java | 60 int act = ev.getActionMasked(); local 61 if (act == ev.ACTION_UP) { 64 } else if (act == MotionEvent.ACTION_POINTER_UP) {
|
/frameworks/base/tests/RenderScriptTests/tests/src/com/android/rs/test/ |
RSTestView.java | 85 int act = ev.getAction(); local 86 if (act == ev.ACTION_DOWN) { 90 else if (act == ev.ACTION_MOVE) {
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
ImageCapture.java | 103 Activity act = inst.startActivitySync(intent); local 106 act.finish(); 118 Activity act = inst.startActivitySync(intent); local 121 act.finish();
|
VideoCapture.java | 97 Activity act = inst.startActivitySync(intent); local 100 act.finish(); 112 Activity act = inst.startActivitySync(intent); local 115 act.finish();
|
/external/blktrace/ |
blkparse_fmt.c | 162 static void print_field(char *act, struct per_cpu_info *pci, 179 fprintf(ofp, strcat(format, "s"), act); 256 static char *parse_field(char *act, struct per_cpu_info *pci, 277 print_field(act, pci, t, elapsed, pdu_len, pdu_buf, *p++, 283 static void process_default(char *act, struct per_cpu_info *pci, 297 if (act[0] == 'A') { 308 t->pid, act, rwbs); 312 switch (act[0]) { 412 fprintf(stderr, "Unknown action %c\n", act[0]); 418 void process_fmt(char *act, struct per_cpu_info *pci, struct blk_io_trace *t [all...] |