/external/protobuf/python/google/protobuf/ |
D | message_factory.py | 113 file_desc = self.pool.FindFileByName(file_name) 114 for name, msg in file_desc.message_types_by_name.iteritems(): 115 if file_desc.package: 116 full_name = '.'.join([file_desc.package, name]) 131 for name, extension in file_desc.extensions_by_name.iteritems():
|
D | descriptor_pool.py | 144 def AddFileDescriptor(self, file_desc): argument 154 if not isinstance(file_desc, descriptor.FileDescriptor): 156 self._file_descriptors[file_desc.name] = file_desc 324 def _ConvertMessageDescriptor(self, desc_proto, package=None, file_desc=None, argument 343 if file_desc is None: 346 file_name = file_desc.name 352 self._ConvertMessageDescriptor(nested, desc_name, file_desc, scope) 355 self._ConvertEnumDescriptor(enum, desc_name, file_desc, None, scope) 384 file=file_desc, 401 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 | 250 file_desc = pool.FindFileByName(self.name) 251 test.assertEquals(self.name, file_desc.name) 252 test.assertEquals(self.package, file_desc.package) 253 dependencies_names = [f.name for f in file_desc.dependencies] 256 msg_type.CheckType(test, None, name, file_desc) 264 def CheckType(self, test, msg_desc, name, file_desc): argument 270 test.assertEqual(file_desc, enum_desc.file) 289 def CheckType(self, test, containing_type_desc, name, file_desc): argument 291 desc = file_desc.message_types_by_name[name] 292 expected_full_name = '.'.join([file_desc.package, name]) [all …]
|
/external/protobuf/src/google/protobuf/ |
D | descriptor_unittest.cc | 5348 const FileDescriptor *file_desc = in TEST_F() local 5351 const Descriptor *a_desc = file_desc->FindMessageTypeByName("A"); in TEST_F() 5359 const EnumDescriptor *e_desc = file_desc->FindEnumTypeByName("Indecision"); in TEST_F() 5367 const ServiceDescriptor *s_desc = file_desc->FindServiceByName("S"); in TEST_F() 5380 const FileDescriptor *file_desc = in TEST_F() local 5384 file_desc->FindExtensionByName("int32_extension"); in TEST_F() 5388 const Descriptor *c_desc = file_desc->FindMessageTypeByName("C"); in TEST_F() 5402 const FileDescriptor *file_desc = in TEST_F() local 5406 file_desc->CopyTo(&proto); // Note, this discards the SourceCodeInfo. in TEST_F() 5420 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)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
D | client.py | 1246 file_desc = os.open(temp_filename, os.O_WRONLY | os.O_CREAT, 0o600) 1247 with os.fdopen(file_desc, 'w') as file_handle:
|