/external/protobuf/python/google/protobuf/ |
D | message_factory.py | 105 file_desc = self.pool.FindFileByName(file_name) 106 for name, msg in file_desc.message_types_by_name.items(): 107 if file_desc.package: 108 full_name = '.'.join([file_desc.package, name]) 123 for name, extension in file_desc.extensions_by_name.items():
|
D | descriptor_pool.py | 165 def AddFileDescriptor(self, file_desc): argument 175 if not isinstance(file_desc, descriptor.FileDescriptor): 177 self._file_descriptors[file_desc.name] = file_desc 402 def _ConvertMessageDescriptor(self, desc_proto, package=None, file_desc=None, argument 421 if file_desc is None: 424 file_name = file_desc.name 431 nested, desc_name, file_desc, scope, syntax) 434 self._ConvertEnumDescriptor(enum, desc_name, file_desc, None, scope) 464 file=file_desc, 482 def _ConvertEnumDescriptor(self, enum_proto, package=None, file_desc=None, argument [all …]
|
/external/nanopb-c/generator/google/protobuf/ |
D | descriptor_pool.py | 230 def _ConvertMessageDescriptor(self, desc_proto, package=None, file_desc=None, argument 249 if file_desc is None: 252 file_name = file_desc.name 258 self._ConvertMessageDescriptor(nested, desc_name, file_desc, scope) 261 self._ConvertEnumDescriptor(enum, desc_name, file_desc, None, scope) 284 file=file_desc, 296 def _ConvertEnumDescriptor(self, enum_proto, package=None, file_desc=None, argument 316 if file_desc is None: 319 file_name = file_desc.name 326 file=file_desc,
|
/external/protobuf/python/google/protobuf/internal/ |
D | descriptor_pool_test.py | 365 file_desc = pool.FindFileByName(self.name) 366 test.assertEqual(self.name, file_desc.name) 367 test.assertEqual(self.package, file_desc.package) 368 dependencies_names = [f.name for f in file_desc.dependencies] 370 public_dependencies_names = [f.name for f in file_desc.public_dependencies] 373 msg_type.CheckType(test, None, name, file_desc) 381 def CheckType(self, test, msg_desc, name, file_desc): argument 387 test.assertEqual(file_desc, enum_desc.file) 406 def CheckType(self, test, containing_type_desc, name, file_desc): argument 408 desc = file_desc.message_types_by_name[name] [all …]
|
D | message_test.py | 1802 self.file_desc = """ 1827 text_format.Parse(self.file_desc, desc)
|
/external/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()
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 6460 const FileDescriptor *file_desc = in TEST_F() local 6463 const Descriptor *a_desc = file_desc->FindMessageTypeByName("A"); in TEST_F() 6471 const EnumDescriptor *e_desc = file_desc->FindEnumTypeByName("Indecision"); in TEST_F() 6479 const ServiceDescriptor *s_desc = file_desc->FindServiceByName("S"); in TEST_F() 6492 const FileDescriptor *file_desc = in TEST_F() local 6496 file_desc->FindExtensionByName("int32_extension"); in TEST_F() 6500 const Descriptor *c_desc = file_desc->FindMessageTypeByName("C"); in TEST_F() 6514 const FileDescriptor *file_desc = in TEST_F() local 6518 file_desc->CopyTo(&proto); // Note, this discards the SourceCodeInfo. in TEST_F() 6532 const FileDescriptor *file_desc = in TEST_F() local [all …]
|
/external/sonivox/jet_tools/JetCreator/ |
D | eas.py | 425 file_desc = file_types[file_type] 427 file_desc = 'Unrecognized type %d' % file_type 428 eas_logger.debug('EAS_GetFileType: type=%d, desc=%s' % (file_type, file_desc)) 429 return (file_type, file_desc)
|