Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/vendor_libs/linux/interface/
Dh4_protocol.cc36 struct iovec iov[2]; in Send() local
38 iov[0].iov_base = &type; in Send()
39 iov[0].iov_len = sizeof(type); in Send()
40 iov[1].iov_base = (void *)data; in Send()
41 iov[1].iov_len = length; in Send()
43 ret = TEMP_FAILURE_RETRY(writev(uart_fd_, iov, 2)); in Send()
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_packetizer.cc40 struct iovec iov[] = {{&type, sizeof(type)}, in Send() local
44 ret = writev(uart_fd_, iov, sizeof(iov) / sizeof(iov[0])); in Send()
/packages/modules/adb/sysdeps/
Duio.h31 ssize_t adb_writev(borrowed_fd fd, const adb_iovec* iov, int iovcnt);
37 inline ssize_t adb_writev(borrowed_fd fd, const adb_iovec* iov, int iovcnt) { in adb_writev() argument
38 return writev(fd.get(), iov, iovcnt); 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.cc159 struct iovec iov; in socket_write_and_transfer_fd() local
162 iov.iov_base = (void*)buf; in socket_write_and_transfer_fd()
163 iov.iov_len = count; in socket_write_and_transfer_fd()
165 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.cpp123 std::vector<adb_iovec> iov = s->packet_queue.iovecs(); in local_socket_flush_incoming() local
124 ssize_t rc = adb_writev(s->fd, iov.data(), iov.size()); in local_socket_flush_incoming()
/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp55 struct iovec iov = {buffer, sizeof(buffer) - 1}; in onDataAvailable() local
59 NULL, 0, &iov, 1, control, sizeof(control), 0, in onDataAvailable()
/packages/modules/DnsResolver/
Dres_send.cpp811 const iovec iov[] = { in send_vc() local
816 if (writev(statp->tcp_nssock, iov, 2) != (INT16SZ + msg.size())) { in send_vc()
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Română,date=1412325511, ...