Searched refs:keywordValueLen (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/common/ |
D | locdispnames.cpp | 809 int32_t keywordValueLen =0; in uloc_getDisplayKeywordValue() local 823 keywordValueLen = uloc_getKeywordValue(locale, keyword, keywordValue, capacity, status); in uloc_getDisplayKeywordValue() 867 if(keywordValueLen <= destCapacity){ in uloc_getDisplayKeywordValue() 868 u_charsToUChars(keywordValue, dest, keywordValueLen); in uloc_getDisplayKeywordValue() 869 return u_terminateUChars(dest, destCapacity, keywordValueLen, status); in uloc_getDisplayKeywordValue() 872 return keywordValueLen; in uloc_getDisplayKeywordValue()
|
D | uloc.cpp | 972 int32_t keywordValueLen; in uloc_setKeywordValue() local 1006 keywordValueLen = 0; in uloc_setKeywordValue() 1013 if (keywordValueLen < ULOC_KEYWORDS_CAPACITY) { in uloc_setKeywordValue() 1015 keywordValueBuffer[keywordValueLen++] = *keywordValue++; in uloc_setKeywordValue() 1023 keywordValueBuffer[keywordValueLen] = 0; /* terminate */ in uloc_setKeywordValue() 1027 if(keywordValueLen == 0) { /* no keywords = nothing to remove */ in uloc_setKeywordValue() 1031 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue() 1112 if(keywordValueLen > 0) { /* updating a value */ in uloc_setKeywordValue() 1117 updatedKeysAndValues.append(keywordValueBuffer, keywordValueLen, *status); in uloc_setKeywordValue() 1122 if (rc < 0 && keywordValueLen > 0 && !handledInputKeyAndValue) { in uloc_setKeywordValue() [all …]
|