Home
last modified time | relevance | path

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

/packages/modules/adb/sysdeps/
Duio.h33 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() argument
40 return writev(fd.get(), iov, std::min(iovcnt, IOV_MAX)); in adb_writev()
/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp107 adb_iovec iov; in ReceiveMessageInternal() local
108 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() local
404 iov.iov_len = length; in JoinMulticastGroup()
405 iov.iov_base = const_cast<void*>(data); in JoinMulticastGroup()
408 msg.msg_iov = &iov; in JoinMulticastGroup()
/packages/modules/Bluetooth/system/osi/src/
Dsocket.cc157 struct iovec iov; in socket_write_and_transfer_fd() local
160 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()
/packages/modules/adb/
Dtypes.cpp197 adb_iovec iov; in iovecs() local
198 iov.iov_base = const_cast<char*>(data); in iovecs()
199 iov.iov_len = len; in iovecs()
200 result.emplace_back(iov); in iovecs()
Dsysdeps_win32.cpp278 static int _fh_file_writev(FH f, const adb_iovec* iov, int iovcnt) { in _fh_file_writev() argument
287 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() argument
498 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() argument
732 WSABUF* wsabuf = reinterpret_cast<WSABUF*>(const_cast<adb_iovec*>(iov)); in _fh_socket_writev()
Dsockets.cpp126 std::vector<adb_iovec> iov = s->packet_queue.iovecs(); in local_socket_flush_incoming() local
127 ssize_t rc = adb_writev(s->fd, iov.data(), iov.size()); in local_socket_flush_incoming()
/packages/modules/Connectivity/clatd/
Ddump.c241 void dump_iovec(const struct iovec *iov, int iov_len) { in dump_iovec() argument
246 logcat_hexdump(str, iov[i].iov_base, iov[i].iov_len); in dump_iovec()
Dclatd.c64 struct iovec iov = { in process_packet_6_to_4() local
70 .msg_iov = &iov, in process_packet_6_to_4()
Ddump.h44 void dump_iovec(const struct iovec *iov, int iov_len);
Dclatd_test.cpp470 struct iovec iov[] = { in do_translate_packet() local
475 int len = readv(read_fd, iov, 2); in do_translate_packet()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSyscalls.cpp129 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()
/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp63 struct iovec iov = {buffer, sizeof(buffer) - 1}; in onDataAvailable() local
67 NULL, 0, &iov, 1, control, sizeof(control), 0, in onDataAvailable()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaSocket.cpp329 struct iovec iov[1] = {{buffer, sizeof(buffer)}}; in RetrieveOptionMsg() local
334 .msg_iov = iov, in RetrieveOptionMsg()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DMockSyscalls.h53 MOCK_CONST_METHOD2(writev, StatusOr<size_t>(Fd fd, const std::vector<iovec>& iov));
DSyscalls.h68 virtual StatusOr<size_t> writev(Fd fd, const std::vector<iovec>& iov) const = 0;
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsocket_manager.rs882 let iov = [IoVec::from_mut_slice(&mut data)]; in listening_task() localVariable
886 &iov, in listening_task()
/packages/modules/DnsResolver/
Dres_send.cpp805 const iovec iov[] = { in send_vc() local
810 if (writev(statp->tcp_nssock, iov, 2) != static_cast<ptrdiff_t>(INT16SZ + msg.size())) { in send_vc()
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...