/external/protobuf/src/google/protobuf/ |
D | unknown_field_set_unittest.cc | 191 empty_message_.unknown_fields()); in TEST_F() 199 empty_message_.unknown_fields(), target); in TEST_F() 205 WireFormat::SerializeUnknownFields(empty_message_.unknown_fields(), in TEST_F() 268 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 269 EXPECT_GT(other_message.unknown_fields().field_count(), 0); in TEST_F() 281 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 284 EXPECT_GT(empty_message_.unknown_fields().field_count(), 0); in TEST_F() 335 ASSERT_EQ(1, destination.unknown_fields().field_count()); in TEST_F() 337 destination.unknown_fields().field(0).type()); in TEST_F() 338 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); 146 UnknownFieldSet* unknown_fields, 150 static void SerializeUnknownFields(const UnknownFieldSet& unknown_fields, 158 const UnknownFieldSet& unknown_fields, 164 const UnknownFieldSet& unknown_fields, 172 const UnknownFieldSet& unknown_fields, 176 static int ComputeUnknownFieldsSize(const UnknownFieldSet& unknown_fields); 181 const UnknownFieldSet& unknown_fields); 253 UnknownFieldSet* unknown_fields); [all …]
|
D | reflection_ops_unittest.cc | 159 ASSERT_EQ(2, message1.unknown_fields().field_count()); in TEST() 161 message1.unknown_fields().field(0).type()); in TEST() 162 EXPECT_EQ(1, message1.unknown_fields().field(0).varint()); in TEST() 164 message1.unknown_fields().field(1).type()); in TEST() 165 EXPECT_EQ(2, message1.unknown_fields().field(1).varint()); in TEST() 251 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST() 285 EXPECT_EQ(1, message.unknown_fields().field_count()); in TEST() 287 .unknown_fields().field_count()); in TEST() 289 .unknown_fields().field_count()); in TEST() 295 EXPECT_EQ(0, message.unknown_fields().field_count()); in TEST() [all …]
|
D | wire_format.cc | 75 UnknownFieldSet* unknown_fields) { in SkipField() argument 82 if (unknown_fields != NULL) unknown_fields->AddVarint(number, value); in SkipField() 88 if (unknown_fields != NULL) unknown_fields->AddFixed64(number, value); in SkipField() 94 if (unknown_fields == NULL) { in SkipField() 97 if (!input->ReadString(unknown_fields->AddLengthDelimited(number), in SkipField() 106 if (!SkipMessage(input, (unknown_fields == NULL) ? in SkipField() 107 NULL : unknown_fields->AddGroup(number))) { in SkipField() 125 if (unknown_fields != NULL) unknown_fields->AddFixed32(number, value); in SkipField() 135 UnknownFieldSet* unknown_fields) { in SkipMessage() argument 150 if (!SkipField(input, tag, unknown_fields)) return false; in SkipMessage() [all …]
|
D | text_format_unittest.cc | 244 UnknownFieldSet* unknown_fields = message.mutable_unknown_fields(); in TEST_F() local 246 unknown_fields->AddVarint(5, 1); in TEST_F() 247 unknown_fields->AddFixed32(5, 2); in TEST_F() 248 unknown_fields->AddFixed64(5, 3); in TEST_F() 249 unknown_fields->AddLengthDelimited(5, "4"); in TEST_F() 250 unknown_fields->AddGroup(5)->AddVarint(10, 5); in TEST_F() 252 unknown_fields->AddVarint(8, 1); in TEST_F() 253 unknown_fields->AddVarint(8, 2); in TEST_F() 254 unknown_fields->AddVarint(8, 3); in TEST_F() 275 UnknownFieldSet* unknown_fields = message.mutable_unknown_fields(); in TEST_F() local [all …]
|
D | text_format.h | 74 static bool PrintUnknownFields(const UnknownFieldSet& unknown_fields, 81 static bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields, 138 bool PrintUnknownFields(const UnknownFieldSet& unknown_fields, 143 bool PrintUnknownFieldsToString(const UnknownFieldSet& unknown_fields, 282 void PrintUnknownFields(const UnknownFieldSet& unknown_fields,
|
D | descriptor.cc | 3050 const UnknownFieldSet& unknown_fields); 3055 UnknownFieldSet* unknown_fields); 3060 UnknownFieldSet* unknown_fields); 3065 UnknownFieldSet* unknown_fields); 3067 UnknownFieldSet* unknown_fields); 3069 UnknownFieldSet* unknown_fields); 3071 UnknownFieldSet* unknown_fields); 5735 google::protobuf::scoped_ptr<UnknownFieldSet> unknown_fields(new UnknownFieldSet()); in InterpretSingleOption() local 5736 if (!SetOptionValue(field, unknown_fields.get())) { in InterpretSingleOption() 5752 internal::WireFormat::SerializeUnknownFields(*unknown_fields, &out); in InterpretSingleOption() [all …]
|
D | descriptor.pb.cc | 1014 unknown_fields(), output); in SerializeWithCachedSizes() 1031 unknown_fields(), target); in SerializeWithCachedSizesToArray() 1052 unknown_fields()); in ByteSize() 1080 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom() 1602 unknown_fields(), output); in SerializeWithCachedSizes() 1709 unknown_fields(), target); in SerializeWithCachedSizesToArray() 1820 unknown_fields()); in ByteSize() 1876 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom() 2597 unknown_fields(), output); in SerializeWithCachedSizes() 2617 unknown_fields(), target); in SerializeWithCachedSizesToArray() [all …]
|
D | extension_set_heavy.cc | 55 explicit MessageSetFieldSkipper(UnknownFieldSet* unknown_fields) in MessageSetFieldSkipper() argument 56 : UnknownFieldSetFieldSkipper(unknown_fields) {} in MessageSetFieldSkipper() 291 UnknownFieldSet* unknown_fields) { in ParseField() argument 292 UnknownFieldSetFieldSkipper skipper(unknown_fields); in ParseField() 306 UnknownFieldSet* unknown_fields) { in ParseMessageSet() argument 307 MessageSetFieldSkipper skipper(unknown_fields); in ParseMessageSet()
|
D | descriptor.pb.h | 195 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 196 return _internal_metadata_.unknown_fields(); in unknown_fields() 287 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 288 return _internal_metadata_.unknown_fields(); in unknown_fields() 530 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 531 return _internal_metadata_.unknown_fields(); in unknown_fields() 629 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 630 return _internal_metadata_.unknown_fields(); in unknown_fields() 728 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 729 return _internal_metadata_.unknown_fields(); in unknown_fields() [all …]
|
D | text_format.cc | 1473 const UnknownFieldSet& unknown_fields, in PrintUnknownFieldsToString() argument 1479 return PrintUnknownFields(unknown_fields, &output_stream); in PrintUnknownFieldsToString() 1493 const UnknownFieldSet& unknown_fields, in PrintUnknownFields() argument 1497 PrintUnknownFields(unknown_fields, generator); in PrintUnknownFields() 1841 const UnknownFieldSet& unknown_fields, in PrintUnknownFields() argument 1843 return Printer().PrintUnknownFields(unknown_fields, output); in PrintUnknownFields() 1852 const UnknownFieldSet& unknown_fields, string* output) { in PrintUnknownFieldsToString() argument 1853 return Printer().PrintUnknownFieldsToString(unknown_fields, output); in PrintUnknownFieldsToString() 1884 const UnknownFieldSet& unknown_fields, TextGenerator& generator) const { in PrintUnknownFields() argument 1885 for (int i = 0; i < unknown_fields.field_count(); i++) { in PrintUnknownFields() [all …]
|
D | proto3_arena_unittest.cc | 143 UnknownFieldSet* unknown_fields = in TEST() local 146 unknown_fields->AddVarint(1, 2); in TEST()
|
D | arena_unittest.cc | 303 EXPECT_TRUE(arena_message_3->unknown_fields().empty()); in TEST() 327 EXPECT_EQ(0, arena1_message->unknown_fields().field_count()); in TEST() 328 EXPECT_EQ(1, arena2_message->unknown_fields().field_count()); in TEST() 329 EXPECT_EQ(42, arena2_message->unknown_fields().field(0).varint()); in TEST() 339 EXPECT_EQ(1, arena1_message->unknown_fields().field_count()); in TEST() 340 EXPECT_EQ(1, arena2_message->unknown_fields().field_count()); in TEST() 341 EXPECT_EQ(84, arena1_message->unknown_fields().field(0).varint()); in TEST() 342 EXPECT_EQ(42, arena2_message->unknown_fields().field(0).varint()); in TEST()
|
D | wire_format_unittest.cc | 440 EXPECT_EQ(0, raw.unknown_fields().field_count()); in TEST() 553 ASSERT_EQ(1, message_set.unknown_fields().field_count()); in TEST() 555 message_set.unknown_fields().field(0).type()); in TEST() 556 EXPECT_EQ("bar", message_set.unknown_fields().field(0).length_delimited()); in TEST() 1094 UnknownFieldSet unknown_fields; in TEST_F() local 1095 EXPECT_FALSE(WireFormat::SkipMessage(&coded_input, &unknown_fields)); in TEST_F()
|
/external/perfetto/src/tracing/core/ |
D | trace_config.cc | 95 unknown_fields_ = proto.unknown_fields(); in FromProto() 177 unknown_fields_ = proto.unknown_fields(); in FromProto() 217 unknown_fields_ = proto.unknown_fields(); in FromProto() 259 unknown_fields_ = proto.unknown_fields(); in FromProto() 313 unknown_fields_ = proto.unknown_fields(); in FromProto() 361 unknown_fields_ = proto.unknown_fields(); in FromProto()
|
D | commit_data_request.cc | 60 unknown_fields_ = proto.unknown_fields(); in FromProto() 106 unknown_fields_ = proto.unknown_fields(); in FromProto() 160 unknown_fields_ = proto.unknown_fields(); in FromProto() 210 unknown_fields_ = proto.unknown_fields(); in FromProto()
|
D | inode_file_config.cc | 76 unknown_fields_ = proto.unknown_fields(); in FromProto() 142 unknown_fields_ = proto.unknown_fields(); in FromProto()
|
D | data_source_descriptor.cc | 49 unknown_fields_ = proto.unknown_fields(); in FromProto()
|
D | chrome_config.cc | 45 unknown_fields_ = proto.unknown_fields(); in FromProto()
|
D | process_stats_config.cc | 65 unknown_fields_ = proto.unknown_fields(); in FromProto()
|
/external/protobuf/python/google/protobuf/internal/ |
D | unknown_fields_test.py | 154 self.unknown_fields = self.empty_message._unknown_fields 166 for tag_bytes, value in self.unknown_fields: 265 self.unknown_fields = self.missing_message._unknown_fields 277 for tag_bytes, value in self.unknown_fields:
|
/external/protobuf/src/google/protobuf/compiler/ |
D | plugin.pb.cc | 371 unknown_fields(), output); in SerializeWithCachedSizes() 409 unknown_fields(), target); in SerializeWithCachedSizesToArray() 444 unknown_fields()); in ByteSize() 479 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom() 876 unknown_fields(), output); in SerializeWithCachedSizes() 919 unknown_fields(), target); in SerializeWithCachedSizesToArray() 955 unknown_fields()); in ByteSize() 996 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom() 1206 unknown_fields(), output); in SerializeWithCachedSizes() 1234 unknown_fields(), target); in SerializeWithCachedSizesToArray() [all …]
|
D | plugin.pb.h | 60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 61 return _internal_metadata_.unknown_fields(); in unknown_fields() 184 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 185 return _internal_metadata_.unknown_fields(); in unknown_fields() 308 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function 309 return _internal_metadata_.unknown_fields(); in unknown_fields()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_enum_lite.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()
|
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()
|