Lines Matching refs:tmpLocaleID
841 const char* tmpLocaleID; in uloc_getKeywordValue() local
844 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_getKeywordValue()
846 tmpLocaleID=localeID; in uloc_getKeywordValue()
849 …startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKey… in uloc_getKeywordValue()
1563 const char* tmpLocaleID; in uloc_openKeywords() local
1570 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status); in uloc_openKeywords()
1575 tmpLocaleID=localeID; in uloc_openKeywords()
1579 ulocimp_getLanguage(tmpLocaleID, NULL, 0, &tmpLocaleID); in uloc_openKeywords()
1580 if(_isIDSeparator(*tmpLocaleID)) { in uloc_openKeywords()
1583 ulocimp_getScript(tmpLocaleID+1, NULL, 0, &scriptID); in uloc_openKeywords()
1584 if(scriptID != tmpLocaleID+1) { in uloc_openKeywords()
1586 tmpLocaleID = scriptID; in uloc_openKeywords()
1589 if (_isIDSeparator(*tmpLocaleID)) { in uloc_openKeywords()
1590 ulocimp_getCountry(tmpLocaleID+1, NULL, 0, &tmpLocaleID); in uloc_openKeywords()
1591 if(_isIDSeparator(*tmpLocaleID)) { in uloc_openKeywords()
1592 _getVariant(tmpLocaleID+1, *tmpLocaleID, NULL, 0); in uloc_openKeywords()
1598 if((tmpLocaleID = locale_getKeywordsStart(tmpLocaleID)) != NULL) { in uloc_openKeywords()
1599 …i=locale_getKeywords(tmpLocaleID+1, '@', keywords, keywordsCapacity, NULL, 0, NULL, FALSE, status); in uloc_openKeywords()
1636 const char* tmpLocaleID; in _canonicalize() local
1649 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in _canonicalize()
1654 tmpLocaleID=localeID; in _canonicalize()
1657 origLocaleID=tmpLocaleID; in _canonicalize()
1671 len=ulocimp_getLanguage(tmpLocaleID, name, nameCapacity, &tmpLocaleID); in _canonicalize()
1681 } else if(_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1690 scriptSize=ulocimp_getScript(tmpLocaleID+1, in _canonicalize()
1694 tmpLocaleID = scriptID; in _canonicalize()
1697 if (_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1706 if (_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1708 int32_t cntrySize = ulocimp_getCountry(tmpLocaleID+1, in _canonicalize()
1712 tmpLocaleID = cntryID; in _canonicalize()
1715 if(_isIDSeparator(*tmpLocaleID)) { in _canonicalize()
1717 if (cntrySize >= 0 && ! _isIDSeparator(*(tmpLocaleID+1)) ) { in _canonicalize()
1725 variantSize = _getVariant(tmpLocaleID+1, *tmpLocaleID, in _canonicalize()
1730 tmpLocaleID += variantSize + 1; /* skip '_' and variant */ in _canonicalize()
1737 if (!OPTION_SET(options, _ULOC_CANONICALIZE) && *tmpLocaleID == '.') { in _canonicalize()
1740 char c = *tmpLocaleID; in _canonicalize()
1751 ++tmpLocaleID; in _canonicalize()
1759 if ((tmpLocaleID=locale_getKeywordsStart(tmpLocaleID))!=NULL) { in _canonicalize()
1760 keywordAssign = uprv_strchr(tmpLocaleID, '='); in _canonicalize()
1761 separatorIndicator = uprv_strchr(tmpLocaleID, ';'); in _canonicalize()
1766 tmpLocaleID != NULL && keywordAssign == NULL) { in _canonicalize()
1768 char c = *tmpLocaleID; in _canonicalize()
1776 ++tmpLocaleID; in _canonicalize()
1782 if (tmpLocaleID!=NULL && keywordAssign==NULL) { in _canonicalize()
1794 posixVariantSize = _getVariantEx(tmpLocaleID+1, '@', name+len, nameCapacity-len, in _canonicalize()
1831 if (n == 0 && tmpLocaleID != NULL) { in _canonicalize()
1845 if (tmpLocaleID!=NULL && keywordAssign!=NULL && in _canonicalize()
1852 … len += _getKeywords(tmpLocaleID+1, '@', (len<nameCapacity ? name+len : NULL), nameCapacity-len, in _canonicalize()
1986 const char* tmpLocaleID; in uloc_getVariant() local
1994 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err); in uloc_getVariant()
1999 tmpLocaleID=localeID; in uloc_getVariant()
2003 ulocimp_getLanguage(tmpLocaleID, NULL, 0, &tmpLocaleID); in uloc_getVariant()
2004 if(_isIDSeparator(*tmpLocaleID)) { in uloc_getVariant()
2007 ulocimp_getScript(tmpLocaleID+1, NULL, 0, &scriptID); in uloc_getVariant()
2008 if(scriptID != tmpLocaleID+1) { in uloc_getVariant()
2010 tmpLocaleID = scriptID; in uloc_getVariant()
2013 if (_isIDSeparator(*tmpLocaleID)) { in uloc_getVariant()
2015 ulocimp_getCountry(tmpLocaleID+1, NULL, 0, &cntryID); in uloc_getVariant()
2016 if (cntryID != tmpLocaleID+1) { in uloc_getVariant()
2018 tmpLocaleID = cntryID; in uloc_getVariant()
2020 if(_isIDSeparator(*tmpLocaleID)) { in uloc_getVariant()
2022 if (tmpLocaleID != cntryID && _isIDSeparator(tmpLocaleID[1])) { in uloc_getVariant()
2023 tmpLocaleID++; in uloc_getVariant()
2025 i=_getVariant(tmpLocaleID+1, *tmpLocaleID, variant, variantCapacity); in uloc_getVariant()
2124 char tmpLocaleID[ULOC_FULLNAME_CAPACITY]; in uloc_getLCID() local
2132 len = uloc_getBaseName(localeID, tmpLocaleID, in uloc_getLCID()
2133 sizeof(tmpLocaleID)/sizeof(tmpLocaleID[0]) - 1, &status); in uloc_getLCID()
2136 tmpLocaleID[len] = 0; in uloc_getLCID()
2138 len = uloc_setKeywordValue("collation", collVal, tmpLocaleID, in uloc_getLCID()
2139 sizeof(tmpLocaleID)/sizeof(tmpLocaleID[0]) - len - 1, &status); in uloc_getLCID()
2142 tmpLocaleID[len] = 0; in uloc_getLCID()
2143 return uprv_convertToLCID(langID, tmpLocaleID, &status); in uloc_getLCID()