Home
last modified time | relevance | path

Searched refs:copyFromUtf8 (Results 1 – 25 of 62) sorted by relevance

123

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DRopeByteStringTest.java98 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()
DRopeByteStringSubstringTest.java71 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()
DLiteTest.java185 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 …]
DUnmodifiableLazyStringListTest.java50 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");
DLazyStringArrayListTest.java53 private static ByteString BYTE_STRING_A = ByteString.copyFromUtf8("A");
54 private static ByteString BYTE_STRING_B = ByteString.copyFromUtf8("B");
55 private static ByteString BYTE_STRING_C = ByteString.copyFromUtf8("C");
DFieldPresenceTest.java172 a.setOptionalBytes(ByteString.copyFromUtf8("y")); in testFieldPresence()
183 assertEquals(ByteString.copyFromUtf8("y"), message.getOptionalBytes()); in testFieldPresence()
226 .setOptionalBytes(ByteString.copyFromUtf8("y")) in testFieldPresenceByReflection()
DLazyFieldLiteTest.java137 TestUtil.getExtensionRegistry(), ByteString.copyFromUtf8("invalid")); in testInvalidProto()
182 TestUtil.getExtensionRegistry(), ByteString.copyFromUtf8("invalid")); in testMergeInvalid()
DCheckUtf8Test.java50 ByteString.copyFromUtf8(UTF8_BYTE_STRING_TEXT);
DIsValidUtf8Test.java175 return ByteString.copyFromUtf8(s); in asBytes()
DWireFormatTest.java358 .addLengthDelimited(ByteString.copyFromUtf8("bar")) in testSerializeMessageSetWithFlag()
425 .setMessage(ByteString.copyFromUtf8("bar")) in testParseMessageSetWithFlag()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/reflection/v1alpha/
DServerReflectionRequest.java194 com.google.protobuf.ByteString.copyFromUtf8( in getHostBytes()
243 com.google.protobuf.ByteString.copyFromUtf8( in getFileByFilenameBytes()
298 com.google.protobuf.ByteString.copyFromUtf8( in getFileContainingSymbolBytes()
404 com.google.protobuf.ByteString.copyFromUtf8( in getAllExtensionNumbersOfTypeBytes()
457 com.google.protobuf.ByteString.copyFromUtf8( in getListServicesBytes()
931 com.google.protobuf.ByteString.copyFromUtf8( in getHostBytes()
1015 com.google.protobuf.ByteString.copyFromUtf8( in getFileByFilenameBytes()
1119 com.google.protobuf.ByteString.copyFromUtf8( in getFileContainingSymbolBytes()
1420 com.google.protobuf.ByteString.copyFromUtf8( in getAllExtensionNumbersOfTypeBytes()
1543 com.google.protobuf.ByteString.copyFromUtf8( in getListServicesBytes()
/external/grpc-grpc-java/alts/src/generated/main/java/io/grpc/alts/internal/
DAltscontext.java286 com.google.protobuf.ByteString.copyFromUtf8( in getApplicationProtocolBytes()
328 com.google.protobuf.ByteString.copyFromUtf8( in getRecordProtocolBytes()
394 com.google.protobuf.ByteString.copyFromUtf8( in getPeerServiceAccountBytes()
436 com.google.protobuf.ByteString.copyFromUtf8( in getLocalServiceAccountBytes()
890 com.google.protobuf.ByteString.copyFromUtf8( in getApplicationProtocolBytes()
979 com.google.protobuf.ByteString.copyFromUtf8( in getRecordProtocolBytes()
1132 com.google.protobuf.ByteString.copyFromUtf8( in getPeerServiceAccountBytes()
1221 com.google.protobuf.ByteString.copyFromUtf8( in getLocalServiceAccountBytes()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DTextFormatEscaper.java128 return escapeBytes(ByteString.copyFromUtf8(input));
/external/protobuf/javamicro/src/main/java/com/google/protobuf/micro/
DByteStringMicro.java109 public static ByteStringMicro copyFromUtf8(final String text) { in copyFromUtf8() method in ByteStringMicro
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/channelz/v1/
DSocketOption.java143 com.google.protobuf.ByteString.copyFromUtf8( in getNameBytes()
187 com.google.protobuf.ByteString.copyFromUtf8( in getValueBytes()
601 com.google.protobuf.ByteString.copyFromUtf8( in getNameBytes()
695 com.google.protobuf.ByteString.copyFromUtf8( in getValueBytes()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsHandshakerStubTest.java61 .setInBytes(ByteString.copyFromUtf8(message)) in sendSuccessfulMessage()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DSentinelOuterClass.java224 com.google.protobuf.ByteString.copyFromUtf8( in getDefaultStringBytes()
554 com.google.protobuf.ByteString.copyFromUtf8( in getDefaultStringBytes()
/external/grpc-grpc-java/services/src/generated/test/java/io/grpc/reflection/testing/
DRequest.java117 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
454 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
DReply.java117 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
454 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
DDynamicRequest.java117 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
454 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
DDynamicReply.java117 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
454 com.google.protobuf.ByteString.copyFromUtf8( in getMessageBytes()
/external/grpc-grpc-java/grpclb/src/generated/main/java/io/grpc/lb/v1/
DInitialLoadBalanceRequest.java122 com.google.protobuf.ByteString.copyFromUtf8( in getNameBytes()
452 com.google.protobuf.ByteString.copyFromUtf8( in getNameBytes()
/external/grpc-grpc-java/testing-proto/src/generated/main/java/io/grpc/testing/protobuf/
DSimpleResponse.java120 com.google.protobuf.ByteString.copyFromUtf8( in getResponseMessageBytes()
448 com.google.protobuf.ByteString.copyFromUtf8( in getResponseMessageBytes()
DSimpleRequest.java120 com.google.protobuf.ByteString.copyFromUtf8( in getRequestMessageBytes()
448 com.google.protobuf.ByteString.copyFromUtf8( in getRequestMessageBytes()
/external/grpc-grpc-java/services/src/generated/main/java/io/grpc/health/v1/
DHealthCheckRequest.java108 com.google.protobuf.ByteString.copyFromUtf8( in getServiceBytes()
424 com.google.protobuf.ByteString.copyFromUtf8( in getServiceBytes()

123