Searched refs:iovcnt (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/sysdeps/ |
D | uio.h | 31 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()
|
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 185 int SocketClient::sendDatav(struct iovec *iov, int iovcnt) { in sendDatav() argument 187 int rc = sendDataLockedv(iov, iovcnt); in sendDatav() 193 int SocketClient::sendDataLockedv(struct iovec *iov, int iovcnt) { in sendDataLockedv() argument 200 if (iovcnt <= 0) { in sendDataLockedv() 215 writev(mSocket, iov + current, iovcnt - current)); in sendDataLockedv() 219 while ((current < iovcnt) && (written >= iov[current].iov_len)) { in sendDataLockedv() 223 if (current == iovcnt) { in sendDataLockedv()
|
/system/core/libsysutils/include/sysutils/ |
D | SocketClient.h | 62 int sendDatav(struct iovec *iov, int iovcnt); 82 int sendDataLockedv(struct iovec *iov, int iovcnt);
|
/system/netd/server/ |
D | SockDiag.h | 93 iovec *iov, int iovcnt); 95 int destroyLiveSockets(const DestroyFilter& destroy, const char *what, iovec *iov, int iovcnt);
|
D | SockDiag.cpp | 99 iovec *iov, int iovcnt) { in sendDumpRequest() argument 119 for (int i = 0; i < iovcnt; i++) { in sendDumpRequest() 124 if (writev(mSock, iov, iovcnt) != (ssize_t) len) { in sendDumpRequest() 335 iovec *iov, int iovcnt) { in destroyLiveSockets() argument 341 if (int ret = sendDumpRequest(proto, family, 0, states, iov, iovcnt)) { in destroyLiveSockets()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 278 static int _fh_file_writev(FH f, const adb_iovec* iov, int iovcnt) { in _fh_file_writev() argument 279 if (iovcnt <= 0) { in _fh_file_writev() 286 for (int i = 0; i < iovcnt; ++i) { 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 727 if (iovcnt <= 0) { in _fh_socket_writev() 734 int result = WSASend(f->fh_socket, wsabuf, iovcnt, &bytes_written, 0, nullptr, nullptr); in _fh_socket_writev()
|