Searched refs:era (Results 1 – 5 of 5) sorted by relevance
70 int era, weekday, year; in gmtime_r() local96 era = (days >= 0 ? days : days - (DAYS_PER_ERA - 1)) / DAYS_PER_ERA; in gmtime_r()97 eraday = days - era * DAYS_PER_ERA; /* [0, 146096] */ in gmtime_r()104 year = ADJUSTED_EPOCH_YEAR + erayear + era * YEARS_PER_ERA + (month <= 1); in gmtime_r()
408 get_era_info (const struct tm *tim_p, const wchar_t *era) in get_era_info() argument410 get_era_info (const struct tm *tim_p, const char *era) in get_era_info()435 while (era) in get_era_info()437 dir = era; in get_era_info()438 era += 2; in get_era_info()439 offset = ERA_STRTOL (era, &c, 10); in get_era_info()440 era = c + 1; in get_era_info()441 stm.tm_year = ERA_STRTOL (era, &c, 10) - YEAR_BASE; in get_era_info()448 era = c + 1; in get_era_info()449 if (era[0] == '-' && era[1] == '*') in get_era_info()[all …]
136 const char *era; member
293 ret = (char*) __get_time_locale (locale)->era; in nl_langinfo_l()
5088 * libc/time/strftime.c: Add support for era and alt_digits data from5096 (era_info_t): New type to store era info.5097 (get_era_info): New function to fetch era info matching incoming5099 (free_era_info): New function to free era info.