/external/protobuf/src/google/protobuf/ |
D | descriptor_database_unittest.cc | 55 FileDescriptorProto file_proto; in AddToDatabase() 60 static void ExpectContainsType(const FileDescriptorProto& proto, in ExpectContainsType() 86 virtual bool AddToDatabase(const FileDescriptorProto& file) = 0; 104 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() 124 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() 147 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase() 167 FileDescriptorProto file_proto; in AddToDatabase() 173 FileDescriptorProto file_proto; in AddToDatabaseWithError() 191 FileDescriptorProto file; in TEST_P() 198 FileDescriptorProto file; in TEST_P() [all …]
|
D | descriptor_database.h | 73 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 …]
|
D | descriptor_database.cc | 54 const FileDescriptorProto& file, in AddFile() 256 bool SimpleDescriptorDatabase::Add(const FileDescriptorProto& file) { in Add() 257 FileDescriptorProto* new_file = new FileDescriptorProto; in Add() 262 bool SimpleDescriptorDatabase::AddAndOwn(const FileDescriptorProto* file) { in AddAndOwn() 269 FileDescriptorProto* output) { in FindFileByName() 275 FileDescriptorProto* output) { in FindFileContainingSymbol() 282 FileDescriptorProto* output) { in FindFileContainingExtension() 293 bool SimpleDescriptorDatabase::MaybeCopy(const FileDescriptorProto* file, in MaybeCopy() 294 FileDescriptorProto* output) { in MaybeCopy() 311 FileDescriptorProto file; in Add() [all …]
|
D | descriptor.pb.h | 39 class FileDescriptorProto; variable 214 inline const ::google::protobuf::FileDescriptorProto& file(int index) const; 215 inline ::google::protobuf::FileDescriptorProto* mutable_file(int index); 216 inline ::google::protobuf::FileDescriptorProto* add_file(); 217 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >& 219 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* 229 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_; 239 class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message { 241 FileDescriptorProto(); 242 virtual ~FileDescriptorProto(); [all …]
|
D | descriptor_unittest.cc | 62 DescriptorProto* AddMessage(FileDescriptorProto* file, const string& name) { in AddMessage() 74 EnumDescriptorProto* AddEnum(FileDescriptorProto* file, const string& name) { in AddEnum() 87 ServiceDescriptorProto* AddService(FileDescriptorProto* file, in AddService() 106 FieldDescriptorProto* AddExtension(FileDescriptorProto* file, in AddExtension() 163 void AddEmptyEnum(FileDescriptorProto* file, const string& name) { in AddEmptyEnum() 192 FileDescriptorProto foo_file; in SetUp() 201 FileDescriptorProto bar_file; in SetUp() 212 FileDescriptorProto baz_file; in SetUp() 354 FileDescriptorProto file; in TEST_F() 400 FileDescriptorProto foo_file; in SetUp() [all …]
|
D | dynamic_message_unittest.cc | 76 FileDescriptorProto unittest_file; in SetUp() 77 FileDescriptorProto unittest_import_file; in SetUp() 78 FileDescriptorProto unittest_import_public_file; in SetUp()
|
D | descriptor.pb.cc | 118 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, name_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 119 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, package_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 120 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, dependency_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 121 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, public_dependency_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 122 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, weak_dependency_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 123 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, message_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 124 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, enum_type_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 125 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, service_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 126 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, extension_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() 127 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, options_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() [all …]
|
D | descriptor.h | 86 class FileDescriptorProto; variable 1077 void CopyTo(FileDescriptorProto* proto) const; 1080 void CopySourceCodeInfoTo(FileDescriptorProto* proto) const; 1299 const FileDescriptor* BuildFile(const FileDescriptorProto& proto); 1303 const FileDescriptorProto& proto, 1416 const FileDescriptorProto& proto) const;
|
D | descriptor.cc | 1416 FileDescriptorProto file_proto; in TryFindFileInFallbackDatabase() 1452 FileDescriptorProto file_proto; in TryFindSymbolInFallbackDatabase() 1492 FileDescriptorProto file_proto; in TryFindExtensionInFallbackDatabase() 1562 void FileDescriptor::CopyTo(FileDescriptorProto* proto) const { in CopyTo() 1596 void FileDescriptor::CopySourceCodeInfoTo(FileDescriptorProto* proto) const { in CopySourceCodeInfoTo() 2198 output->push_back(FileDescriptorProto::kMessageTypeFieldNumber); in GetLocationPath() 2206 output->push_back(FileDescriptorProto::kExtensionFieldNumber); in GetLocationPath() 2232 output->push_back(FileDescriptorProto::kEnumTypeFieldNumber); in GetLocationPath() 2244 output->push_back(FileDescriptorProto::kServiceFieldNumber); in GetLocationPath() 2288 const FileDescriptor* BuildFile(const FileDescriptorProto& proto); [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | parser.h | 72 bool Parse(io::Tokenizer* input, FileDescriptorProto* file); 284 bool ParseTopLevelStatement(FileDescriptorProto* file, 290 const FileDescriptorProto* containing_file); 293 const FileDescriptorProto* containing_file); 296 const FileDescriptorProto* containing_file); 297 bool ParsePackage(FileDescriptorProto* file, 299 const FileDescriptorProto* containing_file); 304 const FileDescriptorProto* containing_file); 307 const FileDescriptorProto* containing_file); 314 const FileDescriptorProto* containing_file); [all …]
|
D | parser.cc | 416 bool Parser::Parse(io::Tokenizer* input, FileDescriptorProto* file) { in Parse() 489 bool Parser::ParseTopLevelStatement(FileDescriptorProto* file, in ParseTopLevelStatement() 496 FileDescriptorProto::kMessageTypeFieldNumber, file->message_type_size()); in ParseTopLevelStatement() 500 FileDescriptorProto::kEnumTypeFieldNumber, file->enum_type_size()); in ParseTopLevelStatement() 504 FileDescriptorProto::kServiceFieldNumber, file->service_size()); in ParseTopLevelStatement() 508 FileDescriptorProto::kExtensionFieldNumber); in ParseTopLevelStatement() 512 FileDescriptorProto::kMessageTypeFieldNumber, in ParseTopLevelStatement() 523 FileDescriptorProto::kOptionsFieldNumber); in ParseTopLevelStatement() 538 const FileDescriptorProto* containing_file) { in ParseMessageDefinition() 587 const FileDescriptorProto* containing_file) { in ParseMessageBlock() [all …]
|
D | importer.h | 99 bool FindFileByName(const string& filename, FileDescriptorProto* output); 101 FileDescriptorProto* output); 104 FileDescriptorProto* output);
|
D | plugin.pb.h | 130 inline const ::google::protobuf::FileDescriptorProto& proto_file(int index) const; 131 inline ::google::protobuf::FileDescriptorProto* mutable_proto_file(int index); 132 inline ::google::protobuf::FileDescriptorProto* add_proto_file(); 133 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >& 135 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >* 149 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_; 514 inline const ::google::protobuf::FileDescriptorProto& CodeGeneratorRequest::proto_file(int index) c… in proto_file() 518 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::mutable_proto_file(int index)… in mutable_proto_file() 522 inline ::google::protobuf::FileDescriptorProto* CodeGeneratorRequest::add_proto_file() { in add_proto_file() 526 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >& [all …]
|
D | parser_unittest.cc | 119 FileDescriptorProto actual, expected; in ExpectParsesTo() 149 FileDescriptorProto file; in ExpectHasEarlyExitErrors() 162 FileDescriptorProto file; in ExpectHasValidationErrors() 1184 FileDescriptorProto other_file; in TEST_F() 1337 FileDescriptorProto other_file; in TEST_F() 1360 FileDescriptorProto descriptor_proto; in TEST_F() 1369 FileDescriptorProto other_file; in TEST_F() 1439 void SortMessages(FileDescriptorProto *file_descriptor_proto) { in SortMessages() 1453 FileDescriptorProto expected; in TEST_F() 1462 FileDescriptorProto parsed; in TEST_F() [all …]
|
D | command_line_interface.h | 54 class FileDescriptorProto; // descriptor.pb.h variable 261 RepeatedPtrField<FileDescriptorProto>* output);
|
D | importer.cc | 124 const string& filename, FileDescriptorProto* output) { in FindFileByName() 153 const string& symbol_name, FileDescriptorProto* output) { in FindFileContainingSymbol() 159 FileDescriptorProto* output) { in FindFileContainingExtension()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | DescriptorsTest.java | 37 import com.google.protobuf.DescriptorProtos.FileDescriptorProto; 445 FileDescriptorProto fileDescriptorProto = FileDescriptorProto.newBuilder() in testDescriptorValidatorException() 477 FileDescriptorProto fileDescriptorProto = FileDescriptorProto.newBuilder() in testDescriptorComplexCrosslink() 523 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testDependencyOrder() 525 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testDependencyOrder() 529 FileDescriptorProto bazProto = FileDescriptorProto.newBuilder() in testDependencyOrder() 549 FileDescriptorProto fooProto = FileDescriptorProto.newBuilder() in testInvalidPublicDependency() 551 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testInvalidPublicDependency() 569 FileDescriptorProto barProto = FileDescriptorProto.newBuilder() in testHiddenDependency() 573 FileDescriptorProto forwardProto = FileDescriptorProto.newBuilder() in testHiddenDependency() [all …]
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
D | Descriptors.java | 75 public FileDescriptorProto toProto() { return proto; } in toProto() 232 public static FileDescriptor buildFrom(final FileDescriptorProto proto, in buildFrom() 254 final FileDescriptorProto proto, final FileDescriptor[] dependencies, in buildFrom() 307 FileDescriptorProto proto; in internalBuildGeneratedFileFrom() 309 proto = FileDescriptorProto.parseFrom(descriptorBytes); in internalBuildGeneratedFileFrom() 331 proto = FileDescriptorProto.parseFrom(descriptorBytes, registry); in internalBuildGeneratedFileFrom() 382 FileDescriptorProto proto; in internalUpdateFileDescriptor() 384 proto = FileDescriptorProto.parseFrom(bytes, registry); in internalUpdateFileDescriptor() 408 private FileDescriptorProto proto; 417 private FileDescriptor(final FileDescriptorProto proto, in FileDescriptor() [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | message_factory_test.py | 49 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString( 51 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString(
|
D | descriptor_database_test.py | 47 file_desc_proto = descriptor_pb2.FileDescriptorProto.FromString(
|
D | descriptor_pool_test.py | 57 self.factory_test1_fd = descriptor_pb2.FileDescriptorProto.FromString( 59 self.factory_test2_fd = descriptor_pb2.FileDescriptorProto.FromString( 230 test1_desc = descriptor_pb2.FileDescriptorProto.FromString( 232 test2_desc = descriptor_pb2.FileDescriptorProto.FromString(
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_file.cc | 104 void CollectExtensions(const FileDescriptorProto& file_proto, in CollectExtensions() 348 FileDescriptorProto file_proto; in GenerateDescriptorInitializationCodeForImmutable() 412 FileDescriptorProto file_proto; in GenerateDescriptorInitializationCodeForMutable()
|
D | java_shared_code_generator.cc | 114 FileDescriptorProto file_proto; in GenerateDescriptors()
|
/external/nanopb-c/generator/proto/google/protobuf/ |
D | descriptor.proto | 36 // A valid .proto file can be translated directly to a FileDescriptorProto 52 repeated FileDescriptorProto file = 1; 56 message FileDescriptorProto { message 504 // FileDescriptorProto was generated. 551 // Identifies which part of the FileDescriptorProto was defined at this 555 // the root FileDescriptorProto to the place where the definition. For 562 // This is because FileDescriptorProto.message_type has field number 4:
|
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pool.py | 194 dep_proto = descriptor_pb2.FileDescriptorProto.FromString( 523 dep_proto = descriptor_pb2.FileDescriptorProto.FromString(
|