Home
last modified time | relevance | path

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

12345678910>>...41

/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c50 struct tm time; in ns_datetosecs() local
62 memset(&time, 0, sizeof time); in ns_datetosecs()
65 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp); in ns_datetosecs()
66 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp); in ns_datetosecs()
67 time.tm_min = datepart(cp + 10, 2, 00, 59, errp); in ns_datetosecs()
80 result = time.tm_sec; /*%< Seconds */ in ns_datetosecs()
81 result += time.tm_min * 60; /*%< Minutes */ in ns_datetosecs()
82 result += time.tm_hour * (60*60); /*%< Hours */ in ns_datetosecs()
86 for (i = 0; i < time.tm_mon; i++) in ns_datetosecs()
89 if (time.tm_mon > 1 && isleap(1900+time.tm_year)) in ns_datetosecs()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Delm.c151 n->time = LB; in el_init()
157 k->time = LB; in el_init()
245 n->time = time; in el_add()
253 while ((ind->key)->time <= time) ind = ind->right; in el_add()
257 while (k->time > time) k = k->left; in el_add()
268 k2->time = n2->time; in el_add()
277 if (k2->time > time) k = k2; } in el_add()
285 while (n2->time > time) n2 = n2->left; in el_add()
291 if ((current == NULL) || (current->time > time)) in el_add()
330 (n->key)->time = (n->left)->time; in el_remove()
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Dtime.c107 to_efi_time(EFI_TIME *efi_time, time_t time) in to_efi_time() argument
112 if (time >= 0) { in to_efi_time()
117 while (time > seconds) { in to_efi_time()
118 time -= seconds; in to_efi_time()
125 while (time > in to_efi_time()
134 time -= SECSPERDAY; in to_efi_time()
137 time -= SECSPERHOUR; in to_efi_time()
140 time -= 60; in to_efi_time()
142 efi_time->Second = time; in to_efi_time()
265 time(time_t *tloc) in time() function
[all …]
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dsched.c118 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()
223 n->time = t; in el_init()
234 k->time = t; in el_init()
376 y->time = x->time; in el_add()
399 x->time = t; in el_add()
494 k->time = k->notice->time; in el_remove()
[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 …]
/illumos-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()
/illumos-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()
/illumos-gate/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_timer.c194 periodic_timer_reprogram(hrtime_t time) in periodic_timer_reprogram() argument
198 ticks = APIC_NSECS_TO_TICKS(time); in periodic_timer_reprogram()
227 oneshot_timer_reprogram(hrtime_t time) in oneshot_timer_reprogram() argument
234 delta = time - now; in oneshot_timer_reprogram()
252 " %lld \n", time, now); in oneshot_timer_reprogram()
305 deadline_timer_reprogram(hrtime_t time) in deadline_timer_reprogram() argument
314 delta = time - gethrtime(); in deadline_timer_reprogram()
335 apic_timer_reprogram(hrtime_t time) in apic_timer_reprogram() argument
341 apic_timer.apic_timer_reprogram_ops(time); in apic_timer_reprogram()
401 apic_timer_restart(hrtime_t time) in apic_timer_restart() argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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>
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c161 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
175 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
216 time_rep = time(NULL) + REPORT_SEC; 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()
330 time_rep = time(NULL) + REPORT_SEC; in memory_test_quick()
372 time_rep = time(NULL) + REPORT_SEC; in memory_test_quick()
404 time_rep = time(NULL) + REPORT_SEC; in memory_test_quick()
448 time_rep = time(NULL) + REPORT_SEC; in memory_test_extended()
462 time_rep = time(NULL) + REPORT_SEC; in memory_test_extended()
[all …]
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dsys_time_h.cfg18 # Definitions found in sys/time.h
37 sys/time.h |\
43 sys/time.h | -POSIX+ -XPG3+ SUS+
48 sys/time.h | -ALL
53 sys/time.h | -ALL
55 define | TIMEVAL_TO_TIMESPEC | | sys/time.h | -ALL
56 define | TIMESPEC_TO_TIMEVAL | | sys/time.h | -ALL
/illumos-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()
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()
535 &info->pd_nfsreqs_sum, delta, time); in check_nfs()
[all …]
/illumos-gate/usr/src/data/zoneinfo/
H A Dasia601 # time. Some areas remained on standard Xinjiang time or Beijing time and
623 # not be using Beijing time, but some local time.)
627 # https://content.time.com/time/magazine/article/0,9171,960684,00.html
1249 # today to advance East Timor's time by one hour. The time change,
1284 # (local) time, dropped its time ball on Greenwich (ocean navigator's) time,
1364 # Indonesia, <http://time.kim.lipi.go.id/time-eng.php> (2006-09-29).
2359 # time belt).
2391 # time belt.
2444 # time.
2898 # at 02:00 standard time, not at 00:00 local time as in the rest of
[all …]
H A Deurope483 # (no summer time)
626 # 2:00 standard time, e.g. 3:00 local time. However there are no
1218 # (summer time) and "talveaeg" (winter time).
1838 # time of 2nd time zone (Moscow time minus one hour). On the territory of Latvia
2023 # time would be calculated as the standard time of the second time belt
2529 # winter time standard and return Russia 11 time zones. The new
2749 # time.
2811 # time in Moscow.
3141 # (fifth time belt being UTC+5+1(decree time)
3142 # / UTC+5+1(decree time)+1(summer time)) ...
[all …]
H A Dnorthamerica32 # lines between time zones. The key individual who made time zones
56 # That 1883 transition occurred at 12:00 new time, not at 12:00 old time.
250 # Yukon standard time
261 # Samoa standard time
428 # was high noon Banner time, it was 11 a.m. Tennessean time."
658 # Alaska time (including daylight saving time) starting next year.
1275 # UTC Standard time Daylight saving time
1355 # time and daylight saving time arrangements in Canada circa 1998.
1852 # time was noted.
2599 # time..."
[all …]
H A Dafrica558 # https://www.timeanddate.com/news/time/mauritius-daylight-saving-time.html
613 # beginning / ending of summer time is 2 o'clock standard time in the
784 # start date, start time of day, end date, and end time of day XXX.
834 # to standard time at 03:00 on Saturday, June 28, 2014 local time.... DST
1192 # https://www.nbc.na/news/na-passes-namibia-time-bill-repealing-1994-namibia-time-act.8665
1195 # https://www.timeanddate.com/news/time/namibia-new-time-zone.html
1198 # Before the change, summer and winter time were both standard time legally.
1264 # was the local mean time. On 1st January, 1914, standard time for the whole of
1273 # "The expression 'Standard time' means standard time as used in Nigeria:
1479 # 1h standard time.
[all …]
H A Dantarctica14 # Unless otherwise specified, we have no time zone information.
52 # https://www.timeanddate.com/news/time/antarctica-new-times.html
67 # https://www.timeanddate.com/news/time/antartica-time-changes-2010.html
79 # time change back and forth between UTC+8 and UTC+11 for Casey:
131 # These locations employ Region of Magallanes time; use
248 # time as Moscow, Russia.
252 # what they had to say about time there:
321 # at that time (1957). (Source: Siple's book 90 Degrees South.)
326 # We use the same time as McMurdo does.
327 # And they use the same time as Christchurch, NZ does....
[all …]
/illumos-gate/usr/src/cmd/make/bin/
H A Dar.cc213 target->stat.time = true_member->stat.time; in read_archive()
214 return target->stat.time; in read_archive()
232 if (target->stat.time == file_no_time) { in read_archive()
249 target->stat.time = true_member->stat.time; in read_archive()
252 target->stat.time = file_doesnt_exist; in read_archive()
254 return target->stat.time; in read_archive()
436 if(name->stat.time == file_no_time) { in read_archive_dir()
438 name->stat.time.tv_nsec = LONG_MAX; in read_archive_dir()
523 name->stat.time.tv_sec = date; in read_archive_dir()
524 name->stat.time.tv_nsec = LONG_MAX; in read_archive_dir()
[all …]
H A Dfiles.cc94 if (target->stat.time != file_no_time) { in exists()
95 return target->stat.time; in exists()
127 target->stat.time = file_doesnt_exist; in exists()
149 target->stat.time = file_is_dir; in exists()
159 append_prop(target, time_prop)->body.time.time = in exists()
160 target->stat.time; in exists()
162 return target->stat.time; in exists()
186 target->stat.time = file_is_dir; in set_target_stat()
243 target->stat.time = alias->stat.time; in vpath_exists()
248 return alias->stat.time; in vpath_exists()
[all …]
/illumos-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:"
/illumos-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()
/illumos-gate/usr/src/cmd/make/lib/vroot/
H A Dutimes.cc37 vroot_result= utimes(path, vroot_args.utimes.time); in utimes_thunk()
41 int utimes_vroot(char *path, struct timeval *time, pathpt vroot_path, pathpt vroot_vroot) in utimes_vroot() argument
43 vroot_args.utimes.time= time; in utimes_vroot()
/illumos-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.
/illumos-gate/usr/src/cmd/initpkg/
H A Dshutdown.sh156 time="${time}${minutes} minutes "
159 time="${time}1 minute "
165 time="${time}${seconds} second"
167 time="${time}${seconds} seconds"
172 "The system ${NODENAME} will be shut down in ${time}

12345678910>>...41