Lines Matching refs:tmpLocaleID

833       const char* tmpLocaleID;  in uloc_getKeywordValue()  local
836 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_getKeywordValue()
838 tmpLocaleID=localeID; in uloc_getKeywordValue()
841 …startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKey… in uloc_getKeywordValue()
1555 const char* tmpLocaleID; in uloc_openKeywords() local
1562 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_openKeywords()
1567 tmpLocaleID=localeID; in uloc_openKeywords()
1571 ulocimp_getLanguage(tmpLocaleID, NULL, 0, &tmpLocaleID); in uloc_openKeywords()
1572 if(_isIDSeparator(*tmpLocaleID)) { in uloc_openKeywords()
1575 ulocimp_getScript(tmpLocaleID+1, NULL, 0, &scriptID); in uloc_openKeywords()
1576 if(scriptID != tmpLocaleID+1) { in uloc_openKeywords()
1578 tmpLocaleID = scriptID; in uloc_openKeywords()
1581 if (_isIDSeparator(*tmpLocaleID)) { in uloc_openKeywords()
1582 ulocimp_getCountry(tmpLocaleID+1, NULL, 0, &tmpLocaleID); in uloc_openKeywords()
1583 if(_isIDSeparator(*tmpLocaleID)) { in uloc_openKeywords()
1584 _getVariant(tmpLocaleID+1, *tmpLocaleID, NULL, 0); in uloc_openKeywords()
1590 if((tmpLocaleID = locale_getKeywordsStart(tmpLocaleID)) != NULL) { in uloc_openKeywords()
1591 …i=locale_getKeywords(tmpLocaleID+1, '@', keywords, keywordsCapacity, NULL, 0, NULL, FALSE, status); in uloc_openKeywords()
1628 const char* tmpLocaleID; in _canonicalize() local
1641 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in _canonicalize()
1646 tmpLocaleID=localeID; in _canonicalize()
1649 origLocaleID=tmpLocaleID; in _canonicalize()
1663 len=ulocimp_getLanguage(tmpLocaleID, name, nameCapacity, &tmpLocaleID); in _canonicalize()
1673 } else if(_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1682 scriptSize=ulocimp_getScript(tmpLocaleID+1, in _canonicalize()
1686 tmpLocaleID = scriptID; in _canonicalize()
1689 if (_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1698 if (_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1700 int32_t cntrySize = ulocimp_getCountry(tmpLocaleID+1, in _canonicalize()
1704 tmpLocaleID = cntryID; in _canonicalize()
1707 if(_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1709 if (cntrySize >= 0 && ! _isIDSeparator(*(tmpLocaleID+1)) ) { in _canonicalize()
1717 variantSize = _getVariant(tmpLocaleID+1, *tmpLocaleID, in _canonicalize()
1722 tmpLocaleID += variantSize + 1; /* skip '_' and variant */ in _canonicalize()
1729 if (!OPTION_SET(options, _ULOC_CANONICALIZE) && *tmpLocaleID == '.') { in _canonicalize()
1732 char c = *tmpLocaleID; in _canonicalize()
1743 ++tmpLocaleID; in _canonicalize()
1751 if ((tmpLocaleID=locale_getKeywordsStart(tmpLocaleID))!=NULL) { in _canonicalize()
1752 keywordAssign = uprv_strchr(tmpLocaleID, '='); in _canonicalize()
1753 separatorIndicator = uprv_strchr(tmpLocaleID, ';'); in _canonicalize()
1758 tmpLocaleID != NULL && keywordAssign == NULL) { in _canonicalize()
1760 char c = *tmpLocaleID; in _canonicalize()
1768 ++tmpLocaleID; in _canonicalize()
1774 if (tmpLocaleID!=NULL && keywordAssign==NULL) { in _canonicalize()
1786 posixVariantSize = _getVariantEx(tmpLocaleID+1, '@', name+len, nameCapacity-len, in _canonicalize()
1823 if (n == 0 && tmpLocaleID != NULL) { in _canonicalize()
1837 if (tmpLocaleID!=NULL && keywordAssign!=NULL && in _canonicalize()
1844 … len += _getKeywords(tmpLocaleID+1, '@', (len<nameCapacity ? name+len : NULL), nameCapacity-len, in _canonicalize()
1978 const char* tmpLocaleID; in uloc_getVariant() local
1986 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in uloc_getVariant()
1991 tmpLocaleID=localeID; in uloc_getVariant()
1995 ulocimp_getLanguage(tmpLocaleID, NULL, 0, &tmpLocaleID); in uloc_getVariant()
1996 if(_isIDSeparator(*tmpLocaleID)) { in uloc_getVariant()
1999 ulocimp_getScript(tmpLocaleID+1, NULL, 0, &scriptID); in uloc_getVariant()
2000 if(scriptID != tmpLocaleID+1) { in uloc_getVariant()
2002 tmpLocaleID = scriptID; in uloc_getVariant()
2005 if (_isIDSeparator(*tmpLocaleID)) { in uloc_getVariant()
2007 ulocimp_getCountry(tmpLocaleID+1, NULL, 0, &cntryID); in uloc_getVariant()
2008 if (cntryID != tmpLocaleID+1) { in uloc_getVariant()
2010 tmpLocaleID = cntryID; in uloc_getVariant()
2012 if(_isIDSeparator(*tmpLocaleID)) { in uloc_getVariant()
2014 if (tmpLocaleID != cntryID && _isIDSeparator(tmpLocaleID[1])) { in uloc_getVariant()
2015 tmpLocaleID++; in uloc_getVariant()
2017 i=_getVariant(tmpLocaleID+1, *tmpLocaleID, variant, variantCapacity); in uloc_getVariant()
2116 char tmpLocaleID[ULOC_FULLNAME_CAPACITY]; in uloc_getLCID() local
2124 len = uloc_getBaseName(localeID, tmpLocaleID, in uloc_getLCID()
2125 sizeof(tmpLocaleID)/sizeof(tmpLocaleID[0]) - 1, &status); in uloc_getLCID()
2128 tmpLocaleID[len] = 0; in uloc_getLCID()
2130 len = uloc_setKeywordValue("collation", collVal, tmpLocaleID, in uloc_getLCID()
2131 sizeof(tmpLocaleID)/sizeof(tmpLocaleID[0]) - len - 1, &status); in uloc_getLCID()
2134 tmpLocaleID[len] = 0; in uloc_getLCID()
2135 return uprv_convertToLCID(langID, tmpLocaleID, &status); in uloc_getLCID()