Searched defs:tsleft (Results 1 - 10 of 10) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/
H A D1-1.c48 struct timespec ts, tsleft; local
83 if (nanosleep(&ts, &tsleft) != -1) {
88 if (abs(tsleft.tv_sec - SLEEPDELTA) <= ACCEPTABLEDELTA) {
95 (int)ts.tv_sec - (int)tsleft.tv_sec, TIMERSEC);
H A D7-1.c43 struct timespec ts, tsleft; local
78 if (nanosleep(&ts, &tsleft) != -1) {
83 if (abs(tsleft.tv_sec - SLEEPDELTA) <= ACCEPTABLEDELTA) {
89 (int)ts.tv_sec - (int)tsleft.tv_sec, TIMERSEC);
H A D8-1.c93 struct timespec ts, tsleft; local
109 if (nanosleep(&ts, &tsleft) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/
H A D5-1.c55 struct timespec ts, tsleft; local
87 if (nanosleep(&ts, &tsleft) != -1) {
94 if (abs(tsleft.tv_sec - SLEEPDELTA) > ACCEPTABLEDELTA) {
97 (int)ts.tv_sec - (int)tsleft.tv_sec, TIMERSEC);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
H A D1-1.c50 struct timespec ts, tsleft; local
85 if (nanosleep(&ts, &tsleft) != -1) {
90 if (abs(tsleft.tv_sec - SLEEPDELTA) <= ACCEPTABLEDELTA) {
97 (int)ts.tv_sec - (int)tsleft.tv_sec, TIMERSEC);
H A D1-2.c42 struct timespec ts, tsleft; local
86 if (nanosleep(&ts, &tsleft) != -1) {
91 if (abs(tsleft.tv_sec - SLEEPDELTA) > ACCEPTABLEDELTA) {
H A D3-1.c46 struct timespec ts, tsleft; local
84 if (nanosleep(&ts, &tsleft) == -1) {
H A D5-1.c45 struct timespec beforets, ts, tsleft; local
87 if (nanosleep(&ts, &tsleft) != -1) {
92 if (abs(tsleft.tv_sec - SLEEPDELTA) <= ACCEPTABLEDELTA) {
99 (int)ts.tv_sec - (int)tsleft.tv_sec, TIMERSEC);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
H A D5-1.c48 struct timespec tsclock, ts, tsleft, tsreset; local
115 if (nanosleep(&ts, &tsleft) != -1) {
120 if (abs(tsleft.tv_sec - SLEEPDELTA) <= ACCEPTABLEDELTA) {
128 (int)ts.tv_sec - (int)tsleft.tv_sec, TIMERSEC);
H A D5-2.c48 struct timespec tsclock, ts, tsleft, tsreset; local
115 if (nanosleep(&ts, &tsleft) != -1) {
120 if (abs(tsleft.tv_sec - SLEEPDELTA) <= ACCEPTABLEDELTA) {
129 (int)ts.tv_sec - (int)tsleft.tv_sec, TIMERSEC);

Completed in 443 milliseconds