Searched refs:_locales (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | setlocale.c | 101 char _locales[MAXLOCALE - 1][MAXLOCALENAME + 1] ; variable 170 if (_locales[0][0] == '\0') in setlocale() 183 if (strcmp(_locales[i], _locales[i + 1]) != 0) { in setlocale() 194 (void) strcpy(buf, _locales[0]); in setlocale() 197 (void) strcat(buf, _locales[i]); in setlocale() 205 return (_locales[0]); in setlocale() 208 return (_locales[category - 1]); in setlocale() 276 _locales[LC_CTYPE - 1])) < 0) in setlocale() 288 _locales[LC_NUMERIC - 1])) == NULL) in setlocale() 301 _locales[LC_TIME -1])) < 0) in setlocale() [all …]
|
H A D | strftime.c | 54 extern char _locales[MAXLOCALE + 1][MAXLOCALENAME + 1]; 405 if (_locales[0][0] == '\0') in getlocale_time() 413 if (strcmp(_my_time, _locales[LC_TIME -1]) == 0) { in getlocale_time() 424 strcat(_locales[LC_TIME-1], temp); in getlocale_time() 429 strcpy(temp, _locales[LC_TIME - 1]); in getlocale_time() 430 strcpy(_locales[LC_TIME - 1], _my_time); in getlocale_time() 432 if ((fd = openlocale("LC_TIME", LC_TIME, temp, _locales[LC_TIME - 1])) < 0) in getlocale_time() 434 strcpy(_my_time, _locales[LC_TIME - 1]); in getlocale_time()
|