Searched refs:locale_info (Results 1 – 5 of 5) sorted by relevance
170 static void *DestroyLocaleNode(void *locale_info) in DestroyLocaleNode() argument175 p=(LocaleInfo *) locale_info; in DestroyLocaleNode()512 *locale_info; in GetLocaleInfo_() local521 locale_info=(const LocaleInfo *) GetNextValueInSplayTree(locale_cache); in GetLocaleInfo_()523 return(locale_info); in GetLocaleInfo_()525 locale_info=(const LocaleInfo *) GetValueFromSplayTree(locale_cache,tag); in GetLocaleInfo_()527 return(locale_info); in GetLocaleInfo_()747 *locale_info; in GetLocaleMessage() local756 locale_info=GetLocaleInfo_(name,exception); in GetLocaleMessage()758 if (locale_info != (const LocaleInfo *) NULL) in GetLocaleMessage()[all …]
700 get_locale_info(enum LocaleType type, LocaleInfo *locale_info) in get_locale_info() argument706 &locale_info->decimal_point, in get_locale_info()707 &locale_info->thousands_sep) < 0) { in get_locale_info()714 locale_info->grouping_buffer = _PyMem_Strdup(lc->grouping); in get_locale_info()715 if (locale_info->grouping_buffer == NULL) { in get_locale_info()719 locale_info->grouping = locale_info->grouping_buffer; in get_locale_info()725 locale_info->decimal_point = PyUnicode_FromOrdinal('.'); in get_locale_info()726 locale_info->thousands_sep = PyUnicode_FromOrdinal( in get_locale_info()728 if (!locale_info->decimal_point || !locale_info->thousands_sep) in get_locale_info()731 locale_info->grouping = "\3"; /* Group every 3 characters. The in get_locale_info()[all …]
639 get_locale_info(int type, LocaleInfo *locale_info) in get_locale_info() argument644 locale_info->decimal_point = locale_data->decimal_point; in get_locale_info()645 locale_info->thousands_sep = locale_data->thousands_sep; in get_locale_info()646 locale_info->grouping = locale_data->grouping; in get_locale_info()650 locale_info->decimal_point = "."; in get_locale_info()651 locale_info->thousands_sep = ","; in get_locale_info()652 locale_info->grouping = "\3"; /* Group every 3 characters. The in get_locale_info()657 locale_info->decimal_point = "."; in get_locale_info()658 locale_info->thousands_sep = ""; in get_locale_info()659 locale_info->grouping = no_grouping; in get_locale_info()
556 locale_info = locale.getlocale(locale.LC_TIME)581 locale.setlocale(locale.LC_TIME, locale_info)
674 locale_info = locale.getlocale(locale.LC_TIME)699 locale.setlocale(locale.LC_TIME, locale_info)