/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/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/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 | 1968 file_desc = "shared library" 1970 file_desc = "static library" 1972 file_desc = "executable" 1998 comment="Copy this to the %s output path." % file_desc, 2009 comment="Copy this to the %s output path." % file_desc, 2017 comment="Symlnk this to the %s output path." % file_desc, 2029 comment="Short alias for building this %s." % file_desc, 2040 comment='Add %s to "all" target.' % file_desc, 2047 comment='Add %s to "all" target.' % file_desc,
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
D | make.py | 1977 file_desc = "shared library" 1979 file_desc = "static library" 1981 file_desc = "executable" 2004 comment="Copy this to the %s output path." % file_desc, 2015 comment="Copy this to the %s output path." % file_desc, 2023 comment="Symlnk this to the %s output path." % file_desc, 2035 comment="Short alias for building this %s." % file_desc, 2046 comment='Add %s to "all" target.' % file_desc, 2053 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
|