Home
last modified time | relevance | path

Searched refs:FileDescriptorProto (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_database_unittest.cc60 FileDescriptorProto file_proto; in AddToDatabase()
65 static void ExpectContainsType(const FileDescriptorProto& proto, in ExpectContainsType()
91 virtual bool AddToDatabase(const FileDescriptorProto& file) = 0;
109 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
129 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
152 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
172 FileDescriptorProto file_proto; in AddToDatabase()
178 FileDescriptorProto file_proto; in AddToDatabaseWithError()
196 FileDescriptorProto file; in TEST_P()
203 FileDescriptorProto file; in TEST_P()
[all …]
Ddescriptor_database.h73 FileDescriptorProto* output) = 0;
79 FileDescriptorProto* output) = 0;
87 FileDescriptorProto* output) = 0;
139 bool Add(const FileDescriptorProto& file);
142 bool AddAndOwn(const FileDescriptorProto* file);
146 FileDescriptorProto* output);
148 FileDescriptorProto* output);
151 FileDescriptorProto* output);
166 bool AddFile(const FileDescriptorProto& file,
252 DescriptorIndex<const FileDescriptorProto*> index_;
[all …]
Ddescriptor_database.cc54 const FileDescriptorProto& file, in AddFile()
255 bool SimpleDescriptorDatabase::Add(const FileDescriptorProto& file) { in Add()
256 FileDescriptorProto* new_file = new FileDescriptorProto; in Add()
261 bool SimpleDescriptorDatabase::AddAndOwn(const FileDescriptorProto* file) { in AddAndOwn()
268 FileDescriptorProto* output) { in FindFileByName()
274 FileDescriptorProto* output) { in FindFileContainingSymbol()
281 FileDescriptorProto* output) { in FindFileContainingExtension()
292 bool SimpleDescriptorDatabase::MaybeCopy(const FileDescriptorProto* file, in MaybeCopy()
293 FileDescriptorProto* output) { in MaybeCopy()
310 FileDescriptorProto file; in Add()
[all …]
Ddescriptor_unittest.cc68 DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) { in AddMessage()
80 EnumDescriptorProto* AddEnum(FileDescriptorProto* file, const string& name) { in AddEnum()
93 ServiceDescriptorProto* AddService(FileDescriptorProto* file, in AddService()
112 FieldDescriptorProto* AddExtension(FileDescriptorProto* file, in AddExtension()
177 void AddEmptyEnum(FileDescriptorProto* file, const string& name) { in AddEmptyEnum()
261 FileDescriptorProto foo_file; in SetUp()
270 FileDescriptorProto bar_file; in SetUp()
281 FileDescriptorProto baz_file; in SetUp()
423 FileDescriptorProto file; in TEST_F()
435 FileDescriptorProto proto_syntax2; in TEST_F()
[all …]
Ddescriptor.pb.h50 class FileDescriptorProto; variable
256 const ::google::protobuf::FileDescriptorProto& file(int index) const;
257 ::google::protobuf::FileDescriptorProto* mutable_file(int index);
258 ::google::protobuf::FileDescriptorProto* add_file();
259 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
261 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
270 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
280 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message /* @@protoc_inser…
282 FileDescriptorProto();
283 virtual ~FileDescriptorProto();
[all …]
Ddescriptor.pb.cc133 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
134 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, package_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
135 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, dependency_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
136 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, public_dependency_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
137 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, weak_dependency_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
138 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, message_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
139 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, enum_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
140 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, service_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
141 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, extension_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
142 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, options_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
[all …]
Ddynamic_message_unittest.cc85 FileDescriptorProto unittest_file; in SetUp()
86 FileDescriptorProto unittest_import_file; in SetUp()
87 FileDescriptorProto unittest_import_public_file; in SetUp()
88 FileDescriptorProto unittest_no_field_presence_file; in SetUp()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser.h72 bool Parse(io::Tokenizer* input, FileDescriptorProto* file);
291 bool ParseTopLevelStatement(FileDescriptorProto* file,
297 const FileDescriptorProto* containing_file);
300 const FileDescriptorProto* containing_file);
303 const FileDescriptorProto* containing_file);
304 bool ParsePackage(FileDescriptorProto* file,
306 const FileDescriptorProto* containing_file);
311 const FileDescriptorProto* containing_file);
318 const FileDescriptorProto* containing_file);
321 const FileDescriptorProto* containing_file);
[all …]
Dparser.cc516 bool Parser::Parse(io::Tokenizer* input, FileDescriptorProto* file) { in Parse()
580 FileDescriptorProto::kSyntaxFieldNumber); in ParseSyntaxIdentifier()
603 bool Parser::ParseTopLevelStatement(FileDescriptorProto* file, in ParseTopLevelStatement()
610 FileDescriptorProto::kMessageTypeFieldNumber, file->message_type_size()); in ParseTopLevelStatement()
614 FileDescriptorProto::kEnumTypeFieldNumber, file->enum_type_size()); in ParseTopLevelStatement()
618 FileDescriptorProto::kServiceFieldNumber, file->service_size()); in ParseTopLevelStatement()
622 FileDescriptorProto::kExtensionFieldNumber); in ParseTopLevelStatement()
626 FileDescriptorProto::kMessageTypeFieldNumber, in ParseTopLevelStatement()
637 FileDescriptorProto::kOptionsFieldNumber); in ParseTopLevelStatement()
652 const FileDescriptorProto* containing_file) { in ParseMessageDefinition()
[all …]
Dimporter.h99 bool FindFileByName(const string& filename, FileDescriptorProto* output);
101 FileDescriptorProto* output);
104 FileDescriptorProto* output);
Dparser_unittest.cc122 FileDescriptorProto actual, expected; in ExpectParsesTo()
152 FileDescriptorProto file; in ExpectHasEarlyExitErrors()
165 FileDescriptorProto file; in ExpectHasValidationErrors()
221 FileDescriptorProto file; in TEST_F()
1469 FileDescriptorProto other_file; in TEST_F()
1622 FileDescriptorProto other_file; in TEST_F()
1645 FileDescriptorProto descriptor_proto; in TEST_F()
1654 FileDescriptorProto other_file; in TEST_F()
1724 void SortMessages(FileDescriptorProto *file_descriptor_proto) { in SortMessages()
1750 void StripFieldTypeName(FileDescriptorProto* file_proto) { in StripFieldTypeName()
[all …]
Dplugin.pb.h148 const ::google::protobuf::FileDescriptorProto& proto_file(int index) const;
149 ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index);
150 ::google::protobuf::FileDescriptorProto* add_proto_file();
151 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
153 const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
166 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
539 inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) c… in proto_file()
543 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index)… in mutable_proto_file()
547 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() { in add_proto_file()
551 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
[all …]
Dcommand_line_interface.h55 class FileDescriptorProto; // descriptor.pb.h variable
273 RepeatedPtrField<FileDescriptorProto>* output);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_database.cc56 FileDescriptorProto* output) { in GetFileDescriptorProto()
71 FileDescriptorProto::default_instance().GetDescriptor(); in GetFileDescriptorProto()
76 FileDescriptorProto* file_proto = in GetFileDescriptorProto()
77 static_cast<FileDescriptorProto*>(message->message); in GetFileDescriptorProto()
99 FileDescriptorProto file_proto; in GetFileDescriptorProto()
112 FileDescriptorProto* output) { in FindFileByName()
120 const string& symbol_name, FileDescriptorProto* output) { in FindFileContainingSymbol()
132 FileDescriptorProto* output) { in FindFileContainingExtension()
Ddescriptor_database.h52 FileDescriptorProto* output);
56 FileDescriptorProto* output);
64 FileDescriptorProto* output);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java37 import com.google.protobuf.DescriptorProtos.FileDescriptorProto;
460 FileDescriptorProto fileDescriptorProto = FileDescriptorProto.newBuilder() in testDescriptorValidatorException()
492 FileDescriptorProto fileDescriptorProto = FileDescriptorProto.newBuilder() in testDescriptorComplexCrosslink()
538 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testDependencyOrder()
540 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testDependencyOrder()
544 FileDescriptorProto bazProto = FileDescriptorProto.newBuilder() in testDependencyOrder()
564 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testInvalidPublicDependency()
566 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testInvalidPublicDependency()
584 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testUnknownFieldsDenied()
605 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testUnknownFieldsAllowed()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dmetadata_test.cc60 explicit DescriptorCapturingGenerator(FileDescriptorProto* file) in DescriptorCapturingGenerator()
70 FileDescriptorProto* file_;
85 bool CaptureMetadata(const string& filename, FileDescriptorProto* file, in CaptureMetadata()
193 FileDescriptorProto file; in TEST_F()
201 enum_path.push_back(FileDescriptorProto::kEnumTypeFieldNumber); in TEST_F()
210 FileDescriptorProto file; in TEST_F()
222 FileDescriptorProto file; in TEST_F()
230 message_path.push_back(FileDescriptorProto::kMessageTypeFieldNumber); in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java38 import com.google.protobuf.DescriptorProtos.FileDescriptorProto;
438 FileDescriptorProto fileDescriptorProto = FileDescriptorProto.newBuilder() in testDescriptorValidatorException()
470 FileDescriptorProto fileDescriptorProto = FileDescriptorProto.newBuilder() in testDescriptorComplexCrosslink()
516 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testInvalidPublicDependency()
518 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testInvalidPublicDependency()
536 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testHiddenDependency()
540 FileDescriptorProto forwardProto = FileDescriptorProto.newBuilder() in testHiddenDependency()
544 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testHiddenDependency()
571 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testPublicDependency()
575 FileDescriptorProto forwardProto = FileDescriptorProto.newBuilder() in testPublicDependency()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DFileDescriptor.cs46 …private FileDescriptor(ByteString descriptorData, FileDescriptorProto proto, FileDescriptor[] depe… in FileDescriptor()
90 …<FileDescriptor> DeterminePublicDependencies(FileDescriptor @this, FileDescriptorProto proto, File…
126 internal FileDescriptorProto Proto { get; }
226 …private static FileDescriptor BuildFrom(ByteString descriptorData, FileDescriptorProto proto, File… in BuildFrom()
296 FileDescriptorProto proto; in FromGeneratedCode()
299 proto = FileDescriptorProto.Parser.ParseFrom(descriptorData); in FromGeneratedCode()
/frameworks/base/tools/streaming_proto/java/
Dmain.cpp20 make_outer_class_name(const FileDescriptorProto& file_descriptor) in make_outer_class_name()
39 make_java_package(const FileDescriptorProto& file_descriptor) { in make_java_package()
51 make_file_name(const FileDescriptorProto& file_descriptor, const string& class_name) in make_file_name()
157 write_file(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor, in write_file()
212 write_multiple_files(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor) in write_multiple_files()
244 write_single_file(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor) in write_single_file()
285 const FileDescriptorProto& file_descriptor = request.proto_file(i); in main()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dmessage_factory_test.py53 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
55 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
139 f = descriptor_pb2.FileDescriptorProto()
152 f = descriptor_pb2.FileDescriptorProto()
169 f = descriptor_pb2.FileDescriptorProto()
Ddescriptor_pool_test.py67 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString(
69 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
277 more_messages_desc = descriptor_pb2.FileDescriptorProto.FromString(
279 test1_desc = descriptor_pb2.FileDescriptorProto.FromString(
281 test2_desc = descriptor_pb2.FileDescriptorProto.FromString(
308 descriptor_proto = descriptor_pb2.FileDescriptorProto.FromString(
343 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
345 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
347 pool.Add(descriptor_pb2.FileDescriptorProto.FromString(
616 file_descriptor = descriptor_pb2.FileDescriptorProto()
[all …]
Ddescriptor_database_test.py51 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString(
/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp16 make_filename(const FileDescriptorProto& file_descriptor) in make_filename()
123 write_header_file(CodeGeneratorResponse* response, const FileDescriptorProto& file_descriptor) in write_header_file()
183 const FileDescriptorProto& file_descriptor = request.proto_file(i); in main()
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/main/java/com/google/tuningfork/validation/
DExternalProtoCompiler.java22 import com.google.protobuf.DescriptorProtos.FileDescriptorProto;
73 for (FileDescriptorProto descProto : fileSet.getFileList()) { in buildAndRunCompilerProcess()

123