Lines Matching refs:tmp
263 char *cur_locale = NULL, *tmp; in seek_to_tz_position() local
265 tmp = setlocale(LC_CTYPE, NULL); in seek_to_tz_position()
266 if (tmp) { in seek_to_tz_position()
267 cur_locale = strdup(tmp); in seek_to_tz_position()
318 timelib_tzinfo *tmp; in timelib_parse_tzfile() local
321 tmp = timelib_tzinfo_ctor(timezone); in timelib_parse_tzfile()
323 read_preamble(&tzf, tmp); in timelib_parse_tzfile()
324 read_header(&tzf, tmp); in timelib_parse_tzfile()
325 read_transistions(&tzf, tmp); in timelib_parse_tzfile()
326 read_types(&tzf, tmp); in timelib_parse_tzfile()
327 read_location(&tzf, tmp); in timelib_parse_tzfile()
329 tmp = NULL; in timelib_parse_tzfile()
332 return tmp; in timelib_parse_tzfile()
412 timelib_time_offset *tmp = timelib_time_offset_ctor(); in timelib_get_time_zone_info() local
418 tmp->is_dst = to->isdst; in timelib_get_time_zone_info()
419 tmp->transistion_time = transistion_time; in timelib_get_time_zone_info()
423 tmp->is_dst = 0; in timelib_get_time_zone_info()
424 tmp->transistion_time = 0; in timelib_get_time_zone_info()
431 tmp->offset = offset; in timelib_get_time_zone_info()
432 tmp->leap_secs = leap_secs; in timelib_get_time_zone_info()
433 tmp->abbr = abbr ? strdup(abbr) : strdup("GMT"); in timelib_get_time_zone_info()
435 return tmp; in timelib_get_time_zone_info()