Lines Matching defs:code

184             r->code = result; // Convert string to number
185 uhash_iput(newNumericCodeMap.getAlias(),r->code,(void *)(r.getAlias()),&status);
188 r->code = -1;
241 if ( aliasFromRegion == NULL ) { // Deprecated region code not in the primary codes list - so need to create a deprecated region for it.
254 aliasFromRegion->code = result; // Convert string to number
255 uhash_iput(newNumericCodeMap.getAlias(),aliasFromRegion->code,(void *)aliasFromRegion,&status);
257 aliasFromRegion->code = -1;
289 // Process the code mappings - This will allow us to assign numeric codes to most of the territories.
302 r->code = result; // Convert string to number
303 uhash_iput(newNumericCodeMap.getAlias(),r->code,(void *)r,&status);
340 // Special case: The region code "QO" (Outlying Oceania) is a subcontinent code added by CLDR
341 // even though it looks like a territory code. Need to handle it here.
449 : code(-1),
485 * Returns a pointer to a Region using the given region code. The region code can be either 2-letter ISO code,
486 * 3-letter ISO code, UNM.49 numeric code, or other valid Unicode Region Code as defined by the LDML specification.
488 * If the region code is NULL or not recognized, the appropriate error code will be set ( U_ILLEGAL_ARGUMENT_ERROR )
510 if ( !r ) { // Unknown region code
528 * Returns a pointer to a Region using the given numeric region code. If the numeric region code is not recognized,
529 * the appropriate error code will be set ( U_ILLEGAL_ARGUMENT_ERROR ).
532 Region::getInstance (int32_t code, UErrorCode &status) {
539 Region *r = (Region *)uhash_iget(numericCodeMap,code);
543 ICU_Utility::appendNumber(id, code, 10, 1);
581 * Returns a pointer to the region that contains this region. Returns NULL if this region is code "001" (World)
704 * Return this region's canonical region code.
713 return code;