Home
last modified time | relevance | path

Searched refs:tsreset (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
D8-1.c88 struct timespec tsreset; in main() local
102 getBeforeTime(&tsreset); // get current time in main()
103 tsreset.tv_sec += SMALLTIME; in main()
104 setBackTime(tsreset); in main()
D7-1.c89 struct timespec tsreset; in main() local
103 getBeforeTime(&tsreset); // get current time in main()
104 tsreset.tv_sec += SMALLTIME; in main()
105 setBackTime(tsreset); in main()
D5-2.c48 struct timespec tsclock, ts, tsleft, tsreset; in main() local
106 getBeforeTime(&tsreset); in main()
122 tsreset.tv_sec += TIMERSEC; in main()
123 setBackTime(tsreset); in main()
D5-1.c48 struct timespec tsclock, ts, tsleft, tsreset; in main() local
106 getBeforeTime(&tsreset); in main()
122 tsreset.tv_sec += TIMERSEC; in main()
123 setBackTime(tsreset); in main()
D19-1.c41 struct timespec tsset, tscurrent, tsreset; in main() local
56 getBeforeTime(&tsreset); in main()
74 setBackTime(tsreset); in main()
D7-2.c91 struct timespec tsreset; in main() local
95 getBeforeTime(&tsreset); in main()
106 setBackTime(tsreset); //should be ~= before time in main()
/external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/
Dinvaliddates.c35 struct timespec tpset, tpget, tsreset; in main() local
40 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { in main()
79 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
85 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
Dtwopsetclock.c33 struct timespec tpget, tsreset; in main() local
36 if (clock_gettime(CLOCK_REALTIME, &tsreset) != 0) { in main()
84 if (clock_settime(CLOCK_REALTIME, &tsreset) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/speculative/
D4-4.c58 struct timespec tpT0, tpclock, tsreset; in main() local
110 getBeforeTime(&tsreset); in main()
144 tsreset.tv_sec += 2 * (TIMERINTERVAL + ADDITIONALDELTA); in main()
145 setBackTime(tsreset); in main()