Lines Matching refs:timeout
46 const struct timespec *const timeout, const unsigned long size) in k_sigtimedwait() argument
48 return syscall(__NR_rt_sigtimedwait, set, info, timeout, size); in k_sigtimedwait()
53 const struct timespec *const timeout, unsigned int size) in iterate() argument
56 assert(k_sigtimedwait(set, NULL, timeout, size) == -1); in iterate()
61 (long long) timeout->tv_sec, in iterate()
62 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate()
69 set, (long long) timeout->tv_sec, in iterate()
70 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate()
76 text, (long long) timeout->tv_sec, in iterate()
77 zero_extend_signed_to_ull(timeout->tv_nsec), in iterate()
93 TAIL_ALLOC_OBJECT_CONST_PTR(struct timespec, timeout); in main()
94 timeout->tv_sec = 0; in main()
95 timeout->tv_nsec = 42; in main()
103 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
108 k_set, (long long) timeout->tv_sec, in main()
109 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
115 (long long) timeout->tv_sec, in main()
116 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
118 timeout->tv_sec = 0xdeadbeefU; in main()
119 timeout->tv_nsec = 0xfacefeedU; in main()
120 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
123 (long long) timeout->tv_sec, in main()
124 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
126 timeout->tv_sec = (time_t) 0xcafef00ddeadbeefLL; in main()
127 timeout->tv_nsec = (long) 0xbadc0dedfacefeedLL; in main()
128 assert(k_sigtimedwait(k_set, NULL, timeout, set_size) == -1); in main()
131 (long long) timeout->tv_sec, in main()
132 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
134 timeout->tv_sec = 0; in main()
135 timeout->tv_nsec = 42; in main()
142 assert(k_sigtimedwait(k_set, info, timeout, set_size) == -1); in main()
146 info, (long long) timeout->tv_sec, in main()
147 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
152 assert(k_sigtimedwait(k_set, info, timeout, set_size) == -1); in main()
156 info, (long long) timeout->tv_sec, in main()
157 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
164 assert(k_sigtimedwait(k_set, info, timeout, set_size) == -1); in main()
169 info, (long long) timeout->tv_sec, in main()
170 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
173 assert(k_sigtimedwait(k_set - set_size, info, timeout, set_size) == -1); in main()
177 info, (long long) timeout->tv_sec, in main()
178 zero_extend_signed_to_ull(timeout->tv_nsec), set_size); in main()
187 iterate("~[]", k_set - set_size, timeout, set_size >> 1); in main()
189 timeout->tv_sec = 1; in main()
191 assert(k_sigtimedwait(k_set, info, timeout, set_size) == SIGALRM); in main()
196 (long long) timeout->tv_sec, in main()
197 zero_extend_signed_to_ull(timeout->tv_nsec), in main()