Home
last modified time | relevance | path

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

12

/external/protobuf/benchmarks/util/
Dgogo_data_scrubber.cc43 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in main()
45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main()
47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main()
49 } else if (dataset.message_name() == in main()
52 } else if (dataset.message_name() == in main()
56 std::cerr << "Unknown message type: " << dataset.message_name(); in main()
Dproto3_data_stripper.cc43 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in main()
45 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in main()
47 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in main()
49 } else if (dataset.message_name() == in main()
52 } else if (dataset.message_name() == in main()
56 std::cerr << "Unknown message type: " << dataset.message_name(); in main()
/external/libchrome/ipc/
Dipc_logging.cc243 std::string message_name; in Log() local
244 if (data.message_name.empty()) { in Log()
245 message_name = base::StringPrintf("[unknown type %d]", data.type); in Log()
247 message_name = data.message_name; in Log()
260 message_name.c_str(), in Log()
296 std::string params, message_name; in GenerateLogData() local
297 Logging::GetMessageText(message.type(), &message_name, &message, in GenerateLogData()
307 data->message_name = message_name; in GenerateLogData()
Dipc_message_utils.cc1327 WriteParam(m, p.message_name); in Write()
1342 ReadParam(m, iter, &r->message_name) && in Read()
Dipc_message_utils.h82 std::string message_name; in COMPONENT_EXPORT() local
/external/protobuf/benchmarks/cpp/
Dcpp_benchmark.cc61 dataset.message_name()); in Fixture()
64 std::cerr << "Couldn't find message named '" << dataset.message_name() in Fixture()
220 if (dataset.message_name() == "benchmarks.proto3.GoogleMessage1") { in RegisterBenchmarks()
222 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage1") { in RegisterBenchmarks()
224 } else if (dataset.message_name() == "benchmarks.proto2.GoogleMessage2") { in RegisterBenchmarks()
226 } else if (dataset.message_name() == in RegisterBenchmarks()
230 } else if (dataset.message_name() == in RegisterBenchmarks()
235 std::cerr << "Unknown message type: " << dataset.message_name(); in RegisterBenchmarks()
/external/wayland/tests/
Dprotocol-logger-test.c59 const char *message_name; member
66 .message_name = "sync",
73 .message_name = "done",
80 .message_name = "delete_id",
95 assert(strcmp(msg->message_name, message->message->name) == 0); in logger_func()
/external/protobuf/benchmarks/python/
Dpy_benchmark.py56 result["message_name"] = benchmark_dataset.message_name
76 if benchmark_dataset.message_name == "benchmarks.proto3.GoogleMessage1":
78 elif benchmark_dataset.message_name == "benchmarks.proto2.GoogleMessage1":
80 elif benchmark_dataset.message_name == "benchmarks.proto2.GoogleMessage2":
82 elif benchmark_dataset.message_name == "benchmarks.google_message3.GoogleMessage3":
84 elif benchmark_dataset.message_name == "benchmarks.google_message4.GoogleMessage4":
87 raise IOError("Message %s not found!" % (benchmark_dataset.message_name))
/external/protobuf/python/google/protobuf/
Ddescriptor_database.py171 message_name = package + '.' + desc_proto.name if package else desc_proto.name
172 yield message_name
174 for symbol in _ExtractSymbols(nested_type, message_name):
177 yield '.'.join((message_name, enum_type.name))
Ddescriptor_pool.py494 message_name, _, field_name = full_name.rpartition('.')
495 message_descriptor = self.FindMessageTypeByName(message_name)
511 message_name, _, oneof_name = full_name.rpartition('.')
512 message_descriptor = self.FindMessageTypeByName(message_name)
536 message_name, _, extension_name = full_name.rpartition('.')
539 scope = self.FindMessageTypeByName(message_name)
907 def _MakeFieldDescriptor(self, field_proto, message_name, index, argument
928 if message_name:
929 full_name = '.'.join((message_name, field_proto.name))
/external/protobuf/src/google/protobuf/
Dany_lite.cc43 std::string GetTypeUrl(StringPiece message_name, in GetTypeUrl() argument
47 return StrCat(type_url_prefix, message_name); in GetTypeUrl()
49 return StrCat(type_url_prefix, "/", message_name); in GetTypeUrl()
Dany.h54 std::string GetTypeUrl(StringPiece message_name,
/external/libchrome/mojo/public/cpp/bindings/lib/
Dunserialized_message_context.cc11 uint32_t message_name, in UnserializedMessageContext() argument
16 header_.name = message_name; in UnserializedMessageContext()
Dunserialized_message_context.h26 uint32_t message_name, in COMPONENT_EXPORT()
38 uint32_t message_name() const { return header_.name; } in COMPONENT_EXPORT()
Dmessage.cc129 WriteMessageHeader(context->message_name(), context->message_flags(), in SerializeUnserializedContext()
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_macros.tmpl58 {%- macro build_serialized_message(message_name, param_name_prefix,
62 {{message_name}}, {{flags_text}}, 0, 0, nullptr);
74 {%- macro define_message_type(interface, message_typename, message_name,
90 {{message_name}},
125 {{build_serialized_message(message_name, "param_%s", params_struct,
Dstruct_unserialized_message_context.tmpl9 uint32_t message_name,
12 : mojo::internal::UnserializedMessageContext(&kMessageTag, message_name, message_flags)
Dinterface_definition.tmpl109 {%- set message_name =
118 interface, message_typename, message_name, False, method, method.parameters,
141 message_name, "param_%s", params_struct, params_description, "kFlags",
184 message_name, "in_%s", params_struct, params_description, "kFlags",
209 {%- set message_name =
281 interface, response_message_typename, message_name, True, method,
334 message_name, "in_%s", response_params_struct,
/external/protobuf/benchmarks/php/
DPhpBenchmark.php102 $message_name = getMessageName($dataset);
107 $new_message = new $message_name();
115 array($dataset, $message_name), $total_bytes);
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc172 const std::string& message_name);
176 const std::string& message_name,
181 const std::string& message_name);
186 const std::string& message_name);
420 const std::string& proto_name, const std::string& message_name) { in ExpectGenerated() argument
422 message_name, proto_name, temp_directory_); in ExpectGenerated()
427 const std::string& proto_name, const std::string& message_name, in ExpectGenerated() argument
430 message_name, proto_name, in ExpectGenerated()
436 const std::string& proto_name, const std::string& message_name) { in ExpectGeneratedWithMultipleInputs() argument
438 message_name, all_proto_names, in ExpectGeneratedWithMultipleInputs()
[all …]
/external/protobuf/benchmarks/
Dbenchmarks.proto47 string message_name = 2; field
DREADME.md232 2. message_name is the benchmark's message type full name (including package and message name)
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py462 def _ReraiseTypeErrorWithFieldName(message_name, field_name): argument
467 exc = TypeError('%s for field %s.%s' % (str(exc), message_name, field_name))
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1397 auto message_name = field_descriptor->containing_type()->name(); in CheckHasPresence() local
1401 message_name.c_str(), field_descriptor->name().c_str()); in CheckHasPresence()
1410 "use WhichOneof instead.", message_name.c_str(), in CheckHasPresence()
1424 message_name.c_str(), field_descriptor->name().c_str()); in CheckHasPresence()
/external/python/apitools/apitools/base/protorpclite/
Dmessages.py828 err.message_name = type(self).__name__

12