Lines Matching refs:bufLen
925 int32_t bufLen; in uloc_setKeywordValue() local
942 bufLen = (int32_t)uprv_strlen(buffer); in uloc_setKeywordValue()
947 if(bufferCapacity<bufLen) { in uloc_setKeywordValue()
967 return bufLen; in uloc_setKeywordValue()
970 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue()
975 startSearchHere=buffer+bufLen; in uloc_setKeywordValue()
1038 return bufLen; /* no change in size */ in uloc_setKeywordValue()
1042 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1045 bufLen -= delta; in uloc_setKeywordValue()
1046 buffer[bufLen]=0; in uloc_setKeywordValue()
1047 return bufLen; in uloc_setKeywordValue()
1050 if((bufLen+delta) >= bufferCapacity) { in uloc_setKeywordValue()
1052 return bufLen+delta; in uloc_setKeywordValue()
1055 uprv_memmove(nextSeparator+delta,nextSeparator, bufLen-(nextSeparator-buffer)); in uloc_setKeywordValue()
1058 bufLen += delta; in uloc_setKeywordValue()
1059 buffer[bufLen]=0; in uloc_setKeywordValue()
1060 return bufLen; in uloc_setKeywordValue()
1068 uprv_memmove(keywordStart, nextSeparator+1, bufLen-((nextSeparator+1)-buffer)); in uloc_setKeywordValue()
1069 keywordStart[bufLen-((nextSeparator+1)-buffer)]=0; in uloc_setKeywordValue()
1070 return (int32_t)(bufLen-((nextSeparator+1)-keywordStart)); in uloc_setKeywordValue()
1081 return bufLen; /* removal of non-extant keyword - no change */ in uloc_setKeywordValue()
1085 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue()
1092 …uprv_memmove(insertHere+(1+keywordNameLen+1+keywordValueLen), insertHere, bufLen-(insertHere-buffe… in uloc_setKeywordValue()
1095 keywordStart = buffer+bufLen; in uloc_setKeywordValue()