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

1234567

/freebsd-13-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-13-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-13-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 ||
105 tms.tm_sec = 1;
120 tms.tm_sec = 59;
132 tms.tm_sec = -1;
143 tms.tm_sec = -2;
/freebsd-13-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-13-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;
155 days = ((days * 24 + xt->tm_hour) * 60 + xt->tm_min) * 60 + xt->tm_sec;
184 (*ostime)->tm_sec = aprtime->tm_sec;
215 aprtime->tm_sec = (*ostime)->tm_sec;
260 tmpdate.tm_sec = os2time.twosecs * 2;
280 os2time->twosecs = lt->tm_sec / 2;
/freebsd-13-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-13-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-13-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-13-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-13-stable/usr.bin/pom/
H A Dpom.c137 tmd.tm_sec = 0;
143 tmd.tm_sec = strtol(otime + 6, NULL, 10);
151 (GMT.tm_min / 60.0) + (GMT.tm_sec / 3600.0)) / 24.0);
/freebsd-13-stable/contrib/tzcode/stdtime/
H A Dasctime.c122 timeptr->tm_min, timeptr->tm_sec,
/freebsd-13-stable/contrib/ntp/libparse/
H A Dclk_sel240x.c149 clock_time->second = ptime.tm_sec;
/freebsd-13-stable/usr.bin/calendar/
H A Dpom.c127 tmd_today.tm_sec = 59;
134 tmd_tomorrow.tm_sec = 1;
142 (GMT.tm_min / FSECSPERMINUTE) + (GMT.tm_sec / FSECSPERHOUR)) /
152 (GMT.tm_min / FSECSPERMINUTE) + (GMT.tm_sec / FSECSPERHOUR)) /
/freebsd-13-stable/crypto/openssl/crypto/
H A Do_time.c96 tm->tm_sec = time_sec % 60;
145 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec;
/freebsd-13-stable/contrib/file/src/
H A Dcdf_time.c111 tm.tm_sec = CAST(int, t % 60);
160 *t = tm.tm_sec;
/freebsd-13-stable/sys/dev/efidev/
H A Defirtc.c142 ct.sec = tm.tm_sec;
173 tm.tm_sec = ct.sec;
/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_pcf.c155 tm.tm_sec = buf[3] * 10 + buf[2];
201 pp->second = tp->tm_sec;
/freebsd-13-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c182 (int)t.tm_sec,
200 buf[5] = t.tm_sec;
/freebsd-13-stable/usr.sbin/pw/
H A Dpsdate.c140 t->tm_sec = tm.tm_sec;
/freebsd-13-stable/contrib/unbound/compat/
H A Dgmtime_r.c74 tmp->tm_sec = (int) (rem % SECSPERMIN) ;

Completed in 178 milliseconds

1234567