Searched refs:tm_year (Results 1 - 22 of 22) sorted by relevance
/ast/src/lib/libast/tm/ |
H A D | tmequiv.c | 56 return tm->tm_year < (2038 - 1900) ? (tm->tm_year + 1900) : equiv[tm->tm_wday + tmisleapyear(tm->tm_year)];
|
H A D | tmfix.c | 34 #define LEAP(p) (tmisleapyear((p)->tm_year)) 58 if (w = !tm->tm_sec && !tm->tm_min && !tm->tm_mday && !tm->tm_year && !tm->tm_yday && !tm->tm_isdst) 60 tm->tm_year = 99; 110 tm->tm_year += tm->tm_mon / 12; 115 tm->tm_year--; 118 tm->tm_year += tm->tm_mon / 12; 124 tm->tm_year--; 130 tm->tm_year++; 137 tm->tm_year--; 147 tm->tm_year [all...] |
H A D | tmxtime.c | 63 y = tm->tm_year; 93 y = tm->tm_year; 94 tm->tm_year = tmequiv(tm) - 1900; 96 tm->tm_year = y; 110 y = tm->tm_year; 111 tm->tm_year = tmequiv(tm) - 1900; 114 tm->tm_year = y;
|
H A D | tmxmake.c | 99 tm->tm_year = (400 * (x + 25202)) / 146097 + 1; 100 n = tm->tm_year - 1; 110 if ((y = tmequiv(tm) - 1900) == tm->tm_year) 117 te.tm_year = y;
|
H A D | tmweek.c | 67 week = (day > 0 && day < 6 || tmisleapyear(tm->tm_year - 1)) ? 53 : 52;
|
H A D | tmxdate.c | 320 tm->tm_year += p; 649 tm->tm_year++; 735 tm->tm_year = m; 912 m = tm->tm_year; 965 tm->tm_year = m; 1124 tm->tm_year += n; 1399 tm->tm_mday = tm_data.days[tm->tm_mon] + (tm->tm_mon == 1 && tmisleapyear(tm->tm_year)); 1417 tm->tm_year += m; 1511 tm->tm_year += f; 1570 tm->tm_year [all...] |
H A D | tmxscan.c | 81 tm->tm_year = set->year; 85 tm->tm_year++; 251 set.year = (n - 19) * 100 + tm->tm_year % 100;
|
H A D | tmxfmt.c | 263 cp = number(cp, ep, (long)(1900 + tm->tm_year) / 100, 2, width, pad); 282 n = tm->tm_year + 1900; 579 cp = number(cp, ep, (long)(tm->tm_year % 100), 2, width, pad); 582 cp = number(cp, ep, (long)(1900 + tm->tm_year), 4, width, pad);
|
/ast/src/lib/libast/comp/ |
H A D | strftime.c | 69 tm->tm_year < 0 || tm->tm_year > (2138 - 1900)) 83 if (tm->tm_year >= 0 && tm->tm_year <= (2138 - 1900)) 84 tl.tm_year = tm->tm_year; 93 tl.tm_year = tm->tm_year;
|
H A D | mktime.c | 60 tm.tm_year = ts->tm_year; 70 ts->tm_year = tm.tm_year;
|
H A D | strptime.c | 61 tm.tm_year = ts->tm_year; 75 ts->tm_year = tm.tm_year;
|
H A D | getdate.c | 76 ts.tm_year = tm->tm_year;
|
/ast/src/lib/libast/include/ |
H A D | tm.h | 143 int tm_year; member in struct:Tm_s
|
/ast/src/cmd/dsslib/time_t/ |
H A D | time_t.c | 458 r->value.number = 1900 + state->tm.tm_year; 525 if ((state->tm.tm_year = a->value.number) >= 1900) 526 state->tm.tm_year -= 1900; 538 i += 365 + tmisleapyear(state->tm.tm_year);
|
/ast/src/cmd/pax/ |
H A D | pax-tnef.c | 141 tm.tm_year = swapget(ap->swap, s + 0, 2) - 1900;
|
H A D | pax-slt.c | 165 sfsprintf(slt->buf, sizeof(slt->buf), "%s1%-17.17s000001%04d%04d000100 %02d%03d 00000 %06d%-6.6sD%-7.7s ", type, f->id, slt->section, slt->sequence, tm->tm_year, tm->tm_yday, f->record.blocks, slt->format, slt->implementation);
|
/ast/src/cmd/paxlib/arj/ |
H A D | arj.c | 180 tm.tm_year = ((dostime >> (16+9)) & 0x7f) + 80;
|
/ast/src/cmd/paxlib/lha/ |
H A D | lha.c | 165 tm.tm_year = ((dostime >> (16+9)) & 0x7f) + 80;
|
/ast/src/cmd/paxlib/rar/ |
H A D | rar.c | 194 tm.tm_year = ((dostime >> (16+9)) & 0x7f) + 80;
|
/ast/src/cmd/paxlib/zoo/ |
H A D | zoo.c | 239 tm.tm_year = ((dosdate >> 9) & 0x7f) + 80;
|
/ast/src/cmd/paxlib/zip/ |
H A D | zip.c | 254 tm.tm_year = ((n>>25)&0377) + 80;
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclDate.c | 30 * The offset of tm_year of struct tm returned by localtime, gmtime, etc. 32 * ../compat/strftime.c all agree that tm_year is the year-1900. However, 523 Month = 12 * (tm->tm_year + TM_YEAR_BASE) + tm->tm_mon + RelMonth; 738 thisyear = tm->tm_year + TM_YEAR_BASE;
|
Completed in 28 milliseconds