HomeSort by relevance Sort by last modified time
    Searched refs:WireFormatLite (Results 1 - 21 of 21) sorted by null

  /external/protobuf/src/google/protobuf/
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::WireType>(-1), // invali
    [all...]
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::TYPE_SINT32>
    [all...]
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::WIRETYPE_END_GROUP)))
    [all...]
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::TYPE_MESSAGE |
    [all...]
descriptor.pb.cc     [all...]
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::TagSize(field_number
    [all...]
wire_format_lite.h 70 class LIBPROTOBUF_EXPORT WireFormatLite {
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::WIRETYPE_VARINT)
    [all...]
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::Write##CAMELCASE##ToArray(
    [all...]
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,
538 #define ZigZagEncode32(x) WireFormatLite::ZigZagEncode32(x)
539 #define ZigZagDecode32(x) WireFormatLite::ZigZagDecode32(x
    [all...]
descriptor_database.cc 351 const uint32 kNameTag = internal::WireFormatLite::MakeTag(
353 internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED);
357 return internal::WireFormatLite::ReadString(&input, output);
descriptor.cc     [all...]
  /external/webrtc/src/modules/audio_processing/main/test/unit_test/
audio_processing_unittest.pb.cc 118 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
121 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
122 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
123 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
124 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
136 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
137 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
139 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
140 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
152 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) =
    [all...]
  /frameworks/base/opengl/libs/GLES2_dbg/src/
debugger_message.pb.cpp 635 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
638 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
639 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
640 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
641 ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(
653 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
654 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
657 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
658 int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(
672 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) =
    [all...]
  /hardware/ril/mock-ril/src/cpp/
msgheader.pb.cpp 174 switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
177 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
178 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
179 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
180 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
192 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
193 ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) {
195 DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<
196 ::google::protobuf::uint32, ::google::protobuf::internal::WireFormatLite::TYPE_UINT32>(
208 if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) =
    [all...]
  /external/protobuf/src/google/protobuf/compiler/
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::ReadMessageNoVirtual
    [all...]
  /external/protobuf/src/google/protobuf/compiler/cpp/
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::ReadPrimitive<\n
    [all...]
cpp_message.cc 56 using internal::WireFormatLite;
    [all...]
  /external/protobuf/src/google/protobuf/compiler/java/
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;
java_message.cc 53 using internal::WireFormatLite;
857 uint32 tag = WireFormatLite::MakeTag(field->number(),
875 uint32 packed_tag = WireFormatLite::MakeTag(field->number(),
876 WireFormatLite::WIRETYPE_LENGTH_DELIMITED);
    [all...]
  /external/protobuf/src/google/protobuf/compiler/javamicro/
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;
javamicro_message.cc 52 using internal::WireFormatLite;
319 uint32 tag = WireFormatLite::MakeTag(field->number(),

Completed in 960 milliseconds