Searched defs:sent (Results 1 - 25 of 37) sorted by relevance

12

/external/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/webkit/Source/WebCore/platform/network/curl/
H A DFormDataStreamCurl.cpp62 size_t sent; local
76 sent = fread(ptr, blockSize, numberOfBlocks, m_file);
91 sent = elementSize > toSend ? toSend : elementSize;
92 memcpy(ptr, element.m_data.data() + m_formDataElementDataOffset, sent);
93 if (elementSize > sent)
94 m_formDataElementDataOffset += sent;
101 return sent;
/external/chromium/chrome/browser/extensions/
H A Dextension_rlz_module.cc165 // not sent false is returned, but this is not an error, so we should not
169 bool sent = rlz_lib::SendFinancialPing(product, access_points.get(), local
173 result_.reset(Value::CreateBooleanValue(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/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/smack/src/org/jivesoftware/smackx/carbons/
H A DCarbon.java36 * <b>smack.properties</b> file for the elements <b>sent</b> and
53 * get the direction (sent or received) of the carbon.
97 sent enum constant in enum:Carbon.Direction
116 throw new Exception("sent/received must contain exactly one <forwarded> tag");
/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Dudpport.cc84 int sent = socket_->SendTo(data, size, addr); local
85 if (sent < 0) {
90 return sent;
H A Dstunport.cc43 // Handles a binding request sent to the STUN server.
187 int sent = socket_->SendTo(data, size, addr); local
188 if (sent < 0) {
193 return sent;
H A Dtcpport.cc124 int sent = socket->Send(data, size); local
125 if (sent < 0) {
130 return sent;
228 int sent = socket_->Send(data, size); local
229 if (sent < 0) {
232 send_rate_tracker_.Update(sent);
234 return sent;
H A Dp2ptransportchannel.cc490 int sent = best_connection_->Send(data, len); local
491 if (sent <= 0) {
492 ASSERT(sent < 0);
495 return sent;
/external/webkit/Source/WebCore/websockets/
H A DThreadableWebSocketChannelClientWrapper.h66 bool sent() const function in class:WebCore::ThreadableWebSocketChannelClientWrapper
70 void setSent(bool sent) argument
72 m_sent = sent;
H A DWorkerThreadableWebSocketChannel.cpp135 static void workerContextDidSend(ScriptExecutionContext* context, RefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, bool sent) argument
138 workerClientWrapper->setSent(sent);
146 bool sent = m_mainWebSocketChannel->send(message);
147 m_loaderProxy.postTaskForModeToWorkerContext(createCallbackTask(&workerContextDidSend, m_workerClientWrapper, sent), m_taskMode);
306 return clientWrapper && clientWrapper->sent();
/external/bluetooth/bluedroid/stack/gatt/
H A Dgatt_cl.c1033 ** Description Find next command in queue and sent to server
1035 ** Returns TRUE if command sent, otherwise FALSE.
1041 BOOLEAN sent = FALSE; local
1045 while (!sent &&
1049 sent = attp_send_msg_to_L2CAP(p_tcb, p_cmd->p_cmd);
1051 if (sent)
1066 sent = FALSE;
1074 GATT_TRACE_ERROR0("gatt_cl_send_next_cmd_inq: L2CAP sent error");
1082 return sent;
/external/bluetooth/bluedroid/stack/smp/
H A Dsmp_utils.c113 BOOLEAN sent = FALSE; local
124 sent = TRUE;
132 if (!sent)
136 return sent;
/external/chromium/chrome/browser/debugger/
H A Ddevtools_remote_listen_socket.cc233 int sent = HANDLE_EINTR(send(socket_, send_buf, len_left, 0)); local
234 if (sent == len_left) { // A shortcut to avoid extraneous checks.
237 if (sent == kSocketError) {
250 // sent != len_left according to the shortcut above.
252 send_buf += sent;
253 len_left -= sent;
/external/chromium/net/base/
H A Dlisten_socket.cc147 int sent = HANDLE_EINTR(send(socket_, send_buf, len_left, 0)); local
148 if (sent == len_left) { // A shortcut to avoid extraneous checks.
151 if (sent == kSocketError) {
164 // sent != len_left according to the shortcut above.
166 send_buf += sent;
167 len_left -= sent;
/external/chromium/net/websockets/
H A Dwebsocket.cc220 // Already sent 0xFF and 0x00 bytes.
243 bool sent = socket_stream_->SendData( local
247 DCHECK(sent);
H A Dwebsocket_job_unittest.cc248 bool sent = websocket_->SendData(kHandshakeRequestMessage, local
250 EXPECT_TRUE(sent);
293 bool sent = websocket_->SendData(kHandshakeRequestMessage, local
295 EXPECT_TRUE(sent);
296 // We assume request is sent in one data chunk (from WebKit)
375 bool sent = websocket_->SendData(kHandshakeRequestMessage, local
377 EXPECT_TRUE(sent);
462 bool sent = websocket_->SendData(kHandshakeRequestMessage, local
464 EXPECT_TRUE(sent);
/external/openssh/
H A Droaming_common.c109 roam_set_bytes(u_int64_t sent, u_int64_t recvd) argument
112 write_bytes = sent;
/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/third_party/libjingle/source/talk/session/tunnel/
H A Dpseudotcpchannel.cc496 int sent = channel_->SendPacket(buffer, len); local
497 if (sent > 0) {
498 //LOG_F(LS_VERBOSE) << "(" << sent << ") Sent";
/external/dhcpcd/
H A Ddhcpcd.h67 struct dhcp_message *sent; member in struct:if_state
/external/antlr/antlr-3.4/runtime/C/src/
H A Dantlr3debughandlers.c167 int sent; local
170 sent = 0;
172 while (sent < len)
176 thisSend = send(sock, ptr, len - sent, 0);
188 sent += thisSend;
/external/chromium/third_party/libjingle/source/talk/base/
H A Dschanneladapter.cc452 int sent = AsyncSocketAdapter::Send(&outbuf[pos], outbuf.size() - pos); local
453 if (sent > 0) {
454 pos += sent;

Completed in 777 milliseconds

12