Home | History | Annotate | Download | only in common

Lines Matching refs:keywordList

636     KeywordStruct keywordList[ULOC_MAX_NO_KEYWORDS];
678 keywordList[numKeywords].keyword[n++] = uprv_tolower(pos[i]);
681 keywordList[numKeywords].keyword[n] = 0;
682 keywordList[numKeywords].keywordLen = n;
689 keywordList[numKeywords].valueStart = equalSign;
697 keywordList[numKeywords].valueLen = (int32_t)(pos - equalSign - i);
704 keywordList[numKeywords].valueLen = i;
708 if (uprv_strcmp(keywordList[j].keyword, keywordList[numKeywords].keyword) == 0) {
725 if (uprv_strcmp(keywordList[j].keyword, addKeyword) == 0) {
735 keywordList[numKeywords].keyword, addKeyword);
736 keywordList[numKeywords].keywordLen = (int32_t)uprv_strlen(addKeyword);
737 keywordList[numKeywords].valueStart = addValue;
738 keywordList[numKeywords].valueLen = (int32_t)uprv_strlen(addValue);
747 uprv_sortArray(keywordList, numKeywords, sizeof(KeywordStruct), compareKeywordStructs, NULL, FALSE, status);
751 if(keywordsLen + keywordList[i].keywordLen + 1< keywordCapacity) {
752 uprv_strcpy(keywords+keywordsLen, keywordList[i].keyword);
754 keywords[keywordsLen + keywordList[i].keywordLen] = '=';
756 keywords[keywordsLen + keywordList[i].keywordLen] = 0;
759 keywordsLen += keywordList[i].keywordLen + 1;
761 if(keywordsLen + keywordList[i].valueLen < keywordCapacity) {
762 uprv_strncpy(keywords+keywordsLen, keywordList[i].valueStart, keywordList[i].valueLen);
764 keywordsLen += keywordList[i].valueLen;
774 if(valuesLen + keywordList[i].valueLen + 1< valuesCapacity) {
775 uprv_strcpy(values+valuesLen, keywordList[i].valueStart);
776 values[valuesLen + keywordList[i].valueLen] = 0;
778 valuesLen += keywordList[i].valueLen + 1;
1505 uloc_openKeywordList(const char *keywordList, int32_t keywordListSize, UErrorCode* status)
1527 uprv_memcpy(myContext->keywords, keywordList, keywordListSize);