/external/protobuf/src/google/protobuf/ |
H A D | wire_format_lite.cc | 51 const int WireFormatLite::kMessageSetItemStartTag; 52 const int WireFormatLite::kMessageSetItemEndTag; 53 const int WireFormatLite::kMessageSetTypeIdTag; 54 const int WireFormatLite::kMessageSetMessageTag; 58 const int WireFormatLite::kMessageSetItemTagsSize = 64 const WireFormatLite::CppType 65 WireFormatLite::kFieldTypeToCppTypeMap[MAX_FIELD_TYPE + 1] = { 88 const WireFormatLite::WireType 89 WireFormatLite::kWireTypeForFieldType[MAX_FIELD_TYPE + 1] = { 90 static_cast<WireFormatLite [all...] |
H A D | wire_format_lite_inl.h | 55 inline bool WireFormatLite::ReadPrimitive<int32, WireFormatLite::TYPE_INT32>( 64 inline bool WireFormatLite::ReadPrimitive<int64, WireFormatLite::TYPE_INT64>( 73 inline bool WireFormatLite::ReadPrimitive<uint32, WireFormatLite::TYPE_UINT32>( 79 inline bool WireFormatLite::ReadPrimitive<uint64, WireFormatLite::TYPE_UINT64>( 85 inline bool WireFormatLite::ReadPrimitive<int32, WireFormatLite [all...] |
H A D | wire_format.cc | 55 using internal::WireFormatLite; 84 int number = WireFormatLite::GetTagFieldNumber(tag); 86 switch (WireFormatLite::GetTagWireType(tag)) { 87 case WireFormatLite::WIRETYPE_VARINT: { 93 case WireFormatLite::WIRETYPE_FIXED64: { 99 case WireFormatLite::WIRETYPE_LENGTH_DELIMITED: { 112 case WireFormatLite::WIRETYPE_START_GROUP: { 120 if (!input->LastTagWas(WireFormatLite::MakeTag( 121 WireFormatLite::GetTagFieldNumber(tag), 122 WireFormatLite [all...] |
H A D | extension_set.cc | 52 inline WireFormatLite::FieldType real_type(FieldType type) { 53 GOOGLE_DCHECK(type > 0 && type <= WireFormatLite::MAX_FIELD_TYPE); 54 return static_cast<WireFormatLite::FieldType>(type); 57 inline WireFormatLite::CppType cpp_type(FieldType type) { 58 return WireFormatLite::FieldTypeToCppType(real_type(type)); 115 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_ENUM); 116 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_MESSAGE); 117 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_GROUP); 139 GOOGLE_CHECK_EQ(type, WireFormatLite::TYPE_ENUM); 151 GOOGLE_CHECK(type == WireFormatLite [all...] |
H A D | descriptor.pb.cc | 714 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { 717 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 718 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 720 DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( 732 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 733 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { 750 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 764 target = ::google::protobuf::internal::WireFormatLite:: 783 ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( 958 switch (::google::protobuf::internal::WireFormatLite [all...] |
H A D | wire_format.h | 70 // wire format via reflection. The WireFormatLite class implements the 78 static inline WireFormatLite::WireType WireTypeForField( 82 static inline WireFormatLite::WireType WireTypeForFieldType( 262 inline WireFormatLite::WireType WireFormat::WireTypeForField( 265 return WireFormatLite::WIRETYPE_LENGTH_DELIMITED; 271 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType( 275 return WireFormatLite::WireTypeForFieldType( 276 static_cast<WireFormatLite::FieldType>( 281 return WireFormatLite::MakeTag(field->number(), WireTypeForField(field)); 287 return WireFormatLite [all...] |
H A D | wire_format_lite.h | 70 class LIBPROTOBUF_EXPORT WireFormatLite { class in namespace:google::protobuf::internal 139 static inline WireFormatLite::WireType WireTypeForFieldType( 140 WireFormatLite::FieldType type) { 160 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 173 // This macro does the same thing as WireFormatLite::MakeTag(), but the 175 // as a switch case or a template input. WireFormatLite::MakeTag() is more 179 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 194 WireFormatLite::WIRETYPE_START_GROUP); 197 WireFormatLite::WIRETYPE_END_GROUP); 200 WireFormatLite [all...] |
H A D | extension_set_heavy.cc | 330 target = WireFormatLite::WriteTagToArray(number, 331 WireFormatLite::WIRETYPE_LENGTH_DELIMITED, target); 332 target = WireFormatLite::WriteInt32NoTagToArray(cached_size, target); 338 target = WireFormatLite::Write##CAMELCASE##NoTagToArray( \ 359 case WireFormatLite::TYPE_STRING: 360 case WireFormatLite::TYPE_BYTES: 361 case WireFormatLite::TYPE_GROUP: 362 case WireFormatLite::TYPE_MESSAGE: 371 target = WireFormatLite::Write##CAMELCASE##ToArray(number, \ 401 target = WireFormatLite [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/ |
H A D | wire_format_lite.cc | 52 const int WireFormatLite::kMessageSetItemStartTag; 53 const int WireFormatLite::kMessageSetItemEndTag; 54 const int WireFormatLite::kMessageSetTypeIdTag; 55 const int WireFormatLite::kMessageSetMessageTag; 63 return WireFormatLite::SkipField(input, tag, unknown_fields_); 67 return WireFormatLite::SkipMessage(input, unknown_fields_); 77 const int WireFormatLite::kMessageSetItemTagsSize = 83 const WireFormatLite::CppType 84 WireFormatLite::kFieldTypeToCppTypeMap[MAX_FIELD_TYPE + 1] = { 107 const WireFormatLite [all...] |
H A D | wire_format_lite_inl.h | 54 inline bool WireFormatLite::ReadPrimitive<int32, WireFormatLite::TYPE_INT32>( 63 inline bool WireFormatLite::ReadPrimitive<int64, WireFormatLite::TYPE_INT64>( 72 inline bool WireFormatLite::ReadPrimitive<uint32, WireFormatLite::TYPE_UINT32>( 78 inline bool WireFormatLite::ReadPrimitive<uint64, WireFormatLite::TYPE_UINT64>( 84 inline bool WireFormatLite::ReadPrimitive<int32, WireFormatLite [all...] |
H A D | wire_format.h | 71 // wire format via reflection. The WireFormatLite class implements the 79 static inline WireFormatLite::WireType WireTypeForField( 83 static inline WireFormatLite::WireType WireTypeForFieldType( 199 inline WireFormatLite::WireType WireFormat::WireTypeForField( 202 return WireFormatLite::WIRETYPE_LENGTH_DELIMITED; 208 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType( 212 return WireFormatLite::WireTypeForFieldType( 213 static_cast<WireFormatLite::FieldType>( 218 return WireFormatLite::MakeTag(field->number(), WireTypeForField(field)); 224 return WireFormatLite [all...] |
H A D | extension_set.cc | 52 inline WireFormatLite::FieldType real_type(FieldType type) { 53 GOOGLE_DCHECK(type > 0 && type <= WireFormatLite::MAX_FIELD_TYPE); 54 return static_cast<WireFormatLite::FieldType>(type); 57 inline WireFormatLite::CppType cpp_type(FieldType type) { 58 return WireFormatLite::FieldTypeToCppType(real_type(type)); 115 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_ENUM); 116 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_MESSAGE); 117 GOOGLE_CHECK_NE(type, WireFormatLite::TYPE_GROUP); 139 GOOGLE_CHECK_EQ(type, WireFormatLite::TYPE_ENUM); 151 GOOGLE_CHECK(type == WireFormatLite [all...] |
H A D | descriptor.pb.cc | 793 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { 796 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 797 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 799 DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( 811 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 812 ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { 815 DO_(::google::protobuf::internal::WireFormatLite::SkipField( 829 ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 834 ::google::protobuf::internal::WireFormatLite::SerializeUnknownFields( 843 target = ::google::protobuf::internal::WireFormatLite [all...] |
H A D | wire_format.cc | 77 if (WireFormatLite::GetTagWireType(tag) == 78 WireFormatLite::WIRETYPE_END_GROUP) { 86 int field_number = WireFormatLite::GetTagFieldNumber(tag); 103 tag == WireFormatLite::kMessageSetItemStartTag) { 128 } else if (WireFormatLite::GetTagWireType(tag) == 132 WireFormatLite::GetTagWireType(tag) == 133 WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 142 return WireFormatLite::SkipField( 154 if (!WireFormatLite::ReadPrimitive< \ 155 CPPTYPE, WireFormatLite [all...] |
H A D | wire_format_lite.h | 69 class LIBPROTOBUF_EXPORT WireFormatLite { class in namespace:google::protobuf::internal 138 static inline WireFormatLite::WireType WireTypeForFieldType( 139 WireFormatLite::FieldType type) { 159 static inline int TagSize(int field_number, WireFormatLite::FieldType type); 181 // This macro does the same thing as WireFormatLite::MakeTag(), but the 183 // as a switch case or a template input. WireFormatLite::MakeTag() is more 187 ((FIELD_NUMBER) << ::google::protobuf::internal::WireFormatLite::kTagTypeBits) \ 202 WireFormatLite::WIRETYPE_START_GROUP); 205 WireFormatLite::WIRETYPE_END_GROUP); 208 WireFormatLite [all...] |
H A D | extension_set_heavy.cc | 109 inline WireFormatLite::FieldType field_type(FieldType type) { 110 GOOGLE_DCHECK(type > 0 && type <= WireFormatLite::MAX_FIELD_TYPE); 111 return static_cast<WireFormatLite::FieldType>(type); 375 target = WireFormatLite::WriteTagToArray(number, 376 WireFormatLite::WIRETYPE_LENGTH_DELIMITED, target); 377 target = WireFormatLite::WriteInt32NoTagToArray(cached_size, target); 383 target = WireFormatLite::Write##CAMELCASE##NoTagToArray( \ 404 case WireFormatLite::TYPE_STRING: 405 case WireFormatLite::TYPE_BYTES: 406 case WireFormatLite [all...] |
H A D | wire_format_unittest.cc | 55 // Verify that WireFormatLite::FieldType and WireFormatLite::CppType match 59 implicit_cast<int>(WireFormatLite::MAX_FIELD_TYPE)); 61 implicit_cast<int>(WireFormatLite::MAX_CPPTYPE)); 63 for (int i = 1; i <= WireFormatLite::MAX_FIELD_TYPE; i++) { 67 implicit_cast<int>(WireFormatLite::FieldTypeToCppType( 68 static_cast<WireFormatLite::FieldType>(i)))); 74 EXPECT_EQ((1 << (32 - WireFormatLite::kTagTypeBits)) - 1, 492 coded_output.WriteTag(WireFormatLite::kMessageSetItemStartTag); 494 WireFormatLite [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.pb.cc | 243 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { 246 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 247 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 249 DO_(::google::protobuf::internal::WireFormatLite::ReadString( 265 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 266 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 268 DO_(::google::protobuf::internal::WireFormatLite::ReadString( 282 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 283 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 285 DO_(::google::protobuf::internal::WireFormatLite [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.pb.cc | 236 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { 239 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 240 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 242 DO_(::google::protobuf::internal::WireFormatLite::ReadString( 257 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 258 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 260 DO_(::google::protobuf::internal::WireFormatLite::ReadString( 274 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == 275 ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { 277 DO_(::google::protobuf::internal::WireFormatLite [all...] |
/external/protobuf/src/google/protobuf/compiler/javanano/ |
H A D | javanano_extension.cc | 45 using internal::WireFormatLite; 111 string non_packed_tag = SimpleItoa(WireFormatLite::MakeTag( 117 string packed_tag = SimpleItoa(WireFormatLite::MakeTag( 118 descriptor->number(), WireFormatLite::WIRETYPE_LENGTH_DELIMITED));
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_primitive_field.cc | 46 using internal::WireFormatLite; 60 case FieldDescriptor::TYPE_FIXED32 : return WireFormatLite::kFixed32Size; 61 case FieldDescriptor::TYPE_FIXED64 : return WireFormatLite::kFixed64Size; 62 case FieldDescriptor::TYPE_SFIXED32: return WireFormatLite::kSFixed32Size; 63 case FieldDescriptor::TYPE_SFIXED64: return WireFormatLite::kSFixed64Size; 64 case FieldDescriptor::TYPE_FLOAT : return WireFormatLite::kFloatSize; 65 case FieldDescriptor::TYPE_DOUBLE : return WireFormatLite::kDoubleSize; 67 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize; 94 "::google::protobuf::internal::WireFormatLite::" + FieldDescriptorProto_Type_Name( 158 "DO_((::google::protobuf::internal::WireFormatLite [all...] |
/external/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_primitive_field.cc | 46 using internal::WireFormatLite; 60 case FieldDescriptor::TYPE_FIXED32 : return WireFormatLite::kFixed32Size; 61 case FieldDescriptor::TYPE_FIXED64 : return WireFormatLite::kFixed64Size; 62 case FieldDescriptor::TYPE_SFIXED32: return WireFormatLite::kSFixed32Size; 63 case FieldDescriptor::TYPE_SFIXED64: return WireFormatLite::kSFixed64Size; 64 case FieldDescriptor::TYPE_FLOAT : return WireFormatLite::kFloatSize; 65 case FieldDescriptor::TYPE_DOUBLE : return WireFormatLite::kDoubleSize; 67 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize; 93 "::google::protobuf::internal::WireFormatLite::" + FieldDescriptorProto_Type_Name( 156 "DO_((::google::protobuf::internal::WireFormatLite [all...] |
/external/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_primitive_field.cc | 51 using internal::WireFormatLite; 134 case FieldDescriptor::TYPE_FIXED32 : return WireFormatLite::kFixed32Size; 135 case FieldDescriptor::TYPE_FIXED64 : return WireFormatLite::kFixed64Size; 136 case FieldDescriptor::TYPE_SFIXED32: return WireFormatLite::kSFixed32Size; 137 case FieldDescriptor::TYPE_SFIXED64: return WireFormatLite::kSFixed64Size; 138 case FieldDescriptor::TYPE_FLOAT : return WireFormatLite::kFloatSize; 139 case FieldDescriptor::TYPE_DOUBLE : return WireFormatLite::kDoubleSize; 141 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize;
|
/external/protobuf/src/google/protobuf/compiler/javamicro/ |
H A D | javamicro_primitive_field.cc | 51 using internal::WireFormatLite; 134 case FieldDescriptor::TYPE_FIXED32 : return WireFormatLite::kFixed32Size; 135 case FieldDescriptor::TYPE_FIXED64 : return WireFormatLite::kFixed64Size; 136 case FieldDescriptor::TYPE_SFIXED32: return WireFormatLite::kSFixed32Size; 137 case FieldDescriptor::TYPE_SFIXED64: return WireFormatLite::kSFixed64Size; 138 case FieldDescriptor::TYPE_FLOAT : return WireFormatLite::kFloatSize; 139 case FieldDescriptor::TYPE_DOUBLE : return WireFormatLite::kDoubleSize; 141 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize;
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_primitive_field.cc | 52 using internal::WireFormatLite; 135 case FieldDescriptor::TYPE_FIXED32 : return WireFormatLite::kFixed32Size; 136 case FieldDescriptor::TYPE_FIXED64 : return WireFormatLite::kFixed64Size; 137 case FieldDescriptor::TYPE_SFIXED32: return WireFormatLite::kSFixed32Size; 138 case FieldDescriptor::TYPE_SFIXED64: return WireFormatLite::kSFixed64Size; 139 case FieldDescriptor::TYPE_FLOAT : return WireFormatLite::kFloatSize; 140 case FieldDescriptor::TYPE_DOUBLE : return WireFormatLite::kDoubleSize; 142 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize;
|