Home
last modified time | relevance | path

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

12345678910>>...43

/titanic_52/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c32 #include <time.h>
56 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 in ns_datetosecs()
[all...]
/titanic_52/usr/src/cmd/cron/
H A Delm.c36 * description: These routines maintain a time-ordered list of events.
40 * add(&event, time, id) : Adds an event to the list.
42 * -2 if event time is lower
43 * than Lower Bound time LB
65 #define INFINITY 2147483647L /* upper bound on time */
70 static int DU; /* number of time intervals */
71 static time_t LB; /* lower bound on time */
77 * time = time of the event.
83 * the time interval
89 struct notice { time_t time; global() member
108 struct key { time_t time; global() member
222 el_add(event,time,id) el_add() argument
[all...]
/titanic_52/usr/src/boot/sys/boot/efi/libefi/
H A Dtime.c46 #include <time.h>
47 #include <sys/time.h>
107 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 in to_efi_time()
265 time(time_t *tloc) time() function
[all...]
/titanic_52/usr/src/cmd/isns/isnsd/
H A Dsched.c73 * Shift the indexed-list to the most current time.
75 * t - most current time.
90 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 in il_shift()
[all...]
H A Ddsapi.c30 #include <time.h>
85 t = time(NULL); in target_add_obj()
92 t = time(NULL) - t; in target_add_obj()
96 printf("time %d clock %.4lf -adding one object\n", in target_add_obj()
113 t = time(NULL); in target_modify_obj()
120 t = time(NULL) - t; in target_modify_obj()
124 printf("time %d clock %.4lf -updating one object\n", in target_modify_obj()
141 t = time(NULL); in target_delete_obj()
148 t = time(NULL) - t; in target_delete_obj()
152 printf("time in target_delete_obj()
[all...]
/titanic_52/usr/src/uts/common/syscall/
H A Dtime.c40 #include <sys/time.h>
51 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()
/titanic_52/usr/src/cmd/cmd-inet/usr.bin/
H A Drdate.c45 * sets time, obtaining value from host
46 * on the tcp/time socket.
51 #include <sys/time.h>
61 * The timeserver returns with time of day in seconds since
62 * Jan 1, 1900. We must subtract 86400(365*70 + 17) to get time
69 * Before setting the system time, the value returned by the
71 * is before the time this program was written it cannot be
84 uint32_t time; in main() local
103 * getaddrinfo() may take a long time, because it can involve in main()
116 rc = getaddrinfo(argv[1], "time", in main()
[all...]
/titanic_52/usr/src/uts/i86pc/io/pcplusmp/
H A Dapic_timer.c32 #include <sys/time.h>
100 /* first time calibrate on CPU0 only */ in apic_timer_init()
215 periodic_timer_reprogram(hrtime_t time) in periodic_timer_reprogram() argument
218 /* time is the interval for periodic mode */ in periodic_timer_reprogram()
219 ticks = APIC_NSECS_TO_TICKS(time); in periodic_timer_reprogram()
248 oneshot_timer_reprogram(hrtime_t time) in oneshot_timer_reprogram() argument
255 delta = time - now; in oneshot_timer_reprogram()
265 * requested to generate an interrupt at a time in oneshot_timer_reprogram()
272 " %lld too far in future, current time" in oneshot_timer_reprogram()
273 " %lld \n", time, no in oneshot_timer_reprogram()
326 deadline_timer_reprogram(hrtime_t time) deadline_timer_reprogram() argument
356 apic_timer_reprogram(hrtime_t time) apic_timer_reprogram() argument
422 apic_timer_restart(hrtime_t time) apic_timer_restart() argument
[all...]
/titanic_52/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>
/titanic_52/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema_test.c35 #include <time.h>
161 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(NUL in memory_test_quick()
[all...]
/titanic_52/usr/src/cmd/power/
H A Dsysstat.c35 #include <time.h>
274 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_ksta in check_nfs()
648 keep_activity_data(activity_data_t ** act_start,activity_data_t ** act_end,int * delta_sum,int delta,hrtime_t time) keep_activity_data() argument
685 check_activity(activity_data_t * act_start,int delta_sum,hrtime_t * time,int thold) check_activity() argument
[all...]
/titanic_52/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:"
/titanic_52/usr/src/cmd/make/bin/
H A Dar.cc170 * The time the member was created
173 * target The member to find time for
212 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()
[all...]
H A Dfiles.cc75 * The time the target was created
92 if (target->stat.time != file_no_time) { in exists()
93 return target->stat.time; in exists()
97 * If the target is a member, we have to extract the time in exists()
125 target->stat.time = file_doesnt_exist; in exists()
147 target->stat.time = file_is_dir; in exists()
149 /* target->stat.time = buf.st_mtime; */ in exists()
152 target->stat.time = MAX(buf.st_mtim, file_min_time); in exists()
157 append_prop(target, time_prop)->body.time.time in exists()
[all...]
/titanic_52/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 wher
[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 o
[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 wa
[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.
149 # Milne says Cairo used 2:05:08.9, the local mean time of the Abbasizeh
150 # observatory. Milne also says that the official time for
179 # saving time after a poll posted on its website showed the majority of
182 # Egypt to cancel daylight saving time
191 # after observing the daylight saving time since May.
196 # saving time in Egypt will end in the night of 2007-09-06 to 2007-09-07.
238 # [3] https://wwp.greenwichmeantime.com/time-zone/africa/egypt/
248 # https://www.timeanddate.com/news/time/egyp
[all...]
/titanic_52/usr/src/cmd/cmd-inet/usr.lib/wpad/
H A Deloop.c17 #include <sys/time.h>
100 (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()
[all...]
/titanic_52/usr/src/cmd/make/lib/vroot/
H A Dutimes.cc28 #include <sys/time.h>
37 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()
/titanic_52/usr/src/boot/sys/boot/usb/
H A Dbsd_usbloader_test.c30 #include <time.h>
74 uint32_t time; in main() local
78 time = 0; in main()
86 if (++time >= (1000 / hz)) { in main()
87 time = 0; in main()
/titanic_52/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 an
[all...]
/titanic_52/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);
/titanic_52/usr/src/lib/libcommputil/common/
H A Dsdp.c485 * Adds time field to the session
486 * t=<start-time> <stop-time>
490 sdp_time_t **time) in sdp_add_time() argument
495 if (time != NULL) in sdp_add_time()
496 *time = NULL; in sdp_add_time()
514 if (time != NULL) in sdp_add_time()
515 *time = new_time; in sdp_add_time()
520 * Adds repeat field to the time structure of session
521 * r=<repeat interval> <active duration> <offsets from start-time>
524 sdp_add_repeat(sdp_time_t * time,uint64_t interval,uint64_t duration,const char * offset) sdp_add_repeat() argument
561 sdp_add_zone(sdp_session_t * session,uint64_t time,const char * offset) sdp_add_zone() argument
729 sdp_time_t *time; sdp_get_length() local
832 sdp_time_t *time; sdp_clone_session() local
970 sdp_time_t *time; sdp_session_to_str() local
[all...]

12345678910>>...43