Home
last modified time | relevance | path

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

123

/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/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dprotorpc_test_pb2.py37 containing_type=None,
58 containing_type=None,
70 containing_type=None,
76 message_type=None, enum_type=None, containing_type=None,
98 containing_type=None,
104 message_type=None, enum_type=None, containing_type=None,
111 message_type=None, enum_type=None, containing_type=None,
133 containing_type=None,
139 message_type=None, enum_type=None, containing_type=None,
161 containing_type=None,
[all …]
/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.py123 file, containing_type, serialized_start=None, argument
152 self.containing_type = containing_type
160 while desc.containing_type is not None:
161 desc = desc.containing_type
241 def __init__(self, name, full_name, filename, containing_type, fields, argument
253 containing_type, serialized_start=serialized_start,
263 field.containing_type = self
269 nested_type.containing_type = self
274 enum_type.containing_type = self
288 oneof.containing_type = self
[all …]
Dmessage_factory.py91 if extension.containing_type.full_name not in self._classes:
92 self.GetPrototype(extension.containing_type)
93 extended_class = self._classes[extension.containing_type.full_name]
132 if extension.containing_type.full_name not in self._classes:
133 self.GetPrototype(extension.containing_type)
134 extended_class = self._classes[extension.containing_type.full_name]
Ddescriptor_pool.py302 extension_desc.containing_type = self._GetTypeFromScope(
375 containing_type=None,
388 nested.containing_type = desc
390 enum.containing_type = desc
402 containing_type=None, scope=None): argument
433 containing_type=containing_type,
473 containing_type=None,
506 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 make_pair(containing_type, field_number), in FindExtension()
199 const string& containing_type, in FindAllExtensionNumbers() argument
202 by_extension_.lower_bound(make_pair(containing_type, 0)); in FindAllExtensionNumbers()
205 for (; it != by_extension_.end() && it->first.first == containing_type; in FindAllExtensionNumbers()
280 const string& containing_type, in FindFileContainingExtension() argument
283 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension()
371 const string& containing_type, in FindFileContainingExtension() argument
374 return MaybeParse(index_.FindExtension(containing_type, field_number), in FindFileContainingExtension()
418 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()
94 void ExtensionSet::AppendToList(const Descriptor* containing_type, in AppendToList() argument
114 containing_type, iter->first)); in AppendToList()
270 const Message* containing_type, in ParseField() argument
274 GeneratedExtensionFinder finder(containing_type); in ParseField()
279 containing_type->GetDescriptor()); in ParseField()
285 const Message* containing_type, in ParseMessageSet() argument
289 GeneratedExtensionFinder finder(containing_type); in ParseMessageSet()
294 containing_type->GetDescriptor()); in ParseMessageSet()
[all …]
Ddescriptor.cc292 case ONEOF : return oneof_descriptor ->containing_type()->file(); in CONSTRUCTOR()
803 parent = field->containing_type(); in AddFieldByStylizedNames()
814 DescriptorIntPair key(field->containing_type(), field->number()); in AddFieldByNumber()
825 DescriptorIntPair key(field->containing_type(), field->number()); in AddExtension()
1489 const Descriptor* containing_type, int field_number) const { in TryFindExtensionInFallbackDatabase() argument
1494 containing_type->full_name(), field_number, &file_proto)) { in TryFindExtensionInFallbackDatabase()
1643 if (!containing_type()->is_unqualified_placeholder_) { in CopyTo()
1646 proto->mutable_extendee()->append(containing_type()->full_name()); in CopyTo()
1866 const Descriptor* containing_type = NULL; in DebugString() local
1868 if (extension(i)->containing_type() != containing_type) { in DebugString()
[all …]
Ddescriptor.h147 const Descriptor* containing_type() const;
493 const Descriptor* containing_type() const;
634 const Descriptor* containing_type() const;
712 const Descriptor* containing_type() const;
1409 bool TryFindExtensionInFallbackDatabase(const Descriptor* containing_type,
1460 PROTOBUF_DEFINE_ACCESSOR(Descriptor, containing_type, const Descriptor*)
1490 PROTOBUF_DEFINE_ACCESSOR(FieldDescriptor, containing_type, const Descriptor*)
1514 PROTOBUF_DEFINE_ACCESSOR(OneofDescriptor, containing_type, const Descriptor*)
1520 PROTOBUF_DEFINE_ACCESSOR(EnumDescriptor, containing_type, const Descriptor*)
Dextension_set.h129 GeneratedExtensionFinder(const MessageLite* containing_type) in GeneratedExtensionFinder() argument
130 : containing_type_(containing_type) {} in GeneratedExtensionFinder()
167 static void RegisterExtension(const MessageLite* containing_type,
170 static void RegisterEnumExtension(const MessageLite* containing_type,
174 static void RegisterMessageExtension(const MessageLite* containing_type,
183 void AppendToList(const Descriptor* containing_type,
358 const MessageLite* containing_type);
360 const Message* containing_type,
363 const MessageLite* containing_type,
375 const MessageLite* containing_type);
[all …]
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py125 self.assertEqual(unittest_pb2.optional_int32_extension.containing_type,
127 self.assertEqual(unittest_pb2.TestRequired.single.containing_type,
169 unittest_pb2.TestEmptyMessage.DESCRIPTOR.containing_type is None)
171 unittest_pb2.TestAllTypes.DESCRIPTOR.containing_type is None)
173 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
176 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
179 unittest_pb2.TestAllTypes.RepeatedGroup.DESCRIPTOR.containing_type,
183 self.assertTrue(unittest_pb2._FOREIGNENUM.containing_type is None)
184 self.assertEqual(unittest_pb2._TESTALLTYPES_NESTEDENUM.containing_type,
290 self.assertIs(desc, desc.oneofs[0].containing_type)
Ddescriptor_pool_test.py111 self.assertEquals(None, msg1.containing_type)
115 self.assertEquals(msg1, nested_msg1.containing_type)
119 self.assertEquals(msg1, nested_enum1.containing_type)
132 self.assertIsNone(msg2.containing_type)
136 self.assertEquals(msg2, nested_msg2.containing_type)
140 self.assertEquals(msg2, nested_enum2.containing_type)
269 test.assertEqual(msg_desc, enum_desc.containing_type)
299 test.assertEqual(containing_type_desc, desc.containing_type)
333 test.assertEqual(msg_desc, field_desc.containing_type)
355 test.assertEqual(msg_desc, field_desc.containing_type)
[all …]
/external/protobuf/src/google/protobuf/compiler/java/
Djava_message_field.cc74 HasDescriptorMethods(descriptor->containing_type()) ? "onChanged();" : ""; in SetMessageVariables()
160 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateInterfaceMembers()
185 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateMembers()
205 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateMembers()
220 if (HasNestedBuilders(descriptor_->containing_type())) { in PrintNestedBuilderCondition()
269 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
384 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
584 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateMembers()
601 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
710 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
[all …]
Djava_lazy_message_field.cc76 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateMembers()
95 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
182 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
543 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
728 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
Djava_enum_field.cc76 HasDescriptorMethods(descriptor->containing_type()) ? "onChanged();" : ""; in SetEnumVariables()
264 if (UseUnknownFieldSet(descriptor_->containing_type())) { in GenerateParsingCode()
417 if (UseUnknownFieldSet(descriptor_->containing_type())) { in GenerateParsingCode()
509 HasGeneratedMethods(descriptor_->containing_type())) { in GenerateMembers()
655 if (UseUnknownFieldSet(descriptor_->containing_type())) { in GenerateParsingCode()
Djava_enum.cc199 if (descriptor_->containing_type() == NULL) { in Generate()
245 "parent", name_resolver_->GetClassName(descriptor_->containing_type(), in Generate()
247 "descriptor", descriptor_->containing_type()->options() in Generate()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc90 vars["prefix"] = (descriptor_->containing_type() == NULL) ? in GenerateDefinition()
208 if (descriptor_->containing_type() == NULL) { in GenerateDescriptorInitializer()
212 vars["parent"] = ClassName(descriptor_->containing_type(), false); in GenerateDescriptorInitializer()
259 if (descriptor_->containing_type() != NULL) { in GenerateMethods()
266 vars["parent"] = ClassName(descriptor_->containing_type(), false); in GenerateMethods()
Dcpp_helpers.cc136 while (outer->containing_type() != NULL) outer = outer->containing_type(); in ClassName()
149 if (enum_descriptor->containing_type() == NULL) { in ClassName()
156 string result = ClassName(enum_descriptor->containing_type(), qualified); in ClassName()
183 field->containing_type()->FindFieldByCamelcaseName( in FieldConstantName()
/external/protobuf/src/google/protobuf/compiler/python/
Dpython_generator.cc98 for (const Descriptor* current = descriptor.containing_type(); in NamePrefixedWithNestedTypes()
99 current != NULL; current = current->containing_type()) { in NamePrefixedWithNestedTypes()
823 void Generator::FixForeignFieldsInField(const Descriptor* containing_type, in FixForeignFieldsInField() argument
827 containing_type, field, python_dict_name); in FixForeignFieldsInField()
852 const Descriptor* containing_type, in FieldReferencingExpression() argument
859 if (!containing_type) { in FieldReferencingExpression()
864 ModuleLevelDescriptorName(*containing_type), in FieldReferencingExpression()
933 *extension_field.containing_type()); in FixForeignFieldsInExtension()
1221 field.containing_type(), field, "fields_by_name"); in FixOptionsForField()

123