Searched refs:iov (Results 1 – 7 of 7) sorted by relevance
258 ssize_t JdwpNetStateBase::WriteBufferedPacket(const std::vector<iovec>& iov) { in WriteBufferedPacket() argument260 return WriteBufferedPacketLocked(iov); in WriteBufferedPacket()263 ssize_t JdwpNetStateBase::WriteBufferedPacketLocked(const std::vector<iovec>& iov) { in WriteBufferedPacketLocked() argument266 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() argument281 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()
92 ssize_t WriteBufferedPacket(const std::vector<iovec>& iov) REQUIRES(!socket_lock_);96 ssize_t WriteBufferedPacketLocked(const std::vector<iovec>& iov);
170 iovec iov; in ReceiveClientFd() local171 iov.iov_base = &dummy; in ReceiveClientFd()172 iov.iov_len = 1; in ReceiveClientFd()177 msg.msg_iov = &iov; in ReceiveClientFd()
258 void DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count)327 void SendBufferedRequest(uint32_t type, const std::vector<iovec>& iov);
1330 void JdwpState::DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count) { in DdmSendChunkV() argument1334 CHECK(iov != nullptr); in DdmSendChunkV()1345 wrapiov.push_back(iov[i]); in DdmSendChunkV()1346 dataLen += iov[i].iov_len; in DdmSendChunkV()
410 iovec iov; in SendAgentFds() local411 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() local458 iov.iov_base = &dummy; in ReadFdFromAdb()459 iov.iov_len = 1; in ReadFdFromAdb()464 msg.msg_iov = &iov; in ReadFdFromAdb()
297 iovec iov; in ReceiveFdsFromSocket() local298 iov.iov_base = message; in ReceiveFdsFromSocket()299 iov.iov_len = sizeof(message); in ReceiveFdsFromSocket()303 msg.msg_iov = &iov; in ReceiveFdsFromSocket()