Searched refs:WireFormat (Results 1 - 25 of 61) sorted by relevance

123

/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dwire_format.h75 class LIBPROTOBUF_EXPORT WireFormat { class in namespace:google::protobuf::internal
124 // WireFormat::SerializeWithCachedSizes() on the same object.
194 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(WireFormat);
199 inline WireFormatLite::WireType WireFormat::WireTypeForField(
208 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
217 inline uint32 WireFormat::MakeTag(const FieldDescriptor* field) {
221 inline int WireFormat::TagSize(int field_number, FieldDescriptor::Type type) {
229 inline void WireFormat::VerifyUTF8String(const char* data, int size,
230 WireFormat::Operation op) {
232 WireFormat
[all...]
H A Dwire_format_unittest.cc86 // Parse using WireFormat.
89 WireFormat::ParseAndMergePartial(&input, &dest);
103 // Parse using WireFormat.
106 WireFormat::ParseAndMergePartial(&input, &dest);
120 // Parse using WireFormat.
123 WireFormat::ParseAndMergePartial(&input, &dest);
135 // Parse using WireFormat.
139 WireFormat::ParseAndMergePartial(&input, &dest);
151 // Parse using WireFormat.
155 WireFormat
[all...]
H A Dunknown_field_set_unittest.cc54 using internal::WireFormat;
182 int size = WireFormat::ComputeUnknownFieldsSize(
190 uint8* result = WireFormat::SerializeUnknownFieldsToArray(
197 WireFormat::SerializeUnknownFields(empty_message_.unknown_fields(),
224 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message));
238 int size = WireFormat::ByteSize(empty_message_);
239 WireFormat::SerializeWithCachedSizes(empty_message_, size, &output);
356 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &all_types_message));
379 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message));
H A Ddescriptor.pb.cc1056 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1058 ::google::protobuf::internal::WireFormat::PARSE);
1073 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1075 ::google::protobuf::internal::WireFormat::PARSE);
1090 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1093 ::google::protobuf::internal::WireFormat::PARSE);
1254 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1256 ::google::protobuf::internal::WireFormat::SERIALIZE);
1263 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1265 ::google::protobuf::internal::WireFormat
[all...]
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DCodedOutputStream.java136 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64);
143 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32);
150 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
157 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
164 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
171 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED64);
178 writeTag(fieldNumber, WireFormat.WIRETYPE_FIXED32);
185 writeTag(fieldNumber, WireFormat.WIRETYPE_VARINT);
192 writeTag(fieldNumber, WireFormat.WIRETYPE_LENGTH_DELIMITED);
199 writeTag(fieldNumber, WireFormat
[all...]
H A DFieldSet.java58 WireFormat.FieldType getLiteType();
59 WireFormat.JavaType getLiteJavaType();
292 private static void verifyType(final WireFormat.FieldType type,
344 if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) {
367 * {@link WireFormat}.
369 static int getWireFormatForFieldType(final WireFormat.FieldType type,
372 return WireFormat.WIRETYPE_LENGTH_DELIMITED;
399 } else if (descriptor.getLiteJavaType() == WireFormat.JavaType.MESSAGE) {
418 // other class. Probably WireFormat.
433 final WireFormat
[all...]
H A DCodedInputStream.java87 if (WireFormat.getTagFieldNumber(lastTag) == 0) {
117 switch (WireFormat.getTagWireType(tag)) {
118 case WireFormat.WIRETYPE_VARINT:
121 case WireFormat.WIRETYPE_FIXED64:
124 case WireFormat.WIRETYPE_LENGTH_DELIMITED:
127 case WireFormat.WIRETYPE_START_GROUP:
130 WireFormat.makeTag(WireFormat.getTagFieldNumber(tag),
131 WireFormat.WIRETYPE_END_GROUP));
133 case WireFormat
[all...]
H A DGeneratedMessageLite.java178 WireFormat.JavaType.MESSAGE &&
308 final int wireType = WireFormat.getTagWireType(tag);
309 final int fieldNumber = WireFormat.getTagFieldNumber(tag);
340 if (extension.descriptor.getLiteType() == WireFormat.FieldType.ENUM) {
377 WireFormat.FieldType.GROUP) {
433 final WireFormat.FieldType type,
445 private final WireFormat.FieldType type;
453 public WireFormat.FieldType getLiteType() {
457 public WireFormat.JavaType getLiteJavaType() {
519 final WireFormat
[all...]
H A DWireFormat.java44 public final class WireFormat { class
46 private WireFormat() {} method in class:WireFormat
H A DUnknownFieldSet.java475 final int number = WireFormat.getTagFieldNumber(tag);
476 switch (WireFormat.getTagWireType(tag)) {
477 case WireFormat.WIRETYPE_VARINT:
480 case WireFormat.WIRETYPE_FIXED64:
483 case WireFormat.WIRETYPE_LENGTH_DELIMITED:
486 case WireFormat.WIRETYPE_START_GROUP:
492 case WireFormat.WIRETYPE_END_GROUP:
494 case WireFormat.WIRETYPE_FIXED32:
/external/protobuf/src/google/protobuf/
H A Dwire_format.h74 class LIBPROTOBUF_EXPORT WireFormat { class in namespace:google::protobuf::internal
123 // WireFormat::SerializeWithCachedSizes() on the same object.
241 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(WireFormat);
262 inline WireFormatLite::WireType WireFormat::WireTypeForField(
271 inline WireFormatLite::WireType WireFormat::WireTypeForFieldType(
280 inline uint32 WireFormat::MakeTag(const FieldDescriptor* field) {
284 inline int WireFormat::TagSize(int field_number, FieldDescriptor::Type type) {
292 inline void WireFormat::VerifyUTF8String(const char* data, int size,
293 WireFormat::Operation op) {
295 WireFormat
[all...]
H A Dwire_format_unittest.cc86 // Parse using WireFormat.
89 WireFormat::ParseAndMergePartial(&input, &dest);
103 // Parse using WireFormat.
106 WireFormat::ParseAndMergePartial(&input, &dest);
120 // Parse using WireFormat.
123 WireFormat::ParseAndMergePartial(&input, &dest);
135 // Parse using WireFormat.
139 WireFormat::ParseAndMergePartial(&input, &dest);
151 // Parse using WireFormat.
155 WireFormat
[all...]
H A Ddescriptor.pb.cc736 DO_(::google::protobuf::internal::WireFormat::SkipField(
755 ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
770 target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
789 ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
965 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
967 ::google::protobuf::internal::WireFormat::PARSE);
982 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
984 ::google::protobuf::internal::WireFormat::PARSE);
999 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
1001 ::google::protobuf::internal::WireFormat
[all...]
H A Dwire_format.cc70 return WireFormat::SkipField(input, tag, unknown_fields_);
74 return WireFormat::SkipMessage(input, unknown_fields_);
82 bool WireFormat::SkipField(io::CodedInputStream* input, uint32 tag,
142 bool WireFormat::SkipMessage(io::CodedInputStream* input,
162 void WireFormat::SerializeUnknownFields(const UnknownFieldSet& unknown_fields,
199 uint8* WireFormat::SerializeUnknownFieldsToArray(
234 void WireFormat::SerializeUnknownMessageSetItems(
262 uint8* WireFormat::SerializeUnknownMessageSetItemsToArray(
298 int WireFormat::ComputeUnknownFieldsSize(
346 int WireFormat
[all...]
H A Dmessage.cc56 using internal::WireFormat;
116 return WireFormat::ParseAndMergePartial(input, this);
142 WireFormat::SerializeWithCachedSizes(*this, GetCachedSize(), output);
146 int size = WireFormat::ByteSize(*this);
H A Dunknown_field_set_unittest.cc54 using internal::WireFormat;
182 int size = WireFormat::ComputeUnknownFieldsSize(
190 uint8* result = WireFormat::SerializeUnknownFieldsToArray(
197 WireFormat::SerializeUnknownFields(empty_message_.unknown_fields(),
224 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message));
238 int size = WireFormat::ByteSize(empty_message_);
239 WireFormat::SerializeWithCachedSizes(empty_message_, size, &output);
347 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &all_types_message));
370 ASSERT_TRUE(WireFormat::ParseAndMergePartial(&input, &message));
/external/protobuf/src/google/protobuf/compiler/
H A Dplugin.pb.cc244 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
246 ::google::protobuf::internal::WireFormat::PARSE);
262 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
264 ::google::protobuf::internal::WireFormat::PARSE);
293 DO_(::google::protobuf::internal::WireFormat::SkipField(
307 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
309 ::google::protobuf::internal::WireFormat::SERIALIZE);
316 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
318 ::google::protobuf::internal::WireFormat::SERIALIZE);
330 ::google::protobuf::internal::WireFormat
[all...]
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
H A Dplugin.pb.cc251 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
254 ::google::protobuf::internal::WireFormat::PARSE);
270 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
272 ::google::protobuf::internal::WireFormat::PARSE);
315 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
317 ::google::protobuf::internal::WireFormat::SERIALIZE);
324 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
326 ::google::protobuf::internal::WireFormat::SERIALIZE);
347 ::google::protobuf::internal::WireFormat::VerifyUTF8String(
349 ::google::protobuf::internal::WireFormat
[all...]
/external/google-tv-pairing-protocol/java/src/com/google/polo/wire/
H A DWireFormat.java27 public enum WireFormat { enum
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_extension.cc44 using internal::WireFormat;
88 string tag = SimpleItoa(WireFormat::MakeTag(descriptor));
113 WireFormat::WireTypeForFieldType(descriptor->type())));
H A Djavanano_message_field.cc49 using internal::WireFormat;
69 (*variables)["tag"] = SimpleItoa(WireFormat::MakeTag(descriptor));
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc52 using internal::WireFormat;
64 WireFormat::TagSize(descriptor->number(), descriptor->type()));
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_field.cc52 using internal::WireFormat;
63 WireFormat::TagSize(descriptor->number(), descriptor->type()));
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_enum_field.cc63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor));
65 internal::WireFormat::TagSize(descriptor->number(), GetType(descriptor)));
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_enum_field.cc63 (*variables)["tag"] = SimpleItoa(internal::WireFormat::MakeTag(descriptor));
65 internal::WireFormat::TagSize(descriptor->number(), descriptor->type()));

Completed in 9044 milliseconds

123