/ast/src/lib/libast/tm/ |
H A D | tmtype.c | 34 * return the tm_data.zone[] time zone entry for type s 48 tmset(tm_info.zone); 53 if (zp == tm_info.local) zp = tm_data.zone;
|
H A D | tmxtime.c | 61 tmset(tm_info.zone); 83 * time zone adjustments 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));
|
H A D | tmxleap.c | 43 tmset(tm_info.zone);
|
H A D | tmxmake.c | 36 * time zone and leap seconds accounted for in return value 40 tmxtm(register Tm_t* tm, Time_t t, Tm_zone_t* zone) argument 55 tmset(tm_info.zone); 68 if (!(tm->tm_zone = zone)) 71 tm->tm_zone = &tm_data.zone[2]; 73 tm->tm_zone = tm_info.zone; 131 * time zone and leap seconds accounted for in return value
|
H A D | tmzone.c | 36 * if type==0 then all time zone types match 37 * otherwise type must be one of tm_info.zone[].type 58 tmset(tm_info.zone); 90 zp = tm_data.zone;
|
H A D | tmdata.c | 231 static Tm_zone_t zone[] = variable 282 Tm_data_t _tm_data_ = { format, lex, digit, days, sum, leap, zone };
|
H A D | tminit.c | 261 tm_info.zone = tm_info.local = &local; 289 * now get the time zone names 340 * tm_data.zone table lookup 344 for (zp = tm_data.zone; zp->standard; zp++) 392 * the time zone type is probably related to the locale 399 for (zp = tm_data.zone; zp->standard; zp++) 425 zp = tm_data.zone; 459 tm_info.zone = zp;
|
H A D | tmxscan.c | 52 int zone; member in struct:__anon314 55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE) 135 t = tmxtime(tm, set->zone); 161 return z ? tmxtime(tm, set->zone) : t; 387 set.zone = zp->west + m;
|
H A D | tmxdate.c | 175 int zone; local 216 zone = TM_LOCALZONE; 238 zone = i; 272 now = tmxtime(tm, zone); 637 fix = tmxtime(tm, zone); 653 tt = tmxtime(tm, zone); 677 tm = tmxtm(tm, tmxtime(tm, zone), tm->tm_zone); 1383 now = tmxtime(tm, zone) + tmxsns(m, 0); 1408 tm = tmxtm(tm, tmxtime(tm, zone), tm->tm_zone); 1441 tm = tmxtm(tm, tmxtime(tm, zone), t [all...] |
H A D | tmxfmt.c | 452 tm = tmxtm(tm, t, (flags & TM_UTC) ? &tm_data.zone[2] : tm->tm_zone); 461 tm = tmxtm(tm, t, (flags & TM_UTC) ? &tm_data.zone[2] : tm->tm_zone); 471 case 'z': /* time zone nation code */ 475 for (; zp >= tm_data.zone; zp--) 584 case 'z': /* time zone west offset */ 594 case 'Z': /* time zone */ 670 tm = tmxtm(tm, t, (flags & TM_UTC) ? &tm_data.zone[2] : tm->tm_zone); 679 tm = tmxtm(tm, t, (flags & TM_UTC) ? &tm_data.zone[2] : tm->tm_zone);
|
/ast/src/lib/libast/include/ |
H A D | tm.h | 52 #define TM_LOCALZONE (25 * 60) /* use local time zone offset */ 53 #define TM_UTCZONE (26 * 60) /* UTC "time zone" */ 106 typedef struct /* time zone info */ 123 Tm_zone_t* zone; /* alternate timezone table */ member in struct:__anon276 133 Tm_zone_t* zone; /* current timezone */ member in struct:__anon277
|
/ast/src/lib/libtksh/tcl/ |
H A D | tclUnixTime.c | 46 tmset(tm_info.zone); 47 return tm_info.zone->west; 156 * time zone in this struct (very lame) then use the timezone variable. 160 * zone.
|
H A D | tclClock.c | 116 long zone; 156 zone = -50000; /* Force GMT */ 158 zone = TclpGetTimeZone(baseClock); 161 if (TclGetDate(argv[2], baseClock, zone, &clockVal) < 0) { 304 * zone. (Thanks Solaris). 115 long zone; local
|
H A D | tclDate.c | 720 * Specify zone is of -50000 to force GMT. (This allows BST to work). 724 TclGetDate(p, now, zone, timePtr) 727 long zone; 742 TclDateTimezone = zone; 743 if (zone == -50000) { 911 "item : zone", 921 "zone : tZONE tDST", 922 "zone : tZONE", 923 "zone : tDAYZONE",
|
/ast/src/lib/libcmd/ |
H A D | date.c | 104 " [+i?international \bdate\b(1) date with time zone type name]" 117 " [+q?time zone type name (nation code)]" 138 " [+z?time zone \aSHHMM\a west of GMT offset where S is" 140 " [+Z?time zone name]" 146 " [+u?UTC time zone]" 184 "[z:list-zones?List the known time zone table and exit. The table columns" 185 " are: country code, standard zone name, savings time zone name," 300 Tm_zone_t* listzones = 0; /* known time zone table */ 378 listzones = tm_data.zone; [all...] |
/ast/src/lib/libtksh/include/ |
H A D | tkshlib.h | 230 EXTERN int TclGetDate(char *p, unsigned long now, long zone,
|