Home
last modified time | relevance | path

Searched refs:ClearField (Results 1 – 25 of 35) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dmap_test_util.cc761 reflection->ClearField(message, F("map_int32_int32")); in ClearMapFieldsViaReflection()
762 reflection->ClearField(message, F("map_int64_int64")); in ClearMapFieldsViaReflection()
763 reflection->ClearField(message, F("map_uint32_uint32")); in ClearMapFieldsViaReflection()
764 reflection->ClearField(message, F("map_uint64_uint64")); in ClearMapFieldsViaReflection()
765 reflection->ClearField(message, F("map_sint32_sint32")); in ClearMapFieldsViaReflection()
766 reflection->ClearField(message, F("map_sint64_sint64")); in ClearMapFieldsViaReflection()
767 reflection->ClearField(message, F("map_fixed32_fixed32")); in ClearMapFieldsViaReflection()
768 reflection->ClearField(message, F("map_fixed64_fixed64")); in ClearMapFieldsViaReflection()
769 reflection->ClearField(message, F("map_sfixed32_sfixed32")); in ClearMapFieldsViaReflection()
770 reflection->ClearField(message, F("map_sfixed64_sfixed64")); in ClearMapFieldsViaReflection()
[all …]
Dno_field_presence_test.cc361 r->ClearField(&message, field_int32); in TEST()
365 r->ClearField(&message, field_double); in TEST()
369 r->ClearField(&message, field_string); in TEST()
373 r->ClearField(&message, field_message); in TEST()
378 r->ClearField(&message, field_lazy); in TEST()
Dproto3_arena_unittest.cc195 r->ClearField(message, msg_field); in TEST()
Dreflection_ops.cc171 reflection->ClearField(message, fields[i]); in Clear()
Dgenerated_message_reflection.cc437 ClearField(message2, field); in SwapField()
441 ClearField(message1, field); in SwapField()
789 void Reflection::ClearField(Message* message, in ClearField() function in google::protobuf::Reflection
791 USAGE_CHECK_MESSAGE_TYPE(ClearField); in ClearField()
/external/tensorflow/tensorflow/python/tools/
Dprint_selective_registration_header_test.py126 graphs[0].node[0].ClearField('device')
127 graphs[0].node[2].ClearField('device')
/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py267 proto.ClearField('optional_int32')
331 proto.ClearField(composite_field_name)
363 proto.ClearField('optional_nested_message') # Should disconnect from parent
372 proto.ClearField('optional_nested_message')
387 proto.ClearField('optional_nested_message') # Should disconnect from parent
398 proto.ClearField('optional_nested_message')
411 proto1.ClearField('optional_nested_message')
423 proto.ClearField('optional_lazy_message')
437 proto.ClearField('optional_nested_message')
585 self.assertRaises(ValueError, proto.ClearField, 'nonexistent_field')
[all …]
Dunknown_fields_test.py116 self.all_fields.ClearField('optional_string')
267 message.ClearField('optional_int32')
326 nested_message.ClearField('payload')
406 self.missing_message.ClearField('optional_nested_enum')
Dmessage_test.py942 m.ClearField('oneof_bytes')
950 m.ClearField('oneof_field')
959 m.ClearField('oneof_uint32')
969 m.ClearField('oneof_nested_message')
1343 message.ClearField("optional_int32")
1344 message.ClearField(u"optional_bool")
1345 message.ClearField("optional_nested_message")
1637 message.ClearField('optional_int32')
1638 message.ClearField('optional_float')
1639 message.ClearField('optional_string')
[all …]
Dwell_known_types.py684 destination.ClearField(_StrConvert(name))
691 destination.ClearField(_StrConvert(name))
Dpython_message.py869 def ClearField(self, field_name): function
902 cls.ClearField = ClearField
/external/protobuf/benchmarks/util/
Ddata_proto2_to_proto3_util.h25 reflection->ClearField(message, field); in StripMessage()
/external/tensorflow/tensorflow/python/kernel_tests/
Dsummary_v1_audio_op_test.py41 v.audio.ClearField("encoded_audio_string")
Dsummary_v1_image_op_test.py45 v.image.ClearField("encoded_image_string")
/external/protobuf/python/google/protobuf/
Djson_format.py531 message.ClearField(field.name)
536 message.ClearField(field.name)
539 message.ClearField(field.name)
639 message.ClearField('values')
Dmessage.py255 def ClearField(self, field_name): member in Message
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc489 destination_reflection->ClearField(destination, field); \ in MergeMessage()
505 destination_reflection->ClearField(destination, field); in MergeMessage()
516 destination_reflection->ClearField(destination, field); in MergeMessage()
608 reflection->ClearField(message, field); in TrimMessage()
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare.py166 pb.ClearField(desc.name)
/external/protobuf/python/google/protobuf/pyext/
Dmessage.h241 PyObject* ClearField(CMessage* self, PyObject* arg);
Drepeated_scalar_container.cc67 message->GetReflection()->ClearField(message, self->parent_field_descriptor); in InternalAssignRepeatedField()
Dmessage.cc1606 message->GetReflection()->ClearField(message, field_descriptor); in ClearFieldByDescriptor()
1610 PyObject* ClearField(CMessage* self, PyObject* arg) { in ClearField() function
2543 { "ClearField", (PyCFunction)ClearField, METH_O,
/external/tensorflow/tensorflow/python/summary/writer/
Dwriter.py133 value.ClearField("metadata")
/external/tensorflow/tensorflow/python/saved_model/
Dutils_test.py179 tensor_info.ClearField("name") # Malformed (missing encoding).
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py258 a.ClearField("collection_def")
259 b.ClearField("collection_def")
267 a.ClearField("graph_def")
268 b.ClearField("graph_def")
/external/libprotobuf-mutator/src/
Dfield_instance.h240 if (!is_repeated()) return reflection().ClearField(message_, descriptor()); in Delete()

12