Lines Matching refs:local
122 * return minutes west of GMT for local time clock
125 * this routine also kicks in the local initialization
138 * convert to GMT assuming local time
188 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0;
201 * initialize the local timezone
219 static Tm_zone_t local;
251 local.standard = strdup(tzname[0]);
252 local.daylight = strdup(tzname[1]);
257 * tm_info.local
260 tm_info.zone = tm_info.local = &local;
265 * compute local DST offset by roaming
284 local.west = n;
285 local.dst = m;
298 if (!local.standard)
299 local.standard = strdup(tzname[0]);
300 if (!local.daylight)
301 local.daylight = strdup(tzname[1]);
311 local.standard = s;
316 local.daylight = s;
324 local.standard = s;
334 local.daylight = s;
349 local.type = t;
350 local.standard = zp->standard;
362 local.daylight = s;
374 local.standard = strdup(buf);
379 local.daylight = strdup(buf);
394 if (!local.type)
396 s = local.standard;
404 local.type = t;
423 s = local.standard;
425 if (local.daylight)
448 if (tm_info.local)
450 memset(tm_info.local, 0, sizeof(*tm_info.local));
451 tm_info.local = 0;
454 if (!tm_info.local)
457 zp = tm_info.local;