Home
last modified time | relevance | path

Searched refs:TestMessage (Results 1 – 25 of 73) sorted by relevance

123

/external/perfetto/src/ipc/
Ddeferred_unittest.cc35 Deferred<TestMessage> deferred; in TEST()
37 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
46 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
62 Deferred<TestMessage> deferred; in TEST()
64 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
72 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST()
84 Deferred<TestMessage> deferred; in TEST()
85 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST()
98 Deferred<TestMessage> deferred; in TEST()
100 [num_callbacks](AsyncResult<TestMessage>) { (*num_callbacks)++; }); in TEST() argument
[all …]
/external/protobuf/ruby/tests/
Drepeated_field_test.rb9 m = TestMessage.new
10 (Enumerable.instance_methods - TestMessage.new.repeated_string.methods).each do |method_name|
16 m = TestMessage.new
17 arr_methods = ([].methods - TestMessage.new.repeated_string.methods)
28 m = TestMessage.new
29 repeated_field_names(TestMessage).each do |field_name|
48 m = TestMessage.new
49 repeated_field_names(TestMessage).each do |field_name|
68 m = TestMessage.new
69 repeated_field_names(TestMessage).each do |field_name|
[all …]
Dbasic.rb103 TestMessage = pool.lookup("TestMessage").msgclass constant
122 m = TestMessage.new
137 m = TestMessage.new
162 m = TestMessage.new(:optional_int32 => -42,
176 m = TestMessage.new(:optional_int32 => -42,
185 m1 = TestMessage.new(:optional_int32 => 42)
186 m2 = TestMessage.new(:optional_int32 => 102)
196 TestMessage.new.hello
201 TestMessage.new.hello = "world"
208 TestMessage.new(:hello => "world")
[all …]
Dstress.rb18 TestMessage = pool.lookup("TestMessage").msgclass constant
23 TestMessage.new(:a => 1000,
29 data = TestMessage.encode(m)
31 mnew = TestMessage.decode(data)
34 assert TestMessage.encode(mnew) == data
Dgenerated_code.proto5 message TestMessage { message
16 TestMessage optional_msg = 11;
28 repeated TestMessage repeated_msg = 31;
41 TestMessage oneof_msg = 51;
50 map<string, TestMessage> map_string_msg = 67;
/external/tensorflow/tensorflow/lite/testing/
Dmessage_test.cc27 class TestMessage : public Message { class
29 TestMessage() {} in TestMessage() function in tflite::testing::__anon6e82b0a00111::TestMessage
30 explicit TestMessage(const std::string& text_to_parse) { in TestMessage() function in tflite::testing::__anon6e82b0a00111::TestMessage
38 TestMessage* m = new TestMessage; in AddChild()
46 const TestMessage* GetChild(int i) const { in GetChild()
47 return dynamic_cast<TestMessage*>(Children()[i].get()); in GetChild()
65 TestMessage message("x{a:1 b:2} y{} z{c:3} d:4"); in TEST()
90 TestMessage message("x{c:3} {} y{d:4}"); in TEST()
96 TestMessage message("x{c:3} } y{d:4}"); in TEST()
102 TestMessage message("x{c:3} z{test} y{d:4}"); in TEST()
[all …]
/external/skqp/tests/
DMessageBusTest.cpp13 struct TestMessage { struct
14 TestMessage(int i, float f) : x(i), y(f) {} in TestMessage() argument
20 static inline bool SkShouldPostMessageToBus(const TestMessage&, uint32_t) { in SkShouldPostMessageToBus() argument
25 DECLARE_SKMESSAGEBUS_MESSAGE(TestMessage)
29 SkMessageBus<TestMessage>::Inbox inbox1, inbox2; in DEF_TEST()
32 const TestMessage m1 = { 5, 4.2f }; in DEF_TEST()
33 const TestMessage m2 = { 6, 4.3f }; in DEF_TEST()
34 SkMessageBus<TestMessage>::Post(m1); in DEF_TEST()
35 SkMessageBus<TestMessage>::Post(m2); in DEF_TEST()
38 SkTArray<TestMessage> messages; in DEF_TEST()
[all …]
/external/skia/tests/
DMessageBusTest.cpp13 struct TestMessage { struct
14 TestMessage(int i, float f) : x(i), y(f) {} in TestMessage() argument
20 static inline bool SkShouldPostMessageToBus(const TestMessage&, uint32_t) { in SkShouldPostMessageToBus() argument
25 DECLARE_SKMESSAGEBUS_MESSAGE(TestMessage)
29 SkMessageBus<TestMessage>::Inbox inbox1, inbox2; in DEF_TEST()
32 const TestMessage m1 = { 5, 4.2f }; in DEF_TEST()
33 const TestMessage m2 = { 6, 4.3f }; in DEF_TEST()
34 SkMessageBus<TestMessage>::Post(m1); in DEF_TEST()
35 SkMessageBus<TestMessage>::Post(m2); in DEF_TEST()
38 SkTArray<TestMessage> messages; in DEF_TEST()
[all …]
/external/protobuf/src/google/protobuf/compiler/ruby/
Druby_generated_code.proto5 message TestMessage { message
16 TestMessage optional_msg = 11;
28 repeated TestMessage repeated_msg = 31;
41 TestMessage oneof_msg = 51;
50 map<string, TestMessage> map_string_msg = 67;
/external/protobuf/python/google/protobuf/internal/
Djson_format_test.py102 message = json_format_proto3_pb2.TestMessage()
112 message = json_format_proto3_pb2.TestMessage()
115 parsed_message = json_format_proto3_pb2.TestMessage()
119 message = json_format_proto3_pb2.TestMessage(
125 parsed_message = json_format_proto3_pb2.TestMessage()
129 message = json_format_proto3_pb2.TestMessage()
157 parsed_message = json_format_proto3_pb2.TestMessage()
162 message = json_format_proto3_pb2.TestMessage()
172 parsed_message = json_format_proto3_pb2.TestMessage()
179 message = json_format_proto3_pb2.TestMessage(
[all …]
/external/protobuf/java/core/src/test/proto/com/google/protobuf/
Dtest_bad_identifiers.proto48 message TestMessage { message
87 optional TestMessage field3 = 3 [deprecated=true];
120 rpc Override(TestMessage) returns (TestMessage);
128 message TestMessage { message
134 repeated TestMessage message_field = 5;
140 optional TestMessage message_field_count = 15;
146 repeated TestMessage MessageField = 25; // NO_PROTO3
/external/autotest/client/cros/cellular/mbim_compliance/
Dmbim_message_unittest.py21 class TestMessage(mbim_message.MBIMControlMessage): class
55 message = TestMessage()
66 message = TestMessage(message_type=4, fake=5)
74 message = TestMessage(message_type=3)
86 message = TestMessage(message_type=3, transaction_id=4)
102 message = TestMessage(raw_data=message_data)
115 message = TestMessage(raw_data=message_data)
/external/google-breakpad/src/testing/test/
Dgmock-actions_test.cc80 using testing::internal::TestMessage;
801 TestMessage* const msg = new TestMessage; in TEST()
803 TestMessage orig_msg; in TEST()
806 Action<void(bool, TestMessage*)> a = SetArgPointee<1>(*msg); in TEST()
813 TestMessage dest; in TEST()
823 TestMessage* const msg = new TestMessage; in TEST()
825 TestMessage orig_msg; in TEST()
835 TestMessage dest; in TEST()
920 TestMessage* const msg = new TestMessage; in TEST()
922 TestMessage orig_msg; in TEST()
[all …]
/external/nanopb-c/tests/mem_release/
Dmem_release.proto11 message TestMessage message
20 extend TestMessage
31 TestMessage msg1 = 2;
/external/grpc-grpc/third_party/nanopb/tests/mem_release/
Dmem_release.proto11 message TestMessage message
20 extend TestMessage
31 TestMessage msg1 = 2;
/external/protobuf/src/google/protobuf/
Dunittest_no_generic_services.proto39 message TestMessage { message
48 extend TestMessage {
53 rpc Foo(TestMessage) returns(TestMessage);
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc49 using proto3::TestMessage;
92 TestMessage m; in TEST_F()
106 TestMessage m; in TEST_F()
150 TestMessage m; in TEST_F()
173 TestMessage m; in TEST_F()
/external/testng/src/main/java/org/testng/remote/strprotocol/
DTestMessage.java11 public class TestMessage implements IStringMessage { class
22 public TestMessage(final boolean isTestStart, in TestMessage() method in TestMessage
40 public TestMessage(final ITestContext testContext, final boolean isTestStart) { in TestMessage() method in TestMessage
DAbstractRemoteTestRunnerClient.java156 protected abstract void notifyTestEvents(final TestMessage testMessage); in notifyTestEvents()
187 else if (message instanceof TestMessage) { in run()
188 notifyTestEvents((TestMessage) message); in run()
DIRemoteTestListener.java12 void onStart(TestMessage tm); in onStart()
14 void onFinish(TestMessage tm); in onFinish()
/external/testng/src/main/java/org/testng/xml/
DResultXMLParser.java8 import org.testng.remote.strprotocol.TestMessage;
71 public void onStart(TestMessage tm) { in main()
75 public void onFinish(TestMessage tm) { in main()
DResultContentHandler.java20 import org.testng.remote.strprotocol.TestMessage;
38 private TestMessage m_currentTest;
68 m_currentTest = new TestMessage(true /* start */, m_currentSuite.getSuiteName(), in startElement()
111 m_currentTest = new TestMessage(false /* start */, m_currentSuite.getSuiteName(), in endElement()
/external/grpc-grpc/third_party/nanopb/tests/regression/issue_195/
Dtest.proto1 message TestMessage { message
7 required TestMessage test = 2;
/external/nanopb-c/tests/regression/issue_195/
Dtest.proto1 message TestMessage { message
7 required TestMessage test = 2;
/external/libbrillo/brillo/dbus/
Ddbus_method_invoker_unittest.cc115 dbus_utils_test::TestMessage msg; in CreateResponse()
151 dbus_utils_test::TestMessage CallProtobufTestMethod( in CallProtobufTestMethod()
152 const dbus_utils_test::TestMessage& message) { in CallProtobufTestMethod()
158 dbus_utils_test::TestMessage result; in CallProtobufTestMethod()
199 dbus_utils_test::TestMessage test_message; in TEST_F()
203 dbus_utils_test::TestMessage resp = CallProtobufTestMethod(test_message); in TEST_F()

123