Home
last modified time | relevance | path

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

/art/runtime/jdwp/
Djdwp_main.cc138 ssize_t JdwpNetStateBase::WriteBufferedPacket(const std::vector<iovec>& iov) { in WriteBufferedPacket() argument
140 return WriteBufferedPacketLocked(iov); in WriteBufferedPacket()
143 ssize_t JdwpNetStateBase::WriteBufferedPacketLocked(const std::vector<iovec>& iov) { in WriteBufferedPacketLocked() argument
146 return TEMP_FAILURE_RETRY(writev(clientSock, &iov[0], iov.size())); in WriteBufferedPacketLocked()
153 void JdwpState::SendBufferedRequest(uint32_t type, const std::vector<iovec>& iov) { in SendBufferedRequest() argument
161 for (size_t i = 0; i < iov.size(); ++i) { in SendBufferedRequest()
162 expected += iov[i].iov_len; in SendBufferedRequest()
166 ssize_t actual = netState->WriteBufferedPacket(iov); in SendBufferedRequest()
Djdwp_adb.cc143 iovec iov; in ReceiveClientFd() local
144 iov.iov_base = &dummy; in ReceiveClientFd()
145 iov.iov_len = 1; in ReceiveClientFd()
150 msg.msg_iov = &iov; in ReceiveClientFd()
Djdwp_priv.h90 ssize_t WriteBufferedPacket(const std::vector<iovec>& iov) LOCKS_EXCLUDED(socket_lock_);
94 ssize_t WriteBufferedPacketLocked(const std::vector<iovec>& iov);
Djdwp.h255 void DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count)
323 void SendBufferedRequest(uint32_t type, const std::vector<iovec>& iov);
Djdwp_event.cc1288 void JdwpState::DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count) { in DdmSendChunkV() argument
1292 CHECK(iov != nullptr); in DdmSendChunkV()
1303 wrapiov.push_back(iov[i]); in DdmSendChunkV()
1304 dataLen += iov[i].iov_len; in DdmSendChunkV()
/art/runtime/
Dtrace.cc721 iovec iov[2]; in FinishTracing() local
722 iov[0].iov_base = reinterpret_cast<void*>(const_cast<char*>(header.c_str())); in FinishTracing()
723 iov[0].iov_len = header.length(); in FinishTracing()
724 iov[1].iov_base = buf_.get(); in FinishTracing()
725 iov[1].iov_len = final_offset; in FinishTracing()
726 Dbg::DdmSendChunkV(CHUNK_TYPE("MPSE"), iov, 2); in FinishTracing()
Ddebugger.h671 static void DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count)
Ddebugger.cc4383 void Dbg::DdmSendChunkV(uint32_t type, const iovec* iov, int iov_count) { in DdmSendChunkV() argument
4387 gJdwpState->DdmSendChunkV(type, iov, iov_count); in DdmSendChunkV()
/art/runtime/hprof/
Dhprof.cc396 std::vector<iovec> iov; in HandleFlush() local
397 iov.push_back(iovec()); in HandleFlush()
398 iov[0].iov_base = const_cast<void*>(reinterpret_cast<const void*>(buffer)); in HandleFlush()
399 iov[0].iov_len = length; in HandleFlush()
400 net_state_->WriteBufferedPacketLocked(iov); in HandleFlush()