Searched refs:iovec (Results 1 - 25 of 156) sorted by relevance

1234567

/external/libppp/src/
H A Datm.h34 struct iovec *, int *, int, int *, int *);
H A Dexec.h34 struct iovec *, int *, int, int *, int *);
H A Dudp.h34 struct iovec *, int *, int, int *, int *);
H A Dtcp.h33 struct iovec *, int *, int, int *, int *);
H A Dether.h35 extern struct device *ether_iov2device(int, struct physical *, struct iovec *,
H A Di4b.h36 struct iovec *, int *, int, int *, int *);
H A Dnetgraph.h35 extern struct device *ng_iov2device(int, struct physical *, struct iovec *,
H A Dtty.h36 struct iovec *, int *, int, int *, int *);
H A Ddatalink.h49 struct iovec;
130 extern struct datalink *iov2datalink(struct bundle *, struct iovec *, int *,
132 extern int datalink2iov(struct datalink *, struct iovec *, int *, int, int *,
/external/chromium_org/net/base/
H A Diovec.h12 struct iovec { struct
/external/openssh/
H A Datomicio.h46 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd,
47 const struct iovec *_iov, int iovcnt, int (*cb)(void *, size_t), void *);
48 size_t atomiciov(ssize_t (*)(int, const struct iovec *, int),
49 int, const struct iovec *, int);
H A Datomicio.c96 atomiciov6(ssize_t (*f) (int, const struct iovec *, int), int fd,
97 const struct iovec *_iov, int iovcnt,
102 struct iovec iov_array[IOV_MAX], *iov = iov_array;
161 atomiciov(ssize_t (*f) (int, const struct iovec *, int), int fd,
162 const struct iovec *_iov, int iovcnt)
/external/kernel-headers/original/linux/
H A Duio.h20 struct iovec struct
42 #define UIO_MAXIOV 16 /* Maximum iovec's in one operation
48 * Total number of bytes covered by an iovec.
50 * NOTE that it is not safe to use this function until all the iovec's
54 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs)
64 unsigned long iov_shorten(struct iovec *iov, unsigned long nr_segs, size_t to);
H A Dsocket.h25 #include <linux/uio.h> /* iovec support */
67 struct iovec * msg_iov; /* Data blocks */
321 extern int memcpy_fromiovec(unsigned char *kdata, struct iovec *iov, int len);
322 extern int memcpy_fromiovecend(unsigned char *kdata, const struct iovec *iov,
325 struct iovec *iov,
329 extern int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr *address, int mode);
330 extern int memcpy_toiovec(struct iovec *v, unsigned char *kdata, int len);
331 extern int memcpy_toiovecend(const struct iovec *v, unsigned char *kdata,
/external/chromium_org/net/quic/
H A Diovector.h14 #include "net/base/iovec.h"
19 // Calculate the total number of bytes in an array of iovec structures.
20 inline size_t TotalIovecLength(const struct iovec* iov, size_t iovcnt) {
47 // int bytes_written = writev(fd, iovector.iovec(), iovector.Size());
55 // IOVector does not have any method to change the iovec entries that it
68 // Provides a way to convert system call-like iovec representation to
70 void AppendIovec(const struct iovec* iov, size_t iovcnt) {
75 // Appends at most max_bytes from iovec to the IOVector.
76 size_t AppendIovecAtMostBytes(const struct iovec* iov,
95 struct iovec
167 struct iovec* iovec() { return !Empty() ? &iovec_[0] : NULL; } function in class:net::IOVector
170 const struct iovec* iovec() const { return !Empty() ? &iovec_[0] : NULL; } function in class:net::IOVector
[all...]
H A Diovector_test.cc32 EXPECT_TRUE(iov2.iovec()[i].iov_base == iov1.iovec()[i].iov_base);
33 EXPECT_EQ(iov2.iovec()[i].iov_len, iov1.iovec()[i].iov_len);
50 EXPECT_TRUE(iov2.iovec()[i].iov_base == iov1.iovec()[i].iov_base);
51 EXPECT_EQ(iov2.iovec()[i].iov_len, iov1.iovec()[i].iov_len);
59 const struct iovec* iov2 = iov.iovec();
[all...]
H A Dquic_data_stream.cc64 size_t QuicDataStream::Readv(const struct iovec* iov, size_t iov_len) {
87 int QuicDataStream::GetReadableRegions(iovec* iov, size_t iov_len) {
247 struct iovec iovec; local
248 if (sequencer()->GetReadableRegions(&iovec, 1) == 0) {
253 StringPiece(static_cast<char*>(iovec.iov_base),
254 iovec.iov_len),
256 DCHECK_LE(bytes_consumed, iovec.iov_len);
H A Dquic_stream_sequencer.cc94 data.AppendIovec(frame.data.iovec(), frame.data.Size());
100 static_cast<char*>(data.iovec()[i].iov_base),
101 data.iovec()[i].iov_len);
123 static_cast<char*>(data.iovec()[i].iov_base),
124 data.iovec()[i].iov_len)));
125 byte_offset += data.iovec()[i].iov_len;
158 int QuicStreamSequencer::GetReadableRegions(iovec* iov, size_t iov_len) {
176 int QuicStreamSequencer::Readv(const struct iovec* iov, size_t iov_len) {
H A Dquic_stream_sequencer.h12 #include "net/base/iovec.h"
55 int GetReadableRegions(iovec* iov, size_t iov_len);
59 int Readv(const struct iovec* iov, size_t iov_len);
/external/valgrind/main/none/tests/
H A Dprocess_vm_readv_writev.c18 struct iovec lvec[2];
19 struct iovec rvec[2];
54 struct iovec lvec[2];
55 struct iovec rvec[2];
/external/chromium_org/third_party/snappy/linux/
H A Dsnappy-stubs-public.h88 // Windows does not have an iovec type, yet the concept is universally useful.
90 struct iovec {
/external/chromium_org/third_party/snappy/mac/
H A Dsnappy-stubs-public.h88 // Windows does not have an iovec type, yet the concept is universally useful.
90 struct iovec {
/external/compiler-rt/lib/asan/lit_tests/TestCases/
H A Dreadv.cc16 struct iovec iov[2];
/external/qemu/slirp/
H A Dsocket.h90 struct iovec; /* For win32 */
91 size_t sopreprbuf(struct socket *so, struct iovec *iov, int *np);
/external/android-clat/
H A Ddump.h32 void dump_iovec(const struct iovec *iov, int iov_len);

Completed in 415 milliseconds

1234567