Home
last modified time | relevance | path

Searched refs:file_descriptor_proto (Results 1 – 14 of 14) sorted by relevance

/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc545 FileDescriptorProto* file_descriptor_proto = file_descriptor_set.add_file(); in TEST_F() local
546 file_descriptor_proto->set_name("foo.proto"); in TEST_F()
547 file_descriptor_proto->add_message_type()->set_name("Foo"); in TEST_F()
576 FileDescriptorProto* file_descriptor_proto = file_descriptor_set.add_file(); in TEST_F() local
577 file_descriptor_proto->set_name("foo.proto"); in TEST_F()
578 file_descriptor_proto->add_message_type()->set_name("Foo"); in TEST_F()
608 FileDescriptorProto* file_descriptor_proto = file_descriptor_set.add_file(); in TEST_F() local
609 file_descriptor_proto->set_name("foo.proto"); in TEST_F()
610 file_descriptor_proto->add_message_type()->set_name("Foo"); in TEST_F()
650 FileDescriptorProto* file_descriptor_proto = file_descriptor_set.add_file(); in TEST_F() local
[all …]
Dmock_code_generator.cc201 FileDescriptorProto file_descriptor_proto; in Generate() local
202 file->CopySourceCodeInfoTo(&file_descriptor_proto); in Generate()
204 file_descriptor_proto.has_source_code_info() && in Generate()
205 file_descriptor_proto.source_code_info().location_size() > 0; in Generate()
Dparser_unittest.cc2171 void SortMessages(FileDescriptorProto* file_descriptor_proto) { in SortMessages() argument
2172 int size = file_descriptor_proto->message_type_size(); in SortMessages()
2175 SortMessages(file_descriptor_proto->mutable_message_type(i)); in SortMessages()
2178 file_descriptor_proto->mutable_message_type()->mutable_data(); in SortMessages()
/third_party/grpc/src/python/grpcio_tests/tests/reflection/
D_reflection_servicer_test.py89 file_descriptor_proto=(
113 file_descriptor_proto=(
142 file_descriptor_proto=(_file_descriptor_to_proto(
/third_party/grpc/src/python/grpcio_tests/tests_aio/reflection/
Dreflection_servicer_test.py78 file_descriptor_proto=(
104 file_descriptor_proto=(
135 file_descriptor_proto=(_file_descriptor_to_proto(
/third_party/protobuf/python/google/protobuf/
Ddescriptor.py1061 file_descriptor_proto = descriptor_pb2.FileDescriptorProto()
1062 file_descriptor_proto.message_type.add().MergeFrom(desc_proto)
1071 file_descriptor_proto.name = os.path.join(package.replace('.', '/'),
1073 file_descriptor_proto.package = package
1075 file_descriptor_proto.name = proto_name + '.proto'
1077 _message.default_pool.Add(file_descriptor_proto)
1078 result = _message.default_pool.FindFileByName(file_descriptor_proto.name)
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/
Ddescriptor_test.py598 file_descriptor_proto = descriptor_pb2.FileDescriptorProto()
599 file_descriptor_proto.name = 'Foo'
600 message_type = file_descriptor_proto.message_type.add()
601 message_type.name = file_descriptor_proto.name
/third_party/protobuf/python/google/protobuf/internal/
Ddescriptor_test.py951 file_descriptor_proto = descriptor_pb2.FileDescriptorProto()
952 file_descriptor_proto.name = 'Foo2'
953 message_type = file_descriptor_proto.message_type.add()
954 message_type.name = file_descriptor_proto.name
998 file_descriptor_proto = descriptor_pb2.FileDescriptorProto()
999 file_descriptor_proto.name = 'Foo'
1000 message_type = file_descriptor_proto.message_type.add()
1001 message_type.name = file_descriptor_proto.name
Ddescriptor_pool_test.py1021 file_descriptor_proto = descriptor_pb2.FileDescriptorProto(name=file_name)
1023 file_descriptor_proto.options.Extensions[extension_id].foo_name = 'foo'
1024 pool.Add(file_descriptor_proto)
Dreflection_test.py1975 file_descriptor_proto = descriptor_pb2.FileDescriptorProto()
1976 file_descriptor_proto.name = file_name
1977 file_descriptor_proto.package = package_name
1978 m1 = file_descriptor_proto.message_type.add()
1984 serialized_pb=file_descriptor_proto.SerializeToString())
1987 file_descriptor_proto.name = another_file_name
1988 m2 = file_descriptor_proto.message_type.add()
1994 serialized_pb=file_descriptor_proto.SerializeToString())
/third_party/grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
D_base.py40 file_descriptor_proto=(serialized_proto,)),)
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc621 static PyObject* Add(PyObject* self, PyObject* file_descriptor_proto) { in Add() argument
623 PyObject_CallMethod(file_descriptor_proto, "SerializeToString", NULL)); in Add()
/third_party/grpc/test/cpp/util/
Dproto_reflection_descriptor_database.cc305 ParseFileDescriptorProtoResponse(response.file_descriptor_proto(i)); in AddFileFromResponse()
/third_party/grpc/src/proto/grpc/reflection/v1alpha/
Dreflection.proto104 repeated bytes file_descriptor_proto = 1; field