Searched refs:tm_sec (Results 1 - 25 of 174) sorted by relevance

1234567

/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_time.h40 int tm_sec; member in struct:ibcs2_tm
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dtimegm.c69 if (tm->tm_sec < 0 || tm->tm_sec > 59)
83 res += tm->tm_sec;
H A Dstrftime.c207 tm->tm_sec);
281 tm->tm_sec,
296 "%02d", tm->tm_sec);
307 tm->tm_sec);
/freebsd-11-stable/contrib/ntp/libntp/
H A Dhumandate.c32 tm->tm_hour, tm->tm_min, tm->tm_sec);
57 tm->tm_hour, tm->tm_min, tm->tm_sec);
H A Duglydate.c39 tm->tm_sec = 0;
47 tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec,
H A Dmktime.c176 result = atmp->tm_sec - btmp->tm_sec;
197 if (yourtm.tm_sec >= SECSPERMIN + 2 || yourtm.tm_sec < 0)
198 normalize(&yourtm.tm_min, &yourtm.tm_sec, SECSPERMIN);
218 saved_seconds = yourtm.tm_sec;
219 yourtm.tm_sec = 0;
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c53 if (t->tm_sec != tt.tm_sec || t->tm_min != tt.tm_min ||
102 tms.tm_sec = 1;
117 tms.tm_sec = 59;
129 tms.tm_sec = -1;
140 tms.tm_sec = -2;
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dtimegm.c77 if (tm->tm_sec < 0 || tm->tm_sec > 59)
91 res += tm->tm_sec;
103 tm->tm_sec = secday % 60;
H A Dcheck-timegm.c67 tm.tm_sec != 0)
/freebsd-11-stable/contrib/apr/time/unix/
H A Dtimestr.c80 *date_str++ = xt.tm_sec / 10 + '0';
81 *date_str++ = xt.tm_sec % 10 + '0';
119 *date_str++ = xt.tm_sec / 10 + '0';
120 *date_str++ = xt.tm_sec % 10 + '0';
137 tm.tm_sec = xt->tm_sec;
H A Dtime.c100 xt->tm_sec = tm.tm_sec;
158 days = ((days * 24 + xt->tm_hour) * 60 + xt->tm_min) * 60 + xt->tm_sec;
187 (*ostime)->tm_sec = aprtime->tm_sec;
218 aprtime->tm_sec = (*ostime)->tm_sec;
263 tmpdate.tm_sec = os2time.twosecs * 2;
283 os2time->twosecs = lt->tm_sec / 2;
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Dmaketime.c127 )*60 + (a->tm_sec - b->tm_sec);
147 int leap_second = t->tm_sec == 60;
148 long sec = seconds + (t->tm_sec - leap_second);
181 t->tm_sec = (int) (sec%60) + leap_second;
241 | (tm->tm_sec ^ gtm->tm_sec))
298 if (!TM_DEFINED(tm.tm_sec)) tm.tm_sec = 0;
H A Dpartime.c210 t->tm.tm_sec = t->tm.tm_min = t->tm.tm_hour = t->tm.tm_mday = t->tm.tm_mon
523 t->tm.tm_sec = frac % 60;
528 s = parse_decimal (s, 2, 0, 59, 60, &t->tm.tm_min, &t->tm.tm_sec);
558 s = parse_decimal (s, 2, 0, 60, 1, &t->tm.tm_sec, &frac);
559 t->tm.tm_sec += frac;
647 conflict (t->tm.tm_sec, u->tm.tm_sec) ||
665 merge_ (t->tm.tm_sec, u->tm.tm_sec)
H A Drcstime.c57 tm->tm_hour, tm->tm_min, tm->tm_sec
152 t.tm_sec = atoi(p+12);
176 z->tm_mon + 1, z->tm_mday, z->tm_hour, z->tm_min, z->tm_sec,
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.c88 TM_CHECK(tms->tm_sec < 0 || tms->tm_sec > 60, "second"); /* + Leap sec */
128 tms.tm_sec = bcd2bin(reg[0] & 0x7f);
170 reg[0] = bin2bcd(tms.tm_sec);
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Dtime.c118 exploded_time.tm_sec,
157 exploded_time.tm_sec = (apr_int32_t) svn__strtoul(c, &c);
187 &exploded_time.tm_sec,
237 exploded_time.tm_sec,
/freebsd-11-stable/bin/date/
H A Dvary.c383 if (!adjmin(t, '+', (t->tm_sec + val) / 60, 0))
386 t->tm_sec += val;
387 if (t->tm_sec > 59)
388 t->tm_sec -= 60;
397 if (val > t->tm_sec) {
402 t->tm_sec -= val;
409 t->tm_sec = val;
/freebsd-11-stable/crypto/openssl/crypto/
H A Do_time.c251 result->tm_sec = time_values.second;
314 tm->tm_sec = time_sec % 60;
363 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec;
457 (tm1.tm_min != tm2.tm_min) || (tm1.tm_sec != tm2.tm_sec)) {
461 tm2.tm_hour, tm2.tm_min, tm2.tm_sec);
464 tm1.tm_hour, tm1.tm_min, tm1.tm_sec);
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c109 ATF_CHECK_MSG(tm.tm_sec == second,
111 argstr, second, (int)tm.tm_sec);
217 .tm_hour = 13, .tm_min = 21, .tm_sec = 53,
287 tm.tm_sec = tm.tm_min = tm.tm_hour = 0;
293 tm.tm_sec = tm.tm_min = tm.tm_hour = 0;
301 tm.tm_sec = tm.tm_min = 0;
311 tm.tm_sec = tm.tm_min = 0;
386 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
392 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
398 tm.tm_hour = tm.tm_min = tm.tm_sec
[all...]
/freebsd-11-stable/usr.bin/pom/
H A Dpom.c125 tmd.tm_sec = 0;
130 tmd.tm_sec = strtol(otime + 6, NULL, 10);
137 (GMT.tm_min / 60.0) + (GMT.tm_sec / 3600.0)) / 24.0);
/freebsd-11-stable/contrib/ntp/libparse/
H A Dclk_sel240x.c149 clock_time->second = ptime.tm_sec;
/freebsd-11-stable/contrib/tzcode/stdtime/
H A Dasctime.c122 timeptr->tm_min, timeptr->tm_sec,
/freebsd-11-stable/usr.bin/calendar/
H A Dpom.c125 tmd_today.tm_sec = 59;
132 tmd_tomorrow.tm_sec = 1;
140 (GMT.tm_min / FSECSPERMINUTE) + (GMT.tm_sec / FSECSPERHOUR)) /
150 (GMT.tm_min / FSECSPERMINUTE) + (GMT.tm_sec / FSECSPERHOUR)) /
/freebsd-11-stable/crypto/openssl/crypto/asn1/
H A Da_utctm.c132 tm->tm_sec = 0;
167 tm->tm_sec = n;
276 ts->tm_sec);
330 tm.tm_sec = g2(s->data + 10);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_pcf.c155 tm.tm_sec = buf[3] * 10 + buf[2];
201 pp->second = tp->tm_sec;

Completed in 214 milliseconds

1234567