/bionic/tests/ |
signal_test.cpp | 81 ScopedSignalHandler(int signal_number, void (*handler)(int)) : signal_number_(signal_number) { 85 sigaction(signal_number_, &action_, &old_action_); 89 sigaction(signal_number_, &old_action_, NULL); 95 const int signal_number_; member in class:ScopedSignalHandler
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
profile-handler_unittest.cc | 81 static int signal_number_ = SIGPROF; member in namespace:__anon16271 204 signal_number_ = (getenv("CPUPROFILE_REALTIME") ? SIGALRM : SIGPROF); 273 CHECK_EQ(sigaction(signal_number_, NULL, &sa), 0);
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
profile-handler_unittest.cc | 81 static int signal_number_ = SIGPROF; member in namespace:__anon16314 204 signal_number_ = (getenv("CPUPROFILE_REALTIME") ? SIGALRM : SIGPROF); 273 CHECK_EQ(sigaction(signal_number_, NULL, &sa), 0);
|