Lines Matching refs:locale_buf
546 char locale_buf[64] = ""; in osl_getTextEncodingFromLocale() local
557 _compose_locale( pLocale, locale_buf, 64 ); in osl_getTextEncodingFromLocale()
566 if( NULL == setlocale( LC_CTYPE, locale_buf ) ) in osl_getTextEncodingFromLocale()
640 char locale_buf[64] = ""; in _imp_setProcessLocale() local
644 _compose_locale( pLocale, locale_buf, 64 ); in _imp_setProcessLocale()
650 if( NULL == setlocale( LC_ALL, locale_buf ) ) in _imp_setProcessLocale()
769 char locale_buf[64] = ""; in osl_getTextEncodingFromLocale() local
777 if( _compose_locale( pLocale, locale_buf, 64 ) ) in osl_getTextEncodingFromLocale()
781 language = _pair_search( locale_buf, _full_locale_list, members); in osl_getTextEncodingFromLocale()
790 cp = strrchr( locale_buf, '.' ); in osl_getTextEncodingFromLocale()
805 locale_buf[2] = '\0'; in osl_getTextEncodingFromLocale()
807 language = _pair_search( locale_buf, _iso_language_list, members); in osl_getTextEncodingFromLocale()
934 char locale_buf[64]; in _imp_setProcessLocale() local
937 if( NULL != _compose_locale( pLocale, locale_buf, 64 ) ) in _imp_setProcessLocale()
942 setenv( "LC_ALL", locale_buf, 1); in _imp_setProcessLocale()
944 setenv( "LC_ALL", locale_buf ); in _imp_setProcessLocale()
950 setenv("LC_CTYPE", locale_buf, 1 ); in _imp_setProcessLocale()
952 setenv( "LC_CTYPE", locale_buf ); in _imp_setProcessLocale()
958 setenv("LC_CTYPE", locale_buf, 1 ); in _imp_setProcessLocale()
960 setenv( "LANG", locale_buf ); in _imp_setProcessLocale()