Lines Matching full:keywordlist
651 KeywordStruct keywordList[ULOC_MAX_NO_KEYWORDS];
693 keywordList[numKeywords].keyword[n++] = uprv_tolower(pos[i]);
696 keywordList[numKeywords].keyword[n] = 0;
697 keywordList[numKeywords].keywordLen = n;
704 keywordList[numKeywords].valueStart = equalSign;
712 keywordList[numKeywords].valueLen = (int32_t)(pos - equalSign - i);
719 keywordList[numKeywords].valueLen = i;
723 if (uprv_strcmp(keywordList[j].keyword, keywordList[numKeywords].keyword) == 0) {
740 if (uprv_strcmp(keywordList[j].keyword, addKeyword) == 0) {
750 uprv_strcpy(keywordList[numKeywords].keyword, addKeyword);
751 keywordList[numKeywords].keywordLen = (int32_t)uprv_strlen(addKeyword);
752 keywordList[numKeywords].valueStart = addValue;
753 keywordList[numKeywords].valueLen = (int32_t)uprv_strlen(addValue);
762 uprv_sortArray(keywordList, numKeywords, sizeof(KeywordStruct), compareKeywordStructs, NULL, FALSE, status);
766 if(keywordsLen + keywordList[i].keywordLen + 1< keywordCapacity) {
767 uprv_strcpy(keywords+keywordsLen, keywordList[i].keyword);
769 keywords[keywordsLen + keywordList[i].keywordLen] = '=';
771 keywords[keywordsLen + keywordList[i].keywordLen] = 0;
774 keywordsLen += keywordList[i].keywordLen + 1;
776 if(keywordsLen + keywordList[i].valueLen < keywordCapacity) {
777 uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen);
779 keywordsLen += keywordList[i].valueLen;
789 if(valuesLen + keywordList[i].valueLen + 1< valuesCapacity) {
790 uprv_strcpy(values+valuesLen, keywordList[i].valueStart);
791 values[valuesLen + keywordList[i].valueLen] = 0;
793 valuesLen += keywordList[i].valueLen + 1;
1516 uloc_openKeywordList(const char *keywordList, int32_t keywordListSize, UErrorCode* status)
1538 uprv_memcpy(myContext->keywords, keywordList, keywordListSize);