/external/openssh/regress/unittests/kex/ |
D | test_kex.c | 81 struct ssh *client = NULL, *server = NULL, *server2 = NULL; in do_kex_with_key() local 136 server2 = NULL; in do_kex_with_key() 137 ASSERT_INT_EQ(ssh_init(&server2, 1, NULL), 0); in do_kex_with_key() 138 ASSERT_PTR_NE(server2, NULL); in do_kex_with_key() 139 ASSERT_INT_EQ(ssh_add_hostkey(server2, private), 0); in do_kex_with_key() 140 ASSERT_INT_EQ(ssh_packet_set_state(server2, state), 0); in do_kex_with_key() 143 ASSERT_PTR_NE(server2->kex, NULL); in do_kex_with_key() 146 server2->kex->kex[KEX_DH_GRP1_SHA1] = kex_gen_server; in do_kex_with_key() 147 server2->kex->kex[KEX_DH_GRP14_SHA1] = kex_gen_server; in do_kex_with_key() 148 server2->kex->kex[KEX_DH_GEX_SHA1] = kexgex_server; in do_kex_with_key() [all …]
|
/external/openssh/regress/misc/kexfuzz/ |
D | kexfuzz.c | 38 struct ssh *client, *server, *server2; member 201 struct ssh *client = NULL, *server = NULL, *server2 = NULL; in do_kex_with_key() local 222 ASSERT_INT_EQ(ssh_init(&server2, 1, NULL), 0); in do_kex_with_key() 225 ASSERT_PTR_NE(server2, NULL); in do_kex_with_key() 236 hook_ctx.server2 = server2; in do_kex_with_key() 239 ssh_packet_set_input_hook(server2, packet_hook, &hook_ctx); in do_kex_with_key() 268 ASSERT_INT_EQ(ssh_add_hostkey(server2, prvkey), 0); in do_kex_with_key() 269 kex_free(server2->kex); /* XXX or should ssh_packet_set_state()? */ in do_kex_with_key() 270 ASSERT_INT_EQ(ssh_packet_set_state(server2, state), 0); in do_kex_with_key() 273 ASSERT_PTR_NE(server2->kex, NULL); in do_kex_with_key() [all …]
|
/external/dagger2/javatests/dagger/functional/producers/monitoring/ |
D | StubModule.java | 32 private final StringStub server2; field in StubModule 34 StubModule(StringStub server1, StringStub server2) { in StubModule() argument 36 this.server2 = server2; in StubModule() 47 StringStub server2() { in server2() method in StubModule 48 return server2; in server2()
|
D | MonitoringTest.java | 53 @Mock private StringStub server2; field in MonitoringTest 66 when(server2.run(any(String.class))).thenReturn(server2Future); in setUp() 74 .stubModule(new StubModule(server1, server2)) in basicMonitoring() 119 .stubModule(new StubModule(server1, server2)) in basicMonitoringWithFailure()
|
/external/tensorflow/tensorflow/python/client/ |
D | session_clusterspec_prop_test.py | 49 server2 = server_lib.Server.create_local_server() 54 job.tasks[1] = server2.target[len('grpc://'):] 64 server2 = server_lib.Server.create_local_server() 69 job.tasks[1] = server2.target[len('grpc://'):] 92 server2 = server_lib.Server.create_local_server() 97 job.tasks[1] = server2.target[len('grpc://'):] 108 server2 = server_lib.Server.create_local_server() 113 job.tasks[1] = server2.target[len('grpc://'):] 136 server2 = server_lib.Server.create_local_server() 141 job.tasks[1] = server2.target[len('grpc://'):] [all …]
|
D | session_list_devices_test.py | 65 server2 = server_lib.Server.create_local_server() 71 job.tasks[1] = server2.target[len('grpc://'):]
|
/external/grpc-grpc/test/core/surface/ |
D | server_test.cc | 83 grpc_server* server2 = grpc_server_create(&args, nullptr); in test_bind_server_twice() local 88 grpc_server_register_completion_queue(server2, cq, nullptr); in test_bind_server_twice() 89 GPR_ASSERT(0 == grpc_server_add_secure_http2_port(server2, addr, nullptr)); in test_bind_server_twice() 91 GPR_ASSERT(0 == grpc_server_add_insecure_http2_port(server2, addr)); in test_bind_server_twice() 94 GPR_ASSERT(0 == grpc_server_add_secure_http2_port(server2, addr, fake_creds)); in test_bind_server_twice() 97 grpc_server_shutdown_and_notify(server2, cq, nullptr); in test_bind_server_twice() 101 grpc_server_destroy(server2); in test_bind_server_twice()
|
D | concurrent_connectivity_test.cc | 199 grpc_core::Thread server2("grpc_wave_2_server", server_thread, &args); in run_concurrent_connectivity_test() local 200 server2.Start(); in run_concurrent_connectivity_test() 212 server2.Join(); in run_concurrent_connectivity_test()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | InternalChannelzTest.java | 140 InternalInstrumented<ServerStats> server2 = create(); in getServers_onePage_multi() local 142 channelz.addServer(server2); in getServers_onePage_multi() 145 assertThat(page.servers).containsExactly(server1, server2); in getServers_onePage_multi() 151 InternalInstrumented<ServerStats> server2 = create(); in getServers_paginate() local 153 channelz.addServer(server2); in getServers_paginate() 160 assertThat(page2.servers).containsExactly(server2); in getServers_paginate() 183 InternalInstrumented<ServerStats> server2 = create(); in getServers_addAfterLastPage() local 185 channelz.addServer(server2); in getServers_addAfterLastPage() 189 assertThat(page.servers).containsExactly(server2); in getServers_addAfterLastPage() 258 InternalInstrumented<ServerStats> server2 = create(); in serverSocket_eachServerSeparate() local [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | ares-test-misc.cc | 36 struct ares_addr_node server2; in TEST_F() local 37 server1.next = &server2; in TEST_F() 40 server2.next = nullptr; in TEST_F() 41 server2.family = AF_INET; in TEST_F() 42 server2.addr.addr4.s_addr = htonl(0x02030405); in TEST_F() 62 struct ares_addr_port_node server2; in TEST_F() local 63 server1.next = &server2; in TEST_F() 68 server2.next = nullptr; in TEST_F() 69 server2.family = AF_INET; in TEST_F() 70 server2.addr.addr4.s_addr = htonl(0x02030405); in TEST_F() [all …]
|
/external/grpc-grpc/test/core/end2end/ |
D | goaway_server_test.cc | 299 grpc_server* server2 = grpc_server_create(nullptr, nullptr); in main() local 301 grpc_server_add_insecure_http2_port(server2, addr); in main() 302 grpc_server_register_completion_queue(server2, cq, nullptr); in main() 304 grpc_server_start(server2); in main() 309 grpc_server_request_call(server2, &server_call2, &request_details2, in main() 329 grpc_server_shutdown_and_notify(server2, cq, tag(0xdead2)); in main() 349 grpc_server_destroy(server2); in main()
|
/external/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/ |
D | Ukey2HandshakeTest.java | 190 Ukey2Handshake server2 = Ukey2Handshake.forResponder(HandshakeCipher.P256_SHA512); in testVerificationCodeUniqueToSession() local 192 server2.parseHandshakeMessage(handshakeMessage); in testVerificationCodeUniqueToSession() 193 handshakeMessage = server2.getNextHandshakeMessage(); in testVerificationCodeUniqueToSession() 196 server2.parseHandshakeMessage(handshakeMessage); in testVerificationCodeUniqueToSession() 198 byte[] server2AuthString = server2.getVerificationString(MAX_AUTH_STRING_LENGTH); in testVerificationCodeUniqueToSession() 225 Ukey2Handshake server2 = Ukey2Handshake.forResponder(HandshakeCipher.P256_SHA512); in testPublicKeyDoesntMatchCommitment() local 227 server2.parseHandshakeMessage(handshakeMessage); in testPublicKeyDoesntMatchCommitment() 228 handshakeMessage = server2.getNextHandshakeMessage(); in testPublicKeyDoesntMatchCommitment()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | URLConnectionTest.java | 105 @Rule public final MockWebServer server2 = new MockWebServer(); field in URLConnectionTest 307 proxySelector.proxies.add(server2.toProxyAddress()); in testRequestBodySurvivesRetries() 309 server2.shutdown(); in testRequestBodySurvivesRetries() 1893 server2.enqueue(new MockResponse().setBody("This is insecure HTTP!")); 1897 .addHeader("Location: " + server2.getUrl("/")) 1913 server2.useHttps(sslContext.getSocketFactory(), false); 1914 server2.enqueue(new MockResponse().setBody("This is secure HTTPS!")); 1917 .addHeader("Location: " + server2.getUrl("/")) 1939 server2.useHttps(sslContext.getSocketFactory(), false); 1940 server2.setProtocolNegotiationEnabled(false); [all …]
|
D | CallTest.java | 90 @Rule public final MockWebServer server2 = new MockWebServer(); field in CallTest 1403 server2.enqueue(new MockResponse().setBody("Page 2")); in redirectsDoNotIncludeTooManyCookies() 1406 .addHeader("Location: " + server2.url("/"))); in redirectsDoNotIncludeTooManyCookies() 1429 RecordedRequest request2 = server2.takeRequest(); in redirectsDoNotIncludeTooManyCookies() 1434 server2.enqueue(new MockResponse().setBody("Page 2")); in redirectsDoNotIncludeTooManyAuthHeaders() 1439 .addHeader("Location: " + server2.url("/b"))); in redirectsDoNotIncludeTooManyAuthHeaders() 1447 RecordedRequest redirectRequest = server2.takeRequest(); in redirectsDoNotIncludeTooManyAuthHeaders()
|
D | CacheTest.java | 77 @Rule public MockWebServer server2 = new MockWebServer(); field in CacheTest 380 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 381 server2.enqueue(new MockResponse() in secureResponseCachingAndProtocolRedirects() 385 server2.enqueue(new MockResponse() in secureResponseCachingAndProtocolRedirects() 392 .addHeader("Location: " + server2.url("/"))); in secureResponseCachingAndProtocolRedirects()
|
/external/openssh/regress/ |
D | ssh-com-sftp.sh | 43 server=${TEST_COMBASE}/${v}/sftp-server2
|
/external/libchrome/ipc/ |
D | ipc_sync_channel_unittest.cc | 1255 NonRestrictedDispatchServer* server2, in RestrictedDispatchClient() argument 1262 server2_(server2), in RestrictedDispatchClient() 1369 NonRestrictedDispatchServer* server2 = new NonRestrictedDispatchServer( in TEST_F() local 1375 workers.push_back(server2); in TEST_F() 1377 new RestrictedDispatchClient(&sent_ping_event, server, server2, &success, in TEST_F() 1620 RestrictedDispatchDeadlockServer* server2; in TEST_F() local 1625 server2 = new RestrictedDispatchDeadlockServer( in TEST_F() 1627 server2->OverrideThread(&worker_thread); in TEST_F() 1628 workers.push_back(server2); in TEST_F() 1631 server2, &server2_ready, events, std::move(pipe2.handle1)); in TEST_F() [all …]
|
/external/curl/tests/data/ |
D | test1510 | 87 * Connection #1 to host server2.example.com left intact
|
D | test1506 | 87 * Connection #1 to host server2.example.com left intact
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | ChannelzProtoUtilTest.java | 732 TestServer server2 = new TestServer(); in toGetServersResponse() local 738 .addServer(ChannelzProtoUtil.toServer(server2)) in toGetServersResponse() 743 ImmutableList.<InternalInstrumented<ServerStats>>of(server, server2), true))); in toGetServersResponse()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 82 @Rule public MockWebServer server2 = new MockWebServer(); field in UrlConnectionCacheTest 363 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 364 server2.enqueue(new MockResponse().addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) in secureResponseCachingAndProtocolRedirects() 367 server2.enqueue(new MockResponse().setBody("DEF")); in secureResponseCachingAndProtocolRedirects() 372 .addHeader("Location: " + server2.getUrl("/"))); in secureResponseCachingAndProtocolRedirects()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 95 @Rule public MockWebServer server2 = new MockWebServer(); field in ResponseCacheTest 374 server2.useHttps(sslContext.getSocketFactory(), false); in secureResponseCachingAndProtocolRedirects() 375 server2.enqueue(new MockResponse() in secureResponseCachingAndProtocolRedirects() 379 server2.enqueue(new MockResponse() in secureResponseCachingAndProtocolRedirects() 386 .addHeader("Location: " + server2.getUrl("/"))); in secureResponseCachingAndProtocolRedirects()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 243 final SSLSocket server2 = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_confirmSessionReuse() local 244 final Future<byte[]> future2 = runAsync(new SSLServerSessionIdCallable(server2)); in test_SSLSocket_confirmSessionReuse() 252 server2.close(); in test_SSLSocket_confirmSessionReuse()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 241 final SSLSocket server2 = (SSLSocket) c.serverSocket.accept(); in test_SSLSocket_confirmSessionReuse() local 242 final Future<byte[]> future2 = runAsync(new SSLServerSessionIdCallable(server2)); in test_SSLSocket_confirmSessionReuse() 250 server2.close(); in test_SSLSocket_confirmSessionReuse()
|
/external/libchrome/base/message_loop/ |
D | message_loop_unittest.cc | 716 win::ScopedHandle server2( in RunTest_WaitForIO() local 719 ASSERT_TRUE(server2.IsValid()); in RunTest_WaitForIO() 749 EXPECT_TRUE(WriteFile(server2.Get(), buffer, sizeof(buffer), &written, NULL)); in RunTest_WaitForIO()
|