1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
8 + x[y++] = IOVEC_MAKE(p, l);
14 + x = IOVEC_MAKE(p, l);
16 /* Don't run this transformation on iovec_done() and iovec_done_erase(),
17 * since the result, albeit correct, is a bit funky. */
18 position pos : script:python() { pos[0].current_element != "iovec_done" and
19 pos[0].current_element != "iovec_done_erase" };
22 - x->iov_base@pos = p;
24 + *x = IOVEC_MAKE(p, l);
28 - IOVEC_MAKE(s, strlen(s));
29 + IOVEC_MAKE_STRING(s);
33 - x = (struct iovec) { .iov_base = y, .iov_len = z };
34 + x = IOVEC_MAKE(y, z);