Home
last modified time | relevance | path

Searched refs:signal (Results 1 – 16 of 16) sorted by relevance

/art/sigchainlib/
Dsigchain.cc52 void Unclaim(int signal) { in Unclaim() argument
54 sigaction(signal, &action_, nullptr); // Restore old action. in Unclaim()
114 static void CheckSignalValid(int signal) { in CheckSignalValid() argument
115 if (signal <= 0 || signal >= _NSIG) { in CheckSignalValid()
116 log("Invalid signal %d", signal); in CheckSignalValid()
128 extern "C" void ClaimSignalChain(int signal, struct sigaction* oldaction) { in ClaimSignalChain() argument
129 CheckSignalValid(signal); in ClaimSignalChain()
131 user_sigactions[signal].Claim(*oldaction); in ClaimSignalChain()
134 extern "C" void UnclaimSignalChain(int signal) { in UnclaimSignalChain() argument
135 CheckSignalValid(signal); in UnclaimSignalChain()
[all …]
Dsigchain.h26 extern "C" void ClaimSignalChain(int signal, struct sigaction* oldaction);
28 extern "C" void UnclaimSignalChain(int signal);
31 extern "C" void SetSpecialSignalHandlerFn(int signal, SpecialSignalHandlerFn fn);
35 extern "C" void EnsureFrontOfChain(int signal, struct sigaction* expected_action);
Dsigchain_dummy.cc52 extern "C" void ClaimSignalChain(int signal ATTRIBUTE_UNUSED, in ClaimSignalChain()
58 extern "C" void UnclaimSignalChain(int signal ATTRIBUTE_UNUSED) { in UnclaimSignalChain()
75 extern "C" void EnsureFrontOfChain(int signal ATTRIBUTE_UNUSED, in EnsureFrontOfChain()
81 extern "C" void SetSpecialSignalHandlerFn(int signal ATTRIBUTE_UNUSED, in SetSpecialSignalHandlerFn()
Dversion-script.txt10 signal;
/art/runtime/
Dsignal_set.h34 void Add(int signal) { in Add() argument
35 if (sigaddset(&set_, signal) == -1) { in Add()
36 PLOG(FATAL) << "sigaddset " << signal << " failed"; in Add()
Dnative_bridge_art_interface.cc115 for (int signal = 0; signal < _NSIG; ++signal) { in InitializeNativeBridge() local
116 android::NativeBridgeSignalHandlerFn fn = android::NativeBridgeGetSignalHandler(signal); in InitializeNativeBridge()
118 SetSpecialSignalHandlerFn(signal, fn); in InitializeNativeBridge()
Dfault_handler.cc175 for (int signal : handled_nested_signals) { in HandleFaultByOtherHandlers() local
176 sigaddset(&sigset, signal); in HandleFaultByOtherHandlers()
190 for (int signal : handled_nested_signals) { in HandleFaultByOtherHandlers() local
191 sigaddset(&action.sa_mask, signal); in HandleFaultByOtherHandlers()
/art/test/004-SignalTest/
Dexpected.txt2 init signal test
5 signal caught
/art/test/115-native-bridge/
Dexpected.txt63 NB signal handler with signal 11.
64 NB signal handler with signal 4.
Dnativebridge.cc456 static ::android::NativeBridgeSignalHandlerFn native_bridge_get_signal_handler(int signal) { in native_bridge_get_signal_handler() argument
458 if ((signal == SIGSEGV) || (signal == SIGILL)) { in native_bridge_get_signal_handler()
/art/runtime/interpreter/mterp/mips64/
Dfooter.S117 li v0, 0 # signal retry with reference interpreter.
129 li v0, 1 # signal return to caller.
144 li v0, 1 # signal return to caller.
/art/runtime/interpreter/mterp/mips/
Dfooter.S156 move v0, zero # signal retry with reference interpreter.
167 li v0, 1 # signal return to caller.
173 li v0, 1 # signal return to caller.
/art/runtime/interpreter/mterp/arm/
Dfooter.S255 mov r0, #0 @ signal retry with reference interpreter.
267 mov r0, #1 @ signal return to caller.
273 mov r0, #1 @ signal return to caller.
/art/test/144-static-field-sigquit/
Dinfo.txt4 This was potentially happening when receiving a signal while in the static
/art/test/137-cfi/
Dcfi.cc217 int signal = wait_for_sigstop(pid, &total_sleep_time_usec, &detach_failed); in Java_Main_unwindOtherProcess() local
218 if (signal == -1) { in Java_Main_unwindOtherProcess()
/art/runtime/interpreter/mterp/out/
Dmterp_arm.S12045 mov r0, #0 @ signal retry with reference interpreter.
12057 mov r0, #1 @ signal return to caller.
12063 mov r0, #1 @ signal return to caller.