Home
last modified time | relevance | path

Searched refs:message_proto (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/
Ddescriptor_source_test_base.py69 message_proto = file_proto.message_type.add(name='TestCase')
70 message_proto.field.add(
76 message_proto.field.add(
81 message_proto.field.add(
86 message_proto.field.add(
93 message_proto = file_proto.message_type.add(
95 message_proto.field.add(
100 message_proto.field.add(
106 message_proto = file_proto.message_type.add(
108 message_proto.field.add(
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_unittest.cc2219 DescriptorProto* message_proto = AddMessage(&file_proto, "TestMessage"); in TEST_F() local
2225 AddField(message_proto, "int32" , 1, label, FD::TYPE_INT32 ) in TEST_F()
2227 AddField(message_proto, "int64" , 2, label, FD::TYPE_INT64 ) in TEST_F()
2229 AddField(message_proto, "uint32", 3, label, FD::TYPE_UINT32) in TEST_F()
2231 AddField(message_proto, "uint64", 4, label, FD::TYPE_UINT64) in TEST_F()
2233 AddField(message_proto, "float" , 5, label, FD::TYPE_FLOAT ) in TEST_F()
2235 AddField(message_proto, "double", 6, label, FD::TYPE_DOUBLE) in TEST_F()
2237 AddField(message_proto, "bool" , 7, label, FD::TYPE_BOOL ) in TEST_F()
2239 AddField(message_proto, "string", 8, label, FD::TYPE_STRING) in TEST_F()
2241 AddField(message_proto, "data" , 9, label, FD::TYPE_BYTES ) in TEST_F()
[all …]
/external/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py67 message_proto = file_proto.message_type.add(
69 message_proto.field.add(
74 enum_proto = message_proto.enum_type.add(
83 self.my_message = self.my_file.message_types_by_name[message_proto.name]