Home
last modified time | relevance | path

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

12

/external/protobuf/python/google/protobuf/internal/
Dreflection_test.py261 proto.ClearField('optional_int32')
325 proto.ClearField(composite_field_name)
357 proto.ClearField('optional_nested_message') # Should disconnect from parent
366 proto.ClearField('optional_nested_message')
381 proto.ClearField('optional_nested_message') # Should disconnect from parent
392 proto.ClearField('optional_nested_message')
405 proto1.ClearField('optional_nested_message')
417 proto.ClearField('optional_lazy_message')
431 proto.ClearField('optional_nested_message')
579 self.assertRaises(ValueError, proto.ClearField, 'nonexistent_field')
[all …]
Dmessage_test.py649 m.ClearField('oneof_bytes')
657 m.ClearField('oneof_field')
666 m.ClearField('oneof_uint32')
676 m.ClearField('oneof_nested_message')
999 message.ClearField("optional_int32")
1000 message.ClearField("optional_bool")
1001 message.ClearField("optional_nested_message")
1225 message.ClearField('optional_int32')
1226 message.ClearField('optional_float')
1227 message.ClearField('optional_string')
[all …]
Dunknown_fields_test.py118 self.all_fields.ClearField('optional_string')
219 message.ClearField('optional_int32')
Dwell_known_types.py595 destination.ClearField(_StrConvert(name))
606 destination.ClearField(_StrConvert(name))
Dpython_message.py854 def ClearField(self, field_name): function
887 cls.ClearField = ClearField
/external/tensorflow/tensorflow/python/tools/
Dprint_selective_registration_header_test.py124 graphs[0].node[0].ClearField('device')
125 graphs[0].node[2].ClearField('device')
/external/protobuf/src/google/protobuf/
Dmap_test_util.cc751 reflection->ClearField(message, F("map_int32_int32")); in ClearMapFieldsViaReflection()
752 reflection->ClearField(message, F("map_int64_int64")); in ClearMapFieldsViaReflection()
753 reflection->ClearField(message, F("map_uint32_uint32")); in ClearMapFieldsViaReflection()
754 reflection->ClearField(message, F("map_uint64_uint64")); in ClearMapFieldsViaReflection()
755 reflection->ClearField(message, F("map_sint32_sint32")); in ClearMapFieldsViaReflection()
756 reflection->ClearField(message, F("map_sint64_sint64")); in ClearMapFieldsViaReflection()
757 reflection->ClearField(message, F("map_fixed32_fixed32")); in ClearMapFieldsViaReflection()
758 reflection->ClearField(message, F("map_fixed64_fixed64")); in ClearMapFieldsViaReflection()
759 reflection->ClearField(message, F("map_sfixed32_sfixed32")); in ClearMapFieldsViaReflection()
760 reflection->ClearField(message, F("map_sfixed64_sfixed64")); in ClearMapFieldsViaReflection()
[all …]
Dno_field_presence_test.cc362 r->ClearField(&message, field_int32); in TEST()
366 r->ClearField(&message, field_double); in TEST()
370 r->ClearField(&message, field_string); in TEST()
374 r->ClearField(&message, field_message); in TEST()
379 r->ClearField(&message, field_lazy); in TEST()
Dproto3_arena_unittest.cc202 r->ClearField(message, msg_field); in TEST()
Dreflection_ops.cc135 reflection->ClearField(message, fields[i]); in Clear()
Dgenerated_message_reflection.cc473 ClearField(message2, field); in SwapField()
477 ClearField(message1, field); in SwapField()
801 void GeneratedMessageReflection::ClearField( in ClearField() function in google::protobuf::internal::GeneratedMessageReflection
803 USAGE_CHECK_MESSAGE_TYPE(ClearField); in ClearField()
/external/protobuf/python/google/protobuf/
Djson_format.py359 message.ClearField(field.name)
364 message.ClearField(field.name)
367 message.ClearField(field.name)
482 message.ClearField('values')
Dmessage.py240 def ClearField(self, field_name): member in Message
/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/tensorflow/tensorflow/contrib/session_bundle/
Dbundle_shim_test.py298 default_only_signatures_proto.ClearField("named_signatures")
307 named_only_signatures_proto.ClearField("default_signature")
Dexporter.py147 saver_def.ClearField("max_to_keep")
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc388 destination_reflection->ClearField(destination, field); in MergeMessage()
399 destination_reflection->ClearField(destination, field); in MergeMessage()
/external/tensorflow/tensorflow/python/util/protobuf/
Dcompare.py165 pb.ClearField(desc.name)
/external/protobuf/python/google/protobuf/pyext/
Dmessage.h225 PyObject* ClearField(CMessage* self, PyObject* arg);
Dmessage.cc1635 self->message->GetReflection()->ClearField(self->message, descriptor); in CheckAndGetInteger()
1639 PyObject* ClearField(CMessage* self, PyObject* arg) { in CheckAndGetInteger() function
1683 message->GetReflection()->ClearField(message, field_descriptor); in CheckAndGetInteger()
2587 { "ClearField", (PyCFunction)ClearField, METH_O, in CheckAndGetInteger()
/external/tensorflow/tensorflow/python/summary/writer/
Dwriter.py133 value.ClearField("metadata")
/external/tensorflow/tensorflow/python/saved_model/
Dutils_test.py146 tensor_info.ClearField("name") # Malformed (missing encoding).
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py217 a.ClearField("collection_def")
218 b.ClearField("collection_def")
226 a.ClearField("graph_def")
227 b.ClearField("graph_def")
/external/libprotobuf-mutator/src/
Dfield_instance.h221 if (!is_repeated()) return reflection().ClearField(message_, descriptor()); in Delete()

12