Home
last modified time | relevance | path

Searched refs:it_value (Results 1 – 25 of 132) sorted by relevance

123456

/external/strace/tests/
Dxetitimer.c42 .it_value = { 0xc0de3, 0xc0de4 } in main()
62 (long long) new.it_value.tv_sec, in main()
63 zero_extend_signed_to_ull(new.it_value.tv_usec)); in main()
73 (long long) p_old->it_value.tv_sec, in main()
74 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
85 (long long) new.it_value.tv_sec, in main()
86 zero_extend_signed_to_ull(new.it_value.tv_usec), in main()
89 (long long) p_old->it_value.tv_sec, in main()
90 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
101 (long long) new.it_value.tv_sec, in main()
[all …]
Dtimerfd_xettime.c56 its_new->it_value.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
57 its_new->it_value.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
65 (long long) its_new->it_value.tv_sec, in main()
66 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
71 its_new->it_value.tv_sec = 0xdeface3; in main()
72 its_new->it_value.tv_nsec = 0xdeface4; in main()
75 its_old->it_value.tv_sec = 0xdeface7; in main()
76 its_old->it_value.tv_nsec = 0xdeface8; in main()
88 (long long) its_new->it_value.tv_sec, in main()
89 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
[all …]
Dtimer_xettime.c65 its_new->it_value.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
66 its_new->it_value.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
74 (long long) its_new->it_value.tv_sec, in main()
75 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
80 its_new->it_value.tv_sec = 0xdeface3; in main()
81 its_new->it_value.tv_nsec = 0xdeface4; in main()
84 its_old->it_value.tv_sec = 0xdeface7; in main()
85 its_old->it_value.tv_nsec = 0xdeface8; in main()
98 (long long) its_new->it_value.tv_sec, in main()
99 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
[all …]
/external/strace/tests-mx32/
Dxetitimer.c42 .it_value = { 0xc0de3, 0xc0de4 } in main()
62 (long long) new.it_value.tv_sec, in main()
63 zero_extend_signed_to_ull(new.it_value.tv_usec)); in main()
73 (long long) p_old->it_value.tv_sec, in main()
74 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
85 (long long) new.it_value.tv_sec, in main()
86 zero_extend_signed_to_ull(new.it_value.tv_usec), in main()
89 (long long) p_old->it_value.tv_sec, in main()
90 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
101 (long long) new.it_value.tv_sec, in main()
[all …]
Dtimerfd_xettime.c56 its_new->it_value.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
57 its_new->it_value.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
65 (long long) its_new->it_value.tv_sec, in main()
66 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
71 its_new->it_value.tv_sec = 0xdeface3; in main()
72 its_new->it_value.tv_nsec = 0xdeface4; in main()
75 its_old->it_value.tv_sec = 0xdeface7; in main()
76 its_old->it_value.tv_nsec = 0xdeface8; in main()
88 (long long) its_new->it_value.tv_sec, in main()
89 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
[all …]
Dtimer_xettime.c65 its_new->it_value.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
66 its_new->it_value.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
74 (long long) its_new->it_value.tv_sec, in main()
75 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
80 its_new->it_value.tv_sec = 0xdeface3; in main()
81 its_new->it_value.tv_nsec = 0xdeface4; in main()
84 its_old->it_value.tv_sec = 0xdeface7; in main()
85 its_old->it_value.tv_nsec = 0xdeface8; in main()
98 (long long) its_new->it_value.tv_sec, in main()
99 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
[all …]
/external/strace/tests-m32/
Dxetitimer.c42 .it_value = { 0xc0de3, 0xc0de4 } in main()
62 (long long) new.it_value.tv_sec, in main()
63 zero_extend_signed_to_ull(new.it_value.tv_usec)); in main()
73 (long long) p_old->it_value.tv_sec, in main()
74 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
85 (long long) new.it_value.tv_sec, in main()
86 zero_extend_signed_to_ull(new.it_value.tv_usec), in main()
89 (long long) p_old->it_value.tv_sec, in main()
90 zero_extend_signed_to_ull(p_old->it_value.tv_usec)); in main()
101 (long long) new.it_value.tv_sec, in main()
[all …]
Dtimerfd_xettime.c56 its_new->it_value.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
57 its_new->it_value.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
65 (long long) its_new->it_value.tv_sec, in main()
66 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
71 its_new->it_value.tv_sec = 0xdeface3; in main()
72 its_new->it_value.tv_nsec = 0xdeface4; in main()
75 its_old->it_value.tv_sec = 0xdeface7; in main()
76 its_old->it_value.tv_nsec = 0xdeface8; in main()
88 (long long) its_new->it_value.tv_sec, in main()
89 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
[all …]
Dtimer_xettime.c65 its_new->it_value.tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
66 its_new->it_value.tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
74 (long long) its_new->it_value.tv_sec, in main()
75 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
80 its_new->it_value.tv_sec = 0xdeface3; in main()
81 its_new->it_value.tv_nsec = 0xdeface4; in main()
84 its_old->it_value.tv_sec = 0xdeface7; in main()
85 its_old->it_value.tv_nsec = 0xdeface8; in main()
98 (long long) its_new->it_value.tv_sec, in main()
99 zero_extend_signed_to_ull(its_new->it_value.tv_nsec), in main()
[all …]
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dtimerfd.cc15 its.it_value.tv_sec = 0; in main()
16 its.it_value.tv_nsec = 1000000; in main()
17 its.it_interval.tv_sec = its.it_value.tv_sec; in main()
18 its.it_interval.tv_nsec = its.it_value.tv_nsec; in main()
28 assert(its2.it_value.tv_sec <= its.it_value.tv_sec); in main()
29 assert(its2.it_value.tv_nsec <= its.it_value.tv_nsec); in main()
36 assert(its3.it_value.tv_sec <= its.it_value.tv_sec); in main()
37 assert(its3.it_value.tv_nsec <= its.it_value.tv_nsec); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/
D9-2.c97 its.it_value.tv_sec = tsbefore.tv_sec + in main()
99 its.it_value.tv_nsec = tsbefore.tv_nsec + in main()
102 its.it_value.tv_sec = tsbefore.tv_sec + in main()
104 its.it_value.tv_nsec = tsbefore.tv_nsec + in main()
109 (int)its.it_value.tv_sec, (int)its.it_value.tv_nsec); in main()
128 if (tsafter.tv_sec < its.it_value.tv_sec) { in main()
130 (int)tsafter.tv_sec, (int)its.it_value.tv_sec); in main()
132 } else if (tsafter.tv_sec == its.it_value.tv_sec) { in main()
133 if (tsafter.tv_nsec < its.it_value.tv_nsec) { in main()
137 (int)its.it_value.tv_nsec); in main()
D8-2.c38 its.it_value.tv_sec = TIMERSEC; in main()
39 its.it_value.tv_nsec = 0; in main()
62 oits.it_value.tv_sec = 1000; in main()
63 oits.it_value.tv_nsec = 1000; in main()
72 if ((0 == oits.it_value.tv_sec) && in main()
73 (0 == oits.it_value.tv_nsec) && in main()
80 (int)oits.it_value.tv_sec, (int)oits.it_value.tv_nsec); in main()
D8-1.c36 its.it_value.tv_sec = TIMERSEC; in main()
37 its.it_value.tv_nsec = 0; in main()
49 if ((0 == oits.it_value.tv_sec) && in main()
50 (0 == oits.it_value.tv_nsec) && in main()
57 (int)oits.it_value.tv_sec, (int)oits.it_value.tv_nsec); in main()
D9-1.c83 its.it_value.tv_sec = timeroffsets[i][0]; in main()
84 its.it_value.tv_nsec = timeroffsets[i][1]; in main()
87 (int)its.it_value.tv_sec, (int)its.it_value.tv_nsec); in main()
111 testnsecs = (unsigned long)its.it_value.tv_sec * 1000000000 + in main()
112 its.it_value.tv_nsec; in main()
D2-1.c73 its.it_value.tv_sec = TIMERVALUESEC; in main()
74 its.it_value.tv_nsec = 0; in main()
92 printf("Test for value %d\n", (int)its.it_value.tv_sec); in main()
120 delta = timeelapsed - its.it_value.tv_sec; in main()
123 (int)its.it_value.tv_sec); in main()
128 its.it_value.tv_sec += INCREMENT; in main()
D8-3.c42 its.it_value.tv_sec = TIMERSEC; in main()
43 its.it_value.tv_nsec = 0; in main()
62 if (abs(oits.it_value.tv_sec - TIMELEFT) <= ACCEPTABLEDELTA) { in main()
68 TIMELEFT, (int)oits.it_value.tv_sec); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_gettime/
D1-1.c42 itsset.it_value.tv_sec = TIMERSEC; in main()
43 itsset.it_value.tv_nsec = 0; in main()
60 delta = itsset.it_value.tv_sec - itsget.it_value.tv_sec; in main()
64 printf("%d > %d\n", (int)itsget.it_value.tv_sec, in main()
65 (int)itsset.it_value.tv_sec); in main()
75 printf("%d !~= %d\n", (int)itsget.it_value.tv_sec, in main()
76 (int)itsset.it_value.tv_sec); in main()
D1-2.c44 itsset.it_value.tv_sec = TIMERSEC; in main()
45 itsset.it_value.tv_nsec = 0; in main()
67 delta = (itsset.it_value.tv_sec - SLEEPSEC) - itsget.it_value.tv_sec; in main()
71 printf("%d > %d\n", (int)itsget.it_value.tv_sec, in main()
72 (int)itsset.it_value.tv_sec - SLEEPSEC); in main()
82 printf("%d !~= %d\n", (int)itsget.it_value.tv_sec, in main()
83 (int)itsset.it_value.tv_sec - SLEEPSEC); in main()
D3-1.c55 itsset.it_value.tv_sec = ts.tv_sec + TIMERSEC; in main()
56 itsset.it_value.tv_nsec = ts.tv_nsec; in main()
69 delta = TIMERSEC - itsget.it_value.tv_sec; in main()
73 printf("%d > %d\n", (int)itsget.it_value.tv_sec, in main()
74 (int)itsset.it_value.tv_sec); in main()
84 printf("%d !~= %d\n", (int)itsget.it_value.tv_sec, in main()
85 (int)itsset.it_value.tv_sec); in main()
D2-2.c37 itsset.it_value.tv_sec = TIMERSEC; in main()
38 itsset.it_value.tv_nsec = 0; in main()
63 if (0 == itsget.it_value.tv_sec && 0 == itsget.it_value.tv_nsec) { in main()
69 (int)itsget.it_value.tv_sec, in main()
70 (int)itsget.it_value.tv_nsec); in main()
D1-4.c51 itsset.it_value.tv_sec = TIMERVALSEC; in main()
52 itsset.it_value.tv_nsec = 0; in main()
94 (SLEEPSEC - itsset.it_value.tv_sec); in main()
95 delta = expectedleft - itsget.it_value.tv_sec; in main()
99 printf("%d > %d\n", (int)itsget.it_value.tv_sec, expectedleft); in main()
109 printf("%d !~= %d\n", (int)itsget.it_value.tv_sec, in main()
110 (int)itsset.it_value.tv_sec - SLEEPSEC); in main()
D1-3.c45 itsset.it_value.tv_sec = 0; in main()
46 itsset.it_value.tv_nsec = TIMERNSEC; in main()
76 if (itsget.it_value.tv_sec) { in main()
78 itsget.it_value.tv_sec); in main()
82 deltans = (itsset.it_value.tv_nsec - ts.tv_nsec) - in main()
83 itsget.it_value.tv_nsec; in main()
D2-1.c43 if (0 == its.it_value.tv_sec && 0 == its.it_value.tv_nsec) { in main()
48 (int)its.it_value.tv_sec, (int)its.it_value.tv_nsec); in main()
/external/ltp/testcases/kernel/syscalls/setitimer/
Dsetitimer01.c98 value->it_value.tv_sec = SEC1; in main()
99 value->it_value.tv_usec = SEC0; in main()
119 value->it_value.tv_sec = SEC2; in main()
120 value->it_value.tv_usec = SEC0; in main()
127 if (ovalue->it_value.tv_sec <= SEC1) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D13-1.c71 it.it_value.tv_sec = 10; in main()
72 it.it_value.tv_usec = 0; in main()
116 if (it.it_value.tv_sec != 0) { in main()
127 if (it.it_value.tv_sec != 0) { in main()
138 if (it.it_value.tv_sec != 0) { in main()

123456