Home
last modified time | relevance | path

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

123

/system/media/audio_utils/
Dfifo.cpp182 audio_utils_iovec iovec[2]; in write() local
183 ssize_t availToWrite = obtain(iovec, count, timeout); in write()
185 memcpy((char *) mFifo.mBuffer + iovec[0].mOffset * mFifo.mFrameSize, buffer, in write()
186 iovec[0].mLength * mFifo.mFrameSize); in write()
187 if (iovec[1].mLength > 0) { in write()
188 memcpy((char *) mFifo.mBuffer + iovec[1].mOffset * mFifo.mFrameSize, in write()
189 (char *) buffer + (iovec[0].mLength * mFifo.mFrameSize), in write()
190 iovec[1].mLength * mFifo.mFrameSize); in write()
198 ssize_t audio_utils_fifo_writer::obtain(audio_utils_iovec iovec[2], size_t count, in obtain()
293 if (iovec != NULL) { in obtain()
[all …]
/system/core/trusty/storage/lib/
Dstorage.c105 const struct iovec *tx_iovs, uint tx_iovcnt, in send_reqv()
106 const struct iovec *rx_iovs, uint rx_iovcnt) in send_reqv()
148 struct iovec tx[3] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}, {(void *)name, strlen(name)}}; in storage_open_file()
150 struct iovec rx[2] = {{&msg, sizeof(msg)}, {&rsp, sizeof(rsp)}}; in storage_open_file()
170 struct iovec tx[2] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}}; in storage_close_file()
171 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in storage_close_file()
184 struct iovec tx[3] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}, {(void *)name, strlen(name)}}; in storage_delete_file()
185 struct iovec rx[1] = {{&msg, sizeof(msg)}}; in storage_delete_file()
195 struct iovec tx[2] = {{&msg, sizeof(msg)}, {&req, sizeof(req)}}; in _read_chunk()
196 struct iovec rx[2] = {{&msg, sizeof(msg)}, {buf, size}}; in _read_chunk()
[all …]
/system/core/libstats/socket/
Dstats_buffer_writer.c30 static int __write_to_statsd_init(struct iovec* vec, size_t nr);
31 static int (*__write_to_statsd)(struct iovec* vec, size_t nr) = __write_to_statsd_init;
56 struct iovec vecs[2]; in write_buffer_to_statsd()
72 static int __write_to_stats_daemon(struct iovec* vec, size_t nr) { in __write_to_stats_daemon()
109 static int __write_to_statsd_init(struct iovec* vec, size_t nr) { in __write_to_statsd_init()
Dstatsd_writer.h40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
Dstatsd_writer.c63 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);
156 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite()
160 struct iovec newVec[nr + headerLength]; in statsdWrite()
/system/core/logd/
DLogReader.cpp53 struct iovec iovec[2]; in Write() local
54 iovec[0].iov_base = const_cast<logger_entry*>(&entry); in Write()
55 iovec[0].iov_len = entry.hdr_size; in Write()
56 iovec[1].iov_base = const_cast<char*>(msg); in Write()
57 iovec[1].iov_len = entry.len; in Write()
59 return client_->sendDatav(iovec, 1 + (entry.len != 0)) == 0; in Write()
/system/core/libstats/push_compat/
Dstats_event_list.c43 static int __write_to_statsd_init(struct iovec* vec, size_t nr);
44 int (*write_to_statsd)(struct iovec* vec, size_t nr) = __write_to_statsd_init;
95 struct iovec vec[2]; in stats_write_list()
147 static int __write_to_stats_daemon(struct iovec* vec, size_t nr) { in __write_to_stats_daemon()
174 static int __write_to_statsd_init(struct iovec* vec, size_t nr) { in __write_to_statsd_init()
Dstatsd_writer.h40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
Dstatsd_writer.c63 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr);
156 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite()
160 struct iovec newVec[nr + headerLength]; in statsdWrite()
/system/core/libcutils/
Dklog.cpp47 void klog_writev(int level, const struct iovec* iov, int iov_count) { in klog_writev()
66 struct iovec iov[1]; in klog_write()
/system/core/liblog/
Dlogger_write.cpp187 static int write_to_log(log_id_t log_id, struct iovec* vec, size_t nr) { in write_to_log()
222 static int write_to_log(log_id_t, struct iovec*, size_t) { in write_to_log() argument
279 struct iovec vec[3]; in __android_log_logd_logger()
419 struct iovec vec[2]; in __android_log_bwrite()
432 struct iovec vec[2]; in __android_log_stats_bwrite()
445 struct iovec vec[2]; in __android_log_security_bwrite()
463 struct iovec vec[3]; in __android_log_btwrite()
482 struct iovec vec[4]; in __android_log_bswrite()
505 struct iovec vec[4]; in __android_log_security_bswrite()
Duio.h21 struct iovec { struct
Dlogd_writer.h23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dpmsg_writer.h23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dpmsg_writer.cpp62 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in PmsgWrite()
64 struct iovec newVec[nr + headerLength]; in PmsgWrite()
181 struct iovec vec[3]; in __android_log_pmsg_file_write()
/system/core/libsysutils/include/sysutils/
DSocketClient.h62 int sendDatav(struct iovec *iov, int iovcnt);
82 int sendDataLockedv(struct iovec *iov, int iovcnt);
/system/memory/libmemunreachable/
DThreadCapture.cpp216 struct iovec iovec; in PtraceThreadInfo() local
217 iovec.iov_base = &regs; in PtraceThreadInfo()
218 iovec.iov_len = sizeof(regs); in PtraceThreadInfo()
220 if (ptrace(PTRACE_GETREGSET, tid, reinterpret_cast<void*>(NT_PRSTATUS), &iovec)) { in PtraceThreadInfo()
225 unsigned int num_regs = iovec.iov_len / sizeof(uintptr_t); in PtraceThreadInfo()
DLeakPipe.cpp28 struct iovec iov {}; in SendFd()
62 struct iovec iov {}; in ReceiveFd()
/system/media/audio_utils/include/audio_utils/
Dfifo.h276 virtual ssize_t obtain(audio_utils_iovec iovec[2], size_t count = SIZE_MAX,
388 virtual ssize_t obtain(audio_utils_iovec iovec[2], size_t count = SIZE_MAX,
516 virtual ssize_t obtain(audio_utils_iovec iovec[2], size_t count = SIZE_MAX,
531 ssize_t obtain(audio_utils_iovec iovec[2], size_t count, const struct timespec *timeout,
/system/core/trusty/storage/proxy/
Dipc.c70 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {req_buf, req_buf_len}}; in ipc_get_msg()
99 struct iovec iovs[2] = {{msg, sizeof(*msg)}, {out, out_size}}; in ipc_respond()
/system/core/libsysutils/src/
DSocketClient.cpp113 struct iovec vec[2]; in sendBinaryMsg()
174 struct iovec vec[1]; in sendData()
185 int SocketClient::sendDatav(struct iovec *iov, int iovcnt) { in sendDatav()
193 int SocketClient::sendDataLockedv(struct iovec *iov, int iovcnt) { in sendDataLockedv()
/system/netd/server/
DSockDiag.h93 iovec *iov, int iovcnt);
95 int destroyLiveSockets(const DestroyFilter& destroy, const char *what, iovec *iov, int iovcnt);
DNetlinkCommands.cpp85 OPTNONE int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen, in sendNetlinkRequest()
122 int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen) { in sendNetlinkRequest()
196 iovec iov[] = { in rtNetlinkFlush()
DSockDiag.cpp99 iovec *iov, int iovcnt) { in sendDumpRequest()
132 iovec iov[] = { in sendDumpRequest()
197 iovec iov[] = { in sendDumpRequest()
335 iovec *iov, int iovcnt) { in destroyLiveSockets()
359 iovec iov[] = { in getLiveTcpInfos()
420 iovec iov[] = { in destroySockets()
504 iovec iov[] = { in destroySocketsLackingPermission()
/system/libhwbinder/
DStatic.cpp41 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines()

123