/external/protobuf/src/google/protobuf/ |
D | unknown_field_set_unittest.cc | 188 empty_message_.unknown_fields()); in TEST_F() 196 empty_message_.unknown_fields(), target); in TEST_F() 202 WireFormat::SerializeUnknownFields(empty_message_.unknown_fields(), in TEST_F() 265 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 266 EXPECT_GT(other_message.unknown_fields().field_count(), 0); in TEST_F() 278 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 281 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 332 ASSERT_EQ(1, destination.unknown_fields().field_count()); in TEST_F() 334 destination.unknown_fields().field(0).type()); in TEST_F() 335 EXPECT_EQ(654321, destination.unknown_fields().field(0).varint()); in TEST_F() [all …]
|
D | wire_format.h | 134 UnknownFieldSet* unknown_fields); 139 UnknownFieldSet* unknown_fields); 142 static void SerializeUnknownFields(const UnknownFieldSet& unknown_fields, 150 const UnknownFieldSet& unknown_fields, 156 const UnknownFieldSet& unknown_fields, 164 const UnknownFieldSet& unknown_fields, 168 static int ComputeUnknownFieldsSize(const UnknownFieldSet& unknown_fields); 173 const UnknownFieldSet& unknown_fields); 252 UnknownFieldSet* unknown_fields); 268 UnknownFieldSetFieldSkipper(UnknownFieldSet* unknown_fields) in UnknownFieldSetFieldSkipper() argument [all …]
|
D | reflection_ops_unittest.cc | 158 ASSERT_EQ(2, message1.unknown_fields().field_count()); in TEST() 160 message1.unknown_fields().field(0).type()); in TEST() 161 EXPECT_EQ(1, message1.unknown_fields().field(0).varint()); in TEST() 163 message1.unknown_fields().field(1).type()); in TEST() 164 EXPECT_EQ(2, message1.unknown_fields().field(1).varint()); in TEST() 250 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST() 284 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST() 286 .unknown_fields().field_count()); in TEST() 288 .unknown_fields().field_count()); in TEST() 294 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST() [all …]
|
D | wire_format.cc | 83 UnknownFieldSet* unknown_fields) { in SkipField() argument 90 if (unknown_fields != NULL) unknown_fields->AddVarint(number, value); in SkipField() 96 if (unknown_fields != NULL) unknown_fields->AddFixed64(number, value); in SkipField() 102 if (unknown_fields == NULL) { in SkipField() 105 if (!input->ReadString(unknown_fields->AddLengthDelimited(number), in SkipField() 114 if (!SkipMessage(input, (unknown_fields == NULL) ? in SkipField() 115 NULL : unknown_fields->AddGroup(number))) { in SkipField() 133 if (unknown_fields != NULL) unknown_fields->AddFixed32(number, value); in SkipField() 143 UnknownFieldSet* unknown_fields) { in SkipMessage() argument 158 if (!SkipField(input, tag, unknown_fields)) return false; in SkipMessage() [all …]
|
D | descriptor.pb.cc | 887 if (!unknown_fields().empty()) { in SerializeWithCachedSizes() 889 unknown_fields(), output); in SerializeWithCachedSizes() 904 if (!unknown_fields().empty()) { in SerializeWithCachedSizesToArray() 906 unknown_fields(), target); in SerializeWithCachedSizesToArray() 923 if (!unknown_fields().empty()) { in ByteSize() 926 unknown_fields()); in ByteSize() 949 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom() 1388 if (!unknown_fields().empty()) { in SerializeWithCachedSizes() 1390 unknown_fields(), output); in SerializeWithCachedSizes() 1484 if (!unknown_fields().empty()) { in SerializeWithCachedSizesToArray() [all …]
|
D | text_format_unittest.cc | 239 UnknownFieldSet* unknown_fields = message.mutable_unknown_fields(); in TEST_F() local 241 unknown_fields->AddVarint(5, 1); in TEST_F() 242 unknown_fields->AddFixed32(5, 2); in TEST_F() 243 unknown_fields->AddFixed64(5, 3); in TEST_F() 244 unknown_fields->AddLengthDelimited(5, "4"); in TEST_F() 245 unknown_fields->AddGroup(5)->AddVarint(10, 5); in TEST_F() 247 unknown_fields->AddVarint(8, 1); in TEST_F() 248 unknown_fields->AddVarint(8, 2); in TEST_F() 249 unknown_fields->AddVarint(8, 3); in TEST_F() 270 UnknownFieldSet* unknown_fields = message.mutable_unknown_fields(); in TEST_F() local [all …]
|
D | text_format.h | 71 static bool PrintUnknownFields(const UnknownFieldSet& unknown_fields, 78 static bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields, 135 bool PrintUnknownFields(const UnknownFieldSet& unknown_fields, 140 bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields, 256 void PrintUnknownFields(const UnknownFieldSet& unknown_fields,
|
D | descriptor.cc | 2560 const UnknownFieldSet& unknown_fields); 2565 UnknownFieldSet* unknown_fields); 2570 UnknownFieldSet* unknown_fields); 2575 UnknownFieldSet* unknown_fields); 2577 UnknownFieldSet* unknown_fields); 2579 UnknownFieldSet* unknown_fields); 2581 UnknownFieldSet* unknown_fields); 4881 scoped_ptr<UnknownFieldSet> unknown_fields(new UnknownFieldSet()); in InterpretSingleOption() local 4882 if (!SetOptionValue(field, unknown_fields.get())) { in InterpretSingleOption() 4897 internal::WireFormat::SerializeUnknownFields(*unknown_fields, &out); in InterpretSingleOption() [all …]
|
D | text_format.cc | 1378 const UnknownFieldSet& unknown_fields, in PrintUnknownFieldsToString() argument 1384 return PrintUnknownFields(unknown_fields, &output_stream); in PrintUnknownFieldsToString() 1398 const UnknownFieldSet& unknown_fields, in PrintUnknownFields() argument 1402 PrintUnknownFields(unknown_fields, generator); in PrintUnknownFields() 1608 const UnknownFieldSet& unknown_fields, in PrintUnknownFields() argument 1610 return Printer().PrintUnknownFields(unknown_fields, output); in PrintUnknownFields() 1619 const UnknownFieldSet& unknown_fields, string* output) { in PrintUnknownFieldsToString() argument 1620 return Printer().PrintUnknownFieldsToString(unknown_fields, output); in PrintUnknownFieldsToString() 1651 const UnknownFieldSet& unknown_fields, TextGenerator& generator) const { in PrintUnknownFields() argument 1652 for (int i = 0; i < unknown_fields.field_count(); i++) { in PrintUnknownFields() [all …]
|
D | extension_set_heavy.cc | 55 explicit MessageSetFieldSkipper(UnknownFieldSet* unknown_fields) in MessageSetFieldSkipper() argument 56 : UnknownFieldSetFieldSkipper(unknown_fields) {} in MessageSetFieldSkipper() 271 UnknownFieldSet* unknown_fields) { in ParseField() argument 272 UnknownFieldSetFieldSkipper skipper(unknown_fields); in ParseField() 286 UnknownFieldSet* unknown_fields) { in ParseMessageSet() argument 287 MessageSetFieldSkipper skipper(unknown_fields); in ParseMessageSet()
|
D | wire_format_unittest.cc | 436 EXPECT_EQ(0, raw.unknown_fields().field_count()); in TEST() 549 ASSERT_EQ(1, message_set.unknown_fields().field_count()); in TEST() 551 message_set.unknown_fields().field(0).type()); in TEST() 552 EXPECT_EQ("bar", message_set.unknown_fields().field(0).length_delimited()); in TEST() 927 UnknownFieldSet unknown_fields; in TEST_F() local 928 EXPECT_FALSE(WireFormat::SkipMessage(&coded_input, &unknown_fields)); in TEST_F()
|
D | generated_message_reflection_unittest.cc | 202 EXPECT_EQ(1, message1.unknown_fields().field_count()); in TEST() 203 EXPECT_EQ(0, message2.unknown_fields().field_count()); in TEST() 206 EXPECT_EQ(0, message1.unknown_fields().field_count()); in TEST() 207 EXPECT_EQ(1, message2.unknown_fields().field_count()); in TEST()
|
D | descriptor.pb.h | 169 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 251 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 469 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 558 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 734 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 980 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 1064 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 1173 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 1279 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 1388 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function [all …]
|
D | wire_format_lite.h | 546 explicit CodedOutputStreamFieldSkipper(io::CodedOutputStream* unknown_fields) in CodedOutputStreamFieldSkipper() argument 547 : unknown_fields_(unknown_fields) {} in CodedOutputStreamFieldSkipper()
|
D | extension_set.h | 361 UnknownFieldSet* unknown_fields); 364 io::CodedOutputStream* unknown_fields); 378 UnknownFieldSet* unknown_fields);
|
D | lite_unittest.cc | 345 GOOGLE_CHECK_EQ(0, empty_message.unknown_fields().size()); in main()
|
D | extension_set.cc | 1181 io::CodedOutputStream* unknown_fields) { in ParseField() argument 1182 CodedOutputStreamFieldSkipper skipper(unknown_fields); in ParseField()
|
/external/protobuf/src/google/protobuf/compiler/ |
D | plugin.pb.cc | 351 if (!unknown_fields().empty()) { in SerializeWithCachedSizes() 353 unknown_fields(), output); in SerializeWithCachedSizes() 389 if (!unknown_fields().empty()) { in SerializeWithCachedSizesToArray() 391 unknown_fields(), target); in SerializeWithCachedSizesToArray() 424 if (!unknown_fields().empty()) { in ByteSize() 427 unknown_fields()); in ByteSize() 456 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom() 707 if (!unknown_fields().empty()) { in SerializeWithCachedSizes() 709 unknown_fields(), output); in SerializeWithCachedSizes() 750 if (!unknown_fields().empty()) { in SerializeWithCachedSizesToArray() [all …]
|
D | plugin.pb.h | 57 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 171 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 285 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
|
/external/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 56 self.unknown_fields = self.empty_message._unknown_fields 63 for tag_bytes, value in self.unknown_fields: 107 self.assertEqual(self.unknown_fields, message._unknown_fields) 121 unknown_fields = destination._unknown_fields[:] 124 self.assertEqual(unknown_fields + source._unknown_fields, 197 self.unknown_fields = self.missing_message._unknown_fields 204 for tag_bytes, value in self.unknown_fields:
|
D | python_message.py | 727 unknown_fields = list(self._unknown_fields) 728 unknown_fields.sort() 732 return unknown_fields == other_unknown_fields
|
D | reflection_test.py | 2295 unknown_fields = unittest_pb2.TestEmptyMessage() 2303 pos2 = unknown_fields._InternalParse(serialized, 0, truncation_point) 2310 self.assertRaises(message.DecodeError, unknown_fields._InternalParse,
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum.cc | 54 if (descriptor->options().unknown_fields().field_count() > 0) return true; in EnumHasCustomOptions() 57 if (value->options().unknown_fields().field_count() > 0) return true; in EnumHasCustomOptions()
|
/external/nanopb-c/generator/google/protobuf/internal/ |
D | python_message.py | 681 unknown_fields = list(self._unknown_fields) 682 unknown_fields.sort() 686 return unknown_fields == other_unknown_fields
|