Searched defs:action (Results 1 - 8 of 8) sorted by relevance

/art/runtime/
H A Druntime_android.cc61 struct sigaction action; local
62 memset(&action, 0, sizeof(action));
63 sigemptyset(&action.sa_mask);
64 action.sa_sigaction = HandleUnexpectedSignal;
66 action.sa_flags |= SA_SIGINFO;
68 action.sa_flags |= SA_ONSTACK;
70 rc += sigaction(SIGSEGV, &action, &old_action);
H A Druntime_linux.cc332 struct sigaction action; local
333 memset(&action, 0, sizeof(action));
334 sigemptyset(&action.sa_mask);
335 action.sa_handler = SIG_DFL;
336 sigaction(signal_number, &action, NULL);
346 struct sigaction action; local
347 memset(&action, 0, sizeof(action));
348 sigemptyset(&action
[all...]
H A Dfault_handler.cc97 static void SetUpArtAction(struct sigaction* action) { argument
98 action->sa_sigaction = art_fault_handler;
99 sigemptyset(&action->sa_mask);
100 action->sa_flags = SA_SIGINFO | SA_ONSTACK;
102 action->sa_restorer = nullptr;
108 struct sigaction action; local
109 SetUpArtAction(&action);
110 EnsureFrontOfChain(SIGSEGV, &action);
118 struct sigaction action; local
119 SetUpArtAction(&action);
342 struct sigaction action, oldsegvaction, oldabortaction; local
[all...]
H A Druntime.cc530 void Runtime::DidForkFromZygote(JNIEnv* env, NativeBridgeAction action, const char* isa) { argument
534 switch (action) {
886 // DidForkFromZygote(action)
887 // action = kUnload -> dlclose native bridge.
888 // action = kInitialize -> initialize library
H A Dtrace.cc60 // u4 method ID | method action
65 // u4 method ID | method action
70 // u4 method ID | method action
132 TraceAction action) {
133 uint32_t tmid = PointerToLowMemUInt32(method) | action;
500 TraceAction action = DecodeTraceAction(tmid); local
501 LOG(INFO) << PrettyMethod(method) << " " << static_cast<int>(action);
656 TraceAction action = kTraceMethodEnter; local
659 action = kTraceMethodEnter;
662 action
131 EncodeTraceMethodAndAction(mirror::ArtMethod* method, TraceAction action) argument
[all...]
/art/test/004-SignalTest/
H A Dsignaltest.cc73 struct sigaction action; local
74 action.sa_sigaction = signalhandler;
75 sigemptyset(&action.sa_mask);
76 action.sa_flags = SA_SIGINFO | SA_ONSTACK;
78 action.sa_restorer = nullptr;
81 sigaction(SIGSEGV, &action, &oldaction);
/art/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc122 Runtime::NativeBridgeAction action = Runtime::NativeBridgeAction::kUnload; local
124 action = Runtime::NativeBridgeAction::kInitialize;
126 Runtime::Current()->DidForkFromZygote(env, action, isa_string.c_str());
/art/sigchainlib/
H A Dsigchain.cc44 // Claim the signal and keep the action specified.
45 void Claim(const struct sigaction& action) { argument
46 action_ = action;
50 // Unclaim the signal and restore the old action.
53 sigaction(signal, &action_, NULL); // Restore old action.
56 // Get the action associated with this signal.
66 // Change the recorded action to that specified.
67 void SetAction(const struct sigaction& action) { argument
68 action_ = action;
124 const struct sigaction& action local
[all...]

Completed in 206 milliseconds