Lines Matching refs:tmpLocaleID
834 const char* tmpLocaleID;
837 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status);
839 tmpLocaleID=localeID;
842 startSearchHere = uprv_strchr(tmpLocaleID, '@'); /* TODO: REVISIT: shouldn't this be locale_getKeywordsStart ? */
1556 const char* tmpLocaleID;
1563 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), status);
1568 tmpLocaleID=localeID;
1572 ulocimp_getLanguage(tmpLocaleID, NULL, 0, &tmpLocaleID);
1573 if(_isIDSeparator(*tmpLocaleID)) {
1576 ulocimp_getScript(tmpLocaleID+1, NULL, 0, &scriptID);
1577 if(scriptID != tmpLocaleID+1) {
1579 tmpLocaleID = scriptID;
1582 if (_isIDSeparator(*tmpLocaleID)) {
1583 ulocimp_getCountry(tmpLocaleID+1, NULL, 0, &tmpLocaleID);
1584 if(_isIDSeparator(*tmpLocaleID)) {
1585 _getVariant(tmpLocaleID+1, *tmpLocaleID, NULL, 0);
1591 if((tmpLocaleID = locale_getKeywordsStart(tmpLocaleID)) != NULL) {
1592 i=locale_getKeywords(tmpLocaleID+1, '@', keywords, keywordsCapacity, NULL, 0, NULL, FALSE, status);
1629 const char* tmpLocaleID;
1642 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err);
1647 tmpLocaleID=localeID;
1650 origLocaleID=tmpLocaleID;
1664 len=ulocimp_getLanguage(tmpLocaleID, name, nameCapacity, &tmpLocaleID);
1674 } else if(_isIDSeparator(*tmpLocaleID)) {
1683 scriptSize=ulocimp_getScript(tmpLocaleID+1,
1687 tmpLocaleID = scriptID;
1690 if (_isIDSeparator(*tmpLocaleID)) {
1699 if (_isIDSeparator(*tmpLocaleID)) {
1701 int32_t cntrySize = ulocimp_getCountry(tmpLocaleID+1,
1705 tmpLocaleID = cntryID;
1708 if(_isIDSeparator(*tmpLocaleID)) {
1710 if (cntrySize >= 0 && ! _isIDSeparator(*(tmpLocaleID+1)) ) {
1718 variantSize = _getVariant(tmpLocaleID+1, *tmpLocaleID,
1723 tmpLocaleID += variantSize + 1; /* skip '_' and variant */
1730 if (!OPTION_SET(options, _ULOC_CANONICALIZE) && *tmpLocaleID == '.') {
1733 char c = *tmpLocaleID;
1744 ++tmpLocaleID;
1751 After this, tmpLocaleID either points to '@' or is NULL */
1752 if ((tmpLocaleID=locale_getKeywordsStart(tmpLocaleID))!=NULL) {
1753 keywordAssign = uprv_strchr(tmpLocaleID, '=');
1754 separatorIndicator = uprv_strchr(tmpLocaleID, ';');
1759 tmpLocaleID != NULL && keywordAssign == NULL) {
1761 char c = *tmpLocaleID;
1769 ++tmpLocaleID;
1775 if (tmpLocaleID!=NULL && keywordAssign==NULL) {
1787 posixVariantSize = _getVariantEx(tmpLocaleID+1, '@', name+len, nameCapacity-len,
1824 if (n == 0 && tmpLocaleID != NULL) {
1838 if (tmpLocaleID!=NULL && keywordAssign!=NULL &&
1845 len += _getKeywords(tmpLocaleID+1, '@', (len<nameCapacity ? name+len : NULL), nameCapacity-len,
1979 const char* tmpLocaleID;
1987 _ConvertBCP47(tmpLocaleID, localeID, tempBuffer, sizeof(tempBuffer), err);
1992 tmpLocaleID=localeID;
1996 ulocimp_getLanguage(tmpLocaleID, NULL, 0, &tmpLocaleID);
1997 if(_isIDSeparator(*tmpLocaleID)) {
2000 ulocimp_getScript(tmpLocaleID+1, NULL, 0, &scriptID);
2001 if(scriptID != tmpLocaleID+1) {
2003 tmpLocaleID = scriptID;
2006 if (_isIDSeparator(*tmpLocaleID)) {
2008 ulocimp_getCountry(tmpLocaleID+1, NULL, 0, &cntryID);
2009 if (cntryID != tmpLocaleID+1) {
2011 tmpLocaleID = cntryID;
2013 if(_isIDSeparator(*tmpLocaleID)) {
2015 if (tmpLocaleID != cntryID && _isIDSeparator(tmpLocaleID[1])) {
2016 tmpLocaleID++;
2018 i=_getVariant(tmpLocaleID+1, *tmpLocaleID, variant, variantCapacity);
2117 char tmpLocaleID[ULOC_FULLNAME_CAPACITY];
2125 len = uloc_getBaseName(localeID, tmpLocaleID,
2126 sizeof(tmpLocaleID)/sizeof(tmpLocaleID[0]) - 1, &status);
2129 tmpLocaleID[len] = 0;
2131 len = uloc_setKeywordValue("collation", collVal, tmpLocaleID,
2132 sizeof(tmpLocaleID)/sizeof(tmpLocaleID[0]) - len - 1, &status);
2135 tmpLocaleID[len] = 0;
2136 return uprv_convertToLCID(langID, tmpLocaleID, &status);