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

123

/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
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/libchrome/dbus/
H A Ddbus_statistics.cc194 int sent = 0, received = 0, sent_blocking = 0; local
200 sent += stat->sent_method_calls;
211 if (!sent && !received && !sent_blocking)
235 if (sent) {
238 line += base::StringPrintf(" %d", sent);
240 line += base::StringPrintf(" %d/min", sent / dminutes);
242 line += base::StringPrintf(" %d (%d/min)", sent, sent / dminutes);
255 sent = 0;
267 int* sent,
264 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/webrtc/webrtc/p2p/base/
H A Dpseudotcp_unittest.cc262 // Shut down when we've sent everything.
288 int sent; local
294 sent = local_.Send(block, tosend);
296 if (sent != -1) {
297 send_stream_.SetPosition(position + sent);
298 LOG(LS_VERBOSE) << "Sent: " << position + sent; local
304 sent = static_cast<int>(tosend = 0);
306 } while (sent > 0);
387 // Shut down when we've sent everything.
407 int sent; local
418 LOG(LS_VERBOSE) << "Sent: " << position + sent; local
535 int sent; local
545 LOG(LS_VERBOSE) << "Sent: " << position + sent; local
[all...]
H A Dtcpport.cc29 * Data could only be sent in state 3. Sening data during state 2 & 6 will get
220 int sent = socket->Send(data, size, options); local
221 if (sent < 0) {
229 return sent;
355 int sent = socket_->Send(data, size, options); local
356 if (sent < 0) {
360 send_rate_tracker_.AddSamples(sent);
362 return sent;
H A Drelayport.cc353 int sent = entry->SendTo(data, size, addr, options); local
354 if (sent <= 0) {
355 ASSERT(sent < 0);
434 int sent = socket_->SendTo(data, size, GetAddress(), options); local
435 if (sent <= 0) {
438 ASSERT(sent < 0);
695 // If the magic cookie is not present, then this is an unwrapped packet sent
768 int sent = 0; local
772 sent = current_connection_->Send(data, size, options);
774 return sent;
[all...]
/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.mk15 # X86 asm files are processed by the system and sent to yasm
H A Dconfig.x86_64.mk16 # X86_64 asm files are processed by the system and sent to yasm
/external/libvncserver/webclients/novnc/include/chrome-app/
H A Dtcp-client.js42 sent: null // Called when client sends data to server.
74 * @param {Function} callback The function to call when the message has sent
92 // Register sent callback.
93 this.callbacks.sent = callback;
101 * @param {Function} callback The function to call when the message has sent
113 // Register sent callback.
114 this.callbacks.sent = callback;
267 // Call sent callback.
268 if (this.callbacks.sent) {
269 this.callbacks.sent(writeInf
[all...]
/external/autotest/client/common_lib/cros/network/
H A Dping_runner.py118 sent = PingResult._regex_int_from_string('([0-9]+) packets transmitted',
124 if None in (sent, received, loss):
130 return PingResult(sent, received, loss,
138 return PingResult(sent, received, loss)
141 def __init__(self, sent, received, loss,
146 @param sent: int number of packets sent.
156 self.sent = sent
/external/autotest/client/site_tests/network_FirewallHolePunch/src/tcpserver/
H A Dtcp-server.js47 sent: null // Called when client sends data to server.
200 sent: null // Called when client sends data to server.
253 * @param {Function} callback The function to call when the message has sent
260 // Register sent callback.
261 this.callbacks.sent = callback;
282 * callback sent in its parameter.
331 // Call sent callback.
332 if (this.callbacks.sent) {
333 this.callbacks.sent(writeInfo);
/external/webrtc/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;
H A Dtestutils.h339 size_t sent = 0; local
340 while (sent < send_buffer_.size()) {
341 int result = socket_->Send(&send_buffer_[sent],
342 send_buffer_.size() - sent);
344 sent += result;
349 size_t new_size = send_buffer_.size() - sent;
350 memmove(&send_buffer_[0], &send_buffer_[sent], new_size);
/external/dbus/test/data/valid-config-files/system.d/
H A Dtest.conf16 only if the message is sent by the owner of FooService -->
/external/boringssl/src/ssl/
H A Dcustom_extensions.c107 assert((ssl->s3->tmp.custom_extensions.sent & (1u << i)) == 0);
108 ssl->s3->tmp.custom_extensions.sent |= (1u << i);
139 !(ssl->s3->tmp.custom_extensions.sent & (1u << index))) {
187 * to track when an extension has been sent. */
189 (sizeof(((struct ssl3_state_st *)NULL)->tmp.custom_extensions.sent) * 8)
/external/curl/lib/
H A Dformdata.h44 size_t sent; /* number of bytes of the current line that has member in struct:Form
45 already been sent in a previous invoke */
/external/dbus/test/
H A Ddbus-daemon.c258 guint sent; local
278 for (sent = 0; sent < count; sent++)
/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/okhttp/okio/benchmarks/src/main/java/com/squareup/okio/benchmarks/
H A DBufferPerformanceBench.java262 final Buffer sent = new Buffer(); field in class:BufferPerformanceBench.BufferState
268 sent.clear();
284 * Expects process and sent buffers to be empty. Leaves the process buffer empty and
285 * sent buffer full.
288 writeChunked(process, bytes, maxChunkSize).readAll(sent);
289 return sent;
/external/webrtc/webrtc/examples/peerconnection/client/
H A Dpeer_connection_client.cc239 size_t sent = socket->Send(onconnect_data_.c_str(), onconnect_data_.length()); local
240 ASSERT(sent == onconnect_data_.length());
241 RTC_UNUSED(sent);
250 int sent = socket->Send(buffer, len); local
251 ASSERT(sent == len);
252 RTC_UNUSED2(sent, len);
/external/libchrome/sandbox/linux/syscall_broker/
H A Dbroker_host.cc146 ssize_t sent = base::UnixDomainSocket::SendMsg( local
157 if (sent <= 0) {
207 // We reply on the file descriptor sent to us via the IPC channel.
/external/jetty/src/java/org/eclipse/jetty/client/
H A DAsyncHttpConnection.java264 boolean sent=super.send(ex);
265 if (sent)
267 return sent;
H A DBlockingHttpConnection.java304 boolean sent=super.send(ex);
305 if (sent)
312 return sent;
/external/autotest/server/hosts/
H A Dparamiko_host.py222 sent = channel.send(stdin[:cls.BUFFSIZE])
223 if not sent:
226 stdin = stdin[sent:]

Completed in 753 milliseconds

123