Home
last modified time | relevance | path

Searched refs:retSig (Results 1 – 11 of 11) sorted by relevance

/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
Dsignal_test_013.cpp60 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()
Dsignal_test_023.cpp43 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/
Dsignal_test_019.cpp50 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()
Dsignal_test_011.cpp45 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()
Dsignal_test_010.cpp49 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()
Dsignal_test_018.cpp49 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()
Dsignal_test_004.cpp49 void (*retSig)(int); in TestRaiseWake() local
52 retSig = signal(SIGTERM, SigPrint); in TestRaiseWake()
53 ICUNIT_ASSERT_NOT_EQUAL(retSig, NULL, retSig); in TestRaiseWake()
Dsignal_test_015.cpp42 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/
DIO_test_pselect_002.cpp57 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()
DIO_test_epoll_002.cpp58 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/
Dprocess_test_053.cpp42 void (*retSig)(int); in TestCase() local
45 retSig = signal(SIGUSR1, Handler); in TestCase()
46 ICUNIT_ASSERT_NOT_EQUAL(retSig, SIG_ERR, retSig); in TestCase()