Home
last modified time | relevance | path

Searched refs:DiscardUnknownFields (Results 1 – 17 of 17) sorted by relevance

/external/protobuf/csharp/src/Google.Protobuf/
DMessageParser.cs46 internal bool DiscardUnknownFields { get; } property in Google.Protobuf.MessageParser
53 DiscardUnknownFields = discardUnknownFields; in MessageParser()
74 message.MergeFrom(data, DiscardUnknownFields, Extensions); in ParseFrom()
89 message.MergeFrom(data, offset, length, DiscardUnknownFields, Extensions); in ParseFrom()
102 message.MergeFrom(data, DiscardUnknownFields, Extensions); in ParseFrom()
115 message.MergeFrom(input, DiscardUnknownFields, Extensions); in ParseFrom()
132 message.MergeDelimitedFrom(input, DiscardUnknownFields, Extensions); in ParseDelimitedFrom()
167 bool originalDiscard = codedInput.DiscardUnknownFields; in MergeFrom()
170 codedInput.DiscardUnknownFields = DiscardUnknownFields; in MergeFrom()
175 codedInput.DiscardUnknownFields = originalDiscard; in MergeFrom()
[all …]
DMessageExtensions.cs199 input.DiscardUnknownFields = discardUnknownFields; in MergeFrom()
210 input.DiscardUnknownFields = discardUnknownFields; in MergeFrom()
221 input.DiscardUnknownFields = discardUnknownFields; in MergeFrom()
232 codedInput.DiscardUnknownFields = discardUnknownFields; in MergeFrom()
DUnknownFieldSet.cs248 if (input.DiscardUnknownFields) in MergeFieldFrom()
DCodedInputStream.cs273 internal bool DiscardUnknownFields { get; set; } property in Google.Protobuf.CodedInputStream
/external/protobuf/src/google/protobuf/
Dreflection_ops.cc238 void ReflectionOps::DiscardUnknownFields(Message* message) { in DiscardUnknownFields() function in google::protobuf::internal::ReflectionOps
261 ->DiscardUnknownFields(); in DiscardUnknownFields()
272 ->DiscardUnknownFields(); in DiscardUnknownFields()
275 reflection->MutableMessage(message, field)->DiscardUnknownFields(); in DiscardUnknownFields()
Dpreserve_unknown_enum_test.cc120 message->DiscardUnknownFields(); in TEST()
139 message2.DiscardUnknownFields(); in TEST()
167 message2.DiscardUnknownFields(); in TEST()
Dreflection_ops.h69 static void DiscardUnknownFields(Message* message);
Dreflection_ops_unittest.cc273 TEST(ReflectionOpsTest, DiscardUnknownFields) { in TEST() argument
293 ReflectionOps::DiscardUnknownFields(&message); in TEST()
326 ReflectionOps::DiscardUnknownFields(&message); in TEST()
Dmessage.cc136 void Message::DiscardUnknownFields() { in DiscardUnknownFields() function in google::protobuf::Message
137 return ReflectionOps::DiscardUnknownFields(this); in DiscardUnknownFields()
Dmessage.h264 virtual void DiscardUnknownFields();
Dmap_test.cc2898 ReflectionOps::DiscardUnknownFields(&message); in TEST()
/external/protobuf/python/google/protobuf/
Dmessage.py277 def DiscardUnknownFields(self): member in Message
/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py121 self.empty_message.DiscardUnknownFields()
135 message.DiscardUnknownFields()
147 msg.DiscardUnknownFields()
Dpython_message.py1395 value[key].DiscardUnknownFields()
1398 sub_message.DiscardUnknownFields()
1400 value.DiscardUnknownFields()
1433 cls.DiscardUnknownFields = _DiscardUnknownFields
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing_test.cc63 example.DiscardUnknownFields(); in TestCorrectness()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2110 static PyObject* DiscardUnknownFields(CMessage* self) { in DiscardUnknownFields() function
2112 self->message->DiscardUnknownFields(); in DiscardUnknownFields()
2547 { "DiscardUnknownFields", (PyCFunction)DiscardUnknownFields, METH_NOARGS,
/external/protobuf/
DCHANGES.txt336 unknowns fields being dropped. Please use DiscardUnknownFields() explicitly.
363 message.DiscardUnknownFields() to drop unknown fields.
433 Message::DiscardUnknownFields() explicitly.
1005 * Added DiscardUnknownFields API for python protobuf message.