Searched refs:keywordValueLen (Results 1 – 2 of 2) sorted by relevance
/external/icu/icu4c/source/common/ |
D | locdispnames.cpp | 810 int32_t keywordValueLen =0; in uloc_getDisplayKeywordValue() local 824 keywordValueLen = uloc_getKeywordValue(locale, keyword, keywordValue, capacity, status); in uloc_getDisplayKeywordValue() 866 if(keywordValueLen <= destCapacity){ in uloc_getDisplayKeywordValue() 867 u_charsToUChars(keywordValue, dest, keywordValueLen); in uloc_getDisplayKeywordValue() 868 return u_terminateUChars(dest, destCapacity, keywordValueLen, status); in uloc_getDisplayKeywordValue() 871 return keywordValueLen; in uloc_getDisplayKeywordValue()
|
D | uloc.cpp | 893 int32_t keywordValueLen; in uloc_setKeywordValue() local 927 keywordValueLen = 0; in uloc_setKeywordValue() 934 if (keywordValueLen < ULOC_KEYWORDS_CAPACITY) { in uloc_setKeywordValue() 936 keywordValueBuffer[keywordValueLen++] = *keywordValue++; in uloc_setKeywordValue() 944 keywordValueBuffer[keywordValueLen] = 0; /* terminate */ in uloc_setKeywordValue() 948 if(keywordValueLen == 0) { /* no keywords = nothing to remove */ in uloc_setKeywordValue() 952 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue() 1033 if(keywordValueLen > 0) { /* updating a value */ in uloc_setKeywordValue() 1038 updatedKeysAndValues.append(keywordValueBuffer, keywordValueLen, *status); in uloc_setKeywordValue() 1043 if (rc < 0 && keywordValueLen > 0 && !handledInputKeyAndValue) { in uloc_setKeywordValue() [all …]
|