/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | CodedOutputStream.java | 170 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64); in writeDouble() 177 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32); in writeFloat() 184 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeUInt64() 191 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt64() 198 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeInt32() 205 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64); in writeFixed64() 212 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32); in writeFixed32() 219 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT); in writeBool() 226 writeTag(fieldNumber, WireFormat.WIRETYPE_LENGTH_DELIMITED); in writeString() 233 writeTag(fieldNumber, WireFormat.WIRETYPE_START_GROUP); in writeGroup() [all …]
|
D | CodedInputStream.java | 155 if (WireFormat.getTagFieldNumber(lastTag) == 0) { in readTag() 189 switch (WireFormat.getTagWireType(tag)) { in skipField() 190 case WireFormat.WIRETYPE_VARINT: in skipField() 193 case WireFormat.WIRETYPE_FIXED64: in skipField() 196 case WireFormat.WIRETYPE_LENGTH_DELIMITED: in skipField() 199 case WireFormat.WIRETYPE_START_GROUP: in skipField() 202 WireFormat.makeTag(WireFormat.getTagFieldNumber(tag), in skipField() 203 WireFormat.WIRETYPE_END_GROUP)); in skipField() 205 case WireFormat.WIRETYPE_END_GROUP: in skipField() 207 case WireFormat.WIRETYPE_FIXED32: in skipField() [all …]
|
D | FieldSet.java | 59 WireFormat.FieldType getLiteType(); in getLiteType() 60 WireFormat.JavaType getLiteJavaType(); in getLiteJavaType() 366 private static void verifyType(final WireFormat.FieldType type, in verifyType() 436 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized() 467 static int getWireFormatForFieldType(final WireFormat.FieldType type, in getWireFormatForFieldType() 470 return WireFormat.WIRETYPE_LENGTH_DELIMITED; in getWireFormatForFieldType() 519 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) { in mergeFromField() 554 final WireFormat.FieldType type, in readPrimitiveField() 627 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE && in writeMessageSetTo() 652 final WireFormat.FieldType type, in writeElement() [all …]
|
D | GeneratedMessageLite.java | 291 WireFormat.JavaType.MESSAGE && in writeUntil() 514 int wireType = WireFormat.getTagWireType(tag); in parseUnknownField() 515 int fieldNumber = WireFormat.getTagFieldNumber(tag); in parseUnknownField() 546 if (extension.descriptor.getLiteType() == WireFormat.FieldType.ENUM) { in parseUnknownField() 586 WireFormat.FieldType.GROUP) { in parseUnknownField() 637 final WireFormat.FieldType type, in newSingularGeneratedExtension() 657 final WireFormat.FieldType type, in newRepeatedGeneratedExtension() 677 final WireFormat.FieldType type, in ExtensionDescriptor() 689 final WireFormat.FieldType type; 697 public WireFormat.FieldType getLiteType() { in getLiteType() [all …]
|
D | MessageReflection.java | 349 CodedInputStream input, WireFormat.FieldType type, in readPrimitiveField() 518 CodedInputStream input, WireFormat.FieldType type, in readPrimitiveField() 656 CodedInputStream input, WireFormat.FieldType type, in readPrimitiveField() 684 tag == WireFormat.MESSAGE_SET_ITEM_TAG) { in mergeFieldFrom() 690 final int wireType = WireFormat.getTagWireType(tag); in mergeFieldFrom() 691 final int fieldNumber = WireFormat.getTagFieldNumber(tag); in mergeFieldFrom() 752 if (field.getLiteType() == WireFormat.FieldType.ENUM) { in mergeFieldFrom() 848 if (tag == WireFormat.MESSAGE_SET_TYPE_ID_TAG) { in mergeMessageSetExtensionFromCodedStream() 862 } else if (tag == WireFormat.MESSAGE_SET_MESSAGE_TAG) { in mergeMessageSetExtensionFromCodedStream() 883 input.checkLastTagWas(WireFormat.MESSAGE_SET_ITEM_END_TAG); in mergeMessageSetExtensionFromCodedStream()
|
D | UnknownFieldSet.java | 492 final int number = WireFormat.getTagFieldNumber(tag); in mergeFieldFrom() 493 switch (WireFormat.getTagWireType(tag)) { in mergeFieldFrom() 494 case WireFormat.WIRETYPE_VARINT: in mergeFieldFrom() 497 case WireFormat.WIRETYPE_FIXED64: in mergeFieldFrom() 500 case WireFormat.WIRETYPE_LENGTH_DELIMITED: in mergeFieldFrom() 503 case WireFormat.WIRETYPE_START_GROUP: in mergeFieldFrom() 509 case WireFormat.WIRETYPE_END_GROUP: in mergeFieldFrom() 511 case WireFormat.WIRETYPE_FIXED32: in mergeFieldFrom()
|
D | WireFormat.java | 44 public final class WireFormat { class 46 private WireFormat() {} in WireFormat() method in WireFormat
|
D | TextFormat.java | 248 switch (WireFormat.getTagWireType(tag)) { in printUnknownFieldValue() 249 case WireFormat.WIRETYPE_VARINT: in printUnknownFieldValue() 252 case WireFormat.WIRETYPE_FIXED32: in printUnknownFieldValue() 256 case WireFormat.WIRETYPE_FIXED64: in printUnknownFieldValue() 259 case WireFormat.WIRETYPE_LENGTH_DELIMITED: in printUnknownFieldValue() 264 case WireFormat.WIRETYPE_START_GROUP: in printUnknownFieldValue() 446 printUnknownField(number, WireFormat.WIRETYPE_VARINT, in printUnknownFields() 448 printUnknownField(number, WireFormat.WIRETYPE_FIXED32, in printUnknownFields() 450 printUnknownField(number, WireFormat.WIRETYPE_FIXED64, in printUnknownFields() 452 printUnknownField(number, WireFormat.WIRETYPE_LENGTH_DELIMITED, in printUnknownFields()
|
D | Extension.java | 43 public abstract WireFormat.FieldType getLiteType(); in getLiteType()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | plugin.pb.cc | 256 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( in MergePartialFromCodedStream() 259 ::google::protobuf::internal::WireFormat::PARSE, in MergePartialFromCodedStream() 275 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( in MergePartialFromCodedStream() 277 ::google::protobuf::internal::WireFormat::PARSE, in MergePartialFromCodedStream() 307 DO_(::google::protobuf::internal::WireFormat::SkipField( in MergePartialFromCodedStream() 327 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( in SerializeWithCachedSizes() 329 ::google::protobuf::internal::WireFormat::SERIALIZE, in SerializeWithCachedSizes() 337 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( in SerializeWithCachedSizes() 339 ::google::protobuf::internal::WireFormat::SERIALIZE, in SerializeWithCachedSizes() 352 ::google::protobuf::internal::WireFormat::SerializeUnknownFields( in SerializeWithCachedSizes() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | wire_format.h | 75 class LIBPROTOBUF_EXPORT WireFormat { 262 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(WireFormat); 283 inline WireFormatLite::WireType WireFormat::WireTypeForField( in WireTypeForField() 292 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType( in WireTypeForFieldType() 301 inline uint32 WireFormat::MakeTag(const FieldDescriptor* field) { in MakeTag() 305 inline int WireFormat::TagSize(int field_number, FieldDescriptor::Type type) { in TagSize() 313 inline void WireFormat::VerifyUTF8String(const char* data, int size, in VerifyUTF8String() 314 WireFormat::Operation op) { in VerifyUTF8String() 316 WireFormat::VerifyUTF8StringFallback(data, size, op, NULL); in VerifyUTF8String() 323 inline void WireFormat::VerifyUTF8StringNamedField( in VerifyUTF8StringNamedField() [all …]
|
D | wire_format_unittest.cc | 89 WireFormat::ParseAndMergePartial(&input, &dest); in TEST() 106 WireFormat::ParseAndMergePartial(&input, &dest); in TEST() 123 WireFormat::ParseAndMergePartial(&input, &dest); in TEST() 139 WireFormat::ParseAndMergePartial(&input, &dest); in TEST() 155 WireFormat::ParseAndMergePartial(&input, &dest); in TEST() 172 WireFormat::ParseAndMergePartial(&input, &dest); in TEST() 189 WireFormat::ParseAndMergePartial(&input, &dest); in TEST() 208 WireFormat::ParseAndMergePartial(&input, &oneof_dest); in TEST() 219 EXPECT_EQ(message.ByteSize(), WireFormat::ByteSize(message)); in TEST() 222 EXPECT_EQ(0, WireFormat::ByteSize(message)); in TEST() [all …]
|
D | descriptor.pb.cc | 863 DO_(::google::protobuf::internal::WireFormat::SkipField( in MergePartialFromCodedStream() 888 ::google::protobuf::internal::WireFormat::SerializeUnknownFields( in SerializeWithCachedSizes() 905 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( in SerializeWithCachedSizesToArray() 925 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( in ByteSize() 1118 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( in MergePartialFromCodedStream() 1120 ::google::protobuf::internal::WireFormat::PARSE, in MergePartialFromCodedStream() 1135 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( in MergePartialFromCodedStream() 1137 ::google::protobuf::internal::WireFormat::PARSE, in MergePartialFromCodedStream() 1152 ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField( in MergePartialFromCodedStream() 1155 ::google::protobuf::internal::WireFormat::PARSE, in MergePartialFromCodedStream() [all …]
|
D | wire_format.cc | 70 return WireFormat::SkipField(input, tag, unknown_fields_); in SkipField() 74 return WireFormat::SkipMessage(input, unknown_fields_); in SkipMessage() 82 bool WireFormat::SkipField(io::CodedInputStream* input, uint32 tag, in SkipField() 142 bool WireFormat::SkipMessage(io::CodedInputStream* input, in SkipMessage() 162 void WireFormat::SerializeUnknownFields(const UnknownFieldSet& unknown_fields, in SerializeUnknownFields() 200 uint8* WireFormat::SerializeUnknownFieldsToArray( in SerializeUnknownFieldsToArray() 235 void WireFormat::SerializeUnknownMessageSetItems( in SerializeUnknownMessageSetItems() 260 uint8* WireFormat::SerializeUnknownMessageSetItemsToArray( in SerializeUnknownMessageSetItemsToArray() 293 int WireFormat::ComputeUnknownFieldsSize( in ComputeUnknownFieldsSize() 341 int WireFormat::ComputeUnknownMessageSetItemsSize( in ComputeUnknownMessageSetItemsSize() [all …]
|
D | unknown_field_set_unittest.cc | 54 using internal::WireFormat; 187 int size = WireFormat::ComputeUnknownFieldsSize( in TEST_F() 195 uint8* result = WireFormat::SerializeUnknownFieldsToArray( in TEST_F() 202 WireFormat::SerializeUnknownFields(empty_message_.unknown_fields(), in TEST_F() 229 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message)); in TEST_F() 243 int size = WireFormat::ByteSize(empty_message_); in TEST_F() 244 WireFormat::SerializeWithCachedSizes(empty_message_, size, &output); in TEST_F() 361 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &all_types_message)); in TEST_F() 384 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message)); in TEST_F()
|
D | message.cc | 57 using internal::WireFormat; 117 return WireFormat::ParseAndMergePartial(input, this); in MergePartialFromCodedStream() 143 WireFormat::SerializeWithCachedSizes(*this, GetCachedSize(), output); in SerializeWithCachedSizes() 147 int size = WireFormat::ByteSize(*this); in ByteSize()
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_extension.cc | 44 using internal::WireFormat; 88 string tag = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetVariables() 113 WireFormat::WireTypeForFieldType(descriptor->type()))); in SetVariables()
|
D | javanano_message_field.cc | 49 using internal::WireFormat; 69 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetMessageVariables()
|
D | javanano_enum_field.cc | 72 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables() 74 internal::WireFormat::TagSize(descriptor->number(), descriptor->type())); in SetEnumVariables() 77 internal::WireFormat::WireTypeForFieldType(descriptor->type()))); in SetEnumVariables()
|
D | javanano_primitive_field.cc | 52 using internal::WireFormat; 241 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 243 WireFormat::TagSize(descriptor->number(), descriptor->type())); in SetPrimitiveVariables() 246 internal::WireFormat::WireTypeForFieldType(descriptor->type()))); in SetPrimitiveVariables()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 117 assertTrue(input.skipField(WireFormat.WIRETYPE_VARINT)); in assertReadVarint() 139 assertTrue(input.skipField(WireFormat.WIRETYPE_VARINT)); in assertReadVarint() 421 int tag = WireFormat.makeTag(1, WireFormat.WIRETYPE_LENGTH_DELIMITED); in testReadMaliciouslyLargeBlob() 559 int tag = WireFormat.makeTag(1, WireFormat.WIRETYPE_LENGTH_DELIMITED); in testReadStringInvalidUtf8() 579 int tag = WireFormat.makeTag(1, WireFormat.WIRETYPE_LENGTH_DELIMITED); in testReadStringRequireUtf8InvalidUtf8()
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_field.cc | 54 using internal::WireFormat; 66 WireFormat::TagSize(descriptor->number(), descriptor->type())); in SetCommonFieldVariables()
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
D | javamicro_enum_field.cc | 63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor)); in SetEnumVariables() 65 internal::WireFormat::TagSize(descriptor->number(), descriptor->type())); in SetEnumVariables()
|
D | javamicro_primitive_field.cc | 50 using internal::WireFormat; 195 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor)); in SetPrimitiveVariables() 197 WireFormat::TagSize(descriptor->number(), descriptor->type())); in SetPrimitiveVariables()
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/ |
D | WireFormat.java | 27 public enum WireFormat { enum
|