/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/ |
D | descriptor_pool.py | 198 file_proto = self._internal_db.FindFileByName(file_name) 201 file_proto = self._descriptor_db.FindFileByName(file_name) 204 if not file_proto: 206 return self._ConvertFileProtoToFileDescriptor(file_proto) 233 file_proto = self._internal_db.FindFileContainingSymbol(symbol) 236 file_proto = self._descriptor_db.FindFileContainingSymbol(symbol) 239 if not file_proto: 241 return self._ConvertFileProtoToFileDescriptor(file_proto) 306 def _ConvertFileProtoToFileDescriptor(self, file_proto): argument 319 if file_proto.name not in self._file_descriptors: [all …]
|
D | proto_builder.py | 119 file_proto = descriptor_pb2.FileDescriptorProto() 120 file_proto.name = os.path.join(package.replace('.', '/'), proto_file_name) 121 file_proto.package = package 122 desc_proto = file_proto.message_type.add() 130 return file_proto
|
D | message_factory.py | 145 for file_proto in file_protos: 146 _FACTORY.pool.Add(file_proto) 147 return _FACTORY.GetMessages([file_proto.name for file_proto in file_protos])
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | descriptor_unittest.cc | 1865 FileDescriptorProto file_proto; in TEST_F() local 1867 FileDescriptorProto::descriptor()->file()->CopyTo(&file_proto); in TEST_F() 1868 ASSERT_TRUE(pool.BuildFile(file_proto) != NULL); in TEST_F() 1874 file_proto.Clear(); in TEST_F() 1875 file_proto.set_name("foo.proto"); in TEST_F() 1876 file_proto.add_dependency("google/protobuf/descriptor.proto"); in TEST_F() 1877 AddExtension(&file_proto, "google.protobuf.FieldOptions", "option1", 1000, in TEST_F() 1880 ASSERT_TRUE(pool.BuildFile(file_proto) != NULL); in TEST_F() 1886 file_proto.Clear(); in TEST_F() 1887 file_proto.set_name("bar.proto"); in TEST_F() [all …]
|
D | descriptor_database_unittest.cc | 60 FileDescriptorProto file_proto; in AddToDatabase() local 61 EXPECT_TRUE(TextFormat::ParseFromString(file_text, &file_proto)); in AddToDatabase() 62 database->Add(file_proto); in AddToDatabase() 172 FileDescriptorProto file_proto; in AddToDatabase() local 173 EXPECT_TRUE(TextFormat::ParseFromString(file_descriptor_text, &file_proto)); in AddToDatabase() 174 EXPECT_TRUE(test_case_->AddToDatabase(file_proto)); in AddToDatabase() 178 FileDescriptorProto file_proto; in AddToDatabaseWithError() local 179 EXPECT_TRUE(TextFormat::ParseFromString(file_descriptor_text, &file_proto)); in AddToDatabaseWithError() 180 EXPECT_FALSE(test_case_->AddToDatabase(file_proto)); in AddToDatabaseWithError()
|
D | descriptor_database.cc | 360 FileDescriptorProto file_proto; in FindNameOfFileContainingSymbol() local 361 if (!file_proto.ParseFromArray(encoded_file.first, encoded_file.second)) { in FindNameOfFileContainingSymbol() 364 *output = file_proto.name(); in FindNameOfFileContainingSymbol()
|
D | descriptor.cc | 1579 FileDescriptorProto file_proto; in TryFindFileInFallbackDatabase() local 1580 if (!fallback_database_->FindFileByName(name, &file_proto) || in TryFindFileInFallbackDatabase() 1581 BuildFileFromDatabase(file_proto) == NULL) { in TryFindFileInFallbackDatabase() 1615 FileDescriptorProto file_proto; in TryFindSymbolInFallbackDatabase() local 1635 || !fallback_database_->FindFileContainingSymbol(name, &file_proto) in TryFindSymbolInFallbackDatabase() 1640 || tables_->FindFile(file_proto.name()) != NULL in TryFindSymbolInFallbackDatabase() 1643 || BuildFileFromDatabase(file_proto) == NULL) { in TryFindSymbolInFallbackDatabase() 1655 FileDescriptorProto file_proto; in TryFindExtensionInFallbackDatabase() local 1657 containing_type->full_name(), field_number, &file_proto)) { in TryFindExtensionInFallbackDatabase() 1661 if (tables_->FindFile(file_proto.name()) != NULL) { in TryFindExtensionInFallbackDatabase() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/ |
D | descriptor_database.cc | 76 FileDescriptorProto* file_proto = in GetFileDescriptorProto() local 78 *output = *file_proto; in GetFileDescriptorProto() 99 FileDescriptorProto file_proto; in GetFileDescriptorProto() local 100 if (!file_proto.ParseFromArray(str, len)) { in GetFileDescriptorProto() 105 *output = file_proto; in GetFileDescriptorProto()
|
D | descriptor_pool.cc | 460 FileDescriptorProto file_proto; in AddSerializedFile() local 461 if (!file_proto.ParseFromArray(message_type, message_len)) { in AddSerializedFile() 470 generated_file = self->underlay->FindFileByName(file_proto.name()); in AddSerializedFile() 479 self->pool->BuildFileCollectingErrors(file_proto, in AddSerializedFile()
|
D | descriptor.cc | 1258 FileDescriptorProto file_proto; in GetSerializedPb() local 1259 _GetDescriptor(self)->CopyTo(&file_proto); in GetSerializedPb() 1261 file_proto.SerializePartialToString(&contents); in GetSerializedPb()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_file.cc | 122 void CollectExtensions(const FileDescriptorProto& file_proto, in CollectExtensions() argument 126 if (!CollectExtensions(file_proto, extensions)) { in CollectExtensions() 131 file_proto.GetDescriptor()->full_name()); in CollectExtensions() 134 << file_proto.name() in CollectExtensions() 150 << file_proto.name() in CollectExtensions() 428 FileDescriptorProto file_proto; in GenerateDescriptorInitializationCodeForImmutable() local 429 file_->CopyTo(&file_proto); in GenerateDescriptorInitializationCodeForImmutable() 431 file_proto.SerializeToString(&file_data); in GenerateDescriptorInitializationCodeForImmutable() 433 CollectExtensions(file_proto, *file_->pool(), &extensions, file_data); in GenerateDescriptorInitializationCodeForImmutable() 499 FileDescriptorProto file_proto; in GenerateDescriptorInitializationCodeForMutable() local [all …]
|
D | java_shared_code_generator.cc | 134 FileDescriptorProto file_proto; in GenerateDescriptors() local 135 file_->CopyTo(&file_proto); in GenerateDescriptors() 139 file_proto.SerializeToString(&file_data); in GenerateDescriptors()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/javanano/ |
D | javanano_file.cc | 98 FileDescriptorProto file_proto; in Validate() local 99 file_->CopyTo(&file_proto); in Validate() 100 if (UsesExtensions(file_proto) && !params_.store_unknown_fields()) { in Validate()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/ |
D | descriptor_test.py | 64 file_proto = descriptor_pb2.FileDescriptorProto( 67 message_proto = file_proto.message_type.add( 80 file_proto.message_type.add(name='ResponseMessage') 81 service_proto = file_proto.service.add( 92 self.pool.Add(file_proto) 93 self.my_file = self.pool.FindFileByName(file_proto.name)
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/ |
D | cpp_file.cc | 591 FileDescriptorProto file_proto; in GenerateBuildDescriptors() local 592 file_->CopyTo(&file_proto); in GenerateBuildDescriptors() 594 file_proto.SerializeToString(&file_data); in GenerateBuildDescriptors()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 1707 FileDescriptorProto* file_proto = file_set.add_file(); in WriteDescriptorSet() local 1708 parsed_files[i]->CopyTo(file_proto); in WriteDescriptorSet() 1709 parsed_files[i]->CopyJsonNameTo(file_proto); in WriteDescriptorSet() 1711 parsed_files[i]->CopySourceCodeInfoTo(file_proto); in WriteDescriptorSet()
|
D | parser_unittest.cc | 1750 void StripFieldTypeName(FileDescriptorProto* file_proto) { in StripFieldTypeName() argument 1751 for (int i = 0; i < file_proto->message_type_size(); ++i) { in StripFieldTypeName() 1752 StripFieldTypeName(file_proto->mutable_message_type(i)); in StripFieldTypeName()
|