Lines Matching refs:local
189 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0; in tmopt()
220 static Tm_zone_t local; in tmlocal() local
252 local.standard = strdup(tzname[0]); in tmlocal()
253 local.daylight = strdup(tzname[1]); in tmlocal()
261 tm_info.zone = tm_info.local = &local; in tmlocal()
285 local.west = n; in tmlocal()
286 local.dst = m; in tmlocal()
299 if (!local.standard) in tmlocal()
300 local.standard = strdup(tzname[0]); in tmlocal()
301 if (!local.daylight) in tmlocal()
302 local.daylight = strdup(tzname[1]); in tmlocal()
312 local.standard = s; in tmlocal()
317 local.daylight = s; in tmlocal()
325 local.standard = s; in tmlocal()
335 local.daylight = s; in tmlocal()
350 local.type = t; in tmlocal()
351 local.standard = zp->standard; in tmlocal()
363 local.daylight = s; in tmlocal()
375 local.standard = strdup(buf); in tmlocal()
380 local.daylight = strdup(buf); in tmlocal()
395 if (!local.type) in tmlocal()
397 s = local.standard; in tmlocal()
405 local.type = t; in tmlocal()
424 s = local.standard; in tmlocal()
426 if (local.daylight) in tmlocal()
449 if (tm_info.local) in tminit()
451 memset(tm_info.local, 0, sizeof(*tm_info.local)); in tminit()
452 tm_info.local = 0; in tminit()
455 if (!tm_info.local) in tminit()
458 zp = tm_info.local; in tminit()