Home
last modified time | relevance | path

Searched refs:tm_sec (Results 1 – 25 of 101) sorted by relevance

12345

/titanic_50/usr/src/lib/libast/common/comp/
H A Dstrftime.c63 if (tm->tm_sec < 0 || tm->tm_sec > 60 ||
71 if (tm->tm_sec >= 0 && tm->tm_sec <= 60)
72 tl.tm_sec = tm->tm_sec;
88 tl.tm_sec = tm->tm_sec;
H A Dmktime.c55 tm.tm_sec = ts->tm_sec;
65 ts->tm_sec = tm.tm_sec;
H A Dstrptime.c56 tm.tm_sec = ts->tm_sec;
70 ts->tm_sec = tm.tm_sec;
H A Dgetdate.c71 ts.tm_sec = tm->tm_sec;
/titanic_50/usr/src/lib/libast/common/tm/
H A Dtmfix.c58 …if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isds… in tmfix()
70 tm->tm_sec -= (TMX_RESOLUTION - n) / TMX_RESOLUTION; in tmfix()
75 tm->tm_sec += n / TMX_RESOLUTION; in tmfix()
78 if ((n = tm->tm_sec) < 0) in tmfix()
81 tm->tm_sec = 60 - (-n) % 60; in tmfix()
86 tm->tm_sec %= 60; in tmfix()
H A Dtmxdate.c139 tm->tm_sec += (int)(t / TMX_RESOLUTION); in powerize()
318 tm->tm_sec += (365L*24L*60L*60L) * p / q; in tmxdate()
354 tm->tm_sec += (3042L*24L*60L*60L) * p / q / 100L; in tmxdate()
361 tm->tm_sec += (60L) * p / q; in tmxdate()
378 tm->tm_sec += (7L*24L*60L*60L) * p / q; in tmxdate()
387 tm->tm_sec += (24L*60L*60L) * p / q; in tmxdate()
396 tm->tm_sec += (60L*60L) * p / q; in tmxdate()
414 tm->tm_sec += p; in tmxdate()
559 tm->tm_sec = 0; in tmxdate()
950 tm->tm_sec = n; in tmxdate()
[all …]
H A Dtmxmake.c84 tm->tm_sec = n % 60 + leapsec; in tmxtm()
91 tm->tm_sec = x % 60 + leapsec; in tmxtm()
/titanic_50/usr/src/lib/libc/port/locale/
H A Dgetdate.c125 rtm.tm_sec = rtm.tm_min = rtm.tm_hour = TMSENTINEL; in getdate()
213 rtm.tm_min == TMSENTINEL && rtm.tm_sec == TMSENTINEL) { in getdate()
216 rtm.tm_sec = tmnow.tm_sec; in getdate()
240 if (rtm.tm_sec == TMSENTINEL) in getdate()
241 rtm.tm_sec = 0; in getdate()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dgmt_mktime.c65 assert_time(t->tm_sec>=0); in krb5int_gmt_mktime()
66 assert_time(t->tm_sec<=62); in krb5int_gmt_mktime()
90 accum += t->tm_sec; in krb5int_gmt_mktime()
103 .tm_hour = 0, .tm_min = 0, .tm_sec = 0, in main()
/titanic_50/usr/src/cmd/auditreduce/
H A Dtime.c171 int sec = tme->tm_sec; in tm_to_secs()
214 if (tme->tm_sec < 0 || tme->tm_sec > 59) { in check_time()
216 gettext("seconds out of range (%d)"), tme->tm_sec + 1); in check_time()
351 thentime.tm_sec = 0; in parse_time()
456 tme->tm_sec = atoi(strs); /* get seconds */ in derive_date()
484 (void) sprintf(buf + 12, "%.2d", gtime.tm_sec); in derive_str()
/titanic_50/usr/src/cmd/acct/lib/
H A Dpnpsplit.c124 cur.tm_sec = hp->h_sec;
309 return((t2->tm_sec - t1->tm_sec) +
327 return(t1->tm_sec < t2->tm_sec);
H A Dtmsecs.c38 return((t2->tm_sec - t1->tm_sec) +
H A Dtmless.c44 return(t1->tm_sec < t2->tm_sec);
/titanic_50/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c74 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp); in ns_datetosecs()
86 result = time.tm_sec; /*%< Seconds */ in ns_datetosecs()
/titanic_50/usr/src/ucbcmd/touch/
H A Dtouch.c85 newtime.tm_sec = 0; in gtime()
180 tp->tm_sec < 0 || tp->tm_sec > 59) { in main()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/nca/
H A Dncab2clf.c260 local_time.tm_sec < g_start_time.tm_sec))))))) { in http_clf_date()
281 local_time.tm_min, local_time.tm_sec, in http_clf_date()
441 tm->tm_sec = seconds; in parse_time()
819 &t.tm_sec) == 6) { in main()
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dlocaltime.c1155 tmp->tm_sec = (int) (rem % SECSPERMIN);
1227 result = atmp->tm_sec - btmp->tm_sec;
1249 if (yourtm.tm_sec >= SECSPERMIN + 2 || yourtm.tm_sec < 0)
1250 normalize(&yourtm.tm_min, &yourtm.tm_sec, SECSPERMIN);
1278 saved_seconds = yourtm.tm_sec;
1279 yourtm.tm_sec = 0;
1378 tmp->tm_sec += sp->ttis[otheri].tt_gmtoff -
1384 tmp->tm_sec -= sp->ttis[otheri].tt_gmtoff -
/titanic_50/usr/src/cmd/cron/
H A Datt1.y111 at.tm_sec = tp->tm_sec;
H A Dat.c478 if ((a->tm_sec += b->tm_sec) >= 60) { in atime()
479 b->tm_min += a->tm_sec / 60; in atime()
480 a->tm_sec %= 60; in atime()
545 tv = 60 * tv + tptr->tm_sec;
978 tm.tm_sec = seconds; in parse_time()
/titanic_50/usr/src/lib/libbc/inc/include/
H A Dtime.h37 int tm_sec; member
/titanic_50/usr/src/cmd/oamuser/lib/
H A Dvexpire.c54 now -= tm->tm_hour * 60*60 + tm->tm_min * 60 + tm->tm_sec;
/titanic_50/usr/src/lib/libbc/inc/5include/
H A Dtime.h42 int tm_sec; member
/titanic_50/usr/src/stand/lib/sa/
H A Dtime.h44 int tm_sec; /* seconds after the minute */ member
/titanic_50/usr/src/cmd/zdump/
H A Dzdump.c131 (void) fprintf(stderr, " sec=%d", tmp->tm_sec);
486 result += newp->tm_sec - oldp->tm_sec;
614 timeptr->tm_min, timeptr->tm_sec);
/titanic_50/usr/src/head/iso/
H A Dtime_iso.h81 int tm_sec; member

12345