Home
last modified time | relevance | path

Searched refs:iovs (Results 1 – 5 of 5) sorted by relevance

/system/core/trusty/storage/proxy/
Dipc.c70 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {req_buf, req_buf_len}}; in ipc_get_msg() local
74 rc = readv(tipc_fd, iovs, 2); in ipc_get_msg()
99 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {out, out_size}}; in ipc_respond() local
105 rc = writev(tipc_fd, iovs, out ? 2 : 1); in ipc_respond()
/system/core/trusty/libtrusty/tipc-test/
Dtipc_test.c733 struct iovec iovs[2]= {{tx0_buf, 0}, {tx1_buf, 0}}; in writev_test() local
753 iovs[0].iov_len = msg_len / 3; in writev_test()
754 iovs[1].iov_len = msg_len - iovs[0].iov_len; in writev_test()
756 memset(tx0_buf, i + 1, iovs[0].iov_len); in writev_test()
757 memset(tx1_buf, i + 2, iovs[1].iov_len); in writev_test()
760 rc = writev(echo_fd, iovs, 2); in writev_test()
786 if (memcmp(tx0_buf, rx_buf, iovs[0].iov_len)) { in writev_test()
791 if (memcmp(tx1_buf, rx_buf + iovs[0].iov_len, iovs[1].iov_len)) { in writev_test()
815 struct iovec iovs[2]= {{rx0_buf, 0}, {rx1_buf, 0}}; in readv_test() local
835 iovs[0].iov_len = msg_len / 3; in readv_test()
[all …]
/system/core/adb/
Dtransport_fd.cpp178 auto iovs = write_buffer_.iovecs(); in DispatchWrites() local
179 ssize_t rc = adb_writev(fd_.get(), iovs.data(), iovs.size()); in DispatchWrites()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp349 struct iovec iovs[4] = { in debuggerd_dispatch_pseudothread() local
361 iovs[3] = {.iov_base = &thread_info->process_info, in debuggerd_dispatch_pseudothread()
368 iovs[3] = {.iov_base = &thread_info->process_info.abort_msg, .iov_len = sizeof(uintptr_t)}; in debuggerd_dispatch_pseudothread()
375 ssize_t rc = TEMP_FAILURE_RETRY(writev(output_write.get(), iovs, arraysize(iovs))); in debuggerd_dispatch_pseudothread()
/system/netd/server/
DXfrmControllerTest.cpp88 const std::vector<iovec>& iovs = ::testing::get<N>(args); in ACTION_TEMPLATE() local
90 for (const iovec& iov : iovs) { in ACTION_TEMPLATE()