Searched defs:iovec (Results 1 - 3 of 3) sorted by relevance

/system/core/include/log/
H A Duio.h36 struct iovec { struct
41 extern int readv( int fd, struct iovec* vecs, int count );
42 extern int writev( int fd, const struct iovec* vecs, int count );
/system/core/logd/
H A DLogBufferElement.cpp218 struct iovec iovec[2]; local
219 iovec[0].iov_base = &entry;
220 iovec[0].iov_len = entry.hdr_size;
229 iovec[1].iov_base = buffer;
232 iovec[1].iov_base = mMsg;
234 iovec[1].iov_len = entry.len;
236 uint64_t retval = reader->sendDatav(iovec, 2) ? FLUSH_ERROR : mSequence;
/system/core/libmemunreachable/
H A DThreadCapture.cpp217 struct iovec iovec; local
218 iovec.iov_base = &regs;
219 iovec.iov_len = sizeof(regs);
221 if (ptrace(PTRACE_GETREGSET, tid, reinterpret_cast<void*>(NT_PRSTATUS), &iovec)) {
227 unsigned int num_regs = iovec.iov_len / sizeof(uintptr_t);

Completed in 2279 milliseconds