Searched refs:tm_sec (Results 26 - 50 of 165) sorted by relevance

1234567

/freebsd-13-stable/contrib/apr/include/
H A Dapr_time.h98 /** microseconds past tm_sec */
101 apr_int32_t tm_sec; member in struct:apr_time_exp_t
/freebsd-13-stable/contrib/lua/src/
H A Dloslib.c94 #define l_gmtime(t,r) ((void)(r)->tm_sec, gmtime(t))
95 #define l_localtime(t,r) ((void)(r)->tm_sec, localtime(t))
236 setfield(L, "sec", stm->tm_sec, 0);
359 ts.tm_sec = getfield(L, "sec", 0, 0);
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.c199 str[6] = tm->tm_sec;
/freebsd-13-stable/bin/date/
H A Ddate.c290 lt->tm_sec = ATOI2(dot);
291 if (lt->tm_sec > 61)
294 lt->tm_sec = 0;
/freebsd-13-stable/usr.bin/touch/
H A Dtouch.c232 t->tm_sec = 0; /* Seconds defaults to 0. */
237 t->tm_sec = ATOI2(p);
316 struct tm t = { .tm_sec = 0 };
/freebsd-13-stable/crypto/openssl/crypto/asn1/
H A Da_time.c183 tmp.tm_sec = n;
300 ts->tm_sec);
305 ts->tm_sec);
503 stm.tm_min, stm.tm_sec, f_len, f, stm.tm_year + 1900,
508 stm.tm_min, stm.tm_sec, stm.tm_year + 1900,
/freebsd-13-stable/usr.sbin/newsyslog/
H A Dptimes.c185 tm.tm_sec = l % 100;
203 if (tm.tm_sec < 0 || tm.tm_sec > 60 || tm.tm_min < 0
399 ptime->tm.tm_hour = ptime->tm.tm_min = ptime->tm.tm_sec = 0;
546 tm.tm_hour, tm.tm_min, tm.tm_sec,
/freebsd-13-stable/include/
H A Dtime.h130 int tm_sec; /* seconds after the minute [0-60] */ member in struct:tm
/freebsd-13-stable/contrib/libarchive/libarchive/test/
H A Dtest_write_format_zip_compression_store.c169 assertEqualInt(i2(p + 12), (tm->tm_hour * 2048) + (tm->tm_min * 32) + (tm->tm_sec / 2)); /* File time */
202 assertEqualInt(i2(q + 10), (tm->tm_hour * 2048) + (tm->tm_min * 32) + (tm->tm_sec / 2)); /* File time */
256 assertEqualInt(i2(p + 12), (tm->tm_hour * 2048) + (tm->tm_min * 32) + (tm->tm_sec / 2)); /* File time */
292 assertEqualInt(i2(q + 10), (tm->tm_hour * 2048) + (tm->tm_min * 32) + (tm->tm_sec / 2)); /* File time */
H A Dtest_write_format_zip_file.c146 assertEqualInt(i2(p + 12), (tm->tm_hour * 2048) + (tm->tm_min * 32) + (tm->tm_sec / 2)); /* File time */
195 assertEqualInt(i2(p + 10), (tm->tm_hour * 2048) + (tm->tm_min * 32) + (tm->tm_sec / 2)); /* File time */
/freebsd-13-stable/contrib/apr-util/misc/
H A Dapr_date.c239 ds.tm_sec = ((timstr[6] - '0') * 10) + (timstr[7] - '0');
241 if ((ds.tm_hour > 23) || (ds.tm_min > 59) || (ds.tm_sec > 61))
310 ds.tm_sec = ((sec10 - '0') * 10) + (sec1 - '0'); \
574 if ((ds.tm_hour > 23) || (ds.tm_min > 59) || (ds.tm_sec > 61))
/freebsd-13-stable/contrib/ntp/sntp/
H A Dutilities.c169 p_tm_local->tm_sec,
/freebsd-13-stable/usr.sbin/cron/cron/
H A Dcron.c182 if (tm->tm_sec > 0) {
238 second = (secres == 0) ? 0 : tm->tm_sec -FIRST_SECOND;
299 otzsecond = (secres == 0) ? 0 : otztm.tm_sec -FIRST_SECOND;
387 TargetTime += (60 - tm->tm_sec);
/freebsd-13-stable/usr.bin/chpass/
H A Dutil.c136 lt->tm_sec = 0;
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Ddate.c77 { 's', DIGITS, ACCUM, APR_OFFSETOF(match_state, base.tm_sec) },
354 || expt.tm_sec > 60)
/freebsd-13-stable/contrib/wpa/src/utils/
H A Dos_win32.c80 tm.tm_sec = sec;
110 tm->sec = tm2->tm_sec;
/freebsd-13-stable/contrib/tcsh/
H A Dtc.sched.c167 tp->t_when = cur_time - ltp->tm_sec + dif_hour * 3600 + dif_min * 60;
169 tp->t_when = cur_time - ltp->tm_sec + dif_hour * 3600L + dif_min * 60L;
171 /* use of tm_sec: get to beginning of minute. */
/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_chronolog.c250 local.tm_sec = seconds;
264 pp->second = gmtp->tm_sec;
H A Drefclock_dumbclock.c264 asserted_tm.tm_sec = seconds;
308 pp->second = gmtp->tm_sec;
H A Drefclock_bancomm.c94 int32_t tm_sec; member in struct:stfp_tm
597 time_vme->sec = maj.tm_sec;
613 time_vme->sec = stfp->tm.tm_sec;
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/time/
H A Dt_strptime.c45 int tm_sec, int tm_min, int tm_hour, int tm_mday,
76 H_REQUIRE_FIELD(tm_sec);
44 h_pass(const char *buf, const char *fmt, int len, int tm_sec, int tm_min, int tm_hour, int tm_mday, int tm_mon, int tm_year, int tm_wday, int tm_yday) argument
/freebsd-13-stable/usr.bin/grdc/
H A Dgrdc.c147 set(tm->tm_sec%10, 0);
148 set(tm->tm_sec/10, 4);
/freebsd-13-stable/contrib/tzcode/stdtime/
H A Dlocaltime.c1707 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit;
1816 result = atmp->tm_sec - btmp->tm_sec;
1842 if (normalize_overflow(&yourtm.tm_min, &yourtm.tm_sec,
1890 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
1894 ** We can't set tm_sec to 0, because that might push the
1896 ** Set tm_sec to 59 instead.
1901 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN))
1903 saved_seconds = yourtm.tm_sec;
[all...]
/freebsd-13-stable/crypto/heimdal/kadmin/
H A Dutil.c220 tm.tm_sec = tm2.tm_sec;
225 tm.tm_sec = 59;
/freebsd-13-stable/contrib/sendmail/libsm/
H A Ddebug.c183 tmp->tm_hour, tmp->tm_min, tmp->tm_sec);

Completed in 311 milliseconds

1234567