/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_init/ |
H A D | 2-2.c | 173 struct timespec ts, timeout; local 240 ret = clock_gettime(cid, &ts); 245 ret = clock_settime(cid, &ts); 264 output("Default clock : %10i.%09li\n", ts.tv_sec, ts.tv_nsec); 267 if (diff.tv_sec > ts.tv_sec) 270 if (diff.tv_nsec < ts.tv_nsec) 272 diff.tv_nsec += 1000000000 - ts.tv_nsec; 273 diff.tv_sec -= 1 + ts.tv_sec; 277 diff.tv_nsec -= ts [all...] |
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | msync.c | 121 tsd_t *ts = (tsd_t *)tsd; local 132 if ((ts->ts_map = (char *)mmap(NULL, optl, 146 tsd_t *ts = (tsd_t *)tsd; local 151 if (msync(ts->ts_map, optl, opta | opti) < 0) { 159 ts->ts_foo += ts->ts_map[j]; 165 ts->ts_map[j] = 1;
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedreceive/ |
H A D | 1-1.c | 40 struct timespec ts; local 63 ts.tv_sec = time(NULL) + 1; 64 ts.tv_nsec = 0; 65 if (mq_timedreceive(mqdes, msgrv1, BUFFER, &rvprio, &ts) == -1) { 78 ts.tv_sec = time(NULL) + 1; 79 ts.tv_nsec = 0; 80 if (mq_timedreceive(mqdes, msgrv2, BUFFER, &rvprio, &ts) == -1) {
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mq_timedsend/ |
H A D | 14-1.c | 38 struct timespec ts; local 45 ts.tv_sec=time(NULL); 46 ts.tv_nsec=0; 57 ts.tv_sec++; 58 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != -1) {
|
H A D | 7-1.c | 44 struct timespec ts; local 61 ts.tv_sec=time(NULL); 62 ts.tv_nsec=0; 65 ts.tv_sec++; 66 if (mq_timedsend(queue, msgptr, strlen(msgptr), spri++, &ts)
|
H A D | 3-1.c | 52 struct timespec ts; local 68 ts.tv_sec=time(NULL)+1; 69 ts.tv_nsec=0; 70 if (mq_timedsend(queue, msgptr3, strlen(msgptr3), PRI3, &ts) != 0) { 75 ts.tv_sec++; 76 if (mq_timedsend(queue, msgptr1, strlen(msgptr1), PRI1, &ts) != 0) { 81 ts.tv_sec++; 82 if (mq_timedsend(queue, msgptr4, strlen(msgptr4), PRI4, &ts) != 0) { 87 ts.tv_sec++; 88 if (mq_timedsend(queue, msgptr2, strlen(msgptr2), PRI2, &ts) ! [all...] |
H A D | 3-2.c | 54 struct timespec ts; local 70 ts.tv_sec=time(NULL)+1; 71 ts.tv_nsec=0; 72 if (mq_timedsend(queue, msgptr3, strlen(msgptr3), PRI3, &ts) != 0) { 78 ts.tv_sec++; 79 if (mq_timedsend(queue, msgptr1, strlen(msgptr1), PRI1, &ts) != 0) { 85 ts.tv_sec++; 86 if (mq_timedsend(queue, msgptr4, strlen(msgptr4), PRI4, &ts) != 0) { 92 ts.tv_sec++; 93 if (mq_timedsend(queue, msgptr2, strlen(msgptr2), PRI2, &ts) ! [all...] |
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_create/ |
H A D | 1-1.c | 48 struct timespec ts, tsleft; local 61 ts.tv_sec=TIMERSEC+SLEEPDELTA; 62 ts.tv_nsec=0; 83 if (nanosleep(&ts, &tsleft) != -1) { 94 (int) ts.tv_sec- (int) tsleft.tv_sec,
|
H A D | 7-1.c | 44 struct timespec ts, tsleft; local 57 ts.tv_sec=TIMERSEC+SLEEPDELTA; 58 ts.tv_nsec=0; 79 if (nanosleep(&ts, &tsleft) != -1) { 90 (int) ts.tv_sec- (int) tsleft.tv_sec,
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_create/speculative/ |
H A D | 5-1.c | 55 struct timespec ts, tsleft; local 65 ts.tv_sec=TIMERSEC+SLEEPDELTA; 66 ts.tv_nsec=0; 87 if (nanosleep(&ts, &tsleft) != -1) { 98 (int) ts.tv_sec- (int) tsleft.tv_sec,
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/timer_settime/ |
H A D | 1-1.c | 50 struct timespec ts, tsleft; local 63 ts.tv_sec=TIMERSEC+SLEEPDELTA; 64 ts.tv_nsec=0; 85 if (nanosleep(&ts, &tsleft) != -1) { 96 (int) ts.tv_sec- (int) tsleft.tv_sec,
|
H A D | 5-1.c | 45 struct timespec beforets, ts, tsleft; local 78 ts.tv_sec=TIMERSEC+SLEEPDELTA; 79 ts.tv_nsec=0; 87 if (nanosleep(&ts, &tsleft) != -1) { 98 (int) ts.tv_sec- (int) tsleft.tv_sec,
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fork/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/getpid/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_atfork/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cancel/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_broadcast/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_destroy/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_signal/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_cond_wait/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_create/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_detach/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_equal/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_exit/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/pthread_getschedparam/ |
H A D | testfrmw.c | 49 char *ts="[??:??:??]";
local 57 printf(ts);
|