Searched defs:iovec (Results 1 - 5 of 5) 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/liblog/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.cpp246 struct iovec iovec[2]; local
247 iovec[0].iov_base = &entry;
248 iovec[0].iov_len = entry.hdr_size;
255 iovec[1].iov_base = buffer;
258 iovec[1].iov_base = mMsg;
260 iovec[1].iov_len = entry.len;
262 log_time retval = reader->sendDatav(iovec, 1 + (entry.len != 0))
/system/core/libmemunreachable/
H A DThreadCapture.cpp216 struct iovec iovec; local
217 iovec.iov_base = &regs;
218 iovec.iov_len = sizeof(regs);
220 if (ptrace(PTRACE_GETREGSET, tid, reinterpret_cast<void*>(NT_PRSTATUS), &iovec)) {
225 unsigned int num_regs = iovec.iov_len / sizeof(uintptr_t);
/system/media/audio_utils/
H A Dfifo.cpp181 audio_utils_iovec iovec[2]; local
182 ssize_t availToWrite = obtain(iovec, count, timeout);
184 memcpy((char *) mFifo.mBuffer + iovec[0].mOffset * mFifo.mFrameSize, buffer,
185 iovec[0].mLength * mFifo.mFrameSize);
186 if (iovec[1].mLength > 0) {
187 memcpy((char *) mFifo.mBuffer + iovec[1].mOffset * mFifo.mFrameSize,
188 (char *) buffer + (iovec[0].mLength * mFifo.mFrameSize),
189 iovec[1].mLength * mFifo.mFrameSize);
196 // iovec == NULL is not part of the public API, but internally it means don't set mObtained
197 ssize_t audio_utils_fifo_writer::obtain(audio_utils_iovec iovec[ argument
438 audio_utils_iovec iovec[2]; local
453 obtain(audio_utils_iovec iovec[2], size_t count, const struct timespec *timeout) argument
513 obtain(audio_utils_iovec iovec[2], size_t count, const struct timespec *timeout, size_t *lost) argument
626 audio_utils_iovec iovec[2]; local
[all...]

Completed in 1079 milliseconds