Home
last modified time | relevance | path

Searched refs:containing_type (Results 1 – 25 of 89) sorted by relevance

1234

/external/nanopb-c/generator/google/protobuf/
Ddescriptor_pb2.py98 containing_type=None,
123 containing_type=None,
148 containing_type=None,
173 containing_type=None,
185 containing_type=None,
191 message_type=None, enum_type=None, containing_type=None,
213 containing_type=None,
219 message_type=None, enum_type=None, containing_type=None,
226 message_type=None, enum_type=None, containing_type=None,
233 message_type=None, enum_type=None, containing_type=None,
[all …]
Ddescriptor.py116 file, containing_type, serialized_start=None, argument
145 self.containing_type = containing_type
153 while desc.containing_type is not None:
154 desc = desc.containing_type
226 def __init__(self, name, full_name, filename, containing_type, fields, argument
238 containing_type, serialized_start=serialized_start,
248 field.containing_type = self
257 enum_type.containing_type = self
429 default_value, message_type, enum_type, containing_type, argument
449 self.containing_type = containing_type
[all …]
Ddescriptor_pool.py276 containing_type=None,
288 nested.containing_type = desc
290 enum.containing_type = desc
297 containing_type=None, scope=None): argument
328 containing_type=containing_type,
369 containing_type=None,
/external/nanopb-c/generator/proto/
Dplugin_pb2.py23 containing_type=None,
29 message_type=None, enum_type=None, containing_type=None,
36 message_type=None, enum_type=None, containing_type=None,
43 message_type=None, enum_type=None, containing_type=None,
65 containing_type=None,
71 message_type=None, enum_type=None, containing_type=None,
78 message_type=None, enum_type=None, containing_type=None,
85 message_type=None, enum_type=None, containing_type=None,
106 containing_type=None,
112 message_type=None, enum_type=None, containing_type=None,
[all …]
Dnanopb_pb2.py42 containing_type=None,
60 message_type=None, enum_type=None, containing_type=None,
68 message_type=None, enum_type=None, containing_type=None,
76 message_type=None, enum_type=None, containing_type=None,
84 message_type=None, enum_type=None, containing_type=None,
94 containing_type=None,
100 message_type=None, enum_type=None, containing_type=None,
107 message_type=None, enum_type=None, containing_type=None,
114 message_type=None, enum_type=None, containing_type=None,
121 message_type=None, enum_type=None, containing_type=None,
[all …]
/external/nanopb-c/generator/google/protobuf/compiler/
Dplugin_pb2.py27 containing_type=None,
33 message_type=None, enum_type=None, containing_type=None,
40 message_type=None, enum_type=None, containing_type=None,
47 message_type=None, enum_type=None, containing_type=None,
69 containing_type=None,
75 message_type=None, enum_type=None, containing_type=None,
82 message_type=None, enum_type=None, containing_type=None,
89 message_type=None, enum_type=None, containing_type=None,
110 containing_type=None,
116 message_type=None, enum_type=None, containing_type=None,
[all …]
/external/protobuf/python/google/protobuf/
Ddescriptor.py140 file, containing_type, serialized_start=None, argument
169 self.containing_type = containing_type
177 while desc.containing_type is not None:
178 desc = desc.containing_type
258 def __new__(cls, name, full_name, filename, containing_type, fields, argument
269 def __init__(self, name, full_name, filename, containing_type, fields, argument
282 containing_type, serialized_start=serialized_start,
292 field.containing_type = self
299 nested_type.containing_type = self
304 enum_type.containing_type = self
[all …]
Dmessage_factory.py83 if extension.containing_type.full_name not in self._classes:
84 self.GetPrototype(extension.containing_type)
85 extended_class = self._classes[extension.containing_type.full_name]
124 if extension.containing_type.full_name not in self._classes:
125 self.GetPrototype(extension.containing_type)
126 extended_class = self._classes[extension.containing_type.full_name]
Ddescriptor_pool.py377 extension_desc.containing_type = self._GetTypeFromScope(
455 containing_type=None,
469 nested.containing_type = desc
471 enum.containing_type = desc
483 containing_type=None, scope=None): argument
514 containing_type=containing_type,
554 containing_type=None,
587 extension_desc.containing_type = self._GetTypeFromScope(
/external/protobuf/src/google/protobuf/
Ddescriptor_database.h85 virtual bool FindFileContainingExtension(const string& containing_type,
149 bool FindFileContainingExtension(const string& containing_type,
176 Value FindExtension(const string& containing_type, int field_number);
177 bool FindAllExtensionNumbers(const string& containing_type,
294 bool FindFileContainingExtension(const string& containing_type,
323 bool FindFileContainingExtension(const string& containing_type,
352 bool FindFileContainingExtension(const string& containing_type,
Ddescriptor_database.cc190 const string& containing_type, in FindExtension() argument
193 by_extension_, std::make_pair(containing_type, field_number), Value()); in FindExtension()
198 const string& containing_type, in FindAllExtensionNumbers() argument
201 by_extension_.lower_bound(std::make_pair(containing_type, 0)); in FindAllExtensionNumbers()
204 for (; it != by_extension_.end() && it->first.first == containing_type; in FindAllExtensionNumbers()
279 const string& containing_type, in FindFileContainingExtension() argument
282 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension()
370 const string& containing_type, in FindFileContainingExtension() argument
373 return MaybeParse(index_.FindExtension(containing_type, field_number), in FindFileContainingExtension()
417 const string& containing_type, in FindFileContainingExtension() argument
[all …]
Dextension_set_heavy.cc82 const Descriptor* containing_type) in DescriptorPoolExtensionFinder() argument
83 : pool_(pool), factory_(factory), containing_type_(containing_type) {} in DescriptorPoolExtensionFinder()
95 const Descriptor* containing_type, in AppendToList() argument
115 containing_type, iter->first)); in AppendToList()
290 const Message* containing_type, in ParseField() argument
294 GeneratedExtensionFinder finder(containing_type); in ParseField()
299 containing_type->GetDescriptor()); in ParseField()
305 const Message* containing_type, in ParseMessageSet() argument
309 GeneratedExtensionFinder finder(containing_type); in ParseMessageSet()
314 containing_type->GetDescriptor()); in ParseMessageSet()
[all …]
Dextension_set.h132 GeneratedExtensionFinder(const MessageLite* containing_type) in GeneratedExtensionFinder() argument
133 : containing_type_(containing_type) {} in GeneratedExtensionFinder()
171 static void RegisterExtension(const MessageLite* containing_type,
174 static void RegisterEnumExtension(const MessageLite* containing_type,
178 static void RegisterMessageExtension(const MessageLite* containing_type,
187 void AppendToList(const Descriptor* containing_type,
371 const MessageLite* containing_type);
373 const Message* containing_type,
376 const MessageLite* containing_type,
388 const MessageLite* containing_type);
[all …]
Ddescriptor.cc312 case ONEOF : return oneof_descriptor ->containing_type()->file(); in CONSTRUCTOR()
948 parent = field->containing_type(); in AddFieldByStylizedNames()
959 DescriptorIntPair key(field->containing_type(), field->number()); in AddFieldByNumber()
970 DescriptorIntPair key(field->containing_type(), field->number()); in AddExtension()
1652 const Descriptor* containing_type, int field_number) const { in TryFindExtensionInFallbackDatabase() argument
1657 containing_type->full_name(), field_number, &file_proto)) { in TryFindExtensionInFallbackDatabase()
1856 if (!containing_type()->is_unqualified_placeholder_) { in CopyTo()
1859 proto->mutable_extendee()->append(containing_type()->full_name()); in CopyTo()
2178 const Descriptor* containing_type = NULL; in DebugStringWithOptions() local
2180 if (extension(i)->containing_type() != containing_type) { in DebugStringWithOptions()
[all …]
Ddescriptor.h193 const Descriptor* containing_type() const;
593 const Descriptor* containing_type() const;
745 const Descriptor* containing_type() const;
830 const Descriptor* containing_type() const;
1599 bool TryFindExtensionInFallbackDatabase(const Descriptor* containing_type,
1650 PROTOBUF_DEFINE_ACCESSOR(Descriptor, containing_type, const Descriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
1687 PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, containing_type, const Descriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
1709 PROTOBUF_DEFINE_ACCESSOR(OneofDescriptor, containing_type, const Descriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
1715 PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, containing_type, const Descriptor*) in PROTOBUF_DEFINE_STRING_ACCESSOR()
/external/kmod/shared/
Dmacro.h34 #define container_of(member_ptr, containing_type, member) \ argument
35 ((containing_type *) \
36 ((char *)(member_ptr) - offsetof(containing_type, member)) \
37 - check_types_match(*(member_ptr), ((containing_type *)0)->member))
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py130 self.assertEqual(unittest_pb2.optional_int32_extension.containing_type,
132 self.assertEqual(unittest_pb2.TestRequired.single.containing_type,
174 unittest_pb2.TestEmptyMessage.DESCRIPTOR.containing_type is None)
176 unittest_pb2.TestAllTypes.DESCRIPTOR.containing_type is None)
178 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
181 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
184 unittest_pb2.TestAllTypes.RepeatedGroup.DESCRIPTOR.containing_type,
188 self.assertTrue(unittest_pb2._FOREIGNENUM.containing_type is None)
189 self.assertEqual(unittest_pb2._TESTALLTYPES_NESTEDENUM.containing_type,
295 self.assertIs(desc, desc.oneofs[0].containing_type)
Ddescriptor_pool_test.py120 self.assertEqual(None, msg1.containing_type)
124 self.assertEqual(msg1, nested_msg1.containing_type)
128 self.assertEqual(msg1, nested_enum1.containing_type)
141 self.assertIsNone(msg2.containing_type)
145 self.assertEqual(msg2, nested_msg2.containing_type)
149 self.assertEqual(msg2, nested_enum2.containing_type)
386 test.assertEqual(msg_desc, enum_desc.containing_type)
416 test.assertEqual(containing_type_desc, desc.containing_type)
450 test.assertEqual(msg_desc, field_desc.containing_type)
472 test.assertEqual(msg_desc, field_desc.containing_type)
[all …]
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc99 vars["prefix"] = (descriptor_->containing_type() == NULL) ? in GenerateDefinition()
238 if (descriptor_->containing_type() == NULL) { in GenerateDescriptorInitializer()
242 vars["parent"] = ClassName(descriptor_->containing_type(), false); in GenerateDescriptorInitializer()
290 if (descriptor_->containing_type() != NULL) { in GenerateMethods()
297 vars["parent"] = ClassName(descriptor_->containing_type(), false); in GenerateMethods()
Dcpp_helpers.cc143 while (outer->containing_type() != NULL) outer = outer->containing_type(); in ClassName()
156 if (enum_descriptor->containing_type() == NULL) { in ClassName()
163 string result = ClassName(enum_descriptor->containing_type(), qualified); in ClassName()
211 field->containing_type()->FindFieldByCamelcaseName( in FieldConstantName()
/external/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc212 const Descriptor* containing_type) { in GetPrefix() argument
215 if (containing_type == NULL) { in GetPrefix()
218 prefix = GetPath(options, containing_type); in GetPrefix()
235 descriptor->containing_type()) + descriptor->name(); in GetPath()
243 return GetPath(options, descriptor->containing_type()); in GetPath()
252 enum_descriptor->containing_type()) + enum_descriptor->name(); in GetPath()
426 field->containing_type()->file()->name() == in IgnoreExtensionField()
535 const Descriptor* containing_type = field->containing_type(); in JSFieldIndex() local
536 const Descriptor* parent_type = containing_type->containing_type(); in JSFieldIndex()
540 parent_type->field(i)->message_type() == containing_type) { in JSFieldIndex()
[all …]
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor.cc173 return descriptor->containing_type()->file(); in GetFileDescriptor()
520 const Descriptor* containing_type = in GetContainingType() local
521 _GetDescriptor(self)->containing_type(); in GetContainingType()
522 if (containing_type) { in GetContainingType()
523 return PyMessageDescriptor_FromDescriptor(containing_type); in GetContainingType()
820 const Descriptor* containing_type = in GetContainingType() local
821 _GetDescriptor(self)->containing_type(); in GetContainingType()
822 if (containing_type) { in GetContainingType()
823 return PyMessageDescriptor_FromDescriptor(containing_type); in GetContainingType()
1000 const Descriptor* containing_type = in GetContainingType() local
[all …]
Ddescriptor_database.cc131 const string& containing_type, int field_number, in FindFileContainingExtension() argument
141 PyObject_CallFunction(py_method.get(), "s#i", containing_type.c_str(), in FindFileContainingExtension()
142 containing_type.size(), field_number)); in FindFileContainingExtension()
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_extension.cc79 vars["extended_type"] = ClassName(descriptor_->containing_type()); in GenerateStaticVariablesInitialization()
85 if (descriptor_->containing_type()->options().message_set_wire_format()) in GenerateStaticVariablesInitialization()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_enum.cc243 if (descriptor_->containing_type() == NULL) { in Generate()
290 "parent", name_resolver_->GetClassName(descriptor_->containing_type(), in Generate()
292 "descriptor", descriptor_->containing_type()->options() in Generate()

1234