Home
last modified time | relevance | path

Searched refs:message_name (Results 1 – 13 of 13) sorted by relevance

/external/protobuf/benchmarks/
Dgenerate_datasets.cc47 const std::string& message_name, in WriteFileWithPayloads() argument
57 DescriptorPool::generated_pool()->FindMessageTypeByName(message_name); in WriteFileWithPayloads()
61 << message_name << "\n"; in WriteFileWithPayloads()
77 dataset.set_message_name(message_name); in WriteFileWithPayloads()
91 void WriteFile(const std::string& name, const std::string& message_name, in WriteFile() argument
95 WriteFileWithPayloads(name, message_name, payloads); in WriteFile()
Dbenchmarks.proto47 string message_name = 2; field
/external/nanopb-c/generator/google/protobuf/
Ddescriptor_database.py114 message_name = '.'.join((package, desc_proto.name))
115 yield message_name
117 for symbol in _ExtractSymbols(nested_type, message_name):
120 yield '.'.join((message_name, enum_type.name))
Ddescriptor_pool.py335 def _MakeFieldDescriptor(self, field_proto, message_name, index, argument
355 if message_name:
356 full_name = '.'.join((message_name, field_proto.name))
467 message_name = '.'.join((package, desc_proto.name))
469 message_name = desc_proto.name
470 message_desc = self.FindMessageTypeByName(message_name)
471 yield (message_name, message_desc)
472 for symbol in self._ExtractSymbols(desc_proto.nested_type, message_name):
474 for symbol in self._ExtractEnums(desc_proto.enum_type, message_name):
/external/protobuf/python/google/protobuf/
Ddescriptor_database.py135 message_name = '.'.join((package, desc_proto.name))
136 yield message_name
138 for symbol in _ExtractSymbols(nested_type, message_name):
141 yield '.'.join((message_name, enum_type.name))
Ddescriptor_pool.py283 message_name, _, field_name = full_name.rpartition('.')
284 message_descriptor = self.FindMessageTypeByName(message_name)
297 message_name, _, extension_name = full_name.rpartition('.')
300 scope = self.FindMessageTypeByName(message_name)
520 def _MakeFieldDescriptor(self, field_proto, message_name, index, argument
540 if message_name:
541 full_name = '.'.join((message_name, field_proto.name))
/external/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc58 string* message_name) { in SplitTypeUrl() argument
64 *message_name = type_url.substr(pos + 1); in SplitTypeUrl()
75 string url_prefix, message_name; in ResolveMessageType() local
76 if (!SplitTypeUrl(type_url, &url_prefix, &message_name) || in ResolveMessageType()
86 const Descriptor* descriptor = pool_->FindMessageTypeByName(message_name); in ResolveMessageType()
89 "Invalid type URL, unknown type: " + message_name); in ResolveMessageType()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc173 const string& message_name);
177 const string& message_name,
182 const string& message_name);
187 const string& message_name);
426 const string& message_name) { in Run() argument
428 generator_name, parameter, "", proto_name, message_name, proto_name, in Run()
436 const string& message_name, in Run() argument
439 generator_name, parameter, "", proto_name, message_name, proto_name, in Run()
447 const string& message_name) { in Run() argument
449 generator_name, "", "", proto_name, message_name, in Run()
[all …]
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_definition.tmpl153 {%- set message_name =
164 mojo::internal::RequestMessageBuilder builder({{message_name}}, size,
189 mojo::internal::RequestMessageBuilder builder({{message_name}}, size);
191 mojo::internal::MessageBuilder builder({{message_name}}, size);
215 {%- set message_name =
287 {{message_name}}, size, request_id_,
/external/libmojo/ipc/
Dipc_message_utils.cc1054 GetParamSize(sizer, p.message_name); in GetSize()
1066 WriteParam(m, p.message_name); in Write()
1081 ReadParam(m, iter, &r->message_name) && in Read()
Dipc_message_utils.h70 std::string message_name; member
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py452 def _ReraiseTypeErrorWithFieldName(message_name, field_name): argument
457 exc = TypeError('%s for field %s.%s' % (str(exc), message_name, field_name))
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc2038 ScopedPyObjectPtr message_name(PyString_FromStringAndSize( in CheckAndGetInteger() local
2041 if (message_name == NULL) { in CheckAndGetInteger()
2044 PyDict_SetItem(extensions_by_name.get(), message_name.get(), in CheckAndGetInteger()