Home
last modified time | relevance | path

Searched refs:SLEEPSEC (Results 1 – 14 of 14) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/
D1-2.c29 #define SLEEPSEC 2 macro
57 if (sleep(SLEEPSEC) != 0) { in main()
67 delta = (itsset.it_value.tv_sec - SLEEPSEC) - itsget.it_value.tv_sec; in main()
72 (int)itsset.it_value.tv_sec - SLEEPSEC); in main()
83 (int)itsset.it_value.tv_sec - SLEEPSEC); in main()
D1-4.c34 #define SLEEPSEC 3 macro
64 if (sleep(SLEEPSEC) != 0) { in main()
94 (SLEEPSEC - itsset.it_value.tv_sec); in main()
110 (int)itsset.it_value.tv_sec - SLEEPSEC); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
D9-1.c21 #define SLEEPSEC 30 macro
60 tssleep.tv_sec = SLEEPSEC; in main()
72 if (abs(sleptplusremaining - SLEEPSEC) <= OKDELTA) { in main()
74 abs(sleptplusremaining - SLEEPSEC)); in main()
78 abs(sleptplusremaining - SLEEPSEC)); in main()
D1-4.c18 #define SLEEPSEC 30 macro
32 tssleep.tv_sec = SLEEPSEC; in main()
59 if ((tsafter.tv_sec - tsbefore.tv_sec) < SLEEPSEC) { in main()
65 SLEEPSEC); in main()
D1-3.c26 #define SLEEPSEC 30 macro
59 tssleep.tv_sec = SLEEPSEC; in main()
86 if ((tsafter.tv_sec - tsbefore.tv_sec) < SLEEPSEC) { in main()
92 SLEEPSEC); in main()
D1-5.c22 #define SLEEPSEC 5 macro
41 tssleep.tv_sec = SLEEPSEC; in main()
88 if (slepts >= SLEEPSEC) { in main()
D13-1.c16 #define SLEEPSEC 4 macro
24 tssleep.tv_sec = SLEEPSEC; in main()
D2-1.c21 #define SLEEPSEC 3 macro
35 sleepuntilsec = tsbefore.tv_sec + SLEEPSEC; in main()
D3-1.c22 #define SLEEPSEC 3 macro
36 sleepuntilsec = tsbefore.tv_sec - SLEEPSEC; in main()
D10-1.c19 #define SLEEPSEC 30 macro
50 tssleep.tv_sec = SLEEPSEC; in main()
D2-3.c20 #define SLEEPSEC 30 macro
33 sleepuntilsec = tsbefore.tv_sec + SLEEPSEC; in main()
D2-2.c27 #define SLEEPSEC 30 macro
48 sleepuntilsec = tsbefore.tv_sec + SLEEPSEC; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
D3-2.c19 #define SLEEPSEC 5 macro
38 tssleep.tv_sec = SLEEPSEC; in main()
83 if (slepts >= SLEEPSEC) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
D8-1.c27 #define SLEEPSEC 5 macro
55 tssleep.tv_sec = SLEEPSEC; in main()
68 expectedsec = tsT0.tv_sec + (SLEEPSEC - SMALLTIME); in main()