/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | signal_test_013.cpp | 60 void (*retSig)(int); in ThreadSetFunc2() local 61 retSig = signal(SIGALRM, SigPrint2); in ThreadSetFunc2() 62 ICUNIT_GOTO_NOT_EQUAL(retSig, SIG_ERR, retSig, EXIT); in ThreadSetFunc2() 73 void (*retSig)(int); in ThreadSetDfl() local 74 retSig = signal(SIGALRM, SIG_DFL); in ThreadSetDfl() 75 ICUNIT_GOTO_NOT_EQUAL(retSig, SIG_ERR, retSig, EXIT); in ThreadSetDfl()
|
D | signal_test_023.cpp | 43 void (*retSig)(int); in TestKill() local 51 retSig = signal(sig, SigPrint); in TestKill() 52 if (retSig == NULL) { in TestKill() 54 exit((int)retSig); in TestKill()
|
/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | signal_test_019.cpp | 50 void (*retSig)(int); in TestSigTimeWaitDirectKillChild() local 51 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWaitDirectKillChild() 52 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigTimeWaitDirectKillChild() 53 retSig = signal(SIGUSR1, SigPrint); in TestSigTimeWaitDirectKillChild() 54 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigTimeWaitDirectKillChild()
|
D | signal_test_011.cpp | 45 void (*retSig)(int); in TestSigTimeWait() local 48 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWait() 49 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigTimeWait() 51 retSig = signal(SIGUSR1, SigPrint); in TestSigTimeWait() 52 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigTimeWait()
|
D | signal_test_010.cpp | 49 void (*retSig)(int); in TestSigWait() local 51 retSig = signal(SIGALRM, SigPrint1); in TestSigWait() 52 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigWait() 54 retSig = signal(SIGUSR1, SigPrint1); in TestSigWait() 55 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigWait()
|
D | signal_test_018.cpp | 49 void (*retSig)(int); in TestSigTimeWaitKillProcess() local 50 retSig = signal(SIGALRM, SigPrint); in TestSigTimeWaitKillProcess() 51 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigTimeWaitKillProcess() 53 retSig = signal(SIGUSR1, SigPrint); in TestSigTimeWaitKillProcess() 54 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestSigTimeWaitKillProcess()
|
D | signal_test_004.cpp | 49 void (*retSig)(int); in TestRaiseWake() local 52 retSig = signal(SIGTERM, SigPrint); in TestRaiseWake() 53 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestRaiseWake()
|
D | signal_test_015.cpp | 42 void (*retSig)(int); in TestPauseNormal() local 47 retSig = signal(SIGPWR, SigPrint); in TestPauseNormal() 48 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestPauseNormal()
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
D | IO_test_pselect_002.cpp | 57 void (*retSig)(int); in testcase() local 60 retSig = signal(SIGALRM, SigPrint); in testcase() 61 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in testcase() 63 retSig = signal(SIGUSR1, SigPrint); in testcase() 64 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in testcase()
|
D | IO_test_epoll_002.cpp | 58 void (*retSig)(int); in testcase() local 62 retSig = signal(SIGALRM, SigPrint); in testcase() 63 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in testcase() 65 retSig = signal(SIGUSR1, SigPrint); in testcase() 66 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in testcase()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_053.cpp | 42 void (*retSig)(int); in TestCase() local 45 retSig = signal(SIGUSR1, Handler); in TestCase() 46 ICUNIT_ASSERT_NOT_EQUAL(retSig, SIG_ERR, retSig); in TestCase()
|