Home
last modified time | relevance | path

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

1234

/system/media/audio_utils/
Dfifo.cpp184 audio_utils_iovec iovec[2]; in write() local
185 ssize_t availToWrite = obtain(iovec, count, timeout); in write()
187 memcpy((char *) mFifo.mBuffer + iovec[0].mOffset * mFifo.mFrameSize, buffer, in write()
188 iovec[0].mLength * mFifo.mFrameSize); in write()
189 if (iovec[1].mLength > 0) { in write()
190 memcpy((char *) mFifo.mBuffer + iovec[1].mOffset * mFifo.mFrameSize, in write()
191 (char *) buffer + (iovec[0].mLength * mFifo.mFrameSize), in write()
192 iovec[1].mLength * mFifo.mFrameSize); in write()
200 ssize_t audio_utils_fifo_writer::obtain(audio_utils_iovec iovec[2], size_t count, in obtain()
299 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/logging/logd/
DLogReader.cpp80 struct iovec iovec[2]; in Write() local
81 iovec[0].iov_base = const_cast<logger_entry*>(&entry); in Write()
82 iovec[0].iov_len = entry.hdr_size; in Write()
83 iovec[1].iov_base = const_cast<char*>(msg); in Write()
84 iovec[1].iov_len = entry.len; in Write()
86 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.cpp63 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()
Dstatsd_writer.h42 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
/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/logging/liblog/
Dlogger_write.cpp199 static int write_to_log(log_id_t log_id, struct iovec* vec, size_t nr) { in write_to_log()
234 static int write_to_log(log_id_t, struct iovec*, size_t) { in write_to_log() argument
340 struct iovec vec[3]; in __android_log_logd_logger()
480 struct iovec vec[2]; in __android_log_bwrite()
493 struct iovec vec[2]; in __android_log_stats_bwrite()
506 struct iovec vec[2]; in __android_log_security_bwrite()
524 struct iovec vec[3]; in __android_log_btwrite()
543 struct iovec vec[4]; in __android_log_bswrite()
566 struct iovec vec[4]; in __android_log_security_bswrite()
Dpmsg_writer.cpp70 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in PmsgWrite()
72 struct iovec newVec[nr + headerLength]; in PmsgWrite()
189 struct iovec vec[3]; in __android_log_pmsg_file_write()
Duio.h21 struct iovec { struct
Dpmsg_writer.h23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
Dlogd_writer.h23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
/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/core/libsysutils/include/sysutils/
DSocketClient.h62 int sendDatav(struct iovec *iov, int iovcnt);
82 int sendDataLockedv(struct iovec *iov, int iovcnt);
/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/media/audio_utils/include/audio_utils/
Dfifo.h286 virtual ssize_t obtain(audio_utils_iovec iovec[2], size_t count = SIZE_MAX,
398 virtual ssize_t obtain(audio_utils_iovec iovec[2], size_t count = SIZE_MAX,
526 virtual ssize_t obtain(audio_utils_iovec iovec[2], size_t count = SIZE_MAX,
541 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/netd/server/
DSockDiag.h93 iovec *iov, int iovcnt);
95 int destroyLiveSockets(const DestroyFilter& destroy, const char *what, iovec *iov, int iovcnt);
DNetlinkCommands.cpp86 OPTNONE int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen, in sendNetlinkRequest()
125 int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen) { in sendNetlinkRequest()
199 iovec iov[] = { in rtNetlinkFlush()
DSockDiag.cpp113 iovec *iov, int iovcnt) { in sendDumpRequest()
149 iovec iov[] = { in sendDumpRequest()
214 iovec iov[] = { in sendDumpRequest()
360 iovec *iov, int iovcnt) { in destroyLiveSockets()
384 iovec iov[] = { in getLiveTcpInfos()
446 iovec iov[] = { in destroySockets()
530 iovec iov[] = { in destroySocketsLackingPermission()
/system/core/trusty/utils/acvp/
Dtrusty_modulewrapper.cpp113 struct iovec iov = { in SendMessage()
165 iovec iovs[2]; in ForwardResponse()
185 iovec& iov = iovs[i]; in ForwardResponse()
/system/core/trusty/libtrusty/include/trusty/
Dtipc.h28 ssize_t tipc_send(int fd, const struct iovec* iov, int iovcnt, struct trusty_shm* shm, int shmcnt);
/system/libhwbinder/
DBufferedTextOutput.cpp178 struct iovec vec; in print()
197 struct iovec vec; in print()
238 struct iovec vec; in popBundle()
DStatic.cpp41 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines()

1234