Home
last modified time | relevance | path

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

12

/system/core/include/log/
Duio.h36 struct iovec { struct
41 extern int readv( int fd, struct iovec* vecs, int count ); argument
42 extern int writev( int fd, const struct iovec* vecs, int count );
/system/core/logd/
DLogBufferElement.cpp218 struct iovec iovec[2]; in flushTo() local
219 iovec[0].iov_base = &entry; in flushTo()
220 iovec[0].iov_len = entry.hdr_size; in flushTo()
229 iovec[1].iov_base = buffer; in flushTo()
232 iovec[1].iov_base = mMsg; in flushTo()
234 iovec[1].iov_len = entry.len; in flushTo()
236 uint64_t retval = reader->sendDatav(iovec, 2) ? FLUSH_ERROR : mSequence; in flushTo()
DLogListener.cpp49 struct iovec iov = { buffer, sizeof(buffer) }; in onDataAvailable()
/system/core/liblog/
Dfake_log_device.c329 static ssize_t fake_writev(int fd, const struct iovec *iov, int iovcnt) { in fake_writev()
331 const struct iovec* end = iov + iovcnt; in fake_writev()
460 const size_t MAX_LINES = ((size_t)~0)/(3*sizeof(struct iovec*)); in showLog()
461 struct iovec stackVec[INLINE_VECS]; in showLog()
462 struct iovec* vec = stackVec; in showLog()
470 vec = (struct iovec*)malloc(sizeof(struct iovec)*numVecs); in showLog()
483 struct iovec* v = vec; in showLog()
557 static ssize_t logWritev(int fd, const struct iovec* vector, int count) in logWritev()
658 static ssize_t (*redirectWritev)(int fd, const struct iovec* vector, int count)
708 const struct iovec* vector, int count) in fakeLogWritev()
Dfake_log_device.h24 struct iovec;
29 const struct iovec* vector, int count);
Dlogger_write.c40 static int __write_to_log_init(log_id_t, struct iovec *vec, size_t nr);
41 static int (*write_to_log)(log_id_t, struct iovec *vec, size_t nr) = __write_to_log_init;
189 static int __write_to_log_daemon(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_daemon()
323 static int __write_to_log_init(log_id_t log_id, struct iovec *vec, size_t nr) in __write_to_log_init()
356 struct iovec vec[3]; in __android_log_buf_write()
461 struct iovec vec[2]; in __android_log_bwrite()
475 struct iovec vec[2]; in __android_log_security_bwrite()
493 struct iovec vec[3]; in __android_log_btwrite()
511 struct iovec vec[4]; in __android_log_bswrite()
534 struct iovec vec[4]; in __android_log_security_bswrite()
Duio.c25 LIBLOG_ABI_PUBLIC int readv(int fd, struct iovec *vecs, int count) in readv()
52 LIBLOG_ABI_PUBLIC int writev(int fd, const struct iovec *vecs, int count) in writev()
Dfake_writer.c31 struct iovec *vec, size_t nr);
66 struct iovec *vec, size_t nr) in fakeWrite()
Dpmsg_writer.c42 struct iovec *vec, size_t nr);
99 struct iovec *vec, size_t nr) in pmsgWrite()
102 struct iovec newVec[nr + headerLength]; in pmsgWrite()
214 struct iovec vec[3]; in __android_log_pmsg_file_write()
Dlogd_writer.c52 struct iovec *vec, size_t nr);
118 struct iovec *vec, size_t nr) in logdWrite()
122 struct iovec newVec[nr + headerLength]; in logdWrite()
/system/core/libmemunreachable/
DThreadCapture.cpp217 struct iovec iovec; in PtraceThreadInfo() local
218 iovec.iov_base = &regs; in PtraceThreadInfo()
219 iovec.iov_len = sizeof(regs); in PtraceThreadInfo()
221 if (ptrace(PTRACE_GETREGSET, tid, reinterpret_cast<void*>(NT_PRSTATUS), &iovec)) { in PtraceThreadInfo()
227 unsigned int num_regs = iovec.iov_len / sizeof(uintptr_t); in PtraceThreadInfo()
DLeakPipe.cpp26 struct iovec iov{}; in SendFd()
60 struct iovec iov{}; in ReceiveFd()
/system/core/libcutils/
Dklog.c57 void klog_writev(int level, const struct iovec* iov, int iov_count) { in klog_writev()
74 struct iovec iov[1]; in klog_write()
Dsockets_unix.cpp69 iovec iovec_buffers[SOCKET_SEND_BUFFERS_MAX_BUFFERS]; in socket_send_buffers()
Duevent.c54 struct iovec iov = { buffer, length }; in uevent_kernel_recv()
/system/core/include/sysutils/
DSocketClient.h64 int sendDatav(struct iovec *iov, int iovcnt);
84 int sendDataLockedv(struct iovec *iov, int iovcnt);
/system/core/libsysutils/src/
DSocketClient.cpp94 struct iovec vec[2]; in sendBinaryMsg()
154 struct iovec vec[1]; in sendData()
165 int SocketClient::sendDatav(struct iovec *iov, int iovcnt) { in sendDatav()
173 int SocketClient::sendDataLockedv(struct iovec *iov, int iovcnt) { in sendDataLockedv()
/system/core/debuggerd/arm64/
Dmachine.cpp35 struct iovec io; in dump_memory_and_code()
57 struct iovec io; in dump_registers()
/system/core/include/cutils/
Dklog.h33 void klog_writev(int level, const struct iovec* iov, int iov_count);
/system/netd/server/
DSockDiag.cpp95 iovec *iov, int iovcnt) { in sendDumpRequest()
127 iovec iov[] = { in sendDumpRequest()
194 iovec iov[] = { in sendDumpRequest()
DSockDiag.h62 int sendDumpRequest(uint8_t proto, uint8_t family, uint32_t states, iovec *iov, int iovcnt);
/system/core/init/
Dlog.cpp43 iovec iov[1]; in init_klog_vwrite()
/system/netd/client/
DFwmarkClient.cpp60 iovec iov; in send()
/system/core/libion/
Dion_test.c121 struct iovec count_vec = { in ion_share_test()
175 struct iovec count_vec = { in ion_share_test()
/system/core/libnetutils/
Dpacket.c95 struct iovec iov[3]; in send_packet()
150 msghdr.msg_iovlen = sizeof(iov) / sizeof(struct iovec); in send_packet()

12