Home
last modified time | relevance | path

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

1234

/third_party/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 …]
/third_party/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,
/third_party/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 …]
/third_party/grpc/test/cpp/util/
Dproto_reflection_descriptor_database.cc158 const string& containing_type, int field_number, in FindFileContainingExtension() argument
160 if (cached_db_.FindFileContainingExtension(containing_type, field_number, in FindFileContainingExtension()
165 if (missing_extensions_.find(containing_type) != missing_extensions_.end() && in FindFileContainingExtension()
166 missing_extensions_[containing_type].find(field_number) != in FindFileContainingExtension()
167 missing_extensions_[containing_type].end()) { in FindFileContainingExtension()
174 containing_type); in FindFileContainingExtension()
190 if (missing_extensions_.find(containing_type) == in FindFileContainingExtension()
192 missing_extensions_[containing_type] = {}; in FindFileContainingExtension()
194 missing_extensions_[containing_type].insert(field_number); in FindFileContainingExtension()
197 containing_type.c_str(), field_number); in FindFileContainingExtension()
[all …]
/third_party/protobuf/src/google/protobuf/
Dextension_set_heavy.cc90 const Descriptor* containing_type) in DescriptorPoolExtensionFinder() argument
91 : pool_(pool), factory_(factory), containing_type_(containing_type) {} in DescriptorPoolExtensionFinder()
103 const Descriptor* containing_type, const DescriptorPool* pool, in AppendToList() argument
105 ForEach([containing_type, pool, &output](int number, const Extension& ext) { in AppendToList()
120 output->push_back(pool->FindExtensionByNumber(containing_type, number)); in AppendToList()
322 const Message* containing_type, in FindExtension() argument
327 GeneratedExtensionFinder finder(containing_type); in FindExtension()
334 containing_type->GetDescriptor()); in FindExtension()
344 const Message* containing_type, in ParseField() argument
350 if (!FindExtension(tag & 7, number, containing_type, ctx, &extension, in ParseField()
[all …]
Ddescriptor_database.h91 virtual bool FindFileContainingExtension(const std::string& containing_type,
181 bool FindFileContainingExtension(const std::string& containing_type,
209 Value FindExtension(const std::string& containing_type, int field_number);
210 bool FindAllExtensionNumbers(const std::string& containing_type,
312 bool FindFileContainingExtension(const std::string& containing_type,
345 bool FindFileContainingExtension(const std::string& containing_type,
375 bool FindFileContainingExtension(const std::string& containing_type,
Ddescriptor_database.cc310 const std::string& containing_type, int field_number) { in FindExtension() argument
312 by_extension_, std::make_pair(containing_type, field_number), Value()); in FindExtension()
317 const std::string& containing_type, std::vector<int>* output) { in FindAllExtensionNumbers() argument
319 by_extension_.lower_bound(std::make_pair(containing_type, 0)); in FindAllExtensionNumbers()
322 for (; it != by_extension_.end() && it->first.first == containing_type; in FindAllExtensionNumbers()
366 const std::string& containing_type, int field_number, in FindFileContainingExtension() argument
368 return MaybeCopy(index_.FindExtension(containing_type, field_number), output); in FindFileContainingExtension()
403 Value FindExtension(StringPiece containing_type, int field_number);
404 bool FindAllExtensionNumbers(StringPiece containing_type,
615 const std::string& containing_type, int field_number, in FindFileContainingExtension() argument
[all …]
Dextension_set.h146 GeneratedExtensionFinder(const MessageLite* containing_type) in GeneratedExtensionFinder() argument
147 : containing_type_(containing_type) {} in GeneratedExtensionFinder()
185 static void RegisterExtension(const MessageLite* containing_type, int number,
188 static void RegisterEnumExtension(const MessageLite* containing_type,
192 static void RegisterMessageExtension(const MessageLite* containing_type,
201 void AppendToList(const Descriptor* containing_type,
388 const MessageLite* containing_type);
390 const Message* containing_type,
393 const MessageLite* containing_type,
398 const MessageLite* containing_type,
[all …]
/third_party/protobuf/python/google/protobuf/
Dmessage_factory.py94 if extension.containing_type not in self._classes:
95 self.GetPrototype(extension.containing_type)
96 extended_class = self._classes[extension.containing_type]
130 if extension.containing_type not in self._classes:
131 self.GetPrototype(extension.containing_type)
132 extended_class = self._classes[extension.containing_type]
Ddescriptor.py189 file, containing_type, serialized_start=None, argument
218 self.containing_type = containing_type
289 def __new__(cls, name, full_name, filename, containing_type, fields, argument
301 def __init__(self, name, full_name, filename, containing_type, fields, argument
318 containing_type, serialized_start=serialized_start,
328 field.containing_type = self
335 nested_type.containing_type = self
340 enum_type.containing_type = self
354 oneof.containing_type = self
537 default_value, message_type, enum_type, containing_type, argument
[all …]
Ddescriptor_pool.py112 field.containing_type.has_options and
113 field.containing_type.GetOptions().message_set_wire_format and
333 extension.containing_type][extension.number]
342 extension.containing_type.full_name, extension.number))
344 self._extensions_by_number[extension.containing_type][
346 self._extensions_by_name[extension.containing_type][
351 self._extensions_by_name[extension.containing_type][
784 extension_desc.containing_type = self._GetTypeFromScope(
882 containing_type=None,
898 nested.containing_type = desc
[all …]
/third_party/protobuf/python/google/protobuf/pyext/
Ddescriptor_database.cc131 const std::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()
151 const std::string& containing_type, std::vector<int>* output) { in FindAllExtensionNumbers() argument
160 PyObject_CallFunction(py_method.get(), "s#", containing_type.c_str(), in FindAllExtensionNumbers()
161 containing_type.size())); in FindAllExtensionNumbers()
/third_party/grpc/examples/python/data_transmission/
Ddemo_pb2.py34 containing_type=None,
40 message_type=None, enum_type=None, containing_type=None,
47 message_type=None, enum_type=None, containing_type=None,
72 containing_type=None,
78 message_type=None, enum_type=None, containing_type=None,
85 message_type=None, enum_type=None, containing_type=None,
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_extension.cc87 const string containing_type = ClassName(descriptor_->containing_type()); in GenerateStaticVariablesInitialization() local
88 vars["extended_type"] = ObjCClass(containing_type); in GenerateStaticVariablesInitialization()
94 if (descriptor_->containing_type()->options().message_set_wire_format()) { in GenerateStaticVariablesInitialization()
138 string extended_type = ClassName(descriptor_->containing_type()); in DetermineObjectiveCClassDefinitions()
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/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,
/third_party/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,
296 self.assertIs(desc, desc.oneofs[0].containing_type)
/third_party/grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/
D_base.py73 def _file_containing_extension(self, containing_type, extension_number): argument
76 containing_type)
86 def _all_extension_numbers_of_type(self, containing_type): argument
89 containing_type)
/third_party/grpc/examples/python/xds/
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,
/third_party/grpc/examples/python/metadata/
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,
/third_party/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,
/third_party/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,
/third_party/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,
/third_party/protobuf/src/google/protobuf/compiler/js/
Djs_generator.cc198 const Descriptor* containing_type) { in GetPrefix() argument
200 GetNestedMessageName(containing_type); in GetPrefix()
211 return GetPrefix(options, descriptor->file(), descriptor->containing_type()); in GetMessagePathPrefix()
226 enum_descriptor->containing_type()); in GetEnumPathPrefix()
245 GetNestedMessageName(to_message->containing_type()) + "." + in MaybeCrossFileRef()
405 if (one_desc->containing_type() == nullptr) { in GetMessagesFileName()
451 const FileDescriptor* file = field->containing_type()->file(); in IgnoreExtensionField()
563 const Descriptor* containing_type = field->containing_type(); in JSFieldIndex() local
564 const Descriptor* parent_type = containing_type->containing_type(); in JSFieldIndex()
568 parent_type->field(i)->message_type() == containing_type) { in JSFieldIndex()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/csharp/
Dcsharp_helpers.cc286 const Descriptor* containing_type = descriptor->containing_type(); in GetGroupEndTag() local
287 if (containing_type != NULL) { in GetGroupEndTag()
289 for (int i = 0; i < containing_type->field_count(); i++) { in GetGroupEndTag()
290 field = containing_type->field(i); in GetGroupEndTag()
297 for (int i = 0; i < containing_type->extension_count(); i++) { in GetGroupEndTag()
298 field = containing_type->extension(i); in GetGroupEndTag()
388 if (property_name == descriptor->containing_type()->name() in GetPropertyName()

1234