Searched refs:sent (Results 1 - 25 of 114) sorted by relevance

12345

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
H A DPing.java26 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/
H A Ddbus_statistics_unittest.cc64 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,
[all...]
H A Ddbus_statistics.cc193 int sent = 0, received = 0, sent_blocking = 0; local
199 sent += stat->sent_method_calls;
210 if (!sent && !received && !sent_blocking)
234 if (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);
254 sent = 0;
266 int* sent,
263 GetCalls(const std::string& service, const std::string& interface, const std::string& method, int* sent, int* received, int* blocking) argument
[all...]
H A Ddbus_statistics.h39 // Add sent/received calls to the statistics gathering class. These methods
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/
H A Dssldef.c82 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...]
/external/chromium_org/media/cast/test/utility/
H A Dnetload.py14 sent = 0 variable
26 global sent
32 sent += tmp;
35 global sent
43 sent_now = sent
/external/chromium_org/chrome/browser/chromeos/app_mode/
H A Dkiosk_diagnosis_runner.h37 void OnFeedbackSent(bool sent);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dpseudotcp_unittest.cc280 // 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...]
H A Dtcpport.cc161 int sent = socket->Send(data, size, options); local
162 if (sent < 0) {
167 return sent;
288 int sent = socket_->Send(data, size, options); local
289 if (sent < 0) {
292 send_rate_tracker_.Update(sent);
294 return sent;
/external/apache-http/src/org/apache/http/impl/client/
H A DDefaultHttpRequestRetryHandler.java61 /** Whether or not methods that have successfully sent their request will be retried */
115 boolean sent = (b != null && b.booleanValue());
116 if (!sent || this.requestSentRetryEnabled) {
117 // Retry if the request has not been sent fully or
118 // if it's OK to retry methods that have been sent
127 * successfully sent their request, <code>false</code> otherwise
/external/libvpx/
H A Dconfig.x86.mk16 # X86 asm files are processed by the system and sent to yasm
/external/smack/src/com/kenai/jbosh/
H A DApacheHTTPResponse.java78 * 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;
/external/qemu/android/
H A Dadb-server.c71 /* 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 local
[all...]
/external/smack/src/org/xbill/DNS/
H A DExtendedResolver.java21 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/
H A Dsctp_timer.c78 if (chk->sent == SCTP_DATAGRAM_RESEND) {
84 if (chk->sent == SCTP_DATAGRAM_RESEND) {
89 if (chk->sent == SCTP_DATAGRAM_RESEND) {
429 if (chk->sent != SCTP_DATAGRAM_NR_ACKED) {
469 * Mark all chunks (well not all) that were sent to *net for
548 panic("last acked >= chk on sent-Q");
559 if ((chk->whoTo == net) && (chk->sent < SCTP_DATAGRAM_ACKED)) {
577 * we have reached a chunk that was sent
596 * ok it was sent after our boundary
633 if (chk->sent < SCTP_DATAGRAM_RESEN
[all...]
H A Dsctp_indata.c697 * Gak, He sent me a duplicate str
959 /* Gak, He sent me a duplicate str seq number */
1353 * to be sent up above
2218 * that do not have to be sent
2221 * that would have been sent due to
2348 * cluster... i.e. it is a small packet sent in and yet the driver
2622 * processed from the sent queue, track the
2628 if ((tp1->whoTo->find_pseudo_cumack == 1) && (tp1->sent < SCTP_DATAGRAM_RESEND) &&
2633 if ((tp1->whoTo->find_rtx_pseudo_cumack == 1) && (tp1->sent < SCTP_DATAGRAM_RESEND) &&
2639 if (tp1->sent !
[all...]
/external/chromium_org/net/socket/
H A Dstream_listen_socket.cc133 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/
H A Dvie_rtp_rtcp.h209 // FEC packets are sent together with the usual media packets, hence
219 // FEC packets are sent together with the usual media packets, hence will
281 // will be sent over a longer period of time instead of sending them
365 // The function gets statistics from the sent and received RTP streams.
367 StreamDataCounters& sent,
377 StreamDataCounters sent; local
379 int ret_code = GetRtpStatistics(video_channel, sent, received);
380 bytes_sent = sent.bytes;
381 packets_sent = sent.packets;
400 // Gets sent an
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dmacasyncsocket.cc157 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;
/external/chromium_org/media/cast/logging/
H A Dreceiver_time_offset_estimator_impl.cc42 base::TimeTicks sent, base::TimeTicks received) {
43 base::TimeDelta delta = received - sent;
41 UpdateBound( base::TimeTicks sent, base::TimeTicks received) argument
/external/chromium_org/chrome/browser/safe_browsing/
H A Dtwo_phase_uploader.h43 typedef base::Callback<void(int64 sent, int64 total)> ProgressCallback;
54 // The first phase request will be sent to |base_url|, with |metadata|
/external/chromium_org/google_apis/gcm/base/
H A Dmcs_util.cc242 uint64 sent = local
243 reinterpret_cast<const mcs_proto::DataMessageStanza*>(&protobuf)->sent();
244 DCHECK(sent);
248 (sent + ttl) * base::Time::kMicrosecondsPerSecond);
/external/chromium_org/ipc/
H A Dipc_logging.cc250 Time::FromInternalValue(data.sent)).InSecondsF();
253 Time::FromInternalValue(data.sent)).InSecondsF();
263 Time::FromInternalValue(data.sent).ToDoubleT(),
305 data->sent = message.sent_time();
/external/libmtp/examples/
H A Dpathutils.c116 int progress (const uint64_t sent, const uint64_t total, void const * const data) argument
118 int percent = (sent*100)/total;
120 printf("Progress: %I64u of %I64u (%d%%)\r", sent, total, percent);
122 printf("Progress: %llu of %llu (%d%%)\r", sent, total, percent);
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
H A Dpeer_connection_client.cc256 size_t sent = socket->Send(onconnect_data_.c_str(), onconnect_data_.length()); local
257 ASSERT(sent == onconnect_data_.length());
258 RTC_UNUSED(sent);
267 int sent = socket->Send(buffer, len); local
268 ASSERT(sent == len);
269 RTC_UNUSED2(sent, len);

Completed in 761 milliseconds

12345