Searched refs:tm_info (Results 1 - 16 of 16) sorted by relevance
/ast/src/lib/libast/tm/ |
H A D | tmtype.c | 48 tmset(tm_info.zone); 49 zp = tm_info.local; 53 if (zp == tm_info.local) zp = tm_data.zone;
|
H A D | tmlex.c | 57 if (tm_info.format != tm_data.format && tab >= tm_info.format && tab < tm_info.format + TM_NFORM) 59 tab = tm_data.format + (tab - tm_info.format); 60 if (suf && tab >= tm_info.format && tab < tm_info.format + TM_NFORM) 61 suf = tm_data.format + (suf - tm_info.format);
|
H A D | tmxleap.c | 43 tmset(tm_info.zone); 44 if (tm_info.flags & TM_ADJUST)
|
H A D | tmxtime.c | 61 tmset(tm_info.zone); 80 if (west != TM_UTCZONE && !(tm_info.flags & TM_UTC)) 88 t += tm_info.zone->west * 60; 89 if (!tm_info.zone->daylight) 95 now = tmxsec(tmxtime(tm, tm_info.zone->west)); 100 t += tm_info.zone->dst * 60; 106 if (!tm_info.zone->daylight) 113 now = tmxsec(tmxtime(tm, tm_info.zone->west)); 124 if (tm_info.flags & TM_LEAP)
|
H A D | tminit.c | 68 * 2007-03-19 move tm_info from _tm_info_ to (*_tm_infop_) 186 tm_info.deformat = (n && (n = strlen(v)) > 0 && (n < 2 || v[n-2] != '%' || v[n-1] != '?')) ? strdup(v) : tm_info.format[TM_DEFAULT]; 189 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0; 193 tm_info.flags |= ((Namval_t*)p)->value; 195 tm_info.flags &= ~((Namval_t*)p)->value; 258 * tm_info.local 261 tm_info.zone = tm_info.local = &local; 359 tmpoff(s, e - s, tm_info [all...] |
H A D | tmlocale.c | 116 tm_info.deformat = b[TM_UT]; 121 tm_info.deformat = b[TM_DEFAULT]; 122 tm_info.format = b; 123 if (!(tm_info.deformat = state.format)) 124 tm_info.deformat = tm_info.format[TM_DEFAULT]; 543 #define native_lc_time(li) ((li->data=(void*)(tm_info.format=tm_data.format)),(tm_info.deformat=tm_info.format[TM_DEFAULT])) 569 tm_info [all...] |
H A D | tmxfmt.c | 128 format = tm_info.deformat; 130 flags = tm_info.flags; 241 if (tm_info.deformat != tm_info.format[TM_DEFAULT]) 242 format = tm_info.deformat; 244 format = tm_info.format[TM_DEFAULT]; 260 p = tm_info.format[TM_CTIME]; 269 p = tm_info.format[TM_DATE]; 363 p = tm_info.format[TM_MERIDIAN + (tm->tm_hour >= 12)]; 379 p = tm_info [all...] |
H A D | tmzone.c | 37 * otherwise type must be one of tm_info.zone[].type 58 tmset(tm_info.zone); 68 zp = tm_info.local; 89 if (zp == tm_info.local)
|
H A D | tmxmake.c | 55 tmset(tm_info.zone); 57 if ((tm_info.flags & (TM_ADJUST|TM_LEAP)) == (TM_ADJUST|TM_LEAP) && (n = tmxsec(t))) 70 if (tm_info.flags & TM_UTC) 73 tm->tm_zone = tm_info.zone;
|
H A D | tmxscan.c | 225 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0) 240 if ((n = tmlex(s, &u, tm_info.format + lo, hi - lo, NiL, 0)) < 0) 310 if ((n = tmlex(s, &u, tm_info.format + TM_MERIDIAN, TM_UT - TM_MERIDIAN, NiL, 0)) < 0) 357 p = tm_info.format[TM_DATE]; 360 p = tm_info.format[TM_TIME]; 388 tm_info.date = zp;
|
H A D | tmxdate.c | 210 tm_info.date = tm->tm_zone; 808 else if (f == -1 && isalpha(*t) && tmlex(t, &t, tm_info.format + TM_ORDINAL, TM_ORDINALS - TM_ORDINAL, NiL, 0) >= 0) 836 if ((j = tmlex(u, NiL, tm_info.format, TM_NFORM, tm_info.format + TM_SUFFIXES, TM_PARTS - TM_SUFFIXES)) >= 0 && tm_data.lex[j] == TM_PARTS) 899 if (!dig2(x, m) || m > 12 || !dig2(x, m) || m > 31 || dig2(x, m) > 24 || dig2(x, m) > 60 || dig2(x, m) <= 60 && !(tm_info.flags & TM_DATESTYLE)) 1019 switch (tmlex(s, &t, tm_info.format, TM_NFORM, tm_info.format + TM_MERIDIAN, 2)) 1102 if (tmlex(s, &t, tm_info.format + TM_SUFFIXES, TM_PARTS - TM_SUFFIXES, NiL, 0) >= 0) 1198 if ((j = tmlex(s, &t, tm_info.format, TM_NFORM, tm_info [all...] |
/ast/src/lib/libcmd/ |
H A D | date.c | 244 if (tm_info.flags & TM_UTC) 306 tm_info.flags = TM_DATESTYLE; 336 tm_info.flags |= TM_LEAP; 372 tm_info.flags |= TM_UTC; 511 tm_info.flags = 0;
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixTime.c | 46 tmset(tm_info.zone); 47 return tm_info.zone->west;
|
/ast/src/cmd/dsslib/time_t/ |
H A D | time_t.c | 236 s = tm_info.format[TM_MERIDIAN + (v >= 12)]; 261 if (tmlex(e, &e, tm_info.format + TM_MERIDIAN, TM_UT - TM_MERIDIAN, NiL, 0) == 1) 281 s = tm_info.format[TM_MONTH + v]; 309 else if ((v = tmlex(buf, &e, tm_info.format + TM_MONTH_ABBREV, TM_DAY_ABBREV - TM_MONTH_ABBREV, NiL, 0)) < 0) 332 s = tm_info.format[TM_DAY + v]; 360 else if ((v = tmlex(buf, &e, tm_info.format + TM_DAY_ABBREV, TM_TIME - TM_DAY_ABBREV, NiL, 0)) < 0)
|
/ast/src/lib/libast/include/ |
H A D | tm.h | 162 #define tm_info (*_tm_infop_) macro
|
/ast/src/lib/librecsort/ |
H A D | rskey.c | 938 fp->data = tm_info.format + TM_MONTH_ABBREV;
|
Completed in 34 milliseconds