Home
last modified time | relevance | path

Searched refs:toByteString (Results 1 – 16 of 16) sorted by relevance

/external/protobuf/java/src/test/java/com/google/protobuf/
DWireFormatTest.java60 ByteString rawBytes = message.toByteString(); in testSerialization()
71 ByteString rawBytes = message.toByteString(); in testSerializationPacked()
85 ByteString rawBytes = message.toByteString(); in testSerializeExtensions()
97 ByteString rawBytes = message.toByteString(); in testSerializePackedExtensions()
100 ByteString rawBytes2 = message2.toByteString(); in testSerializePackedExtensions()
133 ByteString rawBytes = message.toByteString(); in testSerializeExtensionsLite()
145 ByteString rawBytes = message.toByteString(); in testSerializePackedExtensionsLite()
148 ByteString rawBytes2 = message2.toByteString(); in testSerializePackedExtensionsLite()
159 ByteString rawBytes = message.toByteString(); in testParseExtensions()
172 ByteString rawBytes = message.toByteString(); in testParsePackedExtensions()
[all …]
DAbstractMessageTest.java209 TestAllTypes.parseFrom(abstractMessage.toByteString())); in testSerialization()
211 assertEquals(TestUtil.getAllSet().toByteString(), in testSerialization()
212 abstractMessage.toByteString()); in testSerialization()
219 builder.mergeFrom(TestUtil.getAllSet().toByteString()).build(); in testParsing()
228 TestPackedTypes.parseFrom(abstractMessage.toByteString())); in testPackedSerialization()
230 assertEquals(TestUtil.getPackedSet().toByteString(), in testPackedSerialization()
231 abstractMessage.toByteString()); in testPackedSerialization()
238 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testPackedParsing()
247 TestUnpackedTypes.parseFrom(abstractMessage.toByteString())); in testUnpackedSerialization()
249 assertEquals(TestUtil.getUnpackedSet().toByteString(), in testUnpackedSerialization()
[all …]
DDynamicMessageTest.java151 ByteString rawBytes = message.toByteString(); in testDynamicMessageSerialization()
157 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes); in testDynamicMessageSerialization()
165 ByteString rawBytes = message.toByteString(); in testDynamicMessageParsing()
178 ByteString rawBytes = message.toByteString(); in testDynamicMessagePackedSerialization()
184 assertEquals(TestUtil.getPackedSet().toByteString(), rawBytes); in testDynamicMessagePackedSerialization()
192 ByteString rawBytes = message.toByteString(); in testDynamicMessagePackedParsing()
DUnknownFieldSetTest.java53 allFieldsData = allFields.toByteString(); in setUp()
86 return bizarroFields.build().toByteString(); in getBizarroData()
150 ByteString data = emptyMessage.toByteString(); in testSerialize()
217 ByteString data = fields.toByteString(); in testParseKnownAndUnknown()
251 assertEquals(allFieldsData, message.toByteString()); in testUnknownExtensions()
292 .toByteString(); in testParseUnknownEnumValue()
338 .toByteString(); in testLargeVarint()
DCodedInputStreamTest.java371 TestAllTypes.parseFrom(message.toByteString().newInput()); in testReadHugeBlob()
392 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadMaliciouslyLargeBlob()
423 ByteString data64 = makeRecursiveMessage(64).toByteString(); in testMaliciousRecursion()
424 ByteString data65 = makeRecursiveMessage(65).toByteString(); in testMaliciousRecursion()
447 TestUtil.getAllSet().toByteString().newInput()); in testSizeLimit()
501 CodedInputStream input = rawOutput.toByteString().newCodedInput(); in testReadInvalidUtf8()
DLiteTest.java73 ByteString data = message.toByteString(); in testLite()
DGeneratedMessageTest.java376 builder.mergeFrom(TestUtil.getPackedSet().toByteString()).build(); in testParsePackedToUnpacked()
383 builder.mergeFrom(TestUtil.getUnpackedSet().toByteString()).build(); in testParseUnpackedToPacked()
558 assertEquals(message, MessageWithNoOuter.parseFrom(message.toByteString())); in testMultipleFilesOption()
DMessageTest.java266 .buildPartial().toByteString(); in testParseNestedUnititialized()
/external/protobuf/java/src/main/java/com/google/protobuf/
DMessageLite.java104 ByteString toByteString(); in toByteString() method
DByteString.java345 public ByteString toByteString() { in toByteString() method in ByteString.Output
DAbstractMessageLite.java47 public ByteString toByteString() { in toByteString() method in AbstractMessageLite
DUnknownFieldSet.java148 public ByteString toByteString() { in toByteString() method in UnknownFieldSet
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
DV8TestNode.cpp144 …TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), … in hrefByteStringAttributeSetter()
DV8TestObject.cpp254 …TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), … in byteStringAttributeAttributeSetter()
2930 …TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), … in locationByteStringAttributeSetter()
4311 …TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), … in treatReturnedNullStringAsNullByteStringAttributeAttributeSetter()
4341 …TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Value, exceptionState), … in treatReturnedNullStringAsUndefinedByteStringAttributeAttributeSetter()
5250 …TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(stringArg, toByteString(info[0], exceptionState), exceptionS… in voidMethodByteStringArgMethod()
7158 …TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(defaultByteStringArg, toByteString(info[0], exceptionState),… in voidMethodDefaultByteStringArgMethod()
7299 …TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(defaultStringArg, toByteString(info[0], exceptionState), exc… in voidMethodDefaultNullableByteStringArgMethod()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DV8Binding.cpp533 String toByteString(v8::Handle<v8::Value> value, ExceptionState& exceptionState) in toByteString() function
DV8Binding.h543 String toByteString(v8::Handle<v8::Value>, ExceptionState&);