Home
last modified time | relevance | path

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

/external/icu4c/test/cintltst/
Ducnvseltst.c164 int32_t needLen; in fopenOrError() local
168 needLen = uprv_strlen(directory)+uprv_strlen(TDSRCPATH)+uprv_strlen(filename)+1; in fopenOrError()
169 if(needLen > FILENAME_BUFFER) { in fopenOrError()
171 filename, needLen, FILENAME_BUFFER); in fopenOrError()
/external/icu4c/common/
Duloc.c930 int32_t needLen = 0; in uloc_setKeywordValue() local
974 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue()
976 needLen--; /* already had the @ */ in uloc_setKeywordValue()
981 if(needLen >= bufferCapacity) { in uloc_setKeywordValue()
983 return needLen; /* no change */ in uloc_setKeywordValue()
993 return needLen; in uloc_setKeywordValue()
1088 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; in uloc_setKeywordValue()
1089 if(needLen >= bufferCapacity) { in uloc_setKeywordValue()
1091 return needLen; /* no change */ in uloc_setKeywordValue()
1112 buffer[needLen]=0; in uloc_setKeywordValue()
[all …]