Searched refs:file_proto (Results 1 - 15 of 15) sorted by relevance

/external/nanopb-c/generator/google/protobuf/
H A Dmessage_factory.py90 for file_proto in file_protos:
91 _DB.Add(file_proto)
92 for file_proto in file_protos:
93 for desc in _GetAllDescriptors(file_proto.message_type, file_proto.package):
H A Ddescriptor_pool.py106 file_proto = self._internal_db.FindFileByName(file_name)
109 file_proto = self._descriptor_db.FindFileByName(file_name)
112 if not file_proto:
114 return self._ConvertFileProtoToFileDescriptor(file_proto)
130 file_proto = self._internal_db.FindFileContainingSymbol(symbol)
133 file_proto = self._descriptor_db.FindFileContainingSymbol(symbol)
136 if not file_proto:
138 return self._ConvertFileProtoToFileDescriptor(file_proto)
170 def _ConvertFileProtoToFileDescriptor(self, file_proto):
177 file_proto
[all...]
/external/protobuf/python/google/protobuf/
H A Dmessage_factory.py153 for file_proto in file_protos:
154 _FACTORY.pool.Add(file_proto)
155 return _FACTORY.GetMessages([file_proto.name for file_proto in file_protos])
H A Ddescriptor_pool.py177 file_proto = self._internal_db.FindFileByName(file_name)
181 file_proto = self._descriptor_db.FindFileByName(file_name)
184 if not file_proto:
186 return self._ConvertFileProtoToFileDescriptor(file_proto)
213 file_proto = self._internal_db.FindFileContainingSymbol(symbol)
217 file_proto = self._descriptor_db.FindFileContainingSymbol(symbol)
220 if not file_proto:
222 return self._ConvertFileProtoToFileDescriptor(file_proto)
254 def _ConvertFileProtoToFileDescriptor(self, file_proto):
261 file_proto
[all...]
/external/protobuf/src/google/protobuf/compiler/java/
H A Djava_file.cc104 void CollectExtensions(const FileDescriptorProto& file_proto, argument
108 if (!CollectExtensions(file_proto, extensions)) {
109 // There are unknown fields in the file_proto, which are probably
113 file_proto.GetDescriptor()->full_name());
116 << file_proto.name()
132 << file_proto.name()
339 // in proto compiler. When we put the descriptor data in the file_proto, those
343 // in the file_proto message, and prepare an ExtensionRegistry to return.
348 FileDescriptorProto file_proto; local
349 file_->CopyTo(&file_proto);
412 FileDescriptorProto file_proto; local
[all...]
H A Djava_shared_code_generator.cc114 FileDescriptorProto file_proto; local
115 file_->CopyTo(&file_proto);
119 file_proto.SerializeToString(&file_data);
/external/protobuf/src/google/protobuf/
H A Ddescriptor_database_unittest.cc55 FileDescriptorProto file_proto; local
56 EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto));
57 database->Add(file_proto);
167 FileDescriptorProto file_proto; local
168 EXPECT_TRUE(TextFormat::ParseFromString(file_descriptor_text, &file_proto));
169 EXPECT_TRUE(test_case_->AddToDatabase(file_proto));
173 FileDescriptorProto file_proto; local
174 EXPECT_TRUE(TextFormat::ParseFromString(file_descriptor_text, &file_proto));
175 EXPECT_FALSE(test_case_->AddToDatabase(file_proto));
H A Ddescriptor_unittest.cc1619 FileDescriptorProto file_proto; local
1621 FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto);
1622 ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);
1628 file_proto.Clear();
1629 file_proto.set_name("foo.proto");
1630 file_proto.add_dependency("google/protobuf/descriptor.proto");
1631 AddExtension(&file_proto, "google.protobuf.FieldOptions", "option1", 1000,
1634 ASSERT_TRUE(pool.BuildFile(file_proto) != NULL);
1640 file_proto.Clear();
1641 file_proto
1657 FileDescriptorProto file_proto; local
1887 FileDescriptorProto file_proto; local
2011 FileDescriptorProto file_proto; local
2505 FileDescriptorProto file_proto; local
2564 FileDescriptorProto file_proto; local
2641 FileDescriptorProto file_proto; local
2721 FileDescriptorProto file_proto; local
2840 FileDescriptorProto file_proto; local
2925 FileDescriptorProto file_proto; local
2935 FileDescriptorProto file_proto; local
2949 FileDescriptorProto file_proto; local
2959 FileDescriptorProto file_proto; local
4647 FileDescriptorProto file_proto; local
4745 FileDescriptorProto file_proto; local
[all...]
H A Ddescriptor_database.cc361 FileDescriptorProto file_proto; local
362 if (!file_proto.ParseFromArray(encoded_file.first, encoded_file.second)) {
365 *output = file_proto.name();
H A Ddescriptor.cc1416 FileDescriptorProto file_proto;
1417 if (!fallback_database_->FindFileByName(name, &file_proto) ||
1418 BuildFileFromDatabase(file_proto) == NULL) {
1452 FileDescriptorProto file_proto;
1472 || !fallback_database_->FindFileContainingSymbol(name, &file_proto)
1477 || tables_->FindFile(file_proto.name()) != NULL
1480 || BuildFileFromDatabase(file_proto) == NULL) {
1492 FileDescriptorProto file_proto;
1494 containing_type->full_name(), field_number, &file_proto)) {
1498 if (tables_->FindFile(file_proto
[all...]
/external/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.cc318 google::protobuf::FileDescriptorProto file_proto; local
319 if (!file_proto.ParseFromArray(message_type, message_len)) {
325 file_proto.name()) != NULL) {
331 GetDescriptorPool()->BuildFileCollectingErrors(file_proto,
/external/protobuf/src/google/protobuf/compiler/javamicro/
H A Djavamicro_file.cc97 FileDescriptorProto file_proto; local
98 file_->CopyTo(&file_proto);
99 if (UsesExtensions(file_proto)) {
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_file.cc98 FileDescriptorProto file_proto; local
99 file_->CopyTo(&file_proto);
100 if (UsesExtensions(file_proto) && !params_.store_unknown_fields()) {
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_file.cc575 FileDescriptorProto file_proto; local
576 file_->CopyTo(&file_proto);
578 file_proto.SerializeToString(&file_data);
/external/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface.cc1437 FileDescriptorProto* file_proto = file_set.add_file(); local
1438 parsed_files[i]->CopyTo(file_proto);
1440 parsed_files[i]->CopySourceCodeInfoTo(file_proto);

Completed in 556 milliseconds