Searched refs:tm_mon (Results 1 - 25 of 167) sorted by relevance

1234567

/freebsd-11-stable/contrib/mdocml/
H A Dtest-strptime.c13 tm.tm_year == 114 && tm.tm_mon == 0 && tm.tm_mday == 4);
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dtimegm.c61 if (tm->tm_mon < 0 || tm->tm_mon > 11)
63 if (tm->tm_mday < 1 || tm->tm_mday > ndays[is_leap(tm->tm_year)][tm->tm_mon])
75 for (i = 0; i < tm->tm_mon; ++i)
H A Dstrftime.c193 "%s", abb_month[tm->tm_mon]);
197 "%s", full_month[tm->tm_mon]);
203 tm->tm_mon + 1,
220 tm->tm_mon + 1,
231 tm->tm_mon + 1, tm->tm_mday);
263 "%02d", tm->tm_mon + 1);
333 tm->tm_mon + 1,
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_time.h44 int tm_mon; member in struct:ibcs2_tm
/freebsd-11-stable/crypto/heimdal/lib/asn1/
H A Dtimegm.c69 if (tm->tm_mon < 0 || tm->tm_mon > 11)
71 if (tm->tm_mday < 1 || tm->tm_mday > (int)ndays[is_leap(tm->tm_year)][tm->tm_mon])
83 for (i = 0; i < tm->tm_mon; ++i)
124 tm->tm_mon = 0;
127 unsigned daysinmonth = ndays[is_leap(tm->tm_year)][tm->tm_mon];
131 tm->tm_mon++;
H A Dcheck-timegm.c47 tm.tm_mon = 9;
63 tm.tm_mon != 9 ||
/freebsd-11-stable/gnu/usr.bin/rcs/lib/
H A Dmaketime.c78 int m = tm->tm_mon;
156 if (--t->tm_mon < 0) {
158 t->tm_mon = 11;
173 if (11 < ++t->tm_mon) {
175 t->tm_mon = 0;
211 if (12 <= (unsigned)tm->tm_mon)
214 tm->tm_yday = month_yday[tm->tm_mon] + tm->tm_mday
215 - (tm->tm_mon<2 || ! isleap(tm->tm_year + TM_YEAR_ORIGIN));
237 | (tm->tm_mon ^ gtm->tm_mon)
[all...]
H A Drcstime.c56 tm->tm_mon+1, tm->tm_mday,
148 t.tm_mon = atoi(p) - 1;
176 z->tm_mon + 1, z->tm_mday, z->tm_hour, z->tm_min, z->tm_sec,
/freebsd-11-stable/bin/date/
H A Dvary.c111 if (t->tm_mon == 1)
120 else if (t->tm_mon >= 0 && t->tm_mon < 12)
121 return mdays[t->tm_mon];
159 if (val <= t->tm_mon)
160 val += 11 - t->tm_mon; /* early next year */
162 val -= t->tm_mon + 1; /* later this year */
165 if (!adjyear(t, '+', (t->tm_mon + val) / 12, 0))
168 t->tm_mon += val;
169 if (t->tm_mon > 1
[all...]
/freebsd-11-stable/contrib/unbound/compat/
H A Dgmtime_r.c94 for (tmp->tm_mon = 0; days >= (long) ip[tmp->tm_mon]; ++(tmp->tm_mon))
95 days = days - (long) ip[tmp->tm_mon];
/freebsd-11-stable/contrib/tzcode/stdtime/
H A Dasctime.c105 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR)
107 else mn = mon_name[timeptr->tm_mon];
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c93 ATF_CHECK_MSG(tm.tm_mon + 1 == month,
95 argstr, month, (int)tm.tm_mon);
216 .tm_year = 2013-1900, .tm_mon = 7-1, .tm_mday = 9,
328 tm.tm_mon++;
329 if (tm.tm_mon == 1 &&
332 else if ((tm.tm_mon == 3 || tm.tm_mon == 5 ||
333 tm.tm_mon == 8 || tm.tm_mon == 10) && tm.tm_mday == 31)
339 tm.tm_mon
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dmktime.c159 (result = (atmp->tm_mon - btmp->tm_mon)) == 0)
201 normalize(&yourtm.tm_year, &yourtm.tm_mon, MONSPERYEAR);
209 TM_YEAR_BASE)][yourtm.tm_mon];
213 if (++yourtm.tm_mon >= MONSPERYEAR) {
214 yourtm.tm_mon = 0;
H A Dhumandate.c31 tm->tm_mday, months[tm->tm_mon],
/freebsd-11-stable/usr.bin/calendar/
H A Dday.c96 tm.tm_mon = tp.tm_mon;
106 tm.tm_mon = m - 1;
/freebsd-11-stable/contrib/apr/time/unix/
H A Dtime.c104 xt->tm_mon = tm.tm_mon;
145 if (xt->tm_mon < 0 || xt->tm_mon >= 12)
150 if (xt->tm_mon < 2)
156 days += dayoffset[xt->tm_mon] + xt->tm_mday - 1;
191 (*ostime)->tm_mon = aprtime->tm_mon;
222 aprtime->tm_mon = (*ostime)->tm_mon;
[all...]
H A Dtimestr.c62 s = &apr_month_snames[xt.tm_mon][0];
105 s = &apr_month_snames[xt.tm_mon][0];
141 tm.tm_mon = xt->tm_mon;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Ddate.c73 { 'M', DIGITS, ACCUM, APR_OFFSETOF(match_state, base.tm_mon) },
335 expt.tm_mon -= 1;
342 expt.tm_mon = expnow.tm_mon;
349 if (expt.tm_mon < 0 || expt.tm_mon > 11
350 || expt.tm_mday > valid_days_by_month[expt.tm_mon]
359 if (expt.tm_mon == 1
H A Dtime.c114 exploded_time.tm_mon + 1,
149 exploded_time.tm_mon = (apr_int32_t) svn__strtoul(c, &c);
163 exploded_time.tm_mon -= 1;
198 exploded_time.tm_mon = find_matching_string(month, 12, apr_month_snames);
233 exploded_time.tm_mon + 1,
/freebsd-11-stable/usr.bin/w/
H A Dpr_time.c71 tm.tm_mon != tp.tm_mon ||
/freebsd-11-stable/usr.sbin/newsyslog/
H A Dptimes.c157 tm.tm_mon = (l / 100) - 1;
169 if (tm.tm_year < 70 || tm.tm_mon < 0 || tm.tm_mon > 12
230 daysmon = days_pmonth(tm.tm_mon, tm.tm_year);
273 tm.tm_mon++;
415 dpm = days_pmonth(ptime->tm.tm_mon, ptime->tm.tm_year);
427 ptime->tm.tm_year, ptime->tm.tm_mon,
437 ptime->tm.tm_year, ptime->tm.tm_mon,
538 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday,
608 if (ptime->tm.tm_mon
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.c93 TM_CHECK(tms->tm_mon < 0 || tms->tm_mon > 11, "month");
137 tms.tm_mon = bcd2bin(reg[5] & 0x1f) - 1; /* Month field is 0..11 */
175 reg[5] = bin2bcd(tms.tm_mon + 1);
/freebsd-11-stable/crypto/openssl/crypto/
H A Do_time.c255 result->tm_mon = time_values.month - 1;
309 tm->tm_mon = time_month - 1;
378 time_month = tm->tm_mon + 1;
454 (tm1.tm_mon != tm2.tm_mon) ||
460 tm2.tm_mday, tm2.tm_mon + 1, tm2.tm_year + 1900,
463 tm1.tm_mday, tm1.tm_mon + 1, tm1.tm_year + 1900,
/freebsd-11-stable/lib/libc/stdtime/
H A Dstrftime.c159 pt = _add((t->tm_mon < 0 ||
160 t->tm_mon >= MONSPERYEAR) ?
162 tptr->month)[t->tm_mon],
167 pt = _add((t->tm_mon < 0 ||
168 t->tm_mon >= MONSPERYEAR) ?
169 "?" : tptr->mon[t->tm_mon],
289 pt = _conv(t->tm_mon + 1,
424 t->tm_mon == TM_JANUARY) ||
426 t->tm_mon == TM_DECEMBER))
/freebsd-11-stable/usr.sbin/pw/
H A Dpsdate.c136 t->tm_mon = tm.tm_mon;
207 T->tm_mon += (int) val;

Completed in 304 milliseconds

1234567