/external/webrtc/webrtc/base/ |
H A D | win32_unittest.cc | 40 WinPing ping; local 41 ASSERT_TRUE(ping.IsValid()); 43 // Test valid ping cases. 44 WinPing::PingResult result = ping.Ping(IPAddress(INADDR_LOOPBACK), 20, 50, 1, 48 WinPing::PingResult v6result = ping.Ping(IPAddress(in6addr_loopback), 20, 54 ASSERT_EQ(WinPing::PING_INVALID_PARAMS, ping.Ping( 56 ASSERT_EQ(WinPing::PING_INVALID_PARAMS, ping.Ping( 58 ASSERT_EQ(WinPing::PING_INVALID_PARAMS, ping.Ping(
|
H A D | physicalsocketserver.cc | 413 WinPing ping; local 414 if (!ping.IsValid()) { 427 WinPing::PingResult result = ping.Ping(addr.ipaddr(), size,
|
H A D | win32socketserver.cc | 522 WinPing ping; local 523 if (!ping.IsValid()) { 530 WinPing::PingResult result = ping.Ping(addr.ipaddr(), size,
|
/external/autotest/server/site_tests/brillo_PingTest/ |
H A D | brillo_PingTest.py | 35 @param ping_host: The Internet host to ping. 51 def ping(): function in function:brillo_PingTest.run_once 52 cmd = 'ping -q -c %s -W %s %s' % (ping_count, ping_timeout, 57 ping() 60 'Failed to ping %s in %d seconds on all %d attempts' %
|
/external/autotest/site_utils/ |
H A D | mysql_bootstrap.py | 109 def ping(cls, db_server, user=DEFAULT_USER, password=DEFAULT_PASS, member in class:MySQLCommandExecutor 114 @param user: The user to use in the ping. 121 @raises MySQLCommandError: If the ping command fails. 129 ping = cls.mysql_cmd( 132 cls.execute(ssh_dest_server, ping) 146 @raises MySQLCommandError: If we can't ping the db server using the default 148 we can't ping it with the new credentials after bootstrapping. 162 MySQLCommandExecutor.ping(dest_host, use_ssh=True) 178 # Confirm the new user can ping the remote database server from localhost. 179 MySQLCommandExecutor.ping( [all...] |
/external/autotest/client/common_lib/cros/network/ |
H A D | ping_runner.py | 54 """Implement ping functionality for MacOS hosts.""" 59 @param ping_config PingConfig object describing the ping test for which 61 @return list of parameters to ping. 81 # The last argument is the IP address to ping. 88 """Extract the ping results from stdout. 90 @param ping_output string stdout from a ping command. 97 --- 8.8.8.8 ping statistics --- 127 """Implement ping functionality specific to the linux platform.""" 131 @param ping_config PingConfig object describing the ping test for which 133 @return list of parameters to ping 313 def ping(self, ping_config): member in class:PingRunner [all...] |
/external/autotest/client/tests/netperf2/ |
H A D | netperf2.py | 80 self.ping(client_ip, timeout) 83 self.ping(server_ip, timeout) 327 def ping(self, ip, timeout): member in class:netperf2 331 if not os.system('ping -c 1 ' + ip):
|
/external/nist-sip/java/gov/nist/core/ |
H A D | ThreadAuditor.java | 9 * - Threads register with the auditor at startup and "ping" the auditor every so often. 11 * auditor reports if the threads are healthy or if any of them failed to ping and are 15 * the thread can periodically ping the auditor. 27 /// How often are threads supposed to ping 48 /// Called by the auditor thread to check the ping status of the thread 53 /// Called by the auditor thread to reset the ping status of the thread 63 // Helper function to allow threads to ping using this handle 64 public void ping() { method in class:ThreadAuditor.ThreadHandle 65 threadAuditor.ping(this); 68 // Helper function to allow threads to get the ping interva 118 public synchronized void ping(ThreadHandle threadHandle) { method in class:ThreadAuditor [all...] |
/external/webrtc/webrtc/tools/rtcbot/bot/browser/ |
H A D | bot.js | 12 function ping(callback) { function 135 ping: ping,
|
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/ |
H A D | _core.py | 267 def ping(self, payload=""): member in class:WebSocket 269 send ping data.
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
H A D | FrameWriter.java | 75 * Send a connection-level ping to the peer. {@code ack} indicates this is 85 void ping(boolean ack, int payload1, int payload2) throws IOException; method in interface:FrameWriter
|
H A D | FrameReader.java | 54 * Read a connection-level ping from the peer. {@code ack} indicates this 64 void ping(boolean ack, int payload1, int payload2); method in interface:FrameReader.Handler
|
H A D | Spdy3.java | 246 handler.ping(ack, id, 0); 439 @Override public synchronized void ping(boolean reply, int payload1, int payload2) method in class:Spdy3.Writer
|
H A D | FramedConnection.java | 375 * Sends a ping frame to the peer. Use the returned object to await the 376 * ping's response and observe its round trip time. 378 public Ping ping() throws IOException { method in class:FramedConnection 379 Ping ping = new Ping(); 388 pings.put(pingId, ping); 390 writePing(false, pingId, 0x4f4b6f6b /* ASCII "OKok" */, ping); 391 return ping; 395 final boolean reply, final int payload1, final int payload2, final Ping ping) { 396 executor.execute(new NamedRunnable("OkHttp %s ping %08x%08x", 400 writePing(reply, payload1, payload2, ping); 394 writePingLater( final boolean reply, final int payload1, final int payload2, final Ping ping) argument 407 writePing(boolean reply, int payload1, int payload2, Ping ping) argument 763 @Override public void ping(boolean reply, int payload1, int payload2) { method in class:FramedConnection.Reader [all...] |
H A D | Http2.java | 67 static final byte FLAG_ACK = 0x1; // Used for settings and ping. 329 handler.ping(ack, payload1, payload2); 516 @Override public synchronized void ping(boolean ack, int payload1, int payload2) method in class:Http2.Writer
|
/external/autotest/server/ |
H A D | site_linux_system.py | 718 def ping(self, ping_config): member in class:LinuxSystem 721 @param ping_config PingConfig object describing the ping command to run. 726 return self._ping_runner.ping(ping_config)
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
H A D | Platform.java | 66 NoPreloadHolder.MAPPER.ping(); 72 private void ping() { method in class:Platform
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
H A D | BaseTestHandler.java | 49 @Override public void ping(boolean ack, int payload1, int payload2) { method in class:BaseTestHandler
|
H A D | MockSpdyPeer.java | 280 @Override public void ping(boolean ack, int payload1, int payload2) { method in class:MockSpdyPeer.InFrame
|
/external/ImageMagick/MagickCore/ |
H A D | identify.c | 474 ping; 642 ping=p == (const Quantum *) NULL ? MagickTrue : MagickFalse; 703 if (ping == MagickFalse) 925 if (ping == MagickFalse) 472 ping; local
|
H A D | image.h | 276 ping; /* no image data read, just attributes */ member in struct:_Image 436 ping, /* fast read image attributes, not image data */ member in struct:_ImageInfo
|
/external/ImageMagick/coders/ |
H A D | json.c | 710 ping; 736 ping=p == (const Quantum *) NULL ? MagickTrue : MagickFalse; 737 (void) ping; 705 ping; local
|
/external/autotest/client/common_lib/ |
H A D | site_utils.py | 80 def ping(host, deadline=None, tries=None, timeout=60): function 81 """Attempt to ping |host|. 83 Shell out to 'ping' if host is an IPv4 addres or 'ping6' if host is an 85 Returns exit code of ping. 87 Per 'man ping', if you specify BOTH |deadline| and |tries|, ping only 96 @param host: the host to ping. 99 @param timeout: number of seconds after which to kill 'ping' command. 100 @return exit code of ping command. 103 ping_cmd = 'ping6' if re.search(r':.*:', host) else 'ping' [all...] |
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/ |
H A D | NanoWSD.java | 237 public void ping(byte[] payload) throws IOException { method in class:NanoWSD.WebSocket
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
H A D | wpagui.cpp | 162 connect(timer, SIGNAL(timeout()), SLOT(ping())); 810 void WpaGui::ping() function in class:WpaGui
|