/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
Ping.java | 26 private long sent = -1; field in class:Ping 33 if (sent != -1) throw new IllegalStateException(); 34 sent = System.nanoTime(); 38 if (received != -1 || sent == -1) throw new IllegalStateException(); 44 if (received != -1 || sent == -1) throw new IllegalStateException(); 45 received = sent - 1; 56 return received - sent; 66 return received - sent;
|
/external/chromium_org/dbus/ |
dbus_statistics_unittest.cc | 64 int sent = 0, received = 0, block = 0; local 66 // Add a sent call 69 "service1", "service1.interface1", "method1", &sent, &received, &block)); 70 EXPECT_EQ(1, sent); 77 "service1", "service1.interface1", "method1", &sent, &received, &block)); 78 EXPECT_EQ(1, sent); 86 "service1", "service1.interface1", "method1", &sent, &received, &block)); 87 EXPECT_EQ(1, sent); 93 int sent = 0, received = 0, block = 0; local 101 "service1", "service1.interface1", "method1", &sent, &received, &block)) [all...] |
dbus_statistics.cc | 193 int sent = 0, received = 0, sent_blocking = 0; local 199 sent += stat->sent_method_calls; 210 if (!sent && !received && !sent_blocking) 225 line += base::StringPrintf(" Sent (BLOCKING):"); 234 if (sent) { 235 line += base::StringPrintf(" Sent:"); 237 line += base::StringPrintf(" %d", sent); 239 line += base::StringPrintf(" %d/min", sent / dminutes); 241 line += base::StringPrintf(" %d (%d/min)", sent, sent / dminutes) [all...] |
dbus_statistics.h | 39 // Add sent/received calls to the statistics gathering class. These methods 57 // org.chromium.Mtpd.EnumerateStorage: Sent: 100 60 // org.chromium.Mtpd: Sent: 100 (10/min) Received: 20 (2/min) 65 // Sets |sent| to the number of sent calls, |received| to the number of 66 // received calls, and |blocking| to the number of sent blocking calls for 71 int* sent,
|
/external/chromium_org/net/third_party/nss/ssl/ |
ssldef.c | 82 int sent = 0; local 94 int rv = lower->methods->send(lower, (const void *)(buf + sent), 95 len - sent, flags, ss->wTimeout); 100 return sent ? sent : SECFailure; 107 sent += rv; 109 if (IS_DTLS(ss) && (len > sent)) { 111 return sent; 113 } while (len > sent); 115 return sent; 134 int sent = 0; local [all...] |
/cts/suite/audio_quality/lib/src/ |
ClientSocket.cpp | 141 int sent; local 144 sent = send(mSocket, (void*)data, (size_t)toSend, 0); 145 if (sent > 0) { 146 toSend -= sent; 147 data += sent; 148 } else if (sent == 0) { // no more buffer? 151 LOGE("send returned %d, error %d", sent, errno);
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/infobars/sandwichbar/ |
background.js | 6 * Handles requests sent by the content script. Shows an infobar. 9 // The number of matches is sent in the request - pass it to the 13 // Show the infobar on the tab where the request was sent.
|
/external/chromium_org/chrome/browser/chromeos/app_mode/ |
kiosk_diagnosis_runner.h | 37 void OnFeedbackSent(bool sent);
|
/external/chromium_org/chrome/browser/resources/ |
managed_mode_block_interstitial.js | 25 * Updates the interstitial to show that the request was sent. 31 $('request-sent-message').hidden = false;
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
pseudotcp_unittest.cc | 280 // Shut down when we've sent everything. 306 int sent; local 312 sent = local_.Send(block, tosend); 314 if (sent != -1) { 315 send_stream_.SetPosition(position + sent); 316 LOG(LS_VERBOSE) << "Sent: " << position + sent; local 322 sent = static_cast<int>(tosend = 0); 324 } while (sent > 0); 405 // Shut down when we've sent everything 425 int sent; local 436 LOG(LS_VERBOSE) << "Sent: " << position + sent; local 553 int sent; local 563 LOG(LS_VERBOSE) << "Sent: " << position + sent; local [all...] |
tcpport.cc | 154 int sent = socket->Send(data, size, options); local 155 if (sent < 0) { 160 return sent; 281 int sent = socket_->Send(data, size, options); local 282 if (sent < 0) { 285 send_rate_tracker_.Update(sent); 287 return sent;
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultHttpRequestRetryHandler.java | 56 /** Whether or not methods that have successfully sent their request will be retried */ 110 boolean sent = (b != null && b.booleanValue()); 111 if (!sent || this.requestSentRetryEnabled) { 112 // Retry if the request has not been sent fully or 113 // if it's OK to retry methods that have been sent 122 * successfully sent their request, <code>false</code> otherwise
|
/cts/tests/tests/net/src/android/net/ipv6/cts/ |
PingTest.java | 109 byte[] sent, boolean useRecvfrom) throws ErrnoException, IOException { 129 assertEquals(sent.length, bytesRead); 136 // Find out what ICMP ID was used in the packet that was sent. 138 sent[4] = (byte) (id / 256); 139 sent[5] = (byte) (id % 256); 145 assertArrayBytesEqual(response, sent, bytesRead);
|
/external/smack/src/com/kenai/jbosh/ |
ApacheHTTPResponse.java | 78 * The HTTP POST request is sent to the server. 85 private boolean sent; field in class:ApacheHTTPResponse 126 this.sent = false; 186 if (!sent) { 208 if (!sent) { 243 sent = true;
|
/sdk/emulator/opengl/tests/event_injector/ |
emulator-console.c | 46 int sent; // already sent (so sent..size remain in buffer). member in struct:Msg 58 msg->sent = 0; 114 msg->data + msg->sent, 115 msg->size - msg->sent); 117 DD("Console sent: '%.*s'", ret, msg->data + msg->sent); 119 msg->sent += ret; 120 if (msg->sent == msg->size) [all...] |
/external/qemu/android/ |
adb-server.c | 71 /* Contains data that are pending to be sent to the host. */ 73 /* Number of bytes that are pending to be sent to the host. */ 270 const int sent = socket_send(adb_host->host_so, local 273 if (sent < 0) { 286 } else if (sent == 0) { 294 } else if (sent == adb_host->pending_send_data_size) { 300 adb_host->pending_send_data_size -= sent; 302 adb_host->pending_send_buffer + sent, 523 /* There are no data that are pending to be sent to the host. Do the 525 const int sent = socket_send(adb_host->host_so, msg, msglen) local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/xcb/ |
xcbext.h | 65 * request XCB sent. The caller of xcb_take_socket must supply a 69 * then returns the sequence number of the last request sent over the 71 int xcb_take_socket(xcb_connection_t *c, void (*return_socket)(void *closure), void *closure, int flags, uint64_t *sent);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/xcb/ |
xcbext.h | 65 * request XCB sent. The caller of xcb_take_socket must supply a 69 * then returns the sequence number of the last request sent over the 71 int xcb_take_socket(xcb_connection_t *c, void (*return_socket)(void *closure), void *closure, int flags, uint64_t *sent);
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/messages/ |
spoken_message.js | 23 * A message that has been already localized and should be sent to tts raw.
|
/external/smack/src/org/xbill/DNS/ |
ExtendedResolver.java | 21 int [] sent; field in class:ExtendedResolver.Resolution 54 sent = new int[resolvers.length]; 63 sent[n]++; 92 sent[0]++; 99 * This will either cause more queries to be sent 184 if (sent[n] == 1 && n < resolvers.length - 1) 188 if (sent[n] < retries) 349 * and queries are sent multiple times until either a successful response 413 /** Sets the number of retries sent to each server per query */
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_timer.c | 76 if (chk->sent == SCTP_DATAGRAM_RESEND) { 82 if (chk->sent == SCTP_DATAGRAM_RESEND) { 87 if (chk->sent == SCTP_DATAGRAM_RESEND) { 427 if (chk->sent != SCTP_DATAGRAM_NR_ACKED) { 467 * Mark all chunks (well not all) that were sent to *net for 546 panic("last acked >= chk on sent-Q"); 557 if ((chk->whoTo == net) && (chk->sent < SCTP_DATAGRAM_ACKED)) { 575 * we have reached a chunk that was sent 594 * ok it was sent after our boundary 631 if (chk->sent < SCTP_DATAGRAM_RESEND) [all...] |
/external/chromium_org/net/socket/ |
stream_listen_socket.cc | 133 int sent = HANDLE_EINTR(send(socket_, send_buf, len_left, 0)); local 134 if (sent == len_left) { // A shortcut to avoid extraneous checks. 137 if (sent == kSocketError) { 150 // sent != len_left according to the shortcut above. 152 send_buf += sent; 153 len_left -= sent;
|
/external/chromium_org/third_party/webrtc/video_engine/include/ |
vie_rtp_rtcp.h | 169 // sent the specified channel. 195 // FEC packets are sent together with the usual media packets, hence 205 // FEC packets are sent together with the usual media packets, hence will 268 // will be sent over a longer period of time instead of sending them 349 // The function gets statistics from the sent and received RTP streams. 351 StreamDataCounters& sent, 361 StreamDataCounters sent; local 363 int ret_code = GetRtpStatistics(video_channel, sent, received); 364 bytes_sent = sent.bytes; 365 packets_sent = sent.packets [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
macasyncsocket.cc | 151 int sent = ::send(native_socket_, buffer, length, 0); local 153 if (sent == SOCKET_ERROR) { 162 return sent; 174 int sent = ::sendto(native_socket_, buffer, length, 0, local 177 if (sent == SOCKET_ERROR) { 181 return sent;
|
/external/chromium_org/third_party/webrtc/base/ |
macasyncsocket.cc | 157 int sent = ::send(native_socket_, buffer, length, 0); local 159 if (sent == SOCKET_ERROR) { 168 return sent; 180 int sent = ::sendto(native_socket_, buffer, length, 0, local 183 if (sent == SOCKET_ERROR) { 187 return sent;
|