/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | WireFormatTest.java | 63 ByteString rawBytes = message.toByteString(); in testSerialization() local 64 assertEquals(rawBytes.size(), message.getSerializedSize()); in testSerialization() 66 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerialization() 74 ByteString rawBytes = message.toByteString(); in testSerializationPacked() local 75 assertEquals(rawBytes.size(), message.getSerializedSize()); in testSerializationPacked() 77 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked() 88 ByteString rawBytes = message.toByteString(); in testSerializeExtensions() local 89 assertEquals(rawBytes.size(), message.getSerializedSize()); in testSerializeExtensions() 91 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerializeExtensions() 100 ByteString rawBytes = message.toByteString(); in testSerializePackedExtensions() local [all …]
|
D | DynamicMessageTest.java | 172 ByteString rawBytes = message.toByteString(); in testDynamicMessageSerialization() local 173 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testDynamicMessageSerialization() 178 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes); in testDynamicMessageSerialization() local 186 ByteString rawBytes = message.toByteString(); in testDynamicMessageParsing() local 189 DynamicMessage.parseFrom(TestAllTypes.getDescriptor(), rawBytes); in testDynamicMessageParsing() 193 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessageParsing() 198 ByteString rawBytes = TestUtil.getAllExtensionsSet().toByteString(); in testDynamicMessageExtensionParsing() local 200 TestAllExtensions.getDescriptor(), rawBytes, in testDynamicMessageExtensionParsing() 206 rawBytes, TestUtil.getExtensionRegistry()); in testDynamicMessageExtensionParsing() 216 ByteString rawBytes = message.toByteString(); in testDynamicMessagePackedSerialization() local [all …]
|
D | CodedInputStreamTest.java | 319 byte[] rawBytes = message.toByteArray(); in testReadWholeMessage() 320 assertEquals(rawBytes.length, message.getSerializedSize()); in testReadWholeMessage() 322 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testReadWholeMessage() 328 new SmallBlockInputStream(rawBytes, blockSize)); in testReadWholeMessage() 336 byte[] rawBytes = message.toByteArray(); in testSkipWholeMessage() 340 CodedInputStream input1 = CodedInputStream.newInstance(rawBytes); in testSkipWholeMessage() 341 CodedInputStream input2 = CodedInputStream.newInstance(rawBytes); in testSkipWholeMessage() 361 byte[] rawBytes = new byte[] { 1, 2 }; in testSkipRawBytesBug() 362 CodedInputStream input = CodedInputStream.newInstance(rawBytes); in testSkipRawBytesBug() 376 byte[] rawBytes = new byte[] { 1, 2, 3, 4, 5 }; in testSkipRawBytesPastEndOfBufferWithLimit() [all …]
|
D | CodedOutputStreamTest.java | 324 byte[] rawBytes = coder.toByteArray(); in testWriteWholeMessage() 325 assertEqualBytes(outputType, expectedBytes, rawBytes); in testWriteWholeMessage() 349 byte[] rawBytes = coder.toByteArray(); in testWriteWholePackedFieldsMessage() 350 assertEqualBytes(outputType, expectedBytes, rawBytes); in testWriteWholePackedFieldsMessage() 366 byte[] rawBytes = coder.toByteArray(); in testWriteMessageWithNegativeEnumValue() 367 SparseEnumMessage message2 = SparseEnumMessage.parseFrom(rawBytes); in testWriteMessageWithNegativeEnumValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | DynamicMessageTest.java | 169 ByteString rawBytes = message.toByteString(); in testDynamicMessageSerialization() local 170 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testDynamicMessageSerialization() 175 assertEquals(TestUtil.getAllSet().toByteString(), rawBytes); in testDynamicMessageSerialization() local 183 ByteString rawBytes = message.toByteString(); in testDynamicMessageParsing() local 186 DynamicMessage.parseFrom(TestAllTypes.getDescriptor(), rawBytes); in testDynamicMessageParsing() 190 Message message3 = message2.getParserForType().parseFrom(rawBytes); in testDynamicMessageParsing() 195 ByteString rawBytes = TestUtil.getAllExtensionsSet().toByteString(); in testDynamicMessageExtensionParsing() local 197 TestAllExtensions.getDescriptor(), rawBytes, in testDynamicMessageExtensionParsing() 203 rawBytes, TestUtil.getExtensionRegistry()); in testDynamicMessageExtensionParsing() 213 ByteString rawBytes = message.toByteString(); in testDynamicMessagePackedSerialization() local [all …]
|
D | WireFormatTest.java | 60 ByteString rawBytes = message.toByteString(); in testSerialization() local 61 assertEquals(rawBytes.size(), message.getSerializedSize()); in testSerialization() 63 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerialization() 71 ByteString rawBytes = message.toByteString(); in testSerializationPacked() local 72 assertEquals(rawBytes.size(), message.getSerializedSize()); in testSerializationPacked() 74 TestPackedTypes message2 = TestPackedTypes.parseFrom(rawBytes); in testSerializationPacked() 85 ByteString rawBytes = message.toByteString(); in testSerializeExtensions() local 86 assertEquals(rawBytes.size(), message.getSerializedSize()); in testSerializeExtensions() 88 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testSerializeExtensions() 97 ByteString rawBytes = message.toByteString(); in testSerializePackedExtensions() local [all …]
|
D | CodedInputStreamTest.java | 260 byte[] rawBytes = message.toByteArray(); in testReadWholeMessage() 261 assertEquals(rawBytes.length, message.getSerializedSize()); in testReadWholeMessage() 263 TestAllTypes message2 = TestAllTypes.parseFrom(rawBytes); in testReadWholeMessage() 269 new SmallBlockInputStream(rawBytes, blockSize)); in testReadWholeMessage() 277 byte[] rawBytes = message.toByteArray(); in testSkipWholeMessage() 281 CodedInputStream input1 = CodedInputStream.newInstance(rawBytes); in testSkipWholeMessage() 282 CodedInputStream input2 = CodedInputStream.newInstance(rawBytes); in testSkipWholeMessage() 301 byte[] rawBytes = new byte[] { 1, 2 }; in testSkipRawBytesBug() 302 CodedInputStream input = CodedInputStream.newInstance(rawBytes); in testSkipRawBytesBug() 316 byte[] rawBytes = new byte[] { 1, 2, 3, 4, 5 }; in testSkipRawBytesPastEndOfBufferWithLimit() [all …]
|
D | CodedOutputStreamTest.java | 283 byte[] rawBytes = message.toByteArray(); in testWriteWholeMessage() 284 assertEqualBytes(TestUtil.getGoldenMessage().toByteArray(), rawBytes); in testWriteWholeMessage() local 293 assertEqualBytes(rawBytes, rawOutput.toByteArray()); in testWriteWholeMessage() 302 byte[] rawBytes = message.toByteArray(); in testWriteWholePackedFieldsMessage() 304 rawBytes); in testWriteWholePackedFieldsMessage() local 314 byte[] rawBytes = message.toByteArray(); in testWriteMessageWithNegativeEnumValue() 315 SparseEnumMessage message2 = SparseEnumMessage.parseFrom(rawBytes); in testWriteMessageWithNegativeEnumValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBWireFormatTests.m | 48 NSData* rawBytes = message.data; 49 [self assertFieldsInOrder:rawBytes]; 50 XCTAssertEqual(message.serializedSize, (size_t)rawBytes.length); 52 TestAllTypes* message2 = [TestAllTypes parseFromData:rawBytes error:NULL]; 61 NSData* rawBytes = message.data; 62 [self assertFieldsInOrder:rawBytes]; 63 XCTAssertEqual(message.serializedSize, (size_t)rawBytes.length); 66 [TestPackedTypes parseFromData:rawBytes error:NULL]; 78 NSData* rawBytes = message.data; 79 [self assertFieldsInOrder:rawBytes]; [all …]
|
D | GPBPerfTests.m | 59 NSData* rawBytes = [message data]; 61 message = [[TestAllTypes alloc] initWithData:rawBytes error:NULL]; 72 NSData* rawBytes = [message data]; 75 [[TestAllExtensions alloc] initWithData:rawBytes error:NULL]; 86 NSData* rawBytes = [message data]; 88 message = [[TestPackedTypes alloc] initWithData:rawBytes error:NULL]; 99 NSData* rawBytes = [message data]; 102 [[TestPackedExtensions alloc] initWithData:rawBytes error:NULL];
|
D | GPBCodedOuputStreamTests.m | 312 NSData* rawBytes = message.data; 314 [self getDataFileNamed:@"golden_message" dataToWrite:rawBytes]; 315 XCTAssertEqualObjects(rawBytes, goldenData); 328 XCTAssertEqualObjects(rawBytes, actual); 334 rawBytes = extensions.data; 336 dataToWrite:rawBytes]; 337 XCTAssertEqualObjects(rawBytes, goldenData);
|
D | GPBCodedInputStreamTests.m | 183 NSData* rawBytes = message.data; 184 XCTAssertEqual(message.serializedSize, (size_t)rawBytes.length); 187 [TestAllTypes parseFromData:rawBytes extensionRegistry:nil error:NULL]; 193 NSData* rawBytes = message.data; 197 GPBCodedInputStream* input1 = [GPBCodedInputStream streamWithData:rawBytes]; 198 GPBCodedInputStream* input2 = [GPBCodedInputStream streamWithData:rawBytes];
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | RawByteElement.java | 43 byte[] rawBytes = new byte[payload.remaining()]; in parse() 45 payload.get(rawBytes); in parse() 47 return new RawByteElement(infoID, rawBytes); in parse()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/ |
D | CodedOutputStream.cs | 181 byte[] rawBytes = BitConverter.GetBytes(value); in WriteFloat() 184 ByteArray.Reverse(rawBytes); in WriteFloat() 189 buffer[position++] = rawBytes[0]; in WriteFloat() 190 buffer[position++] = rawBytes[1]; in WriteFloat() 191 buffer[position++] = rawBytes[2]; in WriteFloat() 192 buffer[position++] = rawBytes[3]; in WriteFloat() 196 WriteRawBytes(rawBytes, 0, 4); in WriteFloat()
|
D | CodedInputStream.cs | 482 byte[] rawBytes = ReadRawBytes(4); in ReadFloat() 485 ByteArray.Reverse(rawBytes); in ReadFloat() 487 return BitConverter.ToSingle(rawBytes, 0); in ReadFloat()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | MessageReflection.java | 896 ByteString rawBytes = null; // If we encounter "message" before "typeId" in mergeMessageSetExtensionFromCodedStream() local 929 rawBytes = null; in mergeMessageSetExtensionFromCodedStream() 934 rawBytes = input.readBytes(); in mergeMessageSetExtensionFromCodedStream() 945 if (rawBytes != null && typeId != 0) { // Zero is not a valid type ID. in mergeMessageSetExtensionFromCodedStream() 948 rawBytes, extension, extensionRegistry, target); in mergeMessageSetExtensionFromCodedStream() 950 if (rawBytes != null) { in mergeMessageSetExtensionFromCodedStream() 952 .addLengthDelimited(rawBytes).build()); in mergeMessageSetExtensionFromCodedStream() 959 ByteString rawBytes, in mergeMessageSetExtensionFromBytes() argument 970 rawBytes, extensionRegistry,field, extension.defaultInstance); in mergeMessageSetExtensionFromBytes() 975 extension.defaultInstance, extensionRegistry, rawBytes); in mergeMessageSetExtensionFromBytes()
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | LocationTest.java | 243 byte[] rawBytes = parcel.marshall(); in testParcel() 248 parcel.unmarshall(rawBytes, 0, rawBytes.length); in testParcel()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/ |
D | CodedInputStreamTest.cs | 234 byte[] rawBytes = message.ToByteArray(); in ReadWholeMessage_VaryingBlockSizes() 235 Assert.AreEqual(rawBytes.Length, message.CalculateSize()); in ReadWholeMessage_VaryingBlockSizes() 236 TestAllTypes message2 = TestAllTypes.Parser.ParseFrom(rawBytes); in ReadWholeMessage_VaryingBlockSizes() 242 … message2 = TestAllTypes.Parser.ParseFrom(new SmallBlockInputStream(rawBytes, blockSize)); in ReadWholeMessage_VaryingBlockSizes()
|
D | CodedOutputStreamTest.cs | 198 byte[] rawBytes = message.ToByteArray(); in WriteWholeMessage_VaryingBlockSizes() 207 Assert.AreEqual(rawBytes, rawOutput.ToArray()); in WriteWholeMessage_VaryingBlockSizes()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 795 byte[] rawBytes = null; in parseQuotedPrintable() 797 rawBytes = rawString.getBytes(sourceCharset); in parseQuotedPrintable() 800 rawBytes = rawString.getBytes(); in parseQuotedPrintable() 805 decodedBytes = QuotedPrintableCodecPort.decodeQuotedPrintable(rawBytes); in parseQuotedPrintable() 808 decodedBytes = rawBytes; in parseQuotedPrintable()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 313 final long rawBytes = entry.rxBytes + entry.txBytes; in getHistory() local 317 final long targetRxBytes = multiplySafe(targetBytes, rawRxBytes, rawBytes); in getHistory() 318 final long targetTxBytes = multiplySafe(targetBytes, rawTxBytes, rawBytes); in getHistory()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBMessage.m | 1967 NSData *rawBytes = nil; 1983 rawBytes = 1994 if (rawBytes != nil && typeId != 0) { 1997 [[GPBCodedInputStream alloc] initWithData:rawBytes]; 2006 [unknownFields mergeMessageSetMessage:typeId data:rawBytes];
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/test/java/com/google/protobuf/nano/ |
D | NanoTest.java | 2668 byte[] rawBytes = new byte[] { 1, 2 }; in testSkipRawBytesBug() 2669 CodedInputByteBufferNano input = CodedInputByteBufferNano.newInstance(rawBytes); in testSkipRawBytesBug() 2683 byte[] rawBytes = new byte[] { 1, 2, 3, 4, 5 }; in testSkipRawBytesPastEndOfBufferWithLimit() 2684 CodedInputByteBufferNano input = CodedInputByteBufferNano.newInstance(rawBytes); in testSkipRawBytesPastEndOfBufferWithLimit()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 120609 Lsun/security/util/ManifestDigester$Entry;->rawBytes:[B 120618 Lsun/security/util/ManifestDigester;->rawBytes:[B
|