Home
last modified time | relevance | path

Searched refs:when (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/uts/common/os/
H A Dclock_highres.c96 const struct itimerspec *when) in clock_highres_timer_settime() argument
119 if (when->it_value.tv_sec == 0 && in clock_highres_timer_settime()
120 when->it_value.tv_nsec > 0 && in clock_highres_timer_settime()
121 when->it_value.tv_nsec < clock_highres_interval_min) in clock_highres_timer_settime()
124 if (when->it_interval.tv_sec == 0 && in clock_highres_timer_settime()
125 when->it_interval.tv_nsec > 0 && in clock_highres_timer_settime()
126 when->it_interval.tv_nsec < clock_highres_interval_min) in clock_highres_timer_settime()
131 clamped.it_value.tv_sec = when->it_value.tv_sec; in clock_highres_timer_settime()
132 clamped.it_interval.tv_sec = when->it_interval.tv_sec; in clock_highres_timer_settime()
137 clamped.it_value.tv_nsec = when->it_value.tv_nsec; in clock_highres_timer_settime()
[all …]
H A Dclock_realtime.c185 const struct itimerspec *when) in clock_realtime_timer_settime() argument
206 it->it_itime = *when; in clock_realtime_timer_settime()
248 clock_realtime_timer_gettime(itimer_t *it, struct itimerspec *when) in clock_realtime_timer_gettime() argument
259 *when = it->it_itime; in clock_realtime_timer_gettime()
262 if (!timerspecisset(&when->it_value)) in clock_realtime_timer_gettime()
265 if (timerspeccmp(&when->it_value, &now) < 0) { in clock_realtime_timer_gettime()
270 timerspecclear(&when->it_value); in clock_realtime_timer_gettime()
272 timespecsub(&when->it_value, &now); in clock_realtime_timer_gettime()
H A Dtimer.c809 itimerspec_t when; in timer_gettime() local
815 error = it->it_backend->clk_timer_gettime(it, &when); in timer_gettime()
821 if (copyout(&when, val, sizeof (itimerspec_t))) in timer_gettime()
824 if (ITIMERSPEC_OVERFLOW(&when)) in timer_gettime()
829 ITIMERSPEC_TO_ITIMERSPEC32(&w32, &when) in timer_gettime()
842 itimerspec_t when; in timer_settime() local
853 if (copyin(val, &when, sizeof (itimerspec_t))) in timer_settime()
861 ITIMERSPEC32_TO_ITIMERSPEC(&when, &w32); in timer_settime()
864 if (itimerspecfix(&when.it_value) || in timer_settime()
865 (itimerspecfix(&when.it_interval) && in timer_settime()
[all …]
H A Dcyclic.c1660 cyc_time_t *when = arg->cyx_when; in cyclic_add_xcall() local
1672 "add-xcall", when->cyt_when, when->cyt_interval); in cyclic_add_xcall()
1689 cyclic->cy_interval = when->cyt_interval; in cyclic_add_xcall()
1691 if (when->cyt_when == 0) { in cyclic_add_xcall()
1699 cyclic->cy_expire = when->cyt_when; in cyclic_add_xcall()
1725 cyc_time_t *when, uint16_t flags) in cyclic_add_here() argument
1735 ASSERT(when->cyt_when >= 0 && when->cyt_interval > 0); in cyclic_add_here()
1753 arg.cyx_when = when; in cyclic_add_here()
1902 cyclic_remove_here(cyc_cpu_t *cpu, cyc_index_t ndx, cyc_time_t *when, int wait) in cyclic_remove_here() argument
1915 arg.cyx_when = when; in cyclic_remove_here()
[all …]
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c280 time_t when; in parse_datetime() local
340 if ((when = mktime(&tm)) == -1 && errno != 0) in parse_datetime()
343 when -= (timezone - altzone); in parse_datetime()
383 ts->tv_sec = when; in parse_datetime()
393 time_t when; in parse_time() local
408 when = time(0); in parse_time()
409 tm.tm_year = localtime(&when)->tm_year; in parse_time()
439 if ((when = mktime(&tm)) == -1) in parse_time()
442 when -= (timezone-altzone); in parse_time()
444 ts->tv_sec = when; in parse_time()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Dat.c167 time_t when = 0; in main() local
271 when = parse_time(optarg); in main()
306 when = now; in main()
308 if (when == 0) { /* figure out what time to run the job */ in main()
339 when = gtime(&at); in main()
341 when += timezone; in main()
342 if (localtime(&when)->tm_isdst) in main()
343 when -= (timezone-altzone); in main()
349 when = mktime(ct); in main()
353 if (when < now) /* time has already past */ in main()
[all …]
/illumos-gate/usr/src/cmd/pwconv/
H A Dpwconv.c99 time_t when, minweeks, maxweeks; in main() local
263 when = (long)a64l(pwdp->pw_age); in main()
264 maxweeks = when & 077; in main()
265 minweeks = (when >> 6) & 077; in main()
266 when >>= 12; in main()
267 sp->sp_lstchg = when * 7; in main()
354 when = (long)a64l(pwdp->pw_age); in main()
355 maxweeks = when & 077; in main()
356 minweeks = (when >> 6) & 077; in main()
357 when >>= 12; in main()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/
H A DRELEASE12 some variables from getting restored when the subshell completed
33 when the last command was a simple executable has been fixed.
34 12-06-22 A bug which could cause the shell to hang when a coprocess exits
38 12-06-19 Tab completion after a / when there is only one match not completes
53 12-06-08 typeset -a var and typeset -A var, first unset var when var is
62 12-06-05 A race condition which occured when stopping a builtin command
94 12-05-15 The default value for -L, -R, and -Z when the size was not set was
97 coredump when name is an environment variable and xtrace is on has
116 12-04-27 A bug in which old attributes were not cleared when assigning a
137 string when i was a valid subscript and j was <=0 rather than
[all …]
H A DRELEASE9355 b. A bug that caused a core dump when a script that did not
58 c. A bug which caused a core dump on some machines when
61 performed arithmetic evaluation when the discipline
69 h. A bug was fixed which caused ksh to loop when execution trace
72 to be disabled when a script that enabled monitor mode
75 when the pattern began with a [ or +( has been fixed.
76 k. A bug which prevented ~ expansion from occurring when
98 t. A bug which caused 2<&1- when applied to a shell built-in
110 directed to /dev/null for background jobs when
120 g. A bug which could cause a core dump when a discipline
[all …]
/illumos-gate/usr/src/uts/common/dtrace/
H A Dprofile.c336 profile_online(void *arg, cpu_t *cpu, cyc_handler_t *hdlr, cyc_time_t *when) in profile_online() argument
348 when->cyt_interval = prof->prof_interval; in profile_online()
349 when->cyt_when = dtrace_gethrtime() + when->cyt_interval; in profile_online()
351 pcpu->profc_expected = when->cyt_when; in profile_online()
352 pcpu->profc_interval = when->cyt_interval; in profile_online()
372 cyc_time_t when; in profile_enable() local
382 when.cyt_interval = prof->prof_interval; in profile_enable()
383 when.cyt_when = dtrace_gethrtime() + when.cyt_interval; in profile_enable()
392 prof->prof_cyclic = cyclic_add(&hdlr, &when); in profile_enable()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dnull.test58 select ifnull(case when b<>0 then 1 else 0 end, 99) from t1;
63 select ifnull(case when not b<>0 then 1 else 0 end, 99) from t1;
68 select ifnull(case when b<>0 and c<>0 then 1 else 0 end, 99) from t1;
73 select ifnull(case when not (b<>0 and c<>0) then 1 else 0 end, 99) from t1;
78 select ifnull(case when b<>0 or c<>0 then 1 else 0 end, 99) from t1;
83 select ifnull(case when not (b<>0 or c<>0) then 1 else 0 end, 99) from t1;
88 select ifnull(case b when c then 1 else 0 end, 99) from t1;
93 select ifnull(case c when b then 1 else 0 end, 99) from t1;
178 # Ticket #461 - Make sure nulls are handled correctly when doing a
/illumos-gate/usr/src/test/bhyve-tests/tests/kdev/
H A Dvatpit_freq.c35 hrtime_t when; member
43 hrtime_t time_delta = after.when - before.when; in check_reading()
121 readings[nread].when = gethrtime(); in main()
H A Dvpmtmr_freq.c35 hrtime_t when; member
43 hrtime_t time_delta = after.when - before.when; in check_reading()
127 readings[nread].when = gethrtime(); in main()
H A Dvhpet_freq.c35 hrtime_t when; member
43 hrtime_t time_delta = after.when - before.when; in check_reading()
122 readings[nread].when = gethrtime(); in main()
H A Dvlapic_freq_periodic.c35 hrtime_t when; member
43 const hrtime_t time_delta = after.when - before.when; in check_reading()
129 readings[nread].when = gethrtime(); in run_test()
H A Dvlapic_freq.c35 hrtime_t when; member
43 hrtime_t time_delta = after.when - before.when; in check_reading()
119 readings[nread].when = gethrtime(); in test_for_divisor()
/illumos-gate/usr/src/uts/sun4v/os/
H A Dwdt.c269 cyc_time_t when; in watchdog_cyclic_init() local
275 when.cyt_when = 0; in watchdog_cyclic_init()
276 when.cyt_interval = wdt_cyclic_interval; in watchdog_cyclic_init()
279 (void) cyclic_add(&hdlr, &when); in watchdog_cyclic_init()
/illumos-gate/usr/src/boot/common/
H A Dboot.c171 time_t when, otime, ntime; in autoboot() local
204 when = otime + timeout; /* when to boot */ in autoboot()
220 if (ntime >= when) { in autoboot()
227 kernelname, (int)(when - ntime), in autoboot()
228 (when - ntime) == 1? "":"s"); in autoboot()
/illumos-gate/usr/src/lib/libm/i386/src/
H A Dpow.S107 cmpb $0x40,%cl / C3=1 C2=0 C1=? C0=0 when +-0
111 cmpb $0x40,%cl / C3=1 C2=0 C1=? C0=0 when +-0
149 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
158 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
180 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
182 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
192 cmpb $0x40,%cl / C3=1 C2=0 C1=0 C0=0 when +0
194 cmpb $0x42,%cl / C3=1 C2=0 C1=1 C0=0 when -0
202 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
204 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
[all …]
H A Dpowl.S104 cmpb $0x40,%cl / C3=1 C2=0 C1=? C0=0 when +-0
131 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
140 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
162 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
164 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
174 cmpb $0x40,%cl / C3=1 C2=0 C1=0 C0=0 when +0
176 cmpb $0x42,%cl / C3=1 C2=0 C1=1 C0=0 when -0
184 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
186 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
341 cmpb $0x05,%cl / C3=0 C2=1 C1=? C0=1 when +-inf
[all …]
H A Dpowf.S108 cmpb $0x40,%cl / C3=1 C2=0 C1=? C0=0 when +-0
135 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
144 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
166 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
168 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
178 cmpb $0x40,%cl / C3=1 C2=0 C1=0 C0=0 when +0
180 cmpb $0x42,%cl / C3=1 C2=0 C1=1 C0=0 when -0
188 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
190 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
349 cmpb $0x05,%cl / C3=0 C2=1 C1=? C0=1 when +-inf
[all …]
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dpowl.S104 cmpb $0x40,%cl / C3=1 C2=0 C1=? C0=0 when +-0
129 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
138 cmpb $0x01,%cl / C3=0 C2=0 C1=? C0=1 when +-NaN
159 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
161 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
171 cmpb $0x40,%cl / C3=1 C2=0 C1=0 C0=0 when +0
173 cmpb $0x42,%cl / C3=1 C2=0 C1=1 C0=0 when -0
181 cmpb $0x05,%cl / C3=0 C2=1 C1=0 C0=1 when +inf
183 cmpb $0x07,%cl / C3=0 C2=1 C1=1 C0=1 when -inf
327 cmpb $0x05,%cl / C3=0 C2=1 C1=? C0=1 when +-inf
[all …]
/illumos-gate/usr/src/uts/sun4/io/
H A Dcbe.c268 cyc_time_t when; in cbe_init() local
311 when.cyt_when = 0; in cbe_init()
312 when.cyt_interval = nsec_per_tick; in cbe_init()
314 cbe_hres_cyclic = cyclic_add(&hdlr, &when); in cbe_init()
/illumos-gate/usr/src/cmd/sgs/tools/
H A DSUNWonld-README67 never know when they're made official, and although we try to keep all
123 4158744 patch 103627-02 causes core when RPATH has blank entry and
146 4158744 patch 103627-02 causes core when RPATH has blank entry and
162 4158744 patch 103627-02 causes core when RPATH has blank entry and
193 4260872 libelf hangs when libthread present
194 4224569 linker core dumping when profiling specified
204 4215433 ld can bus error when insufficient disc space exists for output file
277 4310901 su.static fails when OSNet build with lazy-loading
325 4367118 new fast baplt's fail when traversed twice in threaded application
381 4450433 problem with liblddbg output on -Dsection,detail when
[all …]
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dwbuf.S52 ! This happens when a user tries to spill to an unmapped or
96 ! This happens when sys_trap's save spills to an unmapped stack.
188 ! This happens when a user tries to spill to an unmapped or
232 ! This happens when sys_trap's save spills to an unmapped stack.
389 ! This happens when a user tries to fill to an unmapped or
410 ! sys_trap wants %cwp to be the same as when the trap occured,
429 ! This happens when user_rtt's restore fills from an unmapped or

12345678910>>...16