Searched refs:trimmedLength (Results 1 – 2 of 2) sorted by relevance
233 int trimmedLength = byteLength; in readString() local234 while (trimmedLength > 0 && stringBytes[trimmedLength - 1] == 0) { in readString()235 trimmedLength--; in readString()237 return new String(stringBytes, 0, trimmedLength); in readString()
2163 int32_t trimmedLength = length; in unistrTextExtract() local2164 if(trimmedLength>destCapacity) { in unistrTextExtract()2165 trimmedLength=destCapacity; in unistrTextExtract()2167 us->extract(start32, trimmedLength, dest); in unistrTextExtract()2168 t->chunkOffset = start32+trimmedLength; in unistrTextExtract()