Searched refs:message_proto (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/python/kernel_tests/proto/ |
D | descriptor_source_test_base.py | 67 message_proto = file_proto.message_type.add(name='TestCase') 68 message_proto.field.add( 74 message_proto.field.add( 79 message_proto.field.add( 84 message_proto.field.add( 91 message_proto = file_proto.message_type.add( 93 message_proto.field.add( 98 message_proto.field.add( 104 message_proto = file_proto.message_type.add( 106 message_proto.field.add( [all …]
|
/external/protobuf/php/src/Google/Protobuf/Internal/ |
D | FileDescriptor.php | 76 foreach ($proto->getMessageType() as $message_proto) { 78 $message_proto, $proto, ""));
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_test.py | 67 message_proto = file_proto.message_type.add( 69 message_proto.field.add( 74 enum_proto = message_proto.enum_type.add( 94 self.my_message = self.my_file.message_types_by_name[message_proto.name] 198 message_proto = descriptor_pb2.DescriptorProto() 199 message_descriptor.CopyToProto(message_proto) 200 self.assertEqual(len(message_proto.options.ListFields()),
|
D | text_format_test.py | 399 message_proto = descriptor_pb2.DescriptorProto() 400 message_descriptor.CopyToProto(message_proto) 448 text_format.MessageToString(message_proto)) 451 self.assertEqual(message_proto, parsed_proto)
|
D | descriptor_pool_test.py | 999 message_proto = file_proto.message_type.add( 1001 message_proto.field.add(
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 2501 DescriptorProto* message_proto = AddMessage(&file_proto, "TestMessage"); in TEST_F() local 2507 AddField(message_proto, "int32", 1, label, FD::TYPE_INT32) in TEST_F() 2509 AddField(message_proto, "int64", 2, label, FD::TYPE_INT64) in TEST_F() 2511 AddField(message_proto, "uint32", 3, label, FD::TYPE_UINT32) in TEST_F() 2513 AddField(message_proto, "uint64", 4, label, FD::TYPE_UINT64) in TEST_F() 2515 AddField(message_proto, "float", 5, label, FD::TYPE_FLOAT) in TEST_F() 2517 AddField(message_proto, "double", 6, label, FD::TYPE_DOUBLE) in TEST_F() 2519 AddField(message_proto, "bool", 7, label, FD::TYPE_BOOL) in TEST_F() 2521 AddField(message_proto, "string", 8, label, FD::TYPE_STRING) in TEST_F() 2523 AddField(message_proto, "data", 9, label, FD::TYPE_BYTES) in TEST_F() [all …]
|
/external/tensorflow/tensorflow/python/tpu/ |
D | tensor_tracer_report.py | 223 def proto_fingerprint(message_proto): argument 224 serialized_message = message_proto.SerializeToString()
|