Home
last modified time | relevance | path

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

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DCodedOutputStreamTest.java593 testEncodingOfString(outputType, 'q', i); // 1 byte per char
594 testEncodingOfString(outputType, '\u07FF', i); // 2 bytes per char
595 testEncodingOfString(outputType, '\u0981', i); // 3 bytes per char
655 private static void testEncodingOfString(OutputType outputType, char c, int length)
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/
DNanoTest.java2320 testEncodingOfString('q', i); // 1 byte per char in testDifferentStringLengthsNano()
2321 testEncodingOfString('\u07FF', i); // 2 bytes per char in testDifferentStringLengthsNano()
2322 testEncodingOfString('\u0981', i); // 3 bytes per char in testDifferentStringLengthsNano()
2343 private void testEncodingOfString(char c, int length) throws InvalidProtocolBufferNanoException { in testEncodingOfString() method in NanoTest