Home
last modified time | relevance | path

Searched refs:iovec (Results 1 – 25 of 272) sorted by relevance

1234567891011

/third_party/eudev/src/shared/
Dlog.c250 struct iovec iovec[6] = {}; in write_to_console() local
259 IOVEC_SET_STRING(iovec[n++], prefix); in write_to_console()
267 IOVEC_SET_STRING(iovec[n++], location); in write_to_console()
271 IOVEC_SET_STRING(iovec[n++], ANSI_HIGHLIGHT_RED_ON); in write_to_console()
272 IOVEC_SET_STRING(iovec[n++], buffer); in write_to_console()
274 IOVEC_SET_STRING(iovec[n++], ANSI_HIGHLIGHT_OFF); in write_to_console()
275 IOVEC_SET_STRING(iovec[n++], "\n"); in write_to_console()
277 if (writev(console_fd, iovec, n) < 0) { in write_to_console()
291 if (writev(console_fd, iovec, n) < 0) in write_to_console()
311 struct iovec iovec[5] = {}; in write_to_syslog() local
[all …]
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Duio.h13 ssize_t vfs_readv(int fd, const struct iovec *iov, int iovcnt, off_t *offset);
14 ssize_t vfs_writev(int fd, const struct iovec *iov, int iovcnt, off_t *offset);
16 ssize_t readv (int, const struct iovec *, int);
17 ssize_t writev (int, const struct iovec *, int);
20 ssize_t preadv(int, const struct iovec *, int, off_t);
21 ssize_t pwritev (int, const struct iovec *, int, off_t);
29 ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigne…
30 ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned…
/third_party/musl/porting/liteos_a/kernel/include/sys/
Duio.h26 ssize_t vfs_readv(int fd, const struct iovec *iov, int iovcnt, off_t *offset);
27 ssize_t vfs_writev(int fd, const struct iovec *iov, int iovcnt, off_t *offset);
29 ssize_t readv (int, const struct iovec *, int);
30 ssize_t writev (int, const struct iovec *, int);
33 ssize_t preadv (int, const struct iovec *, int, off_t);
34 ssize_t pwritev (int, const struct iovec *, int, off_t);
42 ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigne…
43 ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned…
/third_party/musl/ndk_musl_include/sys/
Duio.h26 ssize_t readv (int, const struct iovec *, int);
27 ssize_t writev (int, const struct iovec *, int);
30 ssize_t preadv (int, const struct iovec *, int, off_t);
31 ssize_t pwritev (int, const struct iovec *, int, off_t);
40 ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigne…
41 ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned…
/third_party/musl/porting/uniproton/kernel/include/sys/
Duio.h26 ssize_t readv (int, const struct iovec *, int);
27 ssize_t writev (int, const struct iovec *, int);
30 ssize_t preadv (int, const struct iovec *, int, off_t);
31 ssize_t pwritev (int, const struct iovec *, int, off_t);
40 ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigne…
41 ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned…
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Duio.h26 ssize_t readv (int, const struct iovec *, int);
27 ssize_t writev (int, const struct iovec *, int);
30 ssize_t preadv (int, const struct iovec *, int, off_t);
31 ssize_t pwritev (int, const struct iovec *, int, off_t);
40 ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigne…
41 ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned…
/third_party/musl/porting/liteos_m/kernel/include/sys/
Duio.h26 ssize_t readv (int, const struct iovec *, int);
27 ssize_t writev (int, const struct iovec *, int);
30 ssize_t preadv (int, const struct iovec *, int, off_t);
31 ssize_t pwritev (int, const struct iovec *, int, off_t);
40 ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigne…
41 ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned…
/third_party/musl/include/sys/
Duio.h26 ssize_t readv (int, const struct iovec *, int);
27 ssize_t writev (int, const struct iovec *, int);
30 ssize_t preadv (int, const struct iovec *, int, off_t);
31 ssize_t pwritev (int, const struct iovec *, int, off_t);
40 ssize_t process_vm_writev(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigne…
41 ssize_t process_vm_readv(pid_t, const struct iovec *, unsigned long, const struct iovec *, unsigned…
/third_party/grpc/src/core/tsi/alts/crypt/
Dgsec.h32 struct iovec { struct
146 const struct iovec* aad_vec, size_t aad_vec_length,
147 const struct iovec* plaintext_vec, size_t plaintext_vec_length,
148 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written,
152 const struct iovec* aad_vec, size_t aad_vec_length,
153 const struct iovec* ciphertext_vec, size_t ciphertext_vec_length,
154 struct iovec plaintext_vec, size_t* plaintext_bytes_written,
247 const struct iovec* aad_vec, size_t aad_vec_length,
248 const struct iovec* plaintext_vec, size_t plaintext_vec_length,
249 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written,
[all …]
Dgsec.cc46 struct iovec aad_vec = {const_cast<uint8_t*>(aad), aad_length}; in gsec_aead_crypter_encrypt()
47 struct iovec plaintext_vec = {const_cast<uint8_t*>(plaintext), in gsec_aead_crypter_encrypt()
49 struct iovec ciphertext_vec = {ciphertext_and_tag, in gsec_aead_crypter_encrypt()
62 const struct iovec* aad_vec, size_t aad_vec_length, in gsec_aead_crypter_encrypt_iovec()
63 const struct iovec* plaintext_vec, size_t plaintext_vec_length, in gsec_aead_crypter_encrypt_iovec()
64 struct iovec ciphertext_vec, size_t* ciphertext_bytes_written, in gsec_aead_crypter_encrypt_iovec()
85 struct iovec aad_vec = {const_cast<uint8_t*>(aad), aad_length}; in gsec_aead_crypter_decrypt()
86 struct iovec ciphertext_vec = {const_cast<uint8_t*>(ciphertext_and_tag), in gsec_aead_crypter_decrypt()
88 struct iovec plaintext_vec = {plaintext, plaintext_length}; in gsec_aead_crypter_decrypt()
100 const struct iovec* aad_vec, size_t aad_vec_length, in gsec_aead_crypter_decrypt_iovec()
[all …]
/third_party/ltp/lib/
Dtst_buffers.c88 struct iovec *tst_iovec_alloc(int sizes[]) in tst_iovec_alloc()
91 struct iovec *iovec; in tst_iovec_alloc() local
96 iovec = tst_alloc(sizeof(struct iovec) * cnt); in tst_iovec_alloc()
100 iovec[i].iov_base = tst_alloc(sizes[i]); in tst_iovec_alloc()
101 iovec[i].iov_len = sizes[i]; in tst_iovec_alloc()
103 iovec[i].iov_base = NULL; in tst_iovec_alloc()
104 iovec[i].iov_base = 0; in tst_iovec_alloc()
108 return iovec; in tst_iovec_alloc()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dprocess_vm.c33 struct iovec local = {.iov_base = dst, .iov_len = sizeof(dst)}; in process_vm_writev_0100()
34 struct iovec remote = {.iov_base = src, .iov_len = sizeof(src)}; in process_vm_writev_0100()
52 struct iovec local[__VALUE_DATA_SIZE__] = { in process_vm_writev_0200()
56 struct iovec remote[__VALUE_DATA_SIZE__] = { in process_vm_writev_0200()
77 struct iovec local = { in process_vm_writev_0300()
81 struct iovec remote = {.iov_base = src, .iov_len = sizeof(src)}; in process_vm_writev_0300()
96 struct iovec remote, local; in process_vm_readv_0100()
116 struct iovec remote, local; in process_vm_readv_0200()
136 struct iovec remote, local; in process_vm_readv_0300()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dpwritev.c30 struct iovec iov[2]; in pwritev_0100()
38 int count = sizeof(iov) / sizeof(struct iovec); in pwritev_0100()
59 struct iovec iov[2]; in pwritev_0200()
71 int count = sizeof(iov) / sizeof(struct iovec); in pwritev_0200()
92 struct iovec iov[2]; in pwritev_0300()
98 int count = sizeof(iov) / sizeof(struct iovec); in pwritev_0300()
Dpreadv.c33 struct iovec iov[2]; in preadv_0100()
55 int count = sizeof(iov) / sizeof(struct iovec); in preadv_0100()
76 struct iovec iov[2]; in preadv_0200()
82 int count = sizeof(iov) / sizeof(struct iovec); in preadv_0200()
/third_party/ltp/testcases/kernel/io/direct_io/
Ddiotest_routines.h1 struct iovec;
3 extern void vfillbuf(struct iovec *iv, int vcnt, char value);
6 extern int vbufcmp(struct iovec *iv1, struct iovec *iv2, int vcnt);
/third_party/musl/src/linux/
Dprocess_vm.c5 …size_t process_vm_writev(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct in process_vm_writev()
10 ssize_t process_vm_readv(pid_t pid, const struct iovec *lvec, unsigned long liovcnt, const struct i… in process_vm_readv()
/third_party/ltp/testcases/kernel/syscalls/preadv2/
Dpreadv203.c71 static int verify_short_read(struct iovec *iov, size_t iov_cnt, in verify_short_read()
105 struct iovec rd_iovec[] = { in nowait_reader()
155 struct iovec wr_iovec[] = { in writer_thread()
231 struct iovec iovec[] = { in check_preadv2_nowait() local
235 TEST(preadv2(fd, iovec, 1, 0, RWF_NOWAIT)); in check_preadv2_nowait()
Dpreadv202.c40 static struct iovec rd_iovec1[] = {
44 static struct iovec rd_iovec2[] = {
48 static struct iovec rd_iovec3[] = {
54 struct iovec *name;
/third_party/glib/gio/
Dgunixoutputstream.c390 #define G_OUTPUT_VECTOR_IS_IOVEC (sizeof (struct iovec) == sizeof (GOutputVector) && \
391 G_SIZEOF_MEMBER (struct iovec, iov_base) == G_SIZEOF_MEMBER (GOutputVector, buffer) && \
392 G_STRUCT_OFFSET (struct iovec, iov_base) == G_STRUCT_OFFSET (GOutputVector, buffer) && \
393 G_SIZEOF_MEMBER (struct iovec, iov_len) == G_SIZEOF_MEMBER (GOutputVector, size) && \
394 G_STRUCT_OFFSET (struct iovec, iov_len) == G_STRUCT_OFFSET (GOutputVector, size))
409 struct iovec *iov; in g_unix_output_stream_writev()
425 iov = (struct iovec *) vectors; in g_unix_output_stream_writev()
432 iov = g_newa (struct iovec, n_vectors); in g_unix_output_stream_writev()
584 struct iovec *iov; in g_unix_output_stream_pollable_writev_nonblocking()
602 iov = (struct iovec *) vectors; in g_unix_output_stream_pollable_writev_nonblocking()
[all …]
/third_party/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev02.c45 static struct iovec wr_iovec1[] = {
49 static struct iovec wr_iovec2[] = {
53 static struct iovec wr_iovec3[] = {
59 struct iovec *name;
/third_party/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c35 static struct iovec invalid_iovec[] = {
41 static struct iovec large_iovec[] = {
47 static struct iovec efault_iovec[] = {
53 static struct iovec valid_iovec[] = {
/third_party/ltp/testcases/kernel/syscalls/pwritev2/
Dpwritev202.c37 static struct iovec wr_iovec1[] = {
41 static struct iovec wr_iovec2[] = {
45 static struct iovec wr_iovec3[] = {
51 struct iovec *name;
/third_party/musl/libc-test/src/api/
Dsys_uio.c9 struct iovec x; in f()
13 {ssize_t(*p)(int,const struct iovec*,int) = readv;} in f()
14 {ssize_t(*p)(int,const struct iovec*,int) = writev;} in f()
/third_party/ltp/testcases/kernel/syscalls/preadv/
Dpreadv02.c48 static struct iovec rd_iovec1[] = {
52 static struct iovec rd_iovec2[] = {
56 static struct iovec rd_iovec3[] = {
62 struct iovec *name;
/third_party/ltp/testcases/kernel/syscalls/writev/
Dwritev01.c27 struct iovec iovec_badlen[] = {
33 struct iovec iovec_simple[] = {
37 struct iovec iovec_zero_null[] = {
47 struct iovec (*piovec)[];

1234567891011