Lines Matching refs:newLength
147 int newLength; in utf8sToUtf8mLength() local
150 newLength = 0; in utf8sToUtf8mLength()
156 newLength++; in utf8sToUtf8mLength()
158 newLength++; /* We gain one byte in length on NULL bytes */ in utf8sToUtf8mLength()
166 newLength += 2; in utf8sToUtf8mLength()
174 newLength += 3; in utf8sToUtf8mLength()
183 newLength += 6; /* 4byte encoding turns into 2 3byte ones */ in utf8sToUtf8mLength()
193 return newLength; in utf8sToUtf8mLength()
203 utf8sToUtf8m(struct UtfInst *ui, jbyte *string, int length, jbyte *newString, int newLength) in utf8sToUtf8m() argument
255 UTF_ASSERT(j==newLength); in utf8sToUtf8m()
269 int newLength; in utf8mToUtf8sLength() local
272 newLength = 0; in utf8mToUtf8sLength()
278 newLength++; in utf8mToUtf8sLength()
286 newLength += 2; /* Normal 2byte encoding, not 0xC080 */ in utf8mToUtf8sLength()
288 newLength++; /* We will turn 0xC080 into 0 */ in utf8mToUtf8sLength()
298 newLength += 3; in utf8mToUtf8sLength()
310 newLength++; /* New string will have 4byte encoding */ in utf8mToUtf8sLength()
323 return newLength; in utf8mToUtf8sLength()
334 utf8mToUtf8s(struct UtfInst *ui, jbyte *string, int length, jbyte *newString, int newLength) in utf8mToUtf8s() argument
393 UTF_ASSERT(j==newLength); in utf8mToUtf8s()