Lines Matching refs:keyValueLen
886 int32_t keyValueLen; in uloc_getKeywordValue() local
908 keyValueLen = 0; in uloc_getKeywordValue()
914 if (keyValueLen < ULOC_KEYWORD_BUFFER_LEN - 1) { in uloc_getKeywordValue()
915 localeKeywordNameBuffer[keyValueLen++] = uprv_tolower(*startSearchHere++); in uloc_getKeywordValue()
922 localeKeywordNameBuffer[keyValueLen] = 0; /* terminate */ in uloc_getKeywordValue()
942 keyValueLen = 0; in uloc_getKeywordValue()
948 if (keyValueLen < bufferCapacity) { in uloc_getKeywordValue()
950 buffer[keyValueLen++] = *nextSeparator++; in uloc_getKeywordValue()
952 keyValueLen++; in uloc_getKeywordValue()
956 result = u_terminateChars(buffer, bufferCapacity, keyValueLen, status); in uloc_getKeywordValue()
1054 int32_t keyValueLen; in uloc_setKeywordValue() local
1076 keyValueLen = 0; in uloc_setKeywordValue()
1082 if (keyValueLen < ULOC_KEYWORD_BUFFER_LEN - 1) { in uloc_setKeywordValue()
1083 localeKeywordNameBuffer[keyValueLen++] = uprv_tolower(*keywordStart++); in uloc_setKeywordValue()
1090 localeKeywordNameBuffer[keyValueLen] = 0; /* terminate */ in uloc_setKeywordValue()
1134 updatedKeysAndValues.append(localeKeywordNameBuffer, keyValueLen, *status); in uloc_setKeywordValue()