/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | RopeByteStringTest.java | 98 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testToString() 115 ByteString flatString = ByteString.copyFromUtf8(testString); in testToString() 124 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testCharsetToString() 141 ByteString flatString = ByteString.copyFromUtf8(testString); in testCharsetToString() 167 ByteString byteString = RopeByteString.concatenate(ByteString.copyFromUtf8("foo"), in testToString_raisesException() 168 ByteString.copyFromUtf8("bar")); in testToString_raisesException()
|
D | RopeByteStringSubstringTest.java | 71 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testToString() 92 ByteString flatString = ByteString.copyFromUtf8(testString); in testToString() 101 ByteString sourceByteString = ByteString.copyFromUtf8(sourceString); in testCharsetToString() 122 ByteString flatString = ByteString.copyFromUtf8(testString); in testCharsetToString()
|
D | UnmodifiableLazyStringListTest.java | 50 private static ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A"); 51 private static ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B"); 52 private static ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C");
|
D | LiteTest.java | 185 builder.setOptionalBytes(ByteString.copyFromUtf8("hi")); in testSanityCopyOnWrite() 187 assertEquals(ByteString.copyFromUtf8("hi"), builder.getOptionalBytes()); in testSanityCopyOnWrite() 190 ByteString.copyFromUtf8("hi"), messageAfterBuild.getOptionalBytes()); in testSanityCopyOnWrite() 195 ByteString.copyFromUtf8("hi"), messageAfterBuild.getOptionalBytes()); in testSanityCopyOnWrite() 209 builder.setOptionalCordBytes(ByteString.copyFromUtf8("no")); in testSanityCopyOnWrite() 211 assertEquals(ByteString.copyFromUtf8("no"), builder.getOptionalCordBytes()); in testSanityCopyOnWrite() 214 ByteString.copyFromUtf8("no"), in testSanityCopyOnWrite() 220 ByteString.copyFromUtf8("no"), in testSanityCopyOnWrite() 474 builder.setOptionalStringBytes(ByteString.copyFromUtf8("no")); in testSanityCopyOnWrite() 477 ByteString.copyFromUtf8("no"), builder.getOptionalStringBytes()); in testSanityCopyOnWrite() [all …]
|
D | LazyStringArrayListTest.java | 54 private static ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A"); 55 private static ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B"); 56 private static ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C");
|
D | FieldPresenceTest.java | 194 a.setOptionalBytes(ByteString.copyFromUtf8("y")); in testFieldPresence() 205 assertEquals(ByteString.copyFromUtf8("y"), message.getOptionalBytes()); in testFieldPresence() 248 .setOptionalBytes(ByteString.copyFromUtf8("y")) in testFieldPresenceByReflection() 283 .setField(optionalBytesField, ByteString.copyFromUtf8("y")) in testFieldPresenceDynamicMessage()
|
D | CheckUtf8Test.java | 50 ByteString.copyFromUtf8(UTF8_BYTE_STRING_TEXT);
|
D | LazyFieldLiteTest.java | 137 TestUtil.getExtensionRegistry(), ByteString.copyFromUtf8("invalid")); in testInvalidProto() 182 TestUtil.getExtensionRegistry(), ByteString.copyFromUtf8("invalid")); in testMergeInvalid()
|
D | IsValidUtf8Test.java | 175 return ByteString.copyFromUtf8(s); in asBytes()
|
D | WireFormatTest.java | 358 .addLengthDelimited(ByteString.copyFromUtf8("bar")) in testSerializeMessageSetWithFlag() 425 .setMessage(ByteString.copyFromUtf8("bar")) in testParseMessageSetWithFlag()
|
D | UnknownFieldSetLiteTest.java | 269 unknownFields.mergeLengthDelimitedField(2, ByteString.copyFromUtf8("hello")); in testMakeImmutable()
|
D | TextFormatTest.java | 178 .addLengthDelimited(ByteString.copyFromUtf8("4")) in makeUnknownFieldSet() 597 ByteString zhByteString = ByteString.copyFromUtf8(zh); in testEscape()
|
D | AbstractMessageTest.java | 535 ByteString byteString = ByteString.copyFromUtf8("some text"); in testCheckByteStringIsUtf8OnUtf8()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | UnmodifiableLazyStringListTest.java | 50 private static ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A"); 51 private static ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B"); 52 private static ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C");
|
D | LazyStringArrayListTest.java | 50 private static ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A"); 51 private static ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B"); 52 private static ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C");
|
D | WireFormatTest.java | 292 .addLengthDelimited(ByteString.copyFromUtf8("bar")) in testSerializeMessageSetWithFlag() 359 .setMessage(ByteString.copyFromUtf8("bar")) in testParseMessageSetWithFlag()
|
D | TextFormatTest.java | 157 .addLengthDelimited(ByteString.copyFromUtf8("4")) in makeUnknownFieldSet()
|
D | ByteStringTest.java | 141 ByteString byteString = ByteString.copyFromUtf8(testString); in testCopyFrom_Utf8()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | TextFormatEscaper.java | 128 return escapeBytes(ByteString.copyFromUtf8(input));
|
D | LazyStringArrayList.java | 291 return ByteString.copyFromUtf8((String) o); in asByteString()
|
D | TextFormat.java | 1831 ByteString input = ByteString.copyFromUtf8(charString.toString()); in unescapeBytes() 1927 return escapeBytes(ByteString.copyFromUtf8(input)); in escapeText()
|
D | ByteString.java | 389 public static ByteString copyFromUtf8(String text) { in copyFromUtf8() method
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | SentinelOuterClass.java | 224 com.google.protobuf.ByteString.copyFromUtf8( in getDefaultStringBytes() 554 com.google.protobuf.ByteString.copyFromUtf8( in getDefaultStringBytes()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/ |
D | InternalNano.java | 135 public static byte[] copyFromUtf8(final String text) { in copyFromUtf8() method in InternalNano
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 461 msg.optionalBytes = InternalNano.copyFromUtf8("hello"); in testNanoOptionalBytes() 467 .optionalBytes = InternalNano.copyFromUtf8("hello"); in testNanoOptionalBytes() 472 msg.optionalBytes = InternalNano.copyFromUtf8("bye"); in testNanoOptionalBytes() 1347 InternalNano.copyFromUtf8("hello"), in testNanoRepeatedBytes() 1348 InternalNano.copyFromUtf8("bye"), in testNanoRepeatedBytes() 1349 InternalNano.copyFromUtf8("boo") in testNanoRepeatedBytes() 1356 .repeatedBytes = new byte[][] { InternalNano.copyFromUtf8("boo") }; in testNanoRepeatedBytes() 1364 .repeatedBytes = new byte[][] { InternalNano.copyFromUtf8("") }; in testNanoRepeatedBytes() 1378 InternalNano.copyFromUtf8("hello"), in testNanoRepeatedBytes() 1379 InternalNano.copyFromUtf8("world") in testNanoRepeatedBytes()
|