Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/contrib/ast/src/lib/libast/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;
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
361 tm->tm_sec += (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()
959 tm->tm_sec = n; in tmxdate()
1015 tm->tm_sec = n; in tmxdate()
1166 tm->tm_sec += n; in tmxdate()
1386 tm->tm_sec += m; in tmxdate()
[all …]
H A Dtmxmake.c84 tm->tm_sec = n % 60 + leapsec; in tmxtm()
91 tm->tm_sec = x % 60 + leapsec; in tmxtm()
H A Dtmxscan.c114 tm->tm_sec = (set->sec >= 0) ? set->sec : 0; in gen()
119 tm->tm_sec = (set->sec >= 0) ? set->sec : 0; in gen()
122 tm->tm_sec = set->sec; in gen()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/auditreduce/
H A Dtime.c169 int sec = tme->tm_sec; in tm_to_secs()
212 if (tme->tm_sec < 0 || tme->tm_sec > 59) { in check_time()
214 gettext("seconds out of range (%d)"), tme->tm_sec + 1); in check_time()
349 thentime.tm_sec = 0; in parse_time()
454 tme->tm_sec = atoi(strs); /* get seconds */ in derive_date()
482 (void) sprintf(buf + 12, "%.2d", gtime.tm_sec); in derive_str()
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_misc.c48 int tm_sec; member
136 atm.tm_sec = ((time >> 0) & 0x1F) << 1; in smb_time_dos_to_unix()
173 i += atm.tm_sec >> 1; in smb_time_unix_to_dos()
238 result->tm_sec = tsec % 60; in smb_gmtime_r()
294 tsec += tm->tm_sec; in smb_timegm()
/illumos-gate/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);
/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_date.c68 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp); in ns_datetosecs()
80 result = time.tm_sec; /*%< Seconds */ in ns_datetosecs()
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c81 newtime.tm_sec = 0; in gtime()
176 tp->tm_sec < 0 || tp->tm_sec > 59) { in main()
/illumos-gate/usr/src/cmd/cron/
H A Datt1.y111 at.tm_sec = tp->tm_sec;
H A Dat.c477 if ((a->tm_sec += b->tm_sec) >= 60) { in atime()
478 b->tm_min += a->tm_sec / 60; in atime()
479 a->tm_sec %= 60; in atime()
543 tv = 60 * tv + tptr->tm_sec; in gtime()
978 tm.tm_sec = seconds; in parse_time()
/illumos-gate/usr/src/cmd/zdump/
H A Dzdump.c135 (void) fprintf(stderr, " sec=%d", tmp->tm_sec);
491 result += newp->tm_sec - oldp->tm_sec;
619 timeptr->tm_min, timeptr->tm_sec);
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvexpire.c52 now -= tm->tm_hour * 60*60 + tm->tm_min * 60 + tm->tm_sec;
/illumos-gate/usr/src/stand/lib/sa/
H A Dtime.h44 int tm_sec; /* seconds after the minute */ member
/illumos-gate/usr/src/head/iso/
H A Dtime_iso.h81 int tm_sec; member
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c139 &args.tm_hour, &args.tm_min, &args.tm_sec) < 1) in main()
146 args.tm_sec; in main()
151 &arge.tm_hour, &arge.tm_min, &arge.tm_sec) < 1) in main()
158 arge.tm_sec; in main()
441 curt->tm_sec; in prpass()
598 curt->tm_sec); in prttim()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dtime11 if ! mem tm.tm_sec sys/time.h

1234