Home
last modified time | relevance | path

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

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/
H A D1-2.c11 * - Sleep for SLEEPSEC < TIMERSEC.
14 * TIMERSEC-SLEEPSEC.
29 #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()
H A D1-4.c14 * - Sleep for SLEEPSEC > TIMERVALSEC, but < TIMERINTERVAL seconds
17 * TIMERINTERVALSEC - (SLEEPSEC-TIMERVALSEC).
34 #define SLEEPSEC 3 macro
64 if (sleep(SLEEPSEC) != 0) { in main()
91 * value should be < TIMERINTERVALSEC - (SLEEPSEC-TIMERVALSEC) in main()
94 (SLEEPSEC - itsset.it_value.tv_sec); in main()
110 (int)itsset.it_value.tv_sec - SLEEPSEC); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
H A D9-1.c22 #define SLEEPSEC 30 macro
61 tssleep.tv_sec = SLEEPSEC; in main()
73 if (abs(sleptplusremaining - SLEEPSEC) <= OKDELTA) { in main()
75 abs(sleptplusremaining - SLEEPSEC)); in main()
79 abs(sleptplusremaining - SLEEPSEC)); in main()
H A D1-4.c19 #define SLEEPSEC 30 macro
33 tssleep.tv_sec = SLEEPSEC; in main()
60 if ((tsafter.tv_sec - tsbefore.tv_sec) < SLEEPSEC) { in main()
66 SLEEPSEC); in main()
H A D1-3.c27 #define SLEEPSEC 30 macro
60 tssleep.tv_sec = SLEEPSEC; in main()
87 if ((tsafter.tv_sec - tsbefore.tv_sec) < SLEEPSEC) { in main()
93 SLEEPSEC); in main()
H A D1-5.c23 #define SLEEPSEC 5 macro
45 tssleep.tv_sec = SLEEPSEC; in main()
92 if (slepts >= SLEEPSEC) { in main()
H A D13-1.c16 #define SLEEPSEC 4 macro
24 tssleep.tv_sec = SLEEPSEC; in main()
H A D3-1.c13 * - Set clock_nanosleep() to sleep until current time - SLEEPSEC
22 #define SLEEPSEC 3 macro
36 sleepuntilsec = tsbefore.tv_sec - SLEEPSEC; in main()
H A D2-1.c12 * - Set clock_nanosleep() to sleep for current time + SLEEPSEC
15 * ACCEPTABLEDELTA of current time + SLEEPSEC
21 #define SLEEPSEC 3 macro
35 sleepuntilsec = tsbefore.tv_sec + SLEEPSEC; in main()
H A D2-3.c21 #define SLEEPSEC 30 macro
34 sleepuntilsec = tsbefore.tv_sec + SLEEPSEC; in main()
H A D10-1.c20 #define SLEEPSEC 30 macro
51 tssleep.tv_sec = SLEEPSEC; in main()
H A D2-2.c28 #define SLEEPSEC 30 macro
49 sleepuntilsec = tsbefore.tv_sec + SLEEPSEC; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
H A D8-1.c13 * - in child: set clock_nanosleep() to sleep for SLEEPSEC seconds
14 * - in parent: sleep SMALLTIME (< SLEEPSEC)
17 * ACCEPTABLEDELTA of T0+(SLEEPSEC-SMALLTIME)
27 #define SLEEPSEC 5 macro
55 tssleep.tv_sec = SLEEPSEC; in main()
68 expectedsec = tsT0.tv_sec + (SLEEPSEC - SMALLTIME); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
H A D3-2.c19 #define SLEEPSEC 5 macro
41 tssleep.tv_sec = SLEEPSEC; in main()
86 if (slepts >= SLEEPSEC) { in main()

Completed in 5 milliseconds