/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/ |
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;
|
/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/libese/libese-hw/ |
ese_hw_fake.c | 123 uint32_t sent = local 125 if (sent != tx_buf->len - offset) { 126 offset = tx_buf->len - sent; 127 processed += sent; 130 if (sent == 0) { 139 processed += sent;
|
/external/curl/docs/cmdline-opts/ |
mail-from.d | 8 Specify a single address that the given mail should get sent from.
|
proxy-header.d | 10 separate header sent to the proxy to what is sent to the actual remote host. 12 curl will make sure that each header you add/replace is sent with the proper 18 knows will not be sent to a proxy.
|
ftp-account.d | 8 been provided, this data is sent off using the ACCT command.
|
use-ascii.d | 7 ends with ";type=A". This option causes data sent to stdout to be in text mode
|
digest.d | 8 prevents the password from being sent over the wire in clear text. Use this in
|
/hardware/qcom/gps/msm8998/android/ |
AGnssRil.cpp | 106 ssize_t sent = 0; local 109 (sent = ::send(socketFd, data.c_str() + (data.length() - remain), 111 remain -= sent; 114 if (sent < 0) {
|
/hardware/qcom/gps/sdm845/android/ |
AGnssRil.cpp | 106 ssize_t sent = 0; local 109 (sent = ::send(socketFd, data.c_str() + (data.length() - remain), 111 remain -= sent; 114 if (sent < 0) {
|
/external/libchrome/dbus/ |
dbus_statistics.cc | 194 int sent = 0, received = 0, sent_blocking = 0; local 200 sent += stat->sent_method_calls; 211 if (!sent && !received && !sent_blocking) 226 line += base::StringPrintf(" Sent (BLOCKING):"); 235 if (sent) { 236 line += base::StringPrintf(" 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) [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,
|
/system/core/fastboot/ |
socket.cpp | 184 ssize_t sent = local 187 if (sent == -1) { 190 length -= sent; 198 ssize_t sent = TEMP_FAILURE_RETRY( local 201 if (sent == -1) { 205 // Adjust the buffers to skip past the bytes we've just sent. 207 while (sent > 0) { 208 if (iter->length > static_cast<size_t>(sent)) { 210 iter->length -= sent; 211 iter->data = reinterpret_cast<const char*>(iter->data) + sent; [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
MockWifiMonitor.java | 69 boolean sent = false; 72 sent = true; 76 + ",what=" + message.what, sent);
|
/external/autotest/client/common_lib/cros/network/ |
ping_runner.py | 104 sent = _regex_int_from_string('([0-9]+) packets transmitted', loss_line) 109 if None in (sent, received, loss): 115 return PingResult(sent, received, loss, 123 return PingResult(sent, received, loss) 199 sent = _regex_int_from_string('([0-9]+) packets transmitted', loss_line) 202 if None in (sent, received, loss): 208 return PingResult(sent, received, loss, 216 return PingResult(sent, received, loss) 246 def __init__(self, sent, received, loss, 251 @param sent: int number of packets sent [all...] |
/prebuilts/go/darwin-x86/src/encoding/gob/ |
encoder.go | 17 mutex sync.Mutex // each item must be sent atomically 19 sent map[reflect.Type]typeId // which types we've already sent 36 enc.sent = make(map[reflect.Type]typeId) 91 // it's been sent before. 92 func (enc *Encoder) sendActualType(w io.Writer, state *encoderState, ut *userTypeInfo, actual reflect.Type) (sent bool) { 93 if _, alreadySent := enc.sent[actual]; alreadySent { 111 // Remember we've sent this type, both what the user gave us and the base type. 112 enc.sent[ut.base] = info.id 114 enc.sent[ut.user] = info.i [all...] |
/prebuilts/go/linux-x86/src/encoding/gob/ |
encoder.go | 17 mutex sync.Mutex // each item must be sent atomically 19 sent map[reflect.Type]typeId // which types we've already sent 36 enc.sent = make(map[reflect.Type]typeId) 91 // it's been sent before. 92 func (enc *Encoder) sendActualType(w io.Writer, state *encoderState, ut *userTypeInfo, actual reflect.Type) (sent bool) { 93 if _, alreadySent := enc.sent[actual]; alreadySent { 111 // Remember we've sent this type, both what the user gave us and the base type. 112 enc.sent[ut.base] = info.id 114 enc.sent[ut.user] = info.i [all...] |
/external/webrtc/webrtc/p2p/base/ |
pseudotcp_unittest.cc | 262 // 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...] |
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultHttpRequestRetryHandler.java | 61 /** 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
|
/cts/tests/tests/net/src/android/net/ipv6/cts/ |
PingTest.java | 112 byte[] sent, boolean useRecvfrom) throws ErrnoException, IOException { 132 assertEquals(sent.length, bytesRead); 140 // Find out what ICMP ID was used in the packet that was sent. 142 sent[4] = (byte) (id / 256); 143 sent[5] = (byte) (id % 256); 149 assertArrayBytesEqual(response, sent, bytesRead);
|
/external/devlib/src/netstats/src/com/arm/devlib/trafficcatcher/ |
TrafficMetricsService.java | 74 long sent = TrafficStats.getUidTxBytes(uid); local 78 this.previousValues.get(name).put("sent", sent); 81 name, sent, received)); 83 long previosSent = this.previousValues.get(name).put("sent", sent); 87 sent - previosSent,
|
/external/libvncserver/webclients/novnc/include/chrome-app/ |
tcp-client.js | 42 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(writeInfo) 41 recvString: null, \/\/ Called (as string) when client receives data from server. property in class:TcpClient.callbacks [all...] |
/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);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/xcb/ |
xcbext.h | 65 * request XCB sent. The caller of xcb_take_socket must supply a 72 int xcb_take_socket(xcb_connection_t *c, void (*return_socket)(void *closure), void *closure, int flags, uint64_t *sent);
|
/prebuilts/go/darwin-x86/src/os/signal/ |
example_test.go | 16 // if we're not ready to receive when the signal is sent.
|