Lines Matching refs:strdup
185 tm_info.deformat = (n && (n = strlen(v)) > 0 && (n < 2 || v[n-2] != '%' || v[n-1] != '?')) ? strdup(v) : tm_info.format[TM_DEFAULT];
188 tm_info.local->type = (n && *v) ? ((zp = tmtype(v, NiL)) ? zp->type : strdup(v)) : 0;
251 local.standard = strdup(tzname[0]);
252 local.daylight = strdup(tzname[1]);
299 local.standard = strdup(tzname[0]);
301 local.daylight = strdup(tzname[1]);
305 if ((s = getenv("TZNAME")) && *s && (s = strdup(s)))
318 else if ((s = getenv("TZ")) && *s && *s != ':' && (s = strdup(s)))
360 s = strdup(buf);
374 local.standard = strdup(buf);
379 local.daylight = strdup(buf);