Searched refs:testEncodingOfString (Results 1 – 3 of 3) sorted by relevance
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | CodedOutputStreamTest.java | 654 testEncodingOfString(outputType, 'q', i); // 1 byte per char in testDifferentStringLengths() 655 testEncodingOfString(outputType, '\u07FF', i); // 2 bytes per char in testDifferentStringLengths() 656 testEncodingOfString(outputType, '\u0981', i); // 3 bytes per char in testDifferentStringLengths() 720 private static void testEncodingOfString(OutputType outputType, char c, int length) in testEncodingOfString() method in CodedOutputStreamTest
|
/aosp_15_r20/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | CodedOutputStreamTest.java | 654 testEncodingOfString(outputType, 'q', i); // 1 byte per char in testDifferentStringLengths() 655 testEncodingOfString(outputType, '\u07FF', i); // 2 bytes per char in testDifferentStringLengths() 656 testEncodingOfString(outputType, '\u0981', i); // 3 bytes per char in testDifferentStringLengths() 720 private static void testEncodingOfString(OutputType outputType, char c, int length) in testEncodingOfString() method in CodedOutputStreamTest
|
/aosp_15_r20/external/protobuf/javanano/src/test/java/com/google/protobuf/nano/ |
H A D | NanoTest.java | 2323 testEncodingOfString('q', i); // 1 byte per char in testDifferentStringLengthsNano() 2324 testEncodingOfString('\u07FF', i); // 2 bytes per char in testDifferentStringLengthsNano() 2325 testEncodingOfString('\u0981', i); // 3 bytes per char in testDifferentStringLengthsNano() 2346 private void testEncodingOfString(char c, int length) throws InvalidProtocolBufferNanoException { in testEncodingOfString() method in NanoTest
|