Home
last modified time | relevance | path

Searched refs:unknown_fields (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunknown_field_set_unittest.cc191 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 …]
Dwire_format.h134 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 …]
Dreflection_ops_unittest.cc159 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 …]
Dwire_format.cc75 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 …]
Dtext_format_unittest.cc244 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 …]
Dtext_format.h74 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,
Ddescriptor.cc3056 const UnknownFieldSet& unknown_fields);
3061 UnknownFieldSet* unknown_fields);
3066 UnknownFieldSet* unknown_fields);
3071 UnknownFieldSet* unknown_fields);
3073 UnknownFieldSet* unknown_fields);
3075 UnknownFieldSet* unknown_fields);
3077 UnknownFieldSet* unknown_fields);
5754 google::protobuf::scoped_ptr<UnknownFieldSet> unknown_fields(new UnknownFieldSet()); in InterpretSingleOption() local
5755 if (!SetOptionValue(field, unknown_fields.get())) { in InterpretSingleOption()
5771 internal::WireFormat::SerializeUnknownFields(*unknown_fields, &out); in InterpretSingleOption()
[all …]
Ddescriptor.pb.cc1036 unknown_fields(), output); in SerializeWithCachedSizes()
1053 unknown_fields(), target); in InternalSerializeWithCachedSizesToArray()
1074 unknown_fields()); in ByteSize()
1106 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom()
1628 unknown_fields(), output); in SerializeWithCachedSizes()
1735 unknown_fields(), target); in InternalSerializeWithCachedSizesToArray()
1846 unknown_fields()); in ByteSize()
1906 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom()
2627 unknown_fields(), output); in SerializeWithCachedSizes()
2647 unknown_fields(), target); in InternalSerializeWithCachedSizesToArray()
[all …]
Dproto3_arena_unittest.cc143 UnknownFieldSet* unknown_fields = in TEST() local
146 unknown_fields->AddVarint(1, 2); in TEST()
Ddescriptor.pb.h196 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
197 return _internal_metadata_.unknown_fields(); in unknown_fields()
292 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
293 return _internal_metadata_.unknown_fields(); in unknown_fields()
539 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
540 return _internal_metadata_.unknown_fields(); in unknown_fields()
642 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
643 return _internal_metadata_.unknown_fields(); in unknown_fields()
745 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
746 return _internal_metadata_.unknown_fields(); in unknown_fields()
[all …]
Dextension_set_heavy.cc55 explicit MessageSetFieldSkipper(UnknownFieldSet* unknown_fields) in MessageSetFieldSkipper() argument
56 : UnknownFieldSetFieldSkipper(unknown_fields) {} in MessageSetFieldSkipper()
314 UnknownFieldSet* unknown_fields) { in ParseField() argument
315 UnknownFieldSetFieldSkipper skipper(unknown_fields); in ParseField()
329 UnknownFieldSet* unknown_fields) { in ParseMessageSet() argument
330 MessageSetFieldSkipper skipper(unknown_fields); in ParseMessageSet()
Dtext_format.cc1505 const UnknownFieldSet& unknown_fields, in PrintUnknownFieldsToString() argument
1511 return PrintUnknownFields(unknown_fields, &output_stream); in PrintUnknownFieldsToString()
1525 const UnknownFieldSet& unknown_fields, in PrintUnknownFields() argument
1529 PrintUnknownFields(unknown_fields, generator); in PrintUnknownFields()
1873 const UnknownFieldSet& unknown_fields, in PrintUnknownFields() argument
1875 return Printer().PrintUnknownFields(unknown_fields, output); in PrintUnknownFields()
1884 const UnknownFieldSet& unknown_fields, string* output) { in PrintUnknownFieldsToString() argument
1885 return Printer().PrintUnknownFieldsToString(unknown_fields, output); in PrintUnknownFieldsToString()
1916 const UnknownFieldSet& unknown_fields, TextGenerator& generator) const { in PrintUnknownFields() argument
1917 for (int i = 0; i < unknown_fields.field_count(); i++) { in PrintUnknownFields()
[all …]
Dmetadata.h72 GOOGLE_ATTRIBUTE_ALWAYS_INLINE const UnknownFieldSet& unknown_fields() const { in unknown_fields() function
Darena_unittest.cc302 EXPECT_TRUE(arena_message_3->unknown_fields().empty()); in TEST()
326 EXPECT_EQ(0, arena1_message->unknown_fields().field_count()); in TEST()
327 EXPECT_EQ(1, arena2_message->unknown_fields().field_count()); in TEST()
328 EXPECT_EQ(42, arena2_message->unknown_fields().field(0).varint()); in TEST()
338 EXPECT_EQ(1, arena1_message->unknown_fields().field_count()); in TEST()
339 EXPECT_EQ(1, arena2_message->unknown_fields().field_count()); in TEST()
340 EXPECT_EQ(84, arena1_message->unknown_fields().field(0).varint()); in TEST()
341 EXPECT_EQ(42, arena2_message->unknown_fields().field(0).varint()); in TEST()
Dwire_format_unittest.cc440 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()
Dgenerated_message_reflection_unittest.cc208 EXPECT_EQ(1, message1.unknown_fields().field_count()); in TEST()
209 EXPECT_EQ(0, message2.unknown_fields().field_count()); in TEST()
212 EXPECT_EQ(0, message1.unknown_fields().field_count()); in TEST()
213 EXPECT_EQ(1, message2.unknown_fields().field_count()); in TEST()
Dwire_format_lite.h596 explicit CodedOutputStreamFieldSkipper(io::CodedOutputStream* unknown_fields) in CodedOutputStreamFieldSkipper() argument
597 : unknown_fields_(unknown_fields) {} in CodedOutputStreamFieldSkipper()
Dextension_set.h376 UnknownFieldSet* unknown_fields);
379 io::CodedOutputStream* unknown_fields);
393 UnknownFieldSet* unknown_fields);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dunknown_fields_test.py154 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:
Dpython_message.py971 unknown_fields = list(self._unknown_fields)
972 unknown_fields.sort()
976 return unknown_fields == other_unknown_fields
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_enum_lite.cc54 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()
Djava_enum.cc54 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()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dplugin.pb.cc364 unknown_fields(), output); in SerializeWithCachedSizes()
402 unknown_fields(), target); in InternalSerializeWithCachedSizesToArray()
437 unknown_fields()); in ByteSize()
476 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom()
873 unknown_fields(), output); in SerializeWithCachedSizes()
916 unknown_fields(), target); in InternalSerializeWithCachedSizesToArray()
952 unknown_fields()); in ByteSize()
997 mutable_unknown_fields()->MergeFrom(from.unknown_fields()); in MergeFrom()
1207 unknown_fields(), output); in SerializeWithCachedSizes()
1235 unknown_fields(), target); in InternalSerializeWithCachedSizesToArray()
[all …]
Dplugin.pb.h60 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
61 return _internal_metadata_.unknown_fields(); in unknown_fields()
188 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
189 return _internal_metadata_.unknown_fields(); in unknown_fields()
316 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { in unknown_fields() function
317 return _internal_metadata_.unknown_fields(); in unknown_fields()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/
Dprotostream_objectsource.cc189 google::protobuf::UnknownFieldSet unknown_fields; in WriteMessage() local
206 render_unknown_fields_ ? &unknown_fields : NULL); in WriteMessage()

12