HomeSort by: relevance | last modified time | path
    Searched refs:tm_mon (Results 1 - 25 of 61) sorted by relevancy

1 2 3

  /src/lib/libc/time/
getdate.c 98 rtm.tm_mday = rtm.tm_mon = rtm.tm_year = TMSENTINEL;
144 rtm.tm_mon == TMSENTINEL && rtm.tm_mday == TMSENTINEL) {
146 rtm.tm_mon = tmnow.tm_mon;
155 if (rtm.tm_mon != TMSENTINEL) {
158 ((rtm.tm_mon < tmnow.tm_mon)? 1 : 0);
175 tm.tm_mon = rtm.tm_mon;
198 rtm.tm_year == TMSENTINEL && rtm.tm_mon == TMSENTINEL &
    [all...]
asctime.c 112 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR)
114 else mn = mon_name[timeptr->tm_mon];
strftime.c 267 pt = _add((t->tm_mon < 0 ||
268 t->tm_mon >= MONSPERYEAR) ?
272 tptr->mon)[t->tm_mon],
277 pt = _add((t->tm_mon < 0 ||
278 t->tm_mon >= MONSPERYEAR) ?
279 "?" : tptr->abmon[t->tm_mon],
402 pt = _conv(t->tm_mon + 1,
439 tm.tm_mon = t->tm_mon;
562 t->tm_mon == TM_JANUARY) |
    [all...]
strptime.c 267 bp = find_string(bp, &tm->tm_mon,
330 tm->tm_mon = i - 1;
673 TM_YEAR_BASE)][tm->tm_mon] + (tm->tm_mday - 1);
706 tm->tm_mon = i - 1;
714 start_of_month[isleap][tm->tm_mon] + 1;
localtime.c 71 /* A signed type wider than int, so that we can add 1900 + tm_mon/12 to tm_year
2030 for (tmp->tm_mon = 0; idays >= ip[tmp->tm_mon]; ++(tmp->tm_mon))
2031 idays -= ip[tmp->tm_mon];
2121 if ((result = (atmp->tm_mon - btmp->tm_mon)) == 0 &&
2138 dest->tm_mon = src->tm_mon;
2199 y += yourtm.tm_mon / MONSPERYEAR
    [all...]
  /src/tests/lib/libutil/
t_parsedate.c 96 ATF_CHECK_MSG(tm.tm_mon + 1 == month,
98 argstr, month, (int)tm.tm_mon);
266 .tm_year = 2013-1900, .tm_mon = 7-1, .tm_mday = 9,
378 tm.tm_mon++;
379 if (tm.tm_mon == 1 &&
382 else if ((tm.tm_mon == 3 || tm.tm_mon == 5 ||
383 tm.tm_mon == 8 || tm.tm_mon == 10) && tm.tm_mday == 31)
389 tm.tm_mon += 2; /* "next" means add 2 ... *
    [all...]
  /src/lib/libresolv/
ns_date.c 69 tim.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1;
91 for (i = 0; i < tim.tm_mon; i++)
94 if (tim.tm_mon > 1 && isleap(1900+tim.tm_year))
  /src/usr.bin/at/
stime.c 93 t->tm_mon = ATOI2(arg);
94 --t->tm_mon; /* Convert from 01-12 to 00-11 */
parsetime.c 328 tm->tm_mon += delay;
437 if (tm->tm_mon > mon ||
438 (tm->tm_mon == mon && tm->tm_mday > mday))
445 tm->tm_mon = mon;
512 assign_date(tm, mday, tm->tm_mon, tm->tm_year + TM_YEAR_BASE);
  /src/games/pom/
pom.c 246 lt->tm_mon = ATOI2(p);
247 if ((lt->tm_mon > 12) || !lt->tm_mon)
249 --lt->tm_mon; /* time struct is 0 - 11 */
  /src/usr.bin/moduli/qsieve/
qfile.c 61 gtm->tm_mon + 1,
  /src/bin/date/
date.c 266 tm.tm_mon = ATOI2(string);
267 if (tm.tm_mon < 1 || tm.tm_mon > 12)
269 tm.tm_mon--;
280 switch (tm.tm_mon) {
446 lt->tm_mon = ATOI2(p);
447 if (lt->tm_mon > 12 || lt->tm_mon == 0)
449 --lt->tm_mon; /* time struct is 0 - 11 */
453 switch (lt->tm_mon) {
    [all...]
  /src/usr.bin/calendar/
calendar.c 290 month = tp->tm_mon + 1;
312 month = tp->tm_mon + 1;
324 if (flags & F_ISMONTH && flags & F_WILDDAY && month == tp->tm_mon + 1)
327 if (flags & F_ISMONTH && flags & F_ISDOW && month == tp->tm_mon + 1 &&
368 return tp->tm_mon + 1;
694 ttm.tm_mon = ATOI2(ds) - 1;
  /src/games/rogue/
machdep.c 241 rt_buf->month = t->tm_mon + 1;
276 rt_buf->month = t->tm_mon + 1;
  /src/usr.sbin/makefs/cd9660/
cd9660_conversion.c 185 (int)t.tm_mon+1,
206 buf[1] = t.tm_mon+1;
  /src/usr.bin/touch/
touch.c 290 t->tm_mon = ATOI2(arg);
291 --t->tm_mon; /* Convert from 01-12 to 00-11 */
326 t->tm_mon = ATOI2(arg); /* MMDDhhmm[yy] */
327 --t->tm_mon; /* Convert from 01-12 to 00-11 */
400 tm.tm_mon = (int)val - 1;
  /src/tests/lib/libc/time/
t_strptime.c 48 int tm_mon, int tm_year, int tm_wday, int tm_yday)
70 H_REQUIRE_FIELD(tm_mon);
543 fprintf(stderr, "tm_mon=%d\n", tm.tm_mon);
t_mktime.c 114 tms.tm_mon = 12 - 1;
  /src/common/dist/zlib/contrib/minizip/
minizip.c 131 tmzip->tm_mon = filedate->tm_mon ;
396 zi.tmz_date.tm_mday = zi.tmz_date.tm_mon = zi.tmz_date.tm_year = 0;
miniunz.c 105 newdate.tm_mon=tmu_date.tm_mon;
287 (uLong)file_info.tmu_date.tm_mon + 1,
unzip.h 90 int tm_mon; /* months since January - [0,11] */ member in struct:tm_unz_s
  /src/lib/libutil/
parsedate.y 174 param->yyMonth = tmbuf.tm_mon + 1;
804 tm.tm_mon = Month - 1;
940 if (RelMonth >= LLONG_MAX - 12*((time_t)tm.tm_year + 1900) - tm.tm_mon) {
944 Month = 12 * (tm.tm_year + 1900) + tm.tm_mon + RelMonth;
951 tm.tm_mon = Month % 12;
952 if (tm.tm_mday > (Day = DaysInMonth[tm.tm_mon] +
953 ((tm.tm_mon==1) ? isleap(tm.tm_year) : 0)))
1180 param.yyMonth = tm->tm_mon + 1;
  /src/sys/arch/arm/fdt/
arm_fdt.c 318 dt->dt_mon = tm.tm_mon;
336 tm.tm_mon = dt->dt_mon;
  /src/usr.sbin/mopd/common/
put.c 93 mopPutChar (pkt,idx,(timenow->tm_mon + 1));
  /src/sys/dev/efi/
efi.h 118 uint8_t tm_mon; /* 1 - 12 */ member in struct:efi_tm

Completed in 42 milliseconds

1 2 3