Lines Matching defs:region
142 * Create a tag string from the supplied parameters. The lang, script and region
146 * If any of the language, script or region parameters are empty, and the alternateTags
147 * parameter is not NULL, it will be parsed for potential language, script and region tags
165 * @param region The region tag to use.
166 * @param regionLength The length of the region tag.
179 const char* region,
199 * script and region code without worrying about overrunning
290 region,
300 * Parse the alternateTags string for the region.
364 * Create a tag string from the supplied parameters. The lang, script and region
380 * @param region The region tag to use.
381 * @param regionLength The length of the region tag.
393 const char* region,
405 region,
415 * Parse the language, script, and region subtags from a tag string, and copy the
437 * @param region The region tag buffer.
438 * @param regionLength The length of the region tag.
449 char* region,
462 region == NULL ||
512 subtagLength = ulocimp_getCountry(position, &position, *err).extract(region, *regionLength, *err);
521 if (uprv_strnicmp(region, unknownRegion, *regionLength) == 0) {
523 * If the region part is the "unknown" region, then don't return it.
555 const char* region,
564 * script and region code without worrying about overrunning
574 * Try the language with the script and region first.
588 region,
674 region,
686 * Try the language with just the region.
700 region,
785 region,
834 char region[ULOC_COUNTRY_CAPACITY];
835 int32_t regionLength = sizeof(region);
854 region,
881 region,
923 char region[ULOC_COUNTRY_CAPACITY];
924 int32_t regionLength = sizeof(region);
944 region,
975 region,
1006 // In the following, the lang, script, region are referring to those in
1010 regionLength = sizeof(region);
1017 region,
1069 * Next, try the language and region.
1081 region,
1103 region,
1168 region,
1369 char *region, int32_t regionCapacity, UErrorCode* status) {
1412 uprv_strncpy(region, rgBuf, regionCapacity);
1413 return u_terminateChars(region, regionCapacity, rgLen, status);