Home
last modified time | relevance | path

Searched refs:newVariant (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/icu/source/common/
Dlocid.cpp245 const char * newVariant, in Locale() argument
249 if( (newLanguage==NULL) && (newCountry == NULL) && (newVariant == NULL) ) in Locale()
280 if ( newVariant != NULL ) in Locale()
283 while(newVariant[0] == SEP_CHAR) in Locale()
285 newVariant++; in Locale()
289 vsize = (int32_t)uprv_strlen(newVariant); in Locale()
290 while( (vsize>1) && (newVariant[vsize-1] == SEP_CHAR) ) in Locale()
355 uprv_strncpy(p, newVariant, vsize); // Must use strncpy because in Locale()
/external/icu/icu4c/source/common/
Dlocid.cpp245 const char * newVariant, in Locale() argument
249 if( (newLanguage==NULL) && (newCountry == NULL) && (newVariant == NULL) ) in Locale()
280 if ( newVariant != NULL ) in Locale()
283 while(newVariant[0] == SEP_CHAR) in Locale()
285 newVariant++; in Locale()
289 vsize = (int32_t)uprv_strlen(newVariant); in Locale()
290 while( (vsize>1) && (newVariant[vsize-1] == SEP_CHAR) ) in Locale()
355 uprv_strncpy(p, newVariant, vsize); // Must use strncpy because in Locale()