Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/cef/tests/cefclient/browser/
Dwindow_test.cc76 const std::string& message_name = request; in OnQuery() local
77 if (message_name.find(kMessagePositionName) == 0) { in OnQuery()
81 message_name.substr(sizeof(kMessagePositionName)); in OnQuery()
94 } else if (message_name == kMessageMinimizeName) { in OnQuery()
97 } else if (message_name == kMessageMaximizeName) { in OnQuery()
100 } else if (message_name == kMessageRestoreName) { in OnQuery()
Ddialog_test.cc120 const std::string& message_name = request; in OnQuery() local
121 if (message_name == kFileOpenMessageName) { in OnQuery()
124 } else if (message_name == kFileOpenMultipleMessageName) { in OnQuery()
127 } else if (message_name == kFileOpenFolderMessageName) { in OnQuery()
130 } else if (message_name == kFileSaveMessageName) { in OnQuery()
Dbinding_test.cc37 const std::string& message_name = request; in OnQuery() local
38 if (message_name.find(kTestMessageName) == 0) { in OnQuery()
40 std::string result = message_name.substr(sizeof(kTestMessageName)); in OnQuery()
Durlrequest_test.cc104 const std::string& message_name = request; in OnQuery() local
105 if (message_name.find(kTestMessageName) == 0) { in OnQuery()
107 message_name.substr(sizeof(kTestMessageName)); in OnQuery()
Dpreferences_test.cc71 const std::string& message_name = request_dict->GetString(kNameKey); in OnQuery() local
72 if (message_name == kNameValueGet) { in OnQuery()
84 } else if (message_name == kNameValueSet) { in OnQuery()
98 } else if (message_name == kNameValueState) { in OnQuery()
Dmedia_router_test.cc406 const std::string& message_name = request_dict->GetString(kNameKey); in OnQuery() local
407 if (message_name == kNameValueSubscribe) { in OnQuery()
431 if (message_name == kNameValueCreateRoute) { in OnQuery()
450 } else if (message_name == kNameValueTerminateRoute) { in OnQuery()
465 } else if (message_name == kNameValueSendMessage) { in OnQuery()
Dclient_handler.cc300 std::string message_name = message->GetName(); in OnProcessMessageReceived() local
301 if (message_name == kFocusedNodeChangedMessage) { in OnProcessMessageReceived()
/third_party/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()
/third_party/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))
/third_party/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.py545 message_name, _, field_name = full_name.rpartition('.')
546 message_descriptor = self.FindMessageTypeByName(message_name)
562 message_name, _, oneof_name = full_name.rpartition('.')
563 message_descriptor = self.FindMessageTypeByName(message_name)
587 message_name, _, extension_name = full_name.rpartition('.')
590 scope = self.FindMessageTypeByName(message_name)
964 def _MakeFieldDescriptor(self, field_proto, message_name, index, argument
985 if message_name:
986 full_name = '.'.join((message_name, field_proto.name))
/third_party/protobuf/src/google/protobuf/
Dany_lite.cc42 std::string GetTypeUrl(StringPiece message_name, in GetTypeUrl() argument
46 return StrCat(type_url_prefix, message_name); in GetTypeUrl()
48 return StrCat(type_url_prefix, "/", message_name); in GetTypeUrl()
Dany.h54 std::string GetTypeUrl(StringPiece message_name,
/third_party/protobuf/benchmarks/php/
DPhpBenchmark.php102 $message_name = getMessageName($dataset);
107 $new_message = new $message_name();
115 array($dataset, $message_name), $total_bytes);
/third_party/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface_unittest.cc176 const std::string& message_name);
180 const std::string& message_name,
185 const std::string& message_name);
190 const std::string& message_name);
441 const std::string& proto_name, const std::string& message_name) { in ExpectGenerated() argument
443 message_name, proto_name, temp_directory_); in ExpectGenerated()
448 const std::string& proto_name, const std::string& message_name, in ExpectGenerated() argument
451 message_name, proto_name, in ExpectGenerated()
457 const std::string& proto_name, const std::string& message_name) { in ExpectGeneratedWithMultipleInputs() argument
459 message_name, all_proto_names, in ExpectGeneratedWithMultipleInputs()
[all …]
/third_party/gstreamer/gstplugins_good/gst/dtmf/
Dgstrtpdtmfsrc.c613 const gchar * message_name, GstRTPDTMFSrcEvent * event) in gst_dtmf_src_prepare_message() argument
619 s = gst_structure_new (message_name, in gst_dtmf_src_prepare_message()
627 s = gst_structure_new (message_name, in gst_dtmf_src_prepare_message()
641 gst_dtmf_src_post_message (GstRTPDTMFSrc * dtmfsrc, const gchar * message_name, in gst_dtmf_src_post_message() argument
644 GstMessage *m = gst_dtmf_src_prepare_message (dtmfsrc, message_name, event); in gst_dtmf_src_post_message()
Dgstdtmfsrc.c613 gst_dtmf_src_post_message (GstDTMFSrc * dtmfsrc, const gchar * message_name, in gst_dtmf_src_post_message() argument
620 s = gst_structure_new (message_name, in gst_dtmf_src_post_message()
628 s = gst_structure_new (message_name, in gst_dtmf_src_post_message()
/third_party/cef/libcef_dll/wrapper/
Dcef_message_router.cc252 const std::string& message_name = message->GetName(); in OnProcessMessageReceived() local
253 if (message_name == query_message_name_) { in OnProcessMessageReceived()
314 } else if (message_name == cancel_message_name_) { in OnProcessMessageReceived()
818 const std::string& message_name = message->GetName(); in OnProcessMessageReceived() local
819 if (message_name == query_message_name_) { in OnProcessMessageReceived()
/third_party/cef/tests/ceftests/
Dthread_unittest.cc342 const std::string& message_name = message->GetName(); in OnProcessMessageReceived() local
343 EXPECT_STREQ(kRenderThreadTestMsg, message_name.c_str()); in OnProcessMessageReceived()
Dmessage_router_unittest.cc52 const std::string& message_name = name; in Execute() local
53 if (message_name == kJSNotifyFunc) { in Execute()
90 ss << message_name << " failed; expected " << expected_count in Execute()
238 const std::string& message_name = message->GetName(); in OnProcessMessageReceived() local
239 if (message_name == kDoneMessageName) { in OnProcessMessageReceived()
/third_party/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)
/third_party/protobuf/python/google/protobuf/internal/
Dpython_message.py480 def _ReraiseTypeErrorWithFieldName(message_name, field_name): argument
485 exc = TypeError('%s for field %s.%s' % (str(exc), message_name, field_name))

12