Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 1356) sorted by relevance

12345678910>>...55

/onnv-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c56 struct tm time; in ns_datetosecs() local
68 memset(&time, 0, sizeof time); in ns_datetosecs()
69 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900; in ns_datetosecs()
70 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; in ns_datetosecs()
71 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs()
72 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); in ns_datetosecs()
73 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); in ns_datetosecs()
74 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp); in ns_datetosecs()
86 result = time.tm_sec; /*%< Seconds */ in ns_datetosecs()
87 result += time.tm_min * 60; /*%< Minutes */ in ns_datetosecs()
[all …]
/onnv-gate/usr/src/cmd/cron/
H A Delm.c90 struct notice { time_t time; member
109 struct key { time_t time; member
155 n->time = LB;
161 k->time = LB;
175 n->time = t;
181 k->time = t;
197 n->time = INFINITY;
204 k->time = INFINITY;
223 el_add(event, time, id) in el_add() argument
227 time_t time;
[all …]
/onnv-gate/usr/src/uts/common/sys/fs/
H A Dcachefs_log.h159 cfs_time_t time; /* timestamp */ member
172 cfs_time_t time; /* timestamp */ member
179 cfs_time_t time; /* timestamp */ member
191 cfs_time_t time; /* timestamp */ member
203 cfs_time_t time; /* timestamp */ member
214 cfs_time_t time; /* timestamp */ member
225 cfs_time_t time; /* timestamp */ member
235 cfs_time_t time; /* timestamp */ member
246 cfs_time_t time; /* timestamp */ member
258 cfs_time_t time; /* timestamp */ member
[all …]
/onnv-gate/usr/src/cmd/lms/SyncLib/src/
H A DThreadUnix.cpp102 timespec timeout, time; in wait() local
105 time.tv_sec = msecs_p / 1000; in wait()
106 time.tv_nsec = (msecs_p % 1000) * 1000000; in wait()
107 timeout.tv_sec = now.tv_sec + time.tv_sec; in wait()
108 timeout.tv_nsec = now.tv_usec + time.tv_nsec; in wait()
158 timespec time, rem; in msleep() local
161 time.tv_sec = msecs_p / 1000; in msleep()
162 time.tv_nsec = (msecs_p % 1000) * 1000000; in msleep()
166 if (nanosleep(&time, &rem) == -1) { in msleep()
167 time.tv_sec = rem.tv_sec; in msleep()
[all …]
/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/CGI/
H A DUtil.pm218 my($time,$format) = @_;
225 $time = expire_calc($time);
226 return $time unless $time =~ /^\d+$/;
232 my($sec,$min,$hour,$mday,$mon,$year,$wday) = gmtime($time);
242 my($time) = @_;
261 if (!$time || (lc($time) eq 'now')) {
263 } elsif ($time=~/^\d+/) {
264 return $time;
265 } elsif ($time=~/^([+-]?(?:\d+|\d*\.\d*))([smhdMy])/) {
268 return $time;
/onnv-gate/usr/src/uts/common/fs/cachefs/
H A Dcachefs_log.c70 #define OUT_IF_TIME_OVERFLOW(cachep, time) \ argument
71 if (TIME_OVERFLOW(time)) { \
76 #define RET_IF_TIME_OVERFLOW(cachep, time) \ argument
77 if (TIME_OVERFLOW(time)) { \
84 #define OUT_IF_TIME_OVERFLOW(cachep, time) argument
86 #define RET_IF_TIME_OVERFLOW(cachep, time) argument
139 extern time_t time;
719 OUT_IF_TIME_OVERFLOW(cachep, time) in cachefs_log_mount()
745 record->time = time; in cachefs_log_mount()
781 (! xdr_cfs_time_t(xdrs, &rec->time)) || in cachefs_xdr_mount()
[all …]
/onnv-gate/usr/src/cmd/isns/isnsd/
H A Dsched.c90 while (k->time < t) { in il_shift()
101 if (k->time < INFINITY - DT) { in il_shift()
102 nt = k->time + DT; /* next key time */ in il_shift()
106 while (k->time < nt) { in il_shift()
111 while (n->time >= nt) { in il_shift()
118 LB = fk->time; in il_shift()
121 fk->time = nt; in il_shift()
129 fn->time = nt; in il_shift()
190 n->time = LB; in el_init()
201 k->time = LB; in el_init()
[all …]
H A Ddsapi.c85 t = time(NULL); in target_add_obj()
92 t = time(NULL) - t; in target_add_obj()
113 t = time(NULL); in target_modify_obj()
120 t = time(NULL) - t; in target_modify_obj()
141 t = time(NULL); in target_delete_obj()
148 t = time(NULL) - t; in target_delete_obj()
169 t = time(NULL); in target_delete_assoc()
176 t = time(NULL) - t; in target_delete_assoc()
196 t = time(NULL); in target_update_commit()
203 t = time(NULL) - t; in target_update_commit()
[all …]
/onnv-gate/usr/src/uts/common/syscall/
H A Dtime.c51 stime(time_t time) in stime() argument
58 if (time < 0) in stime()
61 ts.tv_sec = time; in stime()
73 stime32(time32_t time) in stime32() argument
75 if (time < 0) in stime32()
78 return (stime((time_t)time)); in stime32()
/onnv-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_timer.c212 periodic_timer_reprogram(hrtime_t time) in periodic_timer_reprogram() argument
216 ticks = APIC_NSECS_TO_TICKS(time); in periodic_timer_reprogram()
245 oneshot_timer_reprogram(hrtime_t time) in oneshot_timer_reprogram() argument
252 delta = time - now; in oneshot_timer_reprogram()
270 " %lld \n", time, now); in oneshot_timer_reprogram()
303 deadline_timer_reprogram(hrtime_t time) in deadline_timer_reprogram() argument
307 if (time <= 0) { in deadline_timer_reprogram()
313 ticks = unscalehrtime(time); in deadline_timer_reprogram()
330 apic_timer_reprogram(hrtime_t time) in apic_timer_reprogram() argument
336 apic_timer.apic_timer_reprogram_ops(time); in apic_timer_reprogram()
[all …]
/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drdate.c84 uint32_t time; in main() local
152 if (read(s, (char *)&time, sizeof (time)) != sizeof (time)) { in main()
158 time = ntohl(time) - TOFFSET; in main()
160 if (time < WRITTEN) { in main()
166 timestruct.tv_sec = time; in main()
/onnv-gate/usr/src/lib/libast/common/features/
H A Dtime6 if sys time {
7 #include <sys/time.h>
11 if ! mem tm.tm_sec sys/time.h
12 if hdr time {
13 #include <time.h>
33 if ! mem timeval.tv_sec sys/time.h {
H A Dtvlib1 hdr time
16 if ! mem timeval.tv_sec sys/time.h {
26 #include <time.h>
36 #include <time.h>
37 #include <sys/time.h>
48 #include <sys/time.h>
/onnv-gate/usr/src/common/openssl/doc/ssl/
H A DSSL_SESSION_get_time.pod5 …ON_get_timeout, SSL_SESSION_get_timeout - retrieve and manipulate session time and timeout settings
23 SSL_SESSION_get_time() returns the time at which the session B<s> was
24 established. The time is given in seconds since the Epoch and therefore
25 compatible to the time delivered by the time() call.
27 SSL_SESSION_set_time() replaces the creation time of the session B<s> with
41 Sessions are expired by examining the creation time and the timeout value.
42 Both are set at creation time of the session to the actual time and the
/onnv-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c161 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
170 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_normal()
175 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
211 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_normal()
216 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
271 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_normal()
276 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
316 time_rep = time(NULL) + REPORT_SEC; in memory_test_quick()
325 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_quick()
330 time_rep = time(NULL) + REPORT_SEC; in memory_test_quick()
[all …]
/onnv-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_output.c167 time_t now = time(NULL); in oprintf_va()
168 struct tm *time = localtime(&now); in oprintf_va() local
170 time->tm_hour, time->tm_min, time->tm_sec); in oprintf_va()
/onnv-gate/usr/src/cmd/power/
H A Dsysstat.c274 hrtime_t time = 0; in check_disks() local
280 if (time == 0) { in check_disks()
281 time = disk->new_kios.wlastupdate; in check_disks()
285 time = MAX(time, disk->new_kios.wlastupdate); in check_disks()
289 &info->pd_diskreads_sum, delta, time); in check_disks()
510 hrtime_t time = 0; in check_nfs() local
522 time = MAX(time, nfs_client2_kstat->ks_snaptime); in check_nfs()
525 time = MAX(time, nfs_client3_kstat->ks_snaptime); in check_nfs()
528 time = MAX(time, nfs_server2_kstat->ks_snaptime); in check_nfs()
531 time = MAX(time, nfs_server3_kstat->ks_snaptime); in check_nfs()
[all …]
/onnv-gate/usr/src/cmd/zic/
H A Dtzselect.po11 msgid "%s: time zone files are not set up correctly"
13 msgid "Please identify a location so that time zone rules "
18 msgid "none - I want to specify the time zone using the POSIX "
29 msgid "\`%s\' is not a conforming POSIX time zone string."
33 msgid "Please select one of the following time zone regions."
35 msgid "Local time is now: %s"
51 msgid "Here is the TZ value again, this time on standard output:"
H A Dantarctica16 # Unless otherwise specified, we have no time zone information.
19 # I made up all time zone abbreviations mentioned here; corrections welcome!
112 # Three Australian stations in Antarctica have changed their time zone:
124 # <a href="http://www.timeanddate.com/news/time/antarctica-new-times.html">
125 # http://www.timeanddate.com/news/time/antarctica-new-times.html
131 # switch back from daylight savings time when other parts of Australia do
134 # - Casey station reverted to its normal time of UTC+8 on 5 March 2010.
138 # - Davis station will revert to its normal time of UTC+7 at 10 March 2010
147 # <a href="http://www.timeanddate.com/news/time/antartica-time-changes-2010.html">
148 # http://www.timeanddate.com/news/time/antartica-time-changes-2010.html
[all …]
/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.c100 (void) gettimeofday(&timeout->time, NULL); in eloop_register_timeout()
101 timeout->time.tv_sec += secs; in eloop_register_timeout()
102 timeout->time.tv_usec += usecs; in eloop_register_timeout()
103 while (timeout->time.tv_usec >= 1000000) { in eloop_register_timeout()
104 timeout->time.tv_sec++; in eloop_register_timeout()
105 timeout->time.tv_usec -= 1000000; in eloop_register_timeout()
120 if (timercmp(&timeout->time, &tmp->time, < /* */)) in eloop_register_timeout()
248 if (timercmp(&now, &eloop.timeout->time, < /* */)) in eloop_run()
249 timersub(&eloop.timeout->time, &now, &tv); in eloop_run()
271 if (!timercmp(&now, &eloop.timeout->time, < /* */)) { in eloop_run()
/onnv-gate/usr/src/cmd/dtrace/demo/io/
H A Diocpu.d38 @time["<on cpu>"] = sum(vtimestamp - self->on);
52 @time["<I/O wait>"] = sum(timestamp - self->wait);
59 normalize(@time, 1000000);
60 printa(" %-50s %15@d\n", @time);
/onnv-gate/usr/src/common/openssl/ssl/
H A Dssl_asn1.c78 ASN1_INTEGER time; member
157 if (in->time != 0L) in i2d_SSL_SESSION()
159 a.time.length=LSIZE2; in i2d_SSL_SESSION()
160 a.time.type=V_ASN1_INTEGER; in i2d_SSL_SESSION()
161 a.time.data=ibuf3; in i2d_SSL_SESSION()
162 ASN1_INTEGER_set(&(a.time),in->time); in i2d_SSL_SESSION()
193 if (in->time != 0L) in i2d_SSL_SESSION()
194 M_ASN1_I2D_len_EXP_opt(&(a.time),i2d_ASN1_INTEGER,1,v1); in i2d_SSL_SESSION()
216 if (in->time != 0L) in i2d_SSL_SESSION()
217 M_ASN1_I2D_put_EXP_opt(&(a.time),i2d_ASN1_INTEGER,1,v1); in i2d_SSL_SESSION()
[all …]
/onnv-gate/usr/src/cmd/sgs/gprof/common/
H A Dgprof.callg.blurb10 %time the percentage of the total time of the program
37 self* the number of seconds of this function's self time
42 descendent time which is due to calls from this
47 fraction which divides up the function's time to
64 self* the number of seconds of this child's self time
69 time which is due to being called by this
92 represent the self time and descendent time of the
104 to the time and call counts of the cycle.
/onnv-gate/usr/src/lib/libshell/common/tests/
H A Dshtests2 # shtests [ name=value ... ] [ --all | --compile ] [ --time ] [ a.sh b.sh ... ]
11 time=1
24 -t|--not*)time=
95 then echo test $i begins ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"}
100 then echo test $i passed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} "[ $t $T 0 ${E}s ]"
109 echo test $i failed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T $e $E ]"
128 echo test $o begins ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"}
135 then echo test $o passed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} "[ $t $T 0 ${E}s ]"
144 echo test $o failed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T $e $E ]"
152 …echo test $o failed to compile ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T…
/onnv-gate/usr/src/cmd/initpkg/
H A Dshutdown.sh161 time="${time}${minutes} minutes "
164 time="${time}1 minute "
170 time="${time}${seconds} second"
172 time="${time}${seconds} seconds"
177 "The system ${NODENAME} will be shut down in ${time}

12345678910>>...55