/freebsd-10.2-release/crypto/heimdal/lib/roken/ |
H A D | timegm.c | 61 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 D | strftime.c | 193 "%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-10.2-release/sys/i386/ibcs2/ |
H A D | ibcs2_time.h | 44 int tm_mon; member in struct:ibcs2_tm
|
/freebsd-10.2-release/crypto/heimdal/lib/asn1/ |
H A D | timegm.c | 69 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 D | check-timegm.c | 47 tm.tm_mon = 9; 63 tm.tm_mon != 9 ||
|
/freebsd-10.2-release/gnu/usr.bin/rcs/lib/ |
H A D | maketime.c | 78 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 D | rcstime.c | 56 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,
|
H A D | partime.c | 210 t->tm.tm_sec = t->tm.tm_min = t->tm.tm_hour = t->tm.tm_mday = t->tm.tm_mon 532 if (!TM_DEFINED (t->tm.tm_mon = lookup (s, month_names))) 540 s = parse_ranged (s, 2, 1, 12, &t->tm.tm_mon); 541 t->tm.tm_mon--; 651 conflict (t->tm.tm_mon, u->tm.tm_mon) || 669 merge_ (t->tm.tm_mon, u->tm.tm_mon)
|
/freebsd-10.2-release/bin/date/ |
H A D | vary.c | 111 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-10.2-release/contrib/unbound/compat/ |
H A D | gmtime_r.c | 94 for (tmp->tm_mon = 0; days >= (long) ip[tmp->tm_mon]; ++(tmp->tm_mon)) 95 days = days - (long) ip[tmp->tm_mon];
|
/freebsd-10.2-release/contrib/tzcode/stdtime/ |
H A D | asctime.c | 105 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) 107 else mn = mon_name[timeptr->tm_mon];
|
/freebsd-10.2-release/contrib/ntp/libntp/ |
H A D | mktime.c | 159 (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 D | humandate.c | 31 tm->tm_mday, months[tm->tm_mon],
|
/freebsd-10.2-release/usr.bin/calendar/ |
H A D | day.c | 96 tm.tm_mon = tp.tm_mon; 106 tm.tm_mon = m - 1;
|
/freebsd-10.2-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | date.c | 73 { '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 D | time.c | 112 exploded_time.tm_mon + 1, 147 exploded_time.tm_mon = (apr_int32_t) strtol(c, &c, 10); 161 exploded_time.tm_mon -= 1; 196 exploded_time.tm_mon = find_matching_string(month, 12, apr_month_snames); 231 exploded_time.tm_mon + 1,
|
/freebsd-10.2-release/usr.bin/w/ |
H A D | pr_time.c | 70 tm.tm_mon != tp.tm_mon ||
|
/freebsd-10.2-release/contrib/apr/time/unix/ |
H A D | time.c | 104 xt->tm_mon = tm.tm_mon; 147 if (xt->tm_mon < 2) 153 days += dayoffset[xt->tm_mon] + xt->tm_mday - 1; 188 (*ostime)->tm_mon = aprtime->tm_mon; 219 aprtime->tm_mon = (*ostime)->tm_mon; 263 tmpdate.tm_mon = os2date.month - 1; 283 os2date->month = lt->tm_mon [all...] |
H A D | timestr.c | 62 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-10.2-release/usr.sbin/newsyslog/ |
H A D | ptimes.c | 157 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, 539 if (ptime->tm.tm_mon == 1 && ptime->tm.tm_mday == 29) { 555 if (ptime->tm.tm_mon < 1 [all...] |
/freebsd-10.2-release/crypto/openssl/crypto/ |
H A D | o_time.c | 217 result->tm_mon = time_values.month - 1; 276 time_month = tm->tm_mon + 1; 297 tm->tm_mon = time_month - 1; 365 (tm1.tm_mon == tm2.tm_mon) && 372 tm2.tm_mday, tm2.tm_mon + 1, tm2.tm_year + 1900, 375 tm1.tm_mday, tm1.tm_mon + 1, tm1.tm_year + 1900,
|
/freebsd-10.2-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-cn3010-evb-hs5.c | 93 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-10.2-release/lib/libc/stdtime/ |
H A D | strftime.c | 164 pt = _add((t->tm_mon < 0 || 165 t->tm_mon >= MONSPERYEAR) ? 167 tptr->month)[t->tm_mon], 172 pt = _add((t->tm_mon < 0 || 173 t->tm_mon >= MONSPERYEAR) ? 174 "?" : tptr->mon[t->tm_mon], 294 pt = _conv(t->tm_mon + 1, 429 t->tm_mon == TM_JANUARY) || 431 t->tm_mon == TM_DECEMBER))
|
/freebsd-10.2-release/usr.bin/chpass/ |
H A D | util.c | 73 (void)sprintf(tbuf, "%s %d, %d", months[tp->tm_mon], 129 lt->tm_mon = month - 1;
|
/freebsd-10.2-release/contrib/ntp/libparse/ |
H A D | clk_sel240x.c | 145 clock_time->month = ptime.tm_mon + 1;
|