Searched refs:iov (Results 1 – 18 of 18) sorted by relevance
33 ssize_t adb_writev(borrowed_fd fd, const adb_iovec* iov, int iovcnt);39 inline ssize_t adb_writev(borrowed_fd fd, const adb_iovec* iov, int iovcnt) { in adb_writev() argument40 return writev(fd.get(), iov, std::min(iovcnt, IOV_MAX)); in adb_writev()
107 adb_iovec iov; in ReceiveMessageInternal() local108 iov.iov_len = packet->size(); in ReceiveMessageInternal()109 iov.iov_base = packet->data(); in ReceiveMessageInternal()114 msg.msg_iov = &iov; in ReceiveMessageInternal()403 adb_iovec iov; in JoinMulticastGroup() local404 iov.iov_len = length; in JoinMulticastGroup()405 iov.iov_base = const_cast<void*>(data); in JoinMulticastGroup()408 msg.msg_iov = &iov; in JoinMulticastGroup()
157 struct iovec iov; in socket_write_and_transfer_fd() local160 iov.iov_base = (void*)buf; in socket_write_and_transfer_fd()161 iov.iov_len = count; in socket_write_and_transfer_fd()163 msg.msg_iov = &iov; in socket_write_and_transfer_fd()
197 adb_iovec iov; in iovecs() local198 iov.iov_base = const_cast<char*>(data); in iovecs()199 iov.iov_len = len; in iovecs()200 result.emplace_back(iov); in iovecs()
278 static int _fh_file_writev(FH f, const adb_iovec* iov, int iovcnt) { in _fh_file_writev() argument287 ssize_t rc = _fh_file_write(f, iov[i].iov_base, iov[i].iov_len); in _fh_file_writev()296 if (static_cast<size_t>(rc) < iov[i].iov_len) { in _fh_file_writev()490 ssize_t adb_writev(borrowed_fd fd, const adb_iovec* iov, int iovcnt) { in adb_writev() argument498 return f->clazz->_fh_writev(f, iov, iovcnt); in adb_writev()726 static int _fh_socket_writev(FH f, const adb_iovec* iov, int iovcnt) { in _fh_socket_writev() argument732 WSABUF* wsabuf = reinterpret_cast<WSABUF*>(const_cast<adb_iovec*>(iov)); in _fh_socket_writev()
126 std::vector<adb_iovec> iov = s->packet_queue.iovecs(); in local_socket_flush_incoming() local127 ssize_t rc = adb_writev(s->fd, iov.data(), iov.size()); in local_socket_flush_incoming()
241 void dump_iovec(const struct iovec *iov, int iov_len) { in dump_iovec() argument246 logcat_hexdump(str, iov[i].iov_base, iov[i].iov_len); in dump_iovec()
64 struct iovec iov = { in process_packet_6_to_4() local70 .msg_iov = &iov, in process_packet_6_to_4()
44 void dump_iovec(const struct iovec *iov, int iov_len);
470 struct iovec iov[] = { in do_translate_packet() local475 int len = readv(read_fd, iov, 2); in do_translate_packet()
129 StatusOr<size_t> writev(Fd fd, const std::vector<iovec>& iov) const override { in writev()130 auto rv = syscallRetry(::writev, fd.get(), iov.data(), iov.size()); in writev()
63 struct iovec iov = {buffer, sizeof(buffer) - 1}; in onDataAvailable() local67 NULL, 0, &iov, 1, control, sizeof(control), 0, in onDataAvailable()
329 struct iovec iov[1] = {{buffer, sizeof(buffer)}}; in RetrieveOptionMsg() local334 .msg_iov = iov, in RetrieveOptionMsg()
53 MOCK_CONST_METHOD2(writev, StatusOr<size_t>(Fd fd, const std::vector<iovec>& iov));
68 virtual StatusOr<size_t> writev(Fd fd, const std::vector<iovec>& iov) const = 0;
882 let iov = [IoVec::from_mut_slice(&mut data)]; in listening_task() localVariable886 &iov, in listening_task()
805 const iovec iov[] = { in send_vc() local810 if (writev(statp->tcp_nssock, iov, 2) != static_cast<ptrdiff_t>(INT16SZ + msg.size())) { in send_vc()
1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...