Lines Matching refs:abbr
377 static signed int find_ttinfo_index(timelib_tzinfo *tz, int32_t offset, int isdst, char *abbr) in find_ttinfo_index() argument
385 (strcmp(abbr, &tz->timezone_abbr[tz->type[i].abbr_idx]) == 0) in find_ttinfo_index()
394 static unsigned int add_abbr(timelib_tzinfo *tz, char *abbr) in add_abbr() argument
397 size_t new_length = old_length + strlen(abbr) + 1; in add_abbr()
399 memcpy(tz->timezone_abbr + old_length, abbr, strlen(abbr)); in add_abbr()
406 static signed int add_new_ttinfo_index(timelib_tzinfo *tz, int32_t offset, int isdst, char *abbr) in add_new_ttinfo_index() argument
410 tz->type[tz->bit64.typecnt].abbr_idx = add_abbr(tz, abbr); in add_new_ttinfo_index()
886 char *abbr; in timelib_get_time_zone_info() local
892 abbr = &(tz->timezone_abbr[to->abbr_idx]); in timelib_get_time_zone_info()
897 abbr = tz->timezone_abbr; in timelib_get_time_zone_info()
908 tmp->abbr = abbr ? timelib_strdup(abbr) : timelib_strdup("GMT"); in timelib_get_time_zone_info()