Home
last modified time | relevance | path

Searched refs:localtime (Results 1 – 25 of 173) sorted by relevance

1234567

/titanic_41/usr/src/lib/libsqlite/test/
H A Ddate.test139 # localtime->utc and utc->localtime conversions. These tests only work
140 # if the localtime is in the US Eastern Time (the time in Charlotte, NC
144 datetest 6.1 {datetime('2000-10-29 05:59:00','localtime')}\
146 datetest 6.2 {datetime('2000-10-29 06:00:00','localtime')}\
148 datetest 6.3 {datetime('2000-04-02 06:59:00','localtime')}\
150 datetest 6.4 {datetime('2000-04-02 07:00:00','localtime')}\
157 datetest 6.10 {datetime('2000-01-01 12:00:00','localtime')} \
159 datetest 6.11 {datetime('1969-01-01 12:00:00','localtime')} \
161 datetest 6.12 {datetime('2039-01-01 12:00:00','localtime')} \
163 datetest 6.13 {datetime('2000-07-01 12:00:00','localtime')} \
[all …]
/titanic_41/usr/src/cmd/acct/lib/
H A Dpnpsplit.c69 struct tm *localtime();
95 memcpy(&end, localtime(&tend), sizeof(end));
100 memcpy(&cur, localtime(&tcur), sizeof(cur));
151 tp = localtime(&t); in checkhol()
/titanic_41/usr/src/cmd/date/
H A Ddate.c153 if (setdate(localtime(&clock_val), argv[0])) { in main()
171 tp = localtime(&clock_val); in main()
300 (void) localtime(&clock_val); in setdate()
306 if (localtime(&clock_val)->tm_isdst) in setdate()
/titanic_41/usr/src/cmd/calendar/
H A Dcalprog.c95 tm = localtime(&t); in tprint()
113 switch (localtime(&t)->tm_wday) { in main()
226 strftime(timebuf, sizeof (timebuf), fmt, localtime(&t)); in generate()
/titanic_41/usr/src/cmd/krb5/kadmin/cli/
H A Dgetdate.y172 extern struct tm *localtime();
676 || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst))
690 StartDay = (localtime(&Start)->tm_hour + 1) % 24;
691 FutureDay = (localtime(&Future)->tm_hour + 1) % 24;
706 tm = localtime(&now);
725 tm = localtime(&Start);
941 ftz.timezone = difftm (&gmt, localtime (&ftz.time)) / 60;
944 tm = localtime(&now->time);
/titanic_41/usr/src/cmd/backup/lib/
H A Dgetdate.y556 || (DSTmode == DSTmaybe && localtime(&Julian)->tm_isdst))
570 StartDay = (localtime(&Start)->tm_hour + 1) % 24;
571 FutureDay = (localtime(&Future)->tm_hour + 1) % 24;
586 tm = localtime(&now);
604 tm = localtime(&Start);
772 tm = localtime(&now);
872 tm = localtime(&current);
906 tm = localtime(&now->time);
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c192 memcpy(&timebuf, localtime(&now), sizeof(timebuf)); in krb5_string_to_timestamp()
225 memcpy(&tmbuf, localtime(&timestamp2), sizeof(tmbuf)); in krb5_timestamp_to_string()
254 memcpy((tmp = &tmbuf), localtime(&timestamp2), sizeof(tmbuf)); in krb5_timestamp_to_sfstring()
/titanic_41/usr/src/cmd/hal/hald/
H A Dlogger.c175 tlocaltime = localtime (&tnow.tv_sec); in logger_emit()
230 tlocaltime = localtime (&tnow.tv_sec); in logger_forward_debug()
/titanic_41/usr/src/cmd/mdb/common/libstand/
H A Dctime.c33 localtime(const time_t *clock) in localtime() function
217 return (asctime(localtime(t))); in ctime()
/titanic_41/usr/src/lib/libbc/libc/gen/common/
H A Dctime.c34 return asctime(localtime(timep));
H A Dnl_cxtime.c42 return (nl_ascxtime(localtime(clk), fmt));
/titanic_41/usr/src/stand/lib/sa/
H A Dtime.c146 localtime(const time_t *clock) in localtime() function
210 return (asctime(localtime(t))); in ctime()
H A Dtime.h58 extern struct tm *localtime(const time_t *);
/titanic_41/usr/src/cmd/auditreduce/
H A Dtime.c102 (void) memcpy((void *)&ltime, (void *)localtime(&secs), sizeof (ltime)); in local_to_gm()
112 (void) memcpy((void *)&ltime, (void *)localtime(&gsecs), in local_to_gm()
138 (void) memcpy((void *)&ltime, (void *)localtime(&gsecs), in local_to_gm()
/titanic_41/usr/src/cmd/rtc/
H A Drtc.c183 tm = localtime(&clock_val); in set_zone()
218 tm = localtime(&clock_val); in correct_rtc_and_lag()
/titanic_41/usr/src/lib/libbc/inc/include/
H A Dtime.h50 extern struct tm *gmtime(), *localtime();
/titanic_41/usr/src/cmd/stat/common/
H A Dtimestamp.c50 len = strftime(dstr, sizeof (dstr), fmt, localtime(&t)); in print_timestamp()
/titanic_41/usr/src/cmd/oamuser/lib/
H A Dvexpire.c53 tm = localtime( &now );
/titanic_41/usr/src/lib/libbc/inc/5include/
H A Dtime.h73 extern struct tm * localtime(/* const time_t *t */);
/titanic_41/usr/src/cmd/script/
H A Dscript.c190 strftime(tbuf, BUFSIZ, "%c", localtime(&tvec)); in dooutput()
249 strftime(tbuf, BUFSIZ, "%c", localtime(&tvec)); in done()
/titanic_41/usr/src/cmd/zdump/
H A Dzdump.c106 #define my_localtime localtime
114 tmp = localtime(tp);
300 newtmp = localtime(&newt);
308 newtmp = localtime(&newt);
/titanic_41/usr/src/head/iso/
H A Dtime_iso.h104 extern struct tm *localtime(const time_t *);
/titanic_41/usr/src/cmd/lvm/metassist/common/
H A Dvolume_output.c168 struct tm *time = localtime(&now); in oprintf_va()
/titanic_41/usr/src/cmd/cron/
H A Dat.c323 tp = localtime(&now); in main()
340 if (localtime(&when)->tm_isdst) in main()
833 ascftime(timebuf, FORMAT, localtime(&t)); in list_jobs()
872 localtime(&t)); in list_jobs()
937 tm.tm_year = localtime(&when)->tm_year; in parse_time()
/titanic_41/usr/src/lib/libast/common/features/
H A Dtmlib43 #define tmlocaltime(p) localtime(p)

1234567