Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 1020) 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()
63 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900; in ns_datetosecs()
64 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1; 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()
68 time.tm_sec = datepart(cp + 12, 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()
[all …]
/illumos-gate/usr/src/cmd/cron/
H A Delm.c89 struct notice { time_t time; member
108 struct key { time_t time; member
151 n->time = LB; in el_init()
157 k->time = LB; in el_init()
171 n->time = t; in el_init()
177 k->time = t; in el_init()
193 n->time = INFINITY; in el_init()
200 k->time = INFINITY; in el_init()
218 el_add(void *event, time_t time, int id) in el_add() argument
236 if ((index == NULL) || (time <= 0)) { in el_add()
[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()
131 time -= CumulativeDays[lyear][month] * SECSPERDAY; in to_efi_time()
133 for (efi_time->Day = 0; time > SECSPERDAY; efi_time->Day++) in to_efi_time()
134 time -= SECSPERDAY; in to_efi_time()
136 for (efi_time->Hour = 0; time > SECSPERHOUR; efi_time->Hour++) in to_efi_time()
137 time -= SECSPERHOUR; in to_efi_time()
[all …]
/illumos-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 …]
/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/uts/common/syscall/
H A Dtime.c48 stime(time_t time) in stime() argument
55 if (time < 0) in stime()
58 ts.tv_sec = time; in stime()
70 stime32(time32_t time) in stime32() argument
72 if (time < 0) in stime32()
75 return (stime((time_t)time)); in stime32()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drdate.c82 uint32_t time; in main() local
150 if (read(s, (char *)&time, sizeof (time)) != sizeof (time)) { in main()
156 time = ntohl(time) - TOFFSET; in main()
158 if (time < WRITTEN) { in main()
164 timestruct.tv_sec = time; in main()
/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/cmd/mdb/common/modules/nfs/
H A Dnfs.c588 time_t time; in nfs_queue_show_event() local
592 time = msg->msg_time.tv_sec; in nfs_queue_show_event()
620 time, nfs4_tag_str(re->re_tag1), re->re_char1, re->re_rp1, in nfs_queue_show_event()
626 "invalid for file: %s rnode_pt 0x%p\n", time, in nfs_queue_show_event()
632 "as unusable\n", time, msg->msg_mntpt, in nfs_queue_show_event()
637 "recovery error [%s %s]\n", time, re_char1, re->re_rp1, in nfs_queue_show_event()
642 "rnode_pt1 %s (%p), rnode_pt2 %s (%p)\n", time, re->re_mi, in nfs_queue_show_event()
648 "file %s (rnode_pt %p) error %d\n", time, re->re_pid, in nfs_queue_show_event()
654 "fhandle length %d\n", time, re->re_uint); in nfs_queue_show_event()
658 " OP_GETFH\n", time); in nfs_queue_show_event()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c159 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
168 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_normal()
173 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
209 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_normal()
214 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
269 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_normal()
274 time_rep = time(NULL) + REPORT_SEC; in memory_test_normal()
314 time_rep = time(NULL) + REPORT_SEC; in memory_test_quick()
323 if ((time(NULL) >= time_rep) || (pageno == npages - 1) || in memory_test_quick()
328 time_rep = time(NULL) + REPORT_SEC; in memory_test_quick()
[all …]
/illumos-gate/usr/src/cmd/power/
H A Dsysstat.c273 hrtime_t time = 0; in check_disks() local
279 if (time == 0) { in check_disks()
280 time = disk->new_kios.wlastupdate; in check_disks()
284 time = MAX(time, disk->new_kios.wlastupdate); in check_disks()
288 &info->pd_diskreads_sum, delta, time); in check_disks()
509 hrtime_t time = 0; in check_nfs() local
521 time = MAX(time, nfs_client2_kstat->ks_snaptime); in check_nfs()
524 time = MAX(time, nfs_client3_kstat->ks_snaptime); in check_nfs()
527 time = MAX(time, nfs_server2_kstat->ks_snaptime); in check_nfs()
530 time = MAX(time, nfs_server3_kstat->ks_snaptime); in check_nfs()
[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/data/zoneinfo/
H A Dasia19 # for time zone data was the International Air Transport
30 # Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94.
56 # editions invented alphabetic time zone abbreviations for every
109 # Law "On procedure of calculation time on the territory of the Republic of
135 # daylight saving time....
137 # http://vestnikkavkaza.net/news/Azerbaijani-Cabinet-of-Ministers-cancels-daylight-saving-time.html
157 # Bangladesh to introduce daylight saving time likely from June 16
161 # "... Bangladesh government has decided to switch daylight saving time from
178 # https://www.timeanddate.com/news/time/bangladesh-daylight-saving-2009.html
181 # Finally we've got the official mail regarding DST start time where DST start
[all …]
H A Dafrica19 # for time zone data was the International Air Transport
30 # Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94.
33 # For the 1911/1912 establishment of standard time in French possessions, see:
153 # Milne says Cairo used 2:05:08.9, the local mean time of the Abbasizeh
154 # observatory. Milne also says that the official time for
183 # saving time after a poll posted on its website showed the majority of
186 # Egypt to cancel daylight saving time
195 # after observing the daylight saving time since May.
200 # saving time in Egypt will end in the night of 2007-09-06 to 2007-09-07.
242 # [3] https://wwp.greenwichmeantime.com/time-zone/africa/egypt/
[all …]
H A Dantarctica14 # Unless otherwise specified, we have no time zone information.
42 # Three Australian stations in Antarctica have changed their time zone:
52 # https://www.timeanddate.com/news/time/antarctica-new-times.html
57 # - Casey station reverted to its normal time of UTC+8 on 5 March 2010.
61 # - Davis station will revert to its normal time of UTC+7 at 10 March 2010
67 # https://www.timeanddate.com/news/time/antartica-time-changes-2010.html
70 # Australian Antarctica Division informed us that Casey changed time
76 # daylight savings time on Sunday 4 October. This will take effect from 0001
78 # be on the same time zone as Hobart. Some past dates too for this 3 hour
79 # time change back and forth between UTC+8 and UTC+11 for Casey:
[all …]
H A Dnorthamerica14 # A reliable and entertaining source about time zones is
15 # Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
22 # Howse writes (pp 121-125) that time zones were invented by
32 # lines between time zones. The key individual who made time zones
37 # developed a workable plan to institute time zones, and presented it
39 # meant "local time would be practically abolished" - a plus for
45 # I heard the bells of St. Paul's strike on the old time. Four
47 # Observatory ... the time-ball made its rapid descent, the chimes
48 # of old Trinity rang twelve measured strokes, and local time was
52 # Bartky IR. The adoption of standard time. Technol Cult 1989 Jan;30(1):25-56.
[all …]
H A Deurope19 # for time zone data was the International Air Transport
25 # A reliable and entertaining source about time zones is
26 # Derek Howse, Greenwich time and longitude, Philip Wilson Publishers (1997).
41 # Milne J. Civil time. Geogr J. 1899 Feb;13(2):173-94
63 # the rest are variants of the "xMT" pattern for a city's mean time,
113 # beside the river at Kew. In the 18th century, before time and longitude
116 # made their calculations and set the time for the Horse Guards and Parliament,
128 # Howse writes that Britain was the first country to use standard time.
129 # The railways cared most about the inconsistencies of local mean time,
130 # and it was they who forced a uniform time on the country.
[all …]
/illumos-gate/usr/src/cmd/make/bin/
H A Dar.cc212 if (true_member->stat.time != file_no_time) { in read_archive()
213 target->stat.time = true_member->stat.time; in read_archive()
214 return target->stat.time; in read_archive()
225 return target->stat.time = file_doesnt_exist; 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()
251 if (target->stat.time == file_no_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()
[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.c98 (void) gettimeofday(&timeout->time, NULL); in eloop_register_timeout()
99 timeout->time.tv_sec += secs; in eloop_register_timeout()
100 timeout->time.tv_usec += usecs; in eloop_register_timeout()
101 while (timeout->time.tv_usec >= 1000000) { in eloop_register_timeout()
102 timeout->time.tv_sec++; in eloop_register_timeout()
103 timeout->time.tv_usec -= 1000000; in eloop_register_timeout()
118 if (timercmp(&timeout->time, &tmp->time, < /* */)) in eloop_register_timeout()
246 if (timercmp(&now, &eloop.timeout->time, < /* */)) in eloop_run()
247 timersub(&eloop.timeout->time, &now, &tv); in eloop_run()
269 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/lib/libcommputil/common/
H A Dsdp.c488 sdp_time_t **time) in sdp_add_time() argument
493 if (time != NULL) in sdp_add_time()
494 *time = NULL; in sdp_add_time()
512 if (time != NULL) in sdp_add_time()
513 *time = new_time; in sdp_add_time()
522 sdp_add_repeat(sdp_time_t *time, uint64_t interval, uint64_t duration, in sdp_add_repeat() argument
529 if (time == NULL || offset == NULL) in sdp_add_repeat()
540 tmp = time->t_repeat; in sdp_add_repeat()
542 time->t_repeat = new_repeat; in sdp_add_repeat()
559 sdp_add_zone(sdp_session_t *session, uint64_t time, const char *offset) in sdp_add_zone() argument
[all …]

12345678910>>...41