Lines Matching refs:pLocale
93 static char * _compose_locale( rtl_Locale * pLocale, char * buffer, size_t n ) in _compose_locale() argument
96 if( pLocale && pLocale->Language && (pLocale->Language->length == 2) ) in _compose_locale()
105 pLocale->Language->buffer, pLocale->Language->length, in _compose_locale()
118 if( pLocale->Country && (pLocale->Country->length == 2) ) in _compose_locale()
123 pLocale->Country->buffer, pLocale->Country->length, in _compose_locale()
137 if( pLocale->Variant && pLocale->Variant->length && in _compose_locale()
138 ( pLocale->Variant->length < n - 6 ) ) in _compose_locale()
143 pLocale->Variant->buffer, pLocale->Variant->length, in _compose_locale()
322 rtl_TextEncoding osl_getTextEncodingFromLocale( rtl_Locale * pLocale ) in osl_getTextEncodingFromLocale() argument
334 if( NULL == pLocale ) in osl_getTextEncodingFromLocale()
335 osl_getProcessLocale( &pLocale ); in osl_getTextEncodingFromLocale()
338 if( _compose_locale( pLocale, locale_buf, 64 ) ) in osl_getTextEncodingFromLocale()
405 int _imp_setProcessLocale( rtl_Locale * pLocale ) in _imp_setProcessLocale() argument
410 if( NULL != _compose_locale( pLocale, locale_buf, 64 ) ) in _imp_setProcessLocale()