/third_party/grpc/src/cpp/ext/ |
D | proto_server_reflection.cc | 118 const protobuf::FileDescriptor* file_desc = in GetFileByName() local 120 if (file_desc == nullptr) { in GetFileByName() 124 FillFileDescriptorResponse(file_desc, response, &seen_files); in GetFileByName() 135 const protobuf::FileDescriptor* file_desc = in GetFileContainingSymbol() local 137 if (file_desc == nullptr) { in GetFileContainingSymbol() 141 FillFileDescriptorResponse(file_desc, response, &seen_files); in GetFileContainingSymbol() 192 const protobuf::FileDescriptor* file_desc, in FillFileDescriptorResponse() argument 195 if (seen_files->find(file_desc->name()) != seen_files->end()) { in FillFileDescriptorResponse() 198 seen_files->insert(file_desc->name()); in FillFileDescriptorResponse() 202 file_desc->CopyTo(&file_desc_proto); in FillFileDescriptorResponse() [all …]
|
D | proto_server_reflection.h | 67 const protobuf::FileDescriptor* file_desc,
|
/third_party/protobuf/python/google/protobuf/ |
D | descriptor_pool.py | 355 def AddFileDescriptor(self, file_desc): argument 356 self._InternalAddFileDescriptor(file_desc) 359 def _InternalAddFileDescriptor(self, file_desc): argument 369 self._AddFileDescriptor(file_desc) 373 for extension in file_desc.extensions_by_name.values(): 375 extension.full_name] = file_desc 377 def _AddFileDescriptor(self, file_desc): argument 387 if not isinstance(file_desc, descriptor.FileDescriptor): 389 self._file_descriptors[file_desc.name] = file_desc 815 file_desc = self._file_descriptors[file_proto.name] [all …]
|
D | message_factory.py | 116 file_desc = self.pool.FindFileByName(file_name) 117 for desc in file_desc.message_types_by_name.values(): 129 for extension in file_desc.extensions_by_name.values():
|
D | symbol_database.py | 178 file_desc = self.pool.FindFileByName(file_name) 179 for msg_desc in file_desc.message_types_by_name.values():
|
/third_party/grpc/test/cpp/end2end/ |
D | proto_server_reflection_test.cc | 79 const protobuf::FileDescriptor* file_desc = service_desc->file(); in CompareService() local 80 if (known_files_.find(file_desc->package() + "/" + file_desc->name()) != in CompareService() 82 EXPECT_EQ(file_desc->DebugString(), in CompareService() 84 known_files_.insert(file_desc->package() + "/" + file_desc->name()); in CompareService()
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 492 file_desc = descriptor_pb2.FileDescriptorProto(name='some/file.proto') 493 self.pool.Add(file_desc) 494 self.pool.AddSerializedFile(file_desc.SerializeToString()) 706 file_desc = pool.FindFileByName(self.name) 707 test.assertEqual(self.name, file_desc.name) 708 test.assertEqual(self.package, file_desc.package) 709 dependencies_names = [f.name for f in file_desc.dependencies] 711 public_dependencies_names = [f.name for f in file_desc.public_dependencies] 714 msg_type.CheckType(test, None, name, file_desc) 722 def CheckType(self, test, msg_desc, name, file_desc): argument [all …]
|
D | message_test.py | 2652 file_desc = """ 2677 text_format.Parse(file_desc, desc)
|
/third_party/protobuf/php/tests/ |
D | PhpImplementationTest.php | 320 $file_desc = $file_desc_set->getFile()[0]; 321 $this->assertSame("test_include.proto", $file_desc->getName()); 322 $this->assertSame("bar", $file_desc->getPackage()); 323 $this->assertSame(0, sizeof($file_desc->getDependency())); 324 $this->assertSame(1, sizeof($file_desc->getMessageType())); 325 $this->assertSame(0, sizeof($file_desc->getEnumType())); 326 $this->assertSame("proto3", $file_desc->getSyntax()); 328 $desc = $file_desc->getMessageType()[0];
|
/third_party/grpc/test/cpp/util/ |
D | proto_file_parser.cc | 87 const auto* file_desc = importer_->Import(file_name); in ProtoFileParser() local 88 if (file_desc) { in ProtoFileParser() 89 for (int i = 0; i < file_desc->service_count(); i++) { in ProtoFileParser() 90 service_desc_list_.push_back(file_desc->service(i)); in ProtoFileParser() 91 known_services.insert(file_desc->service(i)->full_name()); in ProtoFileParser()
|
/third_party/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 7277 const FileDescriptor* file_desc = in TEST_F() local 7280 const Descriptor* a_desc = file_desc->FindMessageTypeByName("A"); in TEST_F() 7288 const EnumDescriptor* e_desc = file_desc->FindEnumTypeByName("Indecision"); in TEST_F() 7296 const ServiceDescriptor* s_desc = file_desc->FindServiceByName("S"); in TEST_F() 7309 const FileDescriptor* file_desc = in TEST_F() local 7313 file_desc->FindExtensionByName("int32_extension"); in TEST_F() 7317 const Descriptor* c_desc = file_desc->FindMessageTypeByName("C"); in TEST_F() 7336 const FileDescriptor* file_desc = in TEST_F() local 7347 EXPECT_TRUE(file_desc->GetSourceLocation(vpath, &loc)); in TEST_F() 7351 EXPECT_FALSE(file_desc->GetSourceLocation(vunint, &loc)); in TEST_F() [all …]
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_tc6.c | 262 int file_desc; in open_file() local 264 if ((file_desc = open(file, open_mode)) < 0) in open_file() 266 return (file_desc); in open_file()
|
/third_party/node/tools/gyp/pylib/gyp/generator/ |
D | make.py | 1850 file_desc = "shared library" 1852 file_desc = "static library" 1854 file_desc = "executable" 1878 comment="Copy this to the %s output path." % file_desc, 1886 comment="Short alias for building this %s." % file_desc, 1893 comment='Add %s to "all" target.' % file_desc,
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
D | make.py | 1662 file_desc = 'shared library' 1664 file_desc = 'static library' 1666 file_desc = 'executable' 1682 file_desc, part_of_all=part_of_all) 1687 file_desc, phony = True) 1690 comment = 'Add %s to "all" target.' % file_desc,
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-spawn.c | 427 lsp->stdwsi[n]->file_desc = 1; in lws_spawn_piped()
|
/third_party/libwebsockets/lib/core-net/ |
D | private-lib-core-net.h | 798 unsigned int file_desc:1; member
|