Searched refs:utf8Buffer (Results 1 – 4 of 4) sorted by relevance
33 const utf8Buffer = textEncoder.encode(str);34 if (outputBuffer.length < utf8Buffer.length)36 outputBuffer.set(utf8Buffer);37 return utf8Buffer.length;
1603 Buffer utf8Buffer = null; // Lazily allocated.1619 if (utf8Buffer == null) {1620 utf8Buffer = new Buffer();1622 utf8Buffer.writeUtf8CodePoint(codePoint);1623 while (!utf8Buffer.exhausted()) {1624 int b = utf8Buffer.readByte() & 0xff;
1613 Buffer utf8Buffer = null; // Lazily allocated.1629 if (utf8Buffer == null) {1630 utf8Buffer = new Buffer();1632 utf8Buffer.writeUtf8CodePoint(codePoint);1633 while (!utf8Buffer.exhausted()) {1634 int b = utf8Buffer.readByte() & 0xff;
5715 char * utf8Buffer = new char[uprv_strlen(data)+1]; in TestCase11049() local5716 …u_strToUTF8(utf8Buffer, static_cast<int32_t>(uprv_strlen(data)+1), NULL, dataString.getBuffer(), d… in TestCase11049()5718 ut = utext_openUTF8(ut, utf8Buffer, -1, &status); in TestCase11049()5726 delete [] utf8Buffer; in TestCase11049()