Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/protobuf/
Ddescriptor_pb2.py95 containing_type=None,
120 containing_type=None,
145 containing_type=None,
170 containing_type=None,
182 containing_type=None,
188 message_type=None, enum_type=None, containing_type=None,
210 containing_type=None,
216 message_type=None, enum_type=None, containing_type=None,
223 message_type=None, enum_type=None, containing_type=None,
230 message_type=None, enum_type=None, 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/protobuf/python/google/protobuf/
Ddescriptor.py100 file, containing_type, serialized_start=None, argument
129 self.containing_type = containing_type
137 while desc.containing_type is not None:
138 desc = desc.containing_type
210 def __init__(self, name, full_name, filename, containing_type, fields, argument
222 containing_type, serialized_start=serialized_start,
232 field.containing_type = self
241 enum_type.containing_type = self
374 default_value, message_type, enum_type, containing_type, argument
394 self.containing_type = containing_type
[all …]
/external/chromium_org/third_party/protobuf/python/google/protobuf/
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/protobuf/python/google/protobuf/internal/
Dgenerator_test.py120 self.assertEqual(unittest_pb2.optional_int32_extension.containing_type,
122 self.assertEqual(unittest_pb2.TestRequired.single.containing_type,
157 unittest_pb2.TestEmptyMessage.DESCRIPTOR.containing_type is None)
159 unittest_pb2.TestAllTypes.DESCRIPTOR.containing_type is None)
161 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
164 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
167 unittest_pb2.TestAllTypes.RepeatedGroup.DESCRIPTOR.containing_type,
171 self.assertTrue(unittest_pb2._FOREIGNENUM.containing_type is None)
172 self.assertEqual(unittest_pb2._TESTALLTYPES_NESTEDENUM.containing_type,
Ddescriptor_test.py72 containing_type=None,
80 message_type=None, enum_type=None, containing_type=None,
108 self.assertEqual(self.my_message, self.my_message.fields[0].containing_type)
109 self.assertEqual(self.my_message, self.my_enum.containing_type)
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Ddescriptor_database.h85 virtual bool FindFileContainingExtension(const string& containing_type,
148 bool FindFileContainingExtension(const string& containing_type,
175 Value FindExtension(const string& containing_type, int field_number);
176 bool FindAllExtensionNumbers(const string& containing_type,
293 bool FindFileContainingExtension(const string& containing_type,
322 bool FindFileContainingExtension(const string& containing_type,
351 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()
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.cc59 const Descriptor* containing_type) in DescriptorPoolExtensionFinder() argument
60 : pool_(pool), factory_(factory), containing_type_(containing_type) {} in DescriptorPoolExtensionFinder()
71 void ExtensionSet::AppendToList(const Descriptor* containing_type, in AppendToList() argument
91 containing_type, iter->first)); in AppendToList()
247 const Message* containing_type, in ParseFieldHeavy() argument
251 GeneratedExtensionFinder finder(containing_type); in ParseFieldHeavy()
256 containing_type->GetDescriptor()); in ParseFieldHeavy()
262 const Message* containing_type, in ParseMessageSetHeavy() argument
266 GeneratedExtensionFinder finder(containing_type); in ParseMessageSetHeavy()
271 containing_type->GetDescriptor()); in ParseMessageSetHeavy()
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor_database.h84 virtual bool FindFileContainingExtension(const string& containing_type,
147 bool FindFileContainingExtension(const string& containing_type,
174 Value FindExtension(const string& containing_type, int field_number);
175 bool FindAllExtensionNumbers(const string& containing_type,
292 bool FindFileContainingExtension(const string& containing_type,
321 bool FindFileContainingExtension(const string& containing_type,
350 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()
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.cc56 const Descriptor* containing_type) in DescriptorPoolExtensionFinder() argument
57 : pool_(pool), factory_(factory), containing_type_(containing_type) {} in DescriptorPoolExtensionFinder()
68 void ExtensionSet::AppendToList(const Descriptor* containing_type, in AppendToList() argument
88 containing_type, iter->first)); in AppendToList()
206 const Message* containing_type, in ParseField() argument
210 GeneratedExtensionFinder finder(containing_type); in ParseField()
215 containing_type->GetDescriptor()); in ParseField()
221 const Message* containing_type, in ParseMessageSet() argument
225 GeneratedExtensionFinder finder(containing_type); in ParseMessageSet()
230 containing_type->GetDescriptor()); in ParseMessageSet()
Dextension_set.h130 GeneratedExtensionFinder(const MessageLite* containing_type) in GeneratedExtensionFinder() argument
131 : containing_type_(containing_type) {} in GeneratedExtensionFinder()
165 static void RegisterExtension(const MessageLite* containing_type,
168 static void RegisterEnumExtension(const MessageLite* containing_type,
172 static void RegisterMessageExtension(const MessageLite* containing_type,
181 void AppendToList(const Descriptor* containing_type,
327 const MessageLite* containing_type);
329 const Message* containing_type,
341 const MessageLite* containing_type);
343 const Message* containing_type,
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dgenerator_test.py124 self.assertEqual(unittest_pb2.optional_int32_extension.containing_type,
126 self.assertEqual(unittest_pb2.TestRequired.single.containing_type,
168 unittest_pb2.TestEmptyMessage.DESCRIPTOR.containing_type is None)
170 unittest_pb2.TestAllTypes.DESCRIPTOR.containing_type is None)
172 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
175 unittest_pb2.TestAllTypes.NestedMessage.DESCRIPTOR.containing_type,
178 unittest_pb2.TestAllTypes.RepeatedGroup.DESCRIPTOR.containing_type,
182 self.assertTrue(unittest_pb2._FOREIGNENUM.containing_type is None)
183 self.assertEqual(unittest_pb2._TESTALLTYPES_NESTEDENUM.containing_type,
Ddescriptor_pool_test.py110 self.assertEquals(None, msg1.containing_type)
114 self.assertEquals(msg1, nested_msg1.containing_type)
118 self.assertEquals(msg1, nested_enum1.containing_type)
131 self.assertIsNone(msg2.containing_type)
135 self.assertEquals(msg2, nested_msg2.containing_type)
139 self.assertEquals(msg2, nested_enum2.containing_type)
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_message_field.cc73 HasDescriptorMethods(descriptor->containing_type()) ? "onChanged();" : ""; in SetMessageVariables()
139 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateInterfaceMembers()
161 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateMembers()
174 if (HasNestedBuilders(descriptor_->containing_type())) { in PrintNestedBuilderCondition()
216 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
308 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
490 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateInterfaceMembers()
540 if (HasNestedBuilders(descriptor_->containing_type())) { in PrintNestedBuilderCondition()
600 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
773 if (HasNestedBuilders(descriptor_->containing_type())) { in GenerateBuilderMembers()
Djava_enum_field.cc75 HasDescriptorMethods(descriptor->containing_type()) ? "onChanged();" : ""; in SetEnumVariables()
227 if (HasUnknownFields(descriptor_->containing_type())) { in GenerateParsingCode()
337 HasGeneratedMethods(descriptor_->containing_type())) { in GenerateMembers()
481 if (HasUnknownFields(descriptor_->containing_type())) { in GenerateParsingCode()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc71 vars["prefix"] = (descriptor_->containing_type() == NULL) ? in GenerateDefinition()
181 if (descriptor_->containing_type() == NULL) { in GenerateDescriptorInitializer()
185 vars["parent"] = ClassName(descriptor_->containing_type(), false); in GenerateDescriptorInitializer()
232 if (descriptor_->containing_type() != NULL) { in GenerateMethods()
239 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/cpp/
Dcpp_enum.cc71 vars["prefix"] = (descriptor_->containing_type() == NULL) ? in GenerateDefinition()
181 if (descriptor_->containing_type() == NULL) { in GenerateDescriptorInitializer()
185 vars["parent"] = ClassName(descriptor_->containing_type(), false); in GenerateDescriptorInitializer()
232 if (descriptor_->containing_type() != NULL) { in GenerateMethods()
239 vars["parent"] = ClassName(descriptor_->containing_type(), false); in GenerateMethods()
Dcpp_helpers.cc120 while (outer->containing_type() != NULL) outer = outer->containing_type(); in ClassName()
133 if (enum_descriptor->containing_type() == NULL) { in ClassName()
140 string result = ClassName(enum_descriptor->containing_type(), qualified); in ClassName()
167 field->containing_type()->FindFieldByCamelcaseName( in FieldConstantName()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_enum_field.cc136 if (HasUnknownFields(descriptor_->containing_type())) { in GenerateParsingCode()
195 HasGeneratedMethods(descriptor_->containing_type())) { in GenerateMembers()
279 if (HasUnknownFields(descriptor_->containing_type())) { in GenerateParsingCode()
Djava_message.cc169 if (descriptor_->containing_type() != NULL) { in GenerateStaticVariables()
171 descriptor_->containing_type()); in GenerateStaticVariables()
208 if (descriptor_->containing_type() != NULL) { in GenerateStaticVariableInitializers()
210 descriptor_->containing_type()); in GenerateStaticVariableInitializers()
214 if (descriptor_->containing_type() == NULL) { in GenerateStaticVariableInitializers()
258 descriptor_->containing_type() == NULL && in Generate()

1234