/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
UnknownFieldSetLite.java | 153 int fieldNumber = WireFormat.getTagFieldNumber(tag); 154 switch (WireFormat.getTagWireType(tag)) { 155 case WireFormat.WIRETYPE_VARINT: 158 case WireFormat.WIRETYPE_FIXED32: 161 case WireFormat.WIRETYPE_FIXED64: 164 case WireFormat.WIRETYPE_LENGTH_DELIMITED: 167 case WireFormat.WIRETYPE_START_GROUP: 168 output.writeTag(fieldNumber, WireFormat.WIRETYPE_START_GROUP); 170 output.writeTag(fieldNumber, WireFormat.WIRETYPE_END_GROUP); 192 int fieldNumber = WireFormat.getTagFieldNumber(tag) [all...] |
MapEntryLite.java | 48 public final WireFormat.FieldType keyType; 49 public final WireFormat.FieldType valueType; 53 WireFormat.FieldType keyType, 54 WireFormat.FieldType valueType) { 79 WireFormat.FieldType keyType, K defaultKey, 80 WireFormat.FieldType valueType, V defaultValue) { 110 WireFormat.FieldType keyType, K defaultKey, 111 WireFormat.FieldType valueType, V defaultValue) { 123 int number, WireFormat.FieldType type, Object value, 143 int number, WireFormat.FieldType type, Object value) [all...] |
CodedOutputStream.java | 631 return computeTagSize(WireFormat.MESSAGE_SET_ITEM) * 2 632 + computeUInt32Size(WireFormat.MESSAGE_SET_TYPE_ID, fieldNumber) 633 + computeMessageSize(WireFormat.MESSAGE_SET_MESSAGE, value); 643 return computeTagSize(WireFormat.MESSAGE_SET_ITEM) * 2 644 + computeUInt32Size(WireFormat.MESSAGE_SET_TYPE_ID, fieldNumber) 645 + computeBytesSize(WireFormat.MESSAGE_SET_MESSAGE, value); 655 return computeTagSize(WireFormat.MESSAGE_SET_ITEM) * 2 656 + computeUInt32Size(WireFormat.MESSAGE_SET_TYPE_ID, fieldNumber) 657 + computeLazyFieldSize(WireFormat.MESSAGE_SET_MESSAGE, value); 664 return computeUInt32SizeNoTag(WireFormat.makeTag(fieldNumber, 0)) [all...] |
FieldSet.java | 59 WireFormat.FieldType getLiteType(); 60 WireFormat.JavaType getLiteJavaType(); 385 private static void verifyType(final WireFormat.FieldType type, 455 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { 484 * {@link WireFormat}. 486 static int getWireFormatForFieldType(final WireFormat.FieldType type, 489 return WireFormat.WIRETYPE_LENGTH_DELIMITED; 538 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { 556 // other class. Probably WireFormat. 573 final WireFormat.FieldType type [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/route/ |
sys_darwin.go | 53 rtm := &wireFormat{extOff: 36, bodyOff: sizeofRtMsghdrDarwin15} 54 rtm2 := &wireFormat{extOff: 36, bodyOff: sizeofRtMsghdr2Darwin15} 55 ifm := &wireFormat{extOff: 16, bodyOff: sizeofIfMsghdrDarwin15} 56 ifm2 := &wireFormat{extOff: 32, bodyOff: sizeofIfMsghdr2Darwin15} 57 ifam := &wireFormat{extOff: sizeofIfaMsghdrDarwin15, bodyOff: sizeofIfaMsghdrDarwin15} 58 ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDarwin15, bodyOff: sizeofIfmaMsghdrDarwin15} 59 ifmam2 := &wireFormat{extOff: sizeofIfmaMsghdr2Darwin15, bodyOff: sizeofIfmaMsghdr2Darwin15}
|
sys_netbsd.go | 46 rtm := &wireFormat{extOff: 40, bodyOff: sizeofRtMsghdrNetBSD7} 47 ifm := &wireFormat{extOff: 16, bodyOff: sizeofIfMsghdrNetBSD7} 48 ifam := &wireFormat{extOff: sizeofIfaMsghdrNetBSD7, bodyOff: sizeofIfaMsghdrNetBSD7} 49 ifanm := &wireFormat{extOff: sizeofIfAnnouncemsghdrNetBSD7, bodyOff: sizeofIfAnnouncemsghdrNetBSD7}
|
sys_dragonfly.go | 49 rtm := &wireFormat{extOff: 40, bodyOff: sizeofRtMsghdrDragonFlyBSD4} 50 ifm := &wireFormat{extOff: 16, bodyOff: sizeofIfMsghdrDragonFlyBSD4} 51 ifam := &wireFormat{extOff: sizeofIfaMsghdrDragonFlyBSD4, bodyOff: sizeofIfaMsghdrDragonFlyBSD4} 52 ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDragonFlyBSD4, bodyOff: sizeofIfmaMsghdrDragonFlyBSD4} 53 ifanm := &wireFormat{extOff: sizeofIfAnnouncemsghdrDragonFlyBSD4, bodyOff: sizeofIfAnnouncemsghdrDragonFlyBSD4}
|
sys_freebsd.go | 86 var rtm, ifm, ifam, ifmam, ifanm *wireFormat 88 rtm = &wireFormat{extOff: sizeofRtMsghdrFreeBSD10Emu - sizeofRtMetricsFreeBSD10Emu, bodyOff: sizeofRtMsghdrFreeBSD10Emu} 89 ifm = &wireFormat{extOff: 16} 90 ifam = &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10Emu, bodyOff: sizeofIfaMsghdrFreeBSD10Emu} 91 ifmam = &wireFormat{extOff: sizeofIfmaMsghdrFreeBSD10Emu, bodyOff: sizeofIfmaMsghdrFreeBSD10Emu} 92 ifanm = &wireFormat{extOff: sizeofIfAnnouncemsghdrFreeBSD10Emu, bodyOff: sizeofIfAnnouncemsghdrFreeBSD10Emu} 94 rtm = &wireFormat{extOff: sizeofRtMsghdrFreeBSD10 - sizeofRtMetricsFreeBSD10, bodyOff: sizeofRtMsghdrFreeBSD10} 95 ifm = &wireFormat{extOff: 16} 96 ifam = &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10, bodyOff: sizeofIfaMsghdrFreeBSD10} 97 ifmam = &wireFormat{extOff: sizeofIfmaMsghdrFreeBSD10, bodyOff: sizeofIfmaMsghdrFreeBSD10 [all...] |
interface_openbsd.go | 7 func (*wireFormat) parseInterfaceMessage(_ RIBType, b []byte) (Message, error) { 40 func (*wireFormat) parseInterfaceAddrMessage(_ RIBType, b []byte) (Message, error) { 67 func (*wireFormat) parseInterfaceAnnounceMessage(_ RIBType, b []byte) (Message, error) {
|
interface_announce.go | 9 func (w *wireFormat) parseInterfaceAnnounceMessage(_ RIBType, b []byte) (Message, error) {
|
interface_multicast.go | 9 func (w *wireFormat) parseInterfaceMulticastAddrMessage(_ RIBType, b []byte) (Message, error) {
|
route_classic.go | 9 func (w *wireFormat) parseRouteMessage(typ RIBType, b []byte) (Message, error) {
|
route_openbsd.go | 7 func (*wireFormat) parseRouteMessage(_ RIBType, b []byte) (Message, error) {
|
sys.go | 37 type wireFormat struct {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/route/ |
sys_darwin.go | 53 rtm := &wireFormat{extOff: 36, bodyOff: sizeofRtMsghdrDarwin15} 54 rtm2 := &wireFormat{extOff: 36, bodyOff: sizeofRtMsghdr2Darwin15} 55 ifm := &wireFormat{extOff: 16, bodyOff: sizeofIfMsghdrDarwin15} 56 ifm2 := &wireFormat{extOff: 32, bodyOff: sizeofIfMsghdr2Darwin15} 57 ifam := &wireFormat{extOff: sizeofIfaMsghdrDarwin15, bodyOff: sizeofIfaMsghdrDarwin15} 58 ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDarwin15, bodyOff: sizeofIfmaMsghdrDarwin15} 59 ifmam2 := &wireFormat{extOff: sizeofIfmaMsghdr2Darwin15, bodyOff: sizeofIfmaMsghdr2Darwin15}
|
sys_netbsd.go | 46 rtm := &wireFormat{extOff: 40, bodyOff: sizeofRtMsghdrNetBSD7} 47 ifm := &wireFormat{extOff: 16, bodyOff: sizeofIfMsghdrNetBSD7} 48 ifam := &wireFormat{extOff: sizeofIfaMsghdrNetBSD7, bodyOff: sizeofIfaMsghdrNetBSD7} 49 ifanm := &wireFormat{extOff: sizeofIfAnnouncemsghdrNetBSD7, bodyOff: sizeofIfAnnouncemsghdrNetBSD7}
|
sys_dragonfly.go | 49 rtm := &wireFormat{extOff: 40, bodyOff: sizeofRtMsghdrDragonFlyBSD4} 50 ifm := &wireFormat{extOff: 16, bodyOff: sizeofIfMsghdrDragonFlyBSD4} 51 ifam := &wireFormat{extOff: sizeofIfaMsghdrDragonFlyBSD4, bodyOff: sizeofIfaMsghdrDragonFlyBSD4} 52 ifmam := &wireFormat{extOff: sizeofIfmaMsghdrDragonFlyBSD4, bodyOff: sizeofIfmaMsghdrDragonFlyBSD4} 53 ifanm := &wireFormat{extOff: sizeofIfAnnouncemsghdrDragonFlyBSD4, bodyOff: sizeofIfAnnouncemsghdrDragonFlyBSD4}
|
sys_freebsd.go | 86 var rtm, ifm, ifam, ifmam, ifanm *wireFormat 88 rtm = &wireFormat{extOff: sizeofRtMsghdrFreeBSD10Emu - sizeofRtMetricsFreeBSD10Emu, bodyOff: sizeofRtMsghdrFreeBSD10Emu} 89 ifm = &wireFormat{extOff: 16} 90 ifam = &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10Emu, bodyOff: sizeofIfaMsghdrFreeBSD10Emu} 91 ifmam = &wireFormat{extOff: sizeofIfmaMsghdrFreeBSD10Emu, bodyOff: sizeofIfmaMsghdrFreeBSD10Emu} 92 ifanm = &wireFormat{extOff: sizeofIfAnnouncemsghdrFreeBSD10Emu, bodyOff: sizeofIfAnnouncemsghdrFreeBSD10Emu} 94 rtm = &wireFormat{extOff: sizeofRtMsghdrFreeBSD10 - sizeofRtMetricsFreeBSD10, bodyOff: sizeofRtMsghdrFreeBSD10} 95 ifm = &wireFormat{extOff: 16} 96 ifam = &wireFormat{extOff: sizeofIfaMsghdrFreeBSD10, bodyOff: sizeofIfaMsghdrFreeBSD10} 97 ifmam = &wireFormat{extOff: sizeofIfmaMsghdrFreeBSD10, bodyOff: sizeofIfmaMsghdrFreeBSD10 [all...] |
interface_openbsd.go | 7 func (*wireFormat) parseInterfaceMessage(_ RIBType, b []byte) (Message, error) { 40 func (*wireFormat) parseInterfaceAddrMessage(_ RIBType, b []byte) (Message, error) { 67 func (*wireFormat) parseInterfaceAnnounceMessage(_ RIBType, b []byte) (Message, error) {
|
interface_announce.go | 9 func (w *wireFormat) parseInterfaceAnnounceMessage(_ RIBType, b []byte) (Message, error) {
|
interface_multicast.go | 9 func (w *wireFormat) parseInterfaceMulticastAddrMessage(_ RIBType, b []byte) (Message, error) {
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
UnknownFieldSetLiteTest.java | 92 assertEquals(10, WireFormat.getTagFieldNumber(tag)); 93 assertEquals(WireFormat.WIRETYPE_VARINT, WireFormat.getTagWireType(tag)); 106 assertEquals(10, WireFormat.getTagFieldNumber(tag)); 107 assertEquals(WireFormat.WIRETYPE_VARINT, WireFormat.getTagWireType(tag)); 135 assertEquals(10, WireFormat.getTagFieldNumber(tag)); 136 assertEquals(WireFormat.WIRETYPE_VARINT, WireFormat.getTagWireType(tag)); 140 assertEquals(10, WireFormat.getTagFieldNumber(tag)) [all...] |
/prebuilts/tools/common/m2/repository/com/android/tools/external/libprotobuf-java-lite/2.3.0/ |
libprotobuf-java-lite-2.3.0.jar | |
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
CodedInputStreamTest.cs | 274 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited);
348 uint tag = WireFormat.MakeTag(1, WireFormat.WireType.LengthDelimited);
399 output.WriteTag(1, WireFormat.WireType.LengthDelimited);
401 output.WriteTag(2, WireFormat.WireType.LengthDelimited);
409 Assert.AreEqual(1, WireFormat.GetTagFieldNumber(tag));
413 Assert.AreEqual(2, WireFormat.GetTagFieldNumber(tag));
438 output.WriteTag(1, WireFormat.WireType.LengthDelimited);
442 output.WriteTag(2, WireFormat.WireType.StartGroup); [all...] |
/external/protobuf/src/google/protobuf/ |
wire_format_unittest.cc | 90 // Parse using WireFormat. 93 WireFormat::ParseAndMergePartial(&input, &dest); 107 // Parse using WireFormat. 110 WireFormat::ParseAndMergePartial(&input, &dest); 124 // Parse using WireFormat. 127 WireFormat::ParseAndMergePartial(&input, &dest); 139 // Parse using WireFormat. 143 WireFormat::ParseAndMergePartial(&input, &dest); 155 // Parse using WireFormat. 159 WireFormat::ParseAndMergePartial(&input, &dest) [all...] |