Home
last modified time | relevance | path

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

1234

/external/grpc-grpc/test/http2_test/
Dmessages_pb2.py38 containing_type=None,
55 containing_type=None,
61 message_type=None, enum_type=None, containing_type=None,
86 containing_type=None,
92 message_type=None, enum_type=None, containing_type=None,
99 message_type=None, enum_type=None, containing_type=None,
124 containing_type=None,
130 message_type=None, enum_type=None, containing_type=None,
137 message_type=None, enum_type=None, containing_type=None,
162 containing_type=None,
[all …]
/external/grpc-grpc/examples/python/route_guide/
Droute_guide_pb2.py33 containing_type=None,
39 message_type=None, enum_type=None, containing_type=None,
46 message_type=None, enum_type=None, containing_type=None,
71 containing_type=None,
77 message_type=None, enum_type=None, containing_type=None,
84 message_type=None, enum_type=None, containing_type=None,
109 containing_type=None,
115 message_type=None, enum_type=None, containing_type=None,
122 message_type=None, enum_type=None, containing_type=None,
147 containing_type=None,
[all …]
/external/grpc-grpc/examples/python/multiplex/
Droute_guide_pb2.py33 containing_type=None,
39 message_type=None, enum_type=None, containing_type=None,
46 message_type=None, enum_type=None, containing_type=None,
71 containing_type=None,
77 message_type=None, enum_type=None, containing_type=None,
84 message_type=None, enum_type=None, containing_type=None,
109 containing_type=None,
115 message_type=None, enum_type=None, containing_type=None,
122 message_type=None, enum_type=None, containing_type=None,
147 containing_type=None,
[all …]
Dhelloworld_pb2.py33 containing_type=None,
39 message_type=None, enum_type=None, containing_type=None,
64 containing_type=None,
70 message_type=None, enum_type=None, containing_type=None,
/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/grpc-grpc/test/cpp/util/
Dproto_reflection_descriptor_database.cc155 const string& containing_type, int field_number, in FindFileContainingExtension() argument
157 if (cached_db_.FindFileContainingExtension(containing_type, field_number, in FindFileContainingExtension()
162 if (missing_extensions_.find(containing_type) != missing_extensions_.end() && in FindFileContainingExtension()
163 missing_extensions_[containing_type].find(field_number) != in FindFileContainingExtension()
164 missing_extensions_[containing_type].end()) { in FindFileContainingExtension()
171 containing_type); in FindFileContainingExtension()
187 if (missing_extensions_.find(containing_type) == in FindFileContainingExtension()
189 missing_extensions_[containing_type] = {}; in FindFileContainingExtension()
191 missing_extensions_[containing_type].insert(field_number); in FindFileContainingExtension()
194 containing_type.c_str(), field_number); in FindFileContainingExtension()
[all …]
/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 …]
/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/grpc-grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
Dreflection.py74 def _file_containing_extension(self, containing_type, extension_number): argument
77 containing_type)
87 def _all_extension_numbers_of_type(self, containing_type): argument
90 containing_type)
123 request.file_containing_extension.containing_type,
/external/grpc-grpc/examples/python/interceptors/default_value/
Dhelloworld_pb2.py33 containing_type=None,
39 message_type=None, enum_type=None, containing_type=None,
64 containing_type=None,
70 message_type=None, enum_type=None, containing_type=None,
/external/grpc-grpc/examples/python/helloworld/
Dhelloworld_pb2.py33 containing_type=None,
39 message_type=None, enum_type=None, containing_type=None,
64 containing_type=None,
70 message_type=None, enum_type=None, containing_type=None,
/external/grpc-grpc/examples/python/interceptors/headers/
Dhelloworld_pb2.py33 containing_type=None,
39 message_type=None, enum_type=None, containing_type=None,
64 containing_type=None,
70 message_type=None, enum_type=None, containing_type=None,
/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()
/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/grpc-grpc/src/compiler/
Dcpp_generator_helpers.h42 while (outer->containing_type() != NULL) outer = outer->containing_type(); in ClassName()
/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()

1234