Lines Matching refs:sent
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,
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);
526 if (sent < 0) {
531 } else if (sent == 0) {
534 } else if (sent < msglen) {
536 _adb_host_append_message(adb_host, msg + sent, msglen - sent);
539 /* There are data that are pending to be sent to the host. We need