Home
last modified time | relevance | path

Searched refs:needLen (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Ducnvseltst.c162 int32_t needLen; in fopenOrError() local
166 needLen = uprv_strlen(directory)+uprv_strlen(TDSRCPATH)+uprv_strlen(filename)+1; in fopenOrError()
167 if(needLen > FILENAME_BUFFER) { in fopenOrError()
169 filename, needLen, FILENAME_BUFFER); in fopenOrError()
/external/icu/icu4c/source/common/
Duloc.cpp926 int32_t needLen = 0; in uloc_setKeywordValue() local
970 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue()
972 needLen--; /* already had the @ */ in uloc_setKeywordValue()
977 if(needLen >= bufferCapacity) { in uloc_setKeywordValue()
979 return needLen; /* no change */ in uloc_setKeywordValue()
989 return needLen; in uloc_setKeywordValue()
1085 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue()
1086 if(needLen >= bufferCapacity) { in uloc_setKeywordValue()
1088 return needLen; /* no change */ in uloc_setKeywordValue()
1109 buffer[needLen]=0; in uloc_setKeywordValue()
[all …]