/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | signal_test_014.cpp | 34 static void SigPrint(int sig) in SigPrint() function 42 ret = signal(100, SigPrint); // 100, signal num. in TestSigErrno() 46 ret = signal(0, SigPrint); in TestSigErrno() 51 ret = signal(30, SigPrint); // 30, signal num. in TestSigErrno() 54 ret = signal(-1, SigPrint); in TestSigErrno() 58 ret = signal(32, SigPrint); // 32, signal num. in TestSigErrno() 62 ret = signal(31, SigPrint); // 31, signal num. in TestSigErrno()
|
D | signal_test_035.cpp | 35 static void SigPrint(int sig) in SigPrint() function 52 ret = signal(sig, SigPrint); in TestCase() 61 ret = signal(sig, SigPrint); in TestCase() 63 if (ret != SigPrint) { in TestCase()
|
D | signal_test_002.cpp | 36 static void SigPrint(int sig) in SigPrint() function 50 ret = reinterpret_cast<void *>(signal(sig, SigPrint)); in TestRaiseIgnore() 64 ret = reinterpret_cast<void *>(signal(sig, SigPrint)); in TestRaiseIgnore()
|
D | signal_test_022.cpp | 34 static void SigPrint(int) in SigPrint() function 48 ret = signal(sig, SigPrint); in TestRaise() 69 ret = signal(sig, SigPrint); in TestRaise()
|
D | signal_test_023.cpp | 34 static void SigPrint(int signum) in SigPrint() function 51 retSig = signal(sig, SigPrint); in TestKill()
|
D | signal_test_036.cpp | 35 static void SigPrint(int sig) in SigPrint() function 48 sigAct.sa_handler = SigPrint; in TestCase()
|
D | signal_test_032.cpp | 35 static void SigPrint(int sig) in SigPrint() function 61 retptr = signal(SIGUSR1, SigPrint); in TestCase()
|
D | signal_test_021.cpp | 36 static void SigPrint(int signum) in SigPrint() function 57 ret = signal(sigI, SigPrint); in TestSignal()
|
D | signal_test_009.cpp | 35 static void SigPrint(int sig) in SigPrint() function 101 ret = signal(1, SigPrint); in TestSigSet()
|
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | signal_test_040.cpp | 36 static void SigPrint(int sig) in SigPrint() function 55 signal(SIGURG, SigPrint); in TestCase() 61 signal(SIGHUP, SigPrint); in TestCase() 62 signal(SIGUSR1, SigPrint); in TestCase() 65 signal(SIGHUP, SigPrint); in TestCase() 66 signal(SIGUSR1, SigPrint); in TestCase()
|
D | signal_test_011.cpp | 34 static void SigPrint(int sig) in SigPrint() function 48 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWait() 51 retSig = signal(SIGUSR1, SigPrint); in TestSigTimeWait()
|
D | signal_test_019.cpp | 34 static void SigPrint(int sig) in SigPrint() function 51 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWaitDirectKillChild() 53 retSig = signal(SIGUSR1, SigPrint); in TestSigTimeWaitDirectKillChild()
|
D | signal_test_018.cpp | 34 static void SigPrint(int sig) in SigPrint() function 50 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWaitKillProcess() 53 retSig = signal(SIGUSR1, SigPrint); in TestSigTimeWaitKillProcess()
|
D | signal_test_005.cpp | 35 static void SigPrint(int sig) in SigPrint() function 44 ret = signal(SIGALRM, SigPrint); in TestSigDefAction()
|
D | signal_test_001.cpp | 37 static void SigPrint(int sig) in SigPrint() function 50 ret = signal(sig, SigPrint); in TestRaiseMuliti() 142 signal(SIGALRM, SigPrint); in TestCase()
|
D | signal_test_030.cpp | 35 static void SigPrint(int sig) in SigPrint() function 47 act.sa_handler = SigPrint; in TestCase()
|
D | signal_test_003.cpp | 37 static void SigPrint(int sig) in SigPrint() function 53 ret = signal(SIGTERM, SigPrint); in TestRaise()
|
D | signal_test_004.cpp | 37 static void SigPrint(int sig) in SigPrint() function 52 retSig = signal(SIGTERM, SigPrint); in TestRaiseWake()
|
D | pipe_test_005.cpp | 35 static void SigPrint(int signum) in SigPrint() function 55 if (signal(SIGPIPE, SigPrint) == SIG_ERR) { in PipecommonWrite()
|
D | signal_test_026.cpp | 35 static void SigPrint(int signum) in SigPrint() function 54 (void)signal(SIGCHLD, SigPrint); in TestCase()
|
D | signal_test_029.cpp | 35 static void SigPrint(int signum) in SigPrint() function 48 act.sa_handler = SigPrint; in TestCase()
|
D | signal_test_033.cpp | 36 static void SigPrint(int sig) in SigPrint() function 69 retptr = signal(SIGUSR1, SigPrint); in TestCase()
|
D | signal_test_015.cpp | 35 static void SigPrint(int sig) in SigPrint() function 47 retSig = signal(SIGPWR, SigPrint); in TestPauseNormal()
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
D | IO_test_pselect_002.cpp | 39 static void SigPrint(int sig) in SigPrint() function 60 retSig = signal(SIGALRM, SigPrint); in testcase() 63 retSig = signal(SIGUSR1, SigPrint); in testcase()
|
D | IO_test_epoll_002.cpp | 40 static void SigPrint(int sig) in SigPrint() function 62 retSig = signal(SIGALRM, SigPrint); in testcase() 65 retSig = signal(SIGUSR1, SigPrint); in testcase()
|