Home
last modified time | relevance | path

Searched refs:iov (Results 1 – 7 of 7) sorted by relevance

/art/runtime/jdwp/
Djdwp_main.cc258 ssize_t JdwpNetStateBase::WriteBufferedPacket(const std::vector<iovec>& iov) { in WriteBufferedPacket() argument
260 return WriteBufferedPacketLocked(iov); in WriteBufferedPacket()
263 ssize_t JdwpNetStateBase::WriteBufferedPacketLocked(const std::vector<iovec>& iov) { in WriteBufferedPacketLocked() argument
266 return TEMP_FAILURE_RETRY(writev(clientSock, &iov[0], iov.size())); in WriteBufferedPacketLocked()
273 void JdwpState::SendBufferedRequest(uint32_t type, const std::vector<iovec>& iov) { in SendBufferedRequest() argument
281 for (size_t i = 0; i < iov.size(); ++i) { in SendBufferedRequest()
282 expected += iov[i].iov_len; in SendBufferedRequest()
286 ssize_t actual = netState->WriteBufferedPacket(iov); in SendBufferedRequest()
Djdwp_priv.h92 ssize_t WriteBufferedPacket(const std::vector<iovec>& iov) REQUIRES(!socket_lock_);
96 ssize_t WriteBufferedPacketLocked(const std::vector<iovec>& iov);
Djdwp_adb.cc170 iovec iov; in ReceiveClientFd() local
171 iov.iov_base = &dummy; in ReceiveClientFd()
172 iov.iov_len = 1; in ReceiveClientFd()
177 msg.msg_iov = &iov; in ReceiveClientFd()
Djdwp.h258 void DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count)
327 void SendBufferedRequest(uint32_t type, const std::vector<iovec>& iov);
Djdwp_event.cc1330 void JdwpState::DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count) { in DdmSendChunkV() argument
1334 CHECK(iov != nullptr); in DdmSendChunkV()
1345 wrapiov.push_back(iov[i]); in DdmSendChunkV()
1346 dataLen += iov[i].iov_len; in DdmSendChunkV()
/art/adbconnection/
Dadbconnection.cc410 iovec iov; in SendAgentFds() local
411 iov.iov_base = const_cast<char*>(message); in SendAgentFds()
412 iov.iov_len = strlen(message) + 1; in SendAgentFds()
417 msg.msg_iov = &iov; in SendAgentFds()
457 iovec iov; in ReadFdFromAdb() local
458 iov.iov_base = &dummy; in ReadFdFromAdb()
459 iov.iov_len = 1; in ReadFdFromAdb()
464 msg.msg_iov = &iov; in ReadFdFromAdb()
/art/dt_fd_forward/
Ddt_fd_forward.cc297 iovec iov; in ReceiveFdsFromSocket() local
298 iov.iov_base = message; in ReceiveFdsFromSocket()
299 iov.iov_len = sizeof(message); in ReceiveFdsFromSocket()
303 msg.msg_iov = &iov; in ReceiveFdsFromSocket()