/external/perfetto/src/ipc/ |
D | deferred_unittest.cc | 28 using ::perfetto::ipc::gen::TestMessage; 37 Deferred<TestMessage> deferred; in TEST() 39 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST() 48 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST() 64 Deferred<TestMessage> deferred; in TEST() 66 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST() 74 AsyncResult<TestMessage> res = AsyncResult<TestMessage>::Create(); in TEST() 86 Deferred<TestMessage> deferred; in TEST() 87 deferred.Bind([num_callbacks](AsyncResult<TestMessage> msg) { in TEST() 100 Deferred<TestMessage> deferred; in TEST() [all …]
|
/external/protobuf/php/tests/ |
D | memory_leak_test.php | 12 new Foo\TestMessage(); 24 use Foo\TestMessage; alias 25 use Foo\TestMessage\Sub; 27 $from = new TestMessage(); 33 $to = new TestMessage(); 38 $from = new TestMessage(); 48 $arr = new RepeatedField(GPBType::MESSAGE, TestMessage::class); 49 $arr[] = new TestMessage; 53 $m = new TestMessage(); 61 $n = new TestMessage(); [all …]
|
D | EncodeDecodeTest.php | 18 use Foo\TestMessage; alias 19 use Foo\TestMessage\Sub; 43 $m = new TestMessage(); 52 $m = new TestMessage(); 58 $m = new TestMessage(); 247 $from = new TestMessage(); 259 $to = new TestMessage(); 266 $from = new TestMessage(); 273 $to = new TestMessage(); 280 $from = new TestMessage(); [all …]
|
/external/cronet/stable/third_party/protobuf/php/tests/ |
D | memory_leak_test.php | 12 new Foo\TestMessage(); 24 use Foo\TestMessage; alias 25 use Foo\TestMessage\Sub; 27 $from = new TestMessage(); 33 $to = new TestMessage(); 38 $from = new TestMessage(); 48 $arr = new RepeatedField(GPBType::MESSAGE, TestMessage::class); 49 $arr[] = new TestMessage; 53 $m = new TestMessage(); 61 $n = new TestMessage(); [all …]
|
D | EncodeDecodeTest.php | 18 use Foo\TestMessage; alias 19 use Foo\TestMessage\Sub; 43 $m = new TestMessage(); 52 $m = new TestMessage(); 58 $m = new TestMessage(); 247 $from = new TestMessage(); 259 $to = new TestMessage(); 266 $from = new TestMessage(); 273 $to = new TestMessage(); 280 $from = new TestMessage(); [all …]
|
/external/cronet/tot/third_party/protobuf/php/tests/ |
D | memory_leak_test.php | 12 new Foo\TestMessage(); 24 use Foo\TestMessage; alias 25 use Foo\TestMessage\Sub; 27 $from = new TestMessage(); 33 $to = new TestMessage(); 38 $from = new TestMessage(); 48 $arr = new RepeatedField(GPBType::MESSAGE, TestMessage::class); 49 $arr[] = new TestMessage; 53 $m = new TestMessage(); 61 $n = new TestMessage(); [all …]
|
D | EncodeDecodeTest.php | 18 use Foo\TestMessage; alias 19 use Foo\TestMessage\Sub; 43 $m = new TestMessage(); 52 $m = new TestMessage(); 58 $m = new TestMessage(); 247 $from = new TestMessage(); 259 $to = new TestMessage(); 266 $from = new TestMessage(); 273 $to = new TestMessage(); 280 $from = new TestMessage(); [all …]
|
/external/cronet/stable/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | OldExtensions1.cs | 33 …Google.Protobuf.TestProtos.OldGenerator.TestMessage), global::Google.Protobuf.TestProtos.OldGenera… in OldExtensions1Reflection() 43 public sealed partial class TestMessage : pb::IMessage<TestMessage> { class 44 …te static readonly pb::MessageParser<TestMessage> _parser = new pb::MessageParser<TestMessage>(() … 47 public static pb::MessageParser<TestMessage> Parser { get { return _parser; } } 60 public TestMessage() { in TestMessage() method in Google.Protobuf.TestProtos.OldGenerator.TestMessage 67 public TestMessage(TestMessage other) : this() { in TestMessage() method in Google.Protobuf.TestProtos.OldGenerator.TestMessage 72 public TestMessage Clone() { in Clone() 73 return new TestMessage(this); in Clone() 78 return Equals(other as TestMessage); in Equals() 82 public bool Equals(TestMessage other) { in Equals() [all …]
|
/external/cronet/tot/third_party/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | OldExtensions1.cs | 33 …Google.Protobuf.TestProtos.OldGenerator.TestMessage), global::Google.Protobuf.TestProtos.OldGenera… in OldExtensions1Reflection() 43 public sealed partial class TestMessage : pb::IMessage<TestMessage> { class 44 …te static readonly pb::MessageParser<TestMessage> _parser = new pb::MessageParser<TestMessage>(() … 47 public static pb::MessageParser<TestMessage> Parser { get { return _parser; } } 60 public TestMessage() { in TestMessage() method in Google.Protobuf.TestProtos.OldGenerator.TestMessage 67 public TestMessage(TestMessage other) : this() { in TestMessage() method in Google.Protobuf.TestProtos.OldGenerator.TestMessage 72 public TestMessage Clone() { in Clone() 73 return new TestMessage(this); in Clone() 78 return Equals(other as TestMessage); in Equals() 82 public bool Equals(TestMessage other) { in Equals() [all …]
|
/external/protobuf/csharp/src/Google.Protobuf.Test.TestProtos/ |
D | OldExtensions1.cs | 33 …Google.Protobuf.TestProtos.OldGenerator.TestMessage), global::Google.Protobuf.TestProtos.OldGenera… in OldExtensions1Reflection() 43 public sealed partial class TestMessage : pb::IMessage<TestMessage> { class 44 …te static readonly pb::MessageParser<TestMessage> _parser = new pb::MessageParser<TestMessage>(() … 47 public static pb::MessageParser<TestMessage> Parser { get { return _parser; } } 60 public TestMessage() { in TestMessage() method in Google.Protobuf.TestProtos.OldGenerator.TestMessage 67 public TestMessage(TestMessage other) : this() { in TestMessage() method in Google.Protobuf.TestProtos.OldGenerator.TestMessage 72 public TestMessage Clone() { in Clone() 73 return new TestMessage(this); in Clone() 78 return Equals(other as TestMessage); in Equals() 82 public bool Equals(TestMessage other) { in Equals() [all …]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | message_test.cc | 28 class TestMessage : public Message { class 30 TestMessage() {} in TestMessage() function in tflite::testing::__anon2e027eed0111::TestMessage 31 explicit TestMessage(const std::string& text_to_parse) { in TestMessage() function in tflite::testing::__anon2e027eed0111::TestMessage 39 TestMessage* m = new TestMessage; in AddChild() 47 const TestMessage* GetChild(int i) const { in GetChild() 48 return dynamic_cast<TestMessage*>(Children()[i].get()); in GetChild() 66 TestMessage message("x{a:1 b:2} y{} z{c:3} d:4"); in TEST() 91 TestMessage message("x{c:3} {} y{d:4}"); in TEST() 97 TestMessage message("x{c:3} } y{d:4}"); in TEST() 103 TestMessage message("x{c:3} z{test} y{d:4}"); in TEST() [all …]
|
/external/slf4j/jcl-over-slf4j/src/test/java/org/apache/commons/logging/test/ |
D | InvokeJCLTest.java | 98 TestMessage fatalMsg = new TestMessage("fatal msg"); in testAvoidConvertingObjectToString() 99 TestMessage errorMsg = new TestMessage("error msg"); in testAvoidConvertingObjectToString() 100 TestMessage warnMsg = new TestMessage("warn msg"); in testAvoidConvertingObjectToString() 101 TestMessage infoMsg = new TestMessage("info msg"); in testAvoidConvertingObjectToString() 102 TestMessage debugMsg = new TestMessage("debug msg"); in testAvoidConvertingObjectToString() 103 TestMessage traceMsg = new TestMessage("trace msg"); in testAvoidConvertingObjectToString() 130 static class TestMessage { class in InvokeJCLTest 135 TestMessage(String msg) { in TestMessage() method in InvokeJCLTest.TestMessage
|
/external/cronet/tot/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | repeated_field_test.rb | 9 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) 31 m = TestMessage.new 32 repeated_field_names(TestMessage).each do |field_name| 51 m = TestMessage.new 52 repeated_field_names(TestMessage).each do |field_name| 71 m = TestMessage.new 72 repeated_field_names(TestMessage).each do |field_name| [all …]
|
D | basic.rb | 102 TestMessage = pool.lookup("TestMessage").msgclass constant 121 m = TestMessage.new 136 m = TestMessage.new 161 m = TestMessage.new(:optional_int32 => -42, 175 m = TestMessage.new(:optional_int32 => -42, 184 m1 = TestMessage.new(:optional_int32 => 42) 185 m2 = TestMessage.new(:optional_int32 => 102) 195 TestMessage.new.hello 200 TestMessage.new.hello = "world" 207 TestMessage.new(:hello => "world") [all …]
|
D | stress.rb | 18 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
|
/external/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | repeated_field_test.rb | 9 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) 31 m = TestMessage.new 32 repeated_field_names(TestMessage).each do |field_name| 51 m = TestMessage.new 52 repeated_field_names(TestMessage).each do |field_name| 71 m = TestMessage.new 72 repeated_field_names(TestMessage).each do |field_name| [all …]
|
D | basic.rb | 102 TestMessage = pool.lookup("TestMessage").msgclass constant 121 m = TestMessage.new 136 m = TestMessage.new 161 m = TestMessage.new(:optional_int32 => -42, 175 m = TestMessage.new(:optional_int32 => -42, 184 m1 = TestMessage.new(:optional_int32 => 42) 185 m2 = TestMessage.new(:optional_int32 => 102) 195 TestMessage.new.hello 200 TestMessage.new.hello = "world" 207 TestMessage.new(:hello => "world") [all …]
|
/external/cronet/stable/third_party/protobuf/ruby/compatibility_tests/v3.0.0/tests/ |
D | repeated_field_test.rb | 9 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) 31 m = TestMessage.new 32 repeated_field_names(TestMessage).each do |field_name| 51 m = TestMessage.new 52 repeated_field_names(TestMessage).each do |field_name| 71 m = TestMessage.new 72 repeated_field_names(TestMessage).each do |field_name| [all …]
|
D | basic.rb | 102 TestMessage = pool.lookup("TestMessage").msgclass constant 121 m = TestMessage.new 136 m = TestMessage.new 161 m = TestMessage.new(:optional_int32 => -42, 175 m = TestMessage.new(:optional_int32 => -42, 184 m1 = TestMessage.new(:optional_int32 => 42) 185 m2 = TestMessage.new(:optional_int32 => 102) 195 TestMessage.new.hello 200 TestMessage.new.hello = "world" 207 TestMessage.new(:hello => "world") [all …]
|
/external/protobuf/ruby/tests/ |
D | repeated_field_test.rb | 9 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) 31 m = TestMessage.new 32 repeated_field_names(TestMessage).each do |field_name| 63 m = TestMessage.new 64 repeated_field_names(TestMessage).each do |field_name| 92 m = TestMessage.new 93 repeated_field_names(TestMessage).each do |field_name| [all …]
|
D | basic_proto2.rb | 37 m = TestMessage.new 39 assert !TestMessage.descriptor.lookup('optional_int32').has?(m) 41 assert !TestMessage.descriptor.lookup('optional_int64').has?(m) 43 assert !TestMessage.descriptor.lookup('optional_uint32').has?(m) 45 assert !TestMessage.descriptor.lookup('optional_uint64').has?(m) 47 assert !TestMessage.descriptor.lookup('optional_bool').has?(m) 49 assert !TestMessage.descriptor.lookup('optional_float').has?(m) 51 assert !TestMessage.descriptor.lookup('optional_double').has?(m) 53 assert !TestMessage.descriptor.lookup('optional_string').has?(m) 55 assert !TestMessage.descriptor.lookup('optional_bytes').has?(m) [all …]
|
/external/cronet/tot/third_party/protobuf/ruby/tests/ |
D | repeated_field_test.rb | 9 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) 31 m = TestMessage.new 32 repeated_field_names(TestMessage).each do |field_name| 63 m = TestMessage.new 64 repeated_field_names(TestMessage).each do |field_name| 92 m = TestMessage.new 93 repeated_field_names(TestMessage).each do |field_name| [all …]
|
D | basic_proto2.rb | 37 m = TestMessage.new 39 assert !TestMessage.descriptor.lookup('optional_int32').has?(m) 41 assert !TestMessage.descriptor.lookup('optional_int64').has?(m) 43 assert !TestMessage.descriptor.lookup('optional_uint32').has?(m) 45 assert !TestMessage.descriptor.lookup('optional_uint64').has?(m) 47 assert !TestMessage.descriptor.lookup('optional_bool').has?(m) 49 assert !TestMessage.descriptor.lookup('optional_float').has?(m) 51 assert !TestMessage.descriptor.lookup('optional_double').has?(m) 53 assert !TestMessage.descriptor.lookup('optional_string').has?(m) 55 assert !TestMessage.descriptor.lookup('optional_bytes').has?(m) [all …]
|
/external/cronet/stable/third_party/protobuf/ruby/tests/ |
D | repeated_field_test.rb | 9 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) 31 m = TestMessage.new 32 repeated_field_names(TestMessage).each do |field_name| 63 m = TestMessage.new 64 repeated_field_names(TestMessage).each do |field_name| 92 m = TestMessage.new 93 repeated_field_names(TestMessage).each do |field_name| [all …]
|
D | basic_proto2.rb | 37 m = TestMessage.new 39 assert !TestMessage.descriptor.lookup('optional_int32').has?(m) 41 assert !TestMessage.descriptor.lookup('optional_int64').has?(m) 43 assert !TestMessage.descriptor.lookup('optional_uint32').has?(m) 45 assert !TestMessage.descriptor.lookup('optional_uint64').has?(m) 47 assert !TestMessage.descriptor.lookup('optional_bool').has?(m) 49 assert !TestMessage.descriptor.lookup('optional_float').has?(m) 51 assert !TestMessage.descriptor.lookup('optional_double').has?(m) 53 assert !TestMessage.descriptor.lookup('optional_string').has?(m) 55 assert !TestMessage.descriptor.lookup('optional_bytes').has?(m) [all …]
|