Lines Matching refs:signal_number
64 static const char* GetSignalName(int signal_number) { in GetSignalName() argument
65 switch (signal_number) { in GetSignalName()
80 static const char* GetSignalCodeName(int signal_number, int signal_code) { in GetSignalCodeName() argument
82 switch (signal_number) { in GetSignalCodeName()
304 static bool IsTimeoutSignal(int signal_number) { in IsTimeoutSignal() argument
305 return signal_number == GetTimeoutSignal(); in IsTimeoutSignal()
308 void HandleUnexpectedSignal(int signal_number, siginfo_t* info, void* raw_context) { in HandleUnexpectedSignal() argument
312 if (IsTimeoutSignal(signal_number)) { in HandleUnexpectedSignal()
323 bool has_address = (signal_number == SIGILL || signal_number == SIGBUS || in HandleUnexpectedSignal()
324 signal_number == SIGFPE || signal_number == SIGSEGV); in HandleUnexpectedSignal()
338 signal_number, GetSignalName(signal_number), in HandleUnexpectedSignal()
340 GetSignalCodeName(signal_number, info->si_code)) in HandleUnexpectedSignal()
347 if (kIsDebugBuild && signal_number == SIGSEGV) { in HandleUnexpectedSignal()
352 if (IsTimeoutSignal(signal_number)) { in HandleUnexpectedSignal()
383 sigaction(signal_number, &action, nullptr); in HandleUnexpectedSignal()
385 kill(getpid(), signal_number); in HandleUnexpectedSignal()