Lines Matching refs:cp
54 const char *cp; in ImplGetLocale() local
60 for (cp = locale; *cp; cp++) in ImplGetLocale()
62 if (*cp == '_') in ImplGetLocale()
63 uscore = cp; in ImplGetLocale()
64 if (*cp == '.' || *cp == '@') in ImplGetLocale()
73 aLocaleBuffer.appendAscii(uscore, cp - uscore); in ImplGetLocale()
77 aLocaleBuffer.appendAscii(locale, cp - locale); in ImplGetLocale()
204 LPTSTR cp = buffer; in ImplGetLocale() local
206 cp += GetLocaleInfo( lcid, LOCALE_SISO639LANGNAME , buffer, 4 ); in ImplGetLocale()
207 if( cp > buffer ) in ImplGetLocale()
209 if( 0 < GetLocaleInfo( lcid, LOCALE_SISO3166CTRYNAME, cp, buffer + 8 - cp) ) in ImplGetLocale()
211 *(cp - 1) = '-'; in ImplGetLocale()