Lines Matching refs:pLocale

101 static char * _compose_locale( rtl_Locale * pLocale, char * buffer, size_t n )  in _compose_locale()  argument
104 if( pLocale && pLocale->Language && in _compose_locale()
105 (pLocale->Language->length == 2 || pLocale->Language->length == 3) ) in _compose_locale()
114 pLocale->Language->buffer, pLocale->Language->length, in _compose_locale()
127 if( pLocale->Country && (pLocale->Country->length == 2) ) in _compose_locale()
132 pLocale->Country->buffer, pLocale->Country->length, in _compose_locale()
146 if( pLocale->Variant && pLocale->Variant->length && in _compose_locale()
147 ( SAL_INT_CAST(sal_uInt32, pLocale->Variant->length) < n - 6 ) ) in _compose_locale()
152 pLocale->Variant->buffer, pLocale->Variant->length, in _compose_locale()
542 rtl_TextEncoding osl_getTextEncodingFromLocale( rtl_Locale * pLocale ) in osl_getTextEncodingFromLocale() argument
553 if( NULL == pLocale ) in osl_getTextEncodingFromLocale()
554 osl_getProcessLocale( &pLocale ); in osl_getTextEncodingFromLocale()
557 _compose_locale( pLocale, locale_buf, 64 ); in osl_getTextEncodingFromLocale()
638 int _imp_setProcessLocale( rtl_Locale * pLocale ) in _imp_setProcessLocale() argument
644 _compose_locale( pLocale, locale_buf, 64 ); in _imp_setProcessLocale()
766 rtl_TextEncoding osl_getTextEncodingFromLocale( rtl_Locale * pLocale ) in osl_getTextEncodingFromLocale() argument
773 if( NULL == pLocale ) in osl_getTextEncodingFromLocale()
774 osl_getProcessLocale( &pLocale ); in osl_getTextEncodingFromLocale()
777 if( _compose_locale( pLocale, locale_buf, 64 ) ) in osl_getTextEncodingFromLocale()
932 int _imp_setProcessLocale( rtl_Locale * pLocale ) in _imp_setProcessLocale() argument
937 if( NULL != _compose_locale( pLocale, locale_buf, 64 ) ) in _imp_setProcessLocale()