/system/media/audio_utils/ |
D | fifo.cpp | 182 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/ |
D | storage.c | 105 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/ |
D | stats_buffer_writer.c | 30 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()
|
D | statsd_writer.h | 40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
|
D | statsd_writer.c | 63 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/ |
D | LogReader.cpp | 53 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/ |
D | stats_event_list.c | 43 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()
|
D | statsd_writer.h | 40 int (*write)(struct timespec* ts, struct iovec* vec, size_t nr);
|
D | statsd_writer.c | 63 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/ |
D | klog.cpp | 47 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/ |
D | logger_write.cpp | 187 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()
|
D | uio.h | 21 struct iovec { struct
|
D | logd_writer.h | 23 int LogdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
D | pmsg_writer.h | 23 int PmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr);
|
D | pmsg_writer.cpp | 62 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/ |
D | SocketClient.h | 62 int sendDatav(struct iovec *iov, int iovcnt); 82 int sendDataLockedv(struct iovec *iov, int iovcnt);
|
/system/memory/libmemunreachable/ |
D | ThreadCapture.cpp | 216 struct iovec iovec; in PtraceThreadInfo() local 217 iovec.iov_base = ®s; 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()
|
D | LeakPipe.cpp | 28 struct iovec iov {}; in SendFd() 62 struct iovec iov {}; in ReceiveFd()
|
/system/media/audio_utils/include/audio_utils/ |
D | fifo.h | 276 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/ |
D | ipc.c | 70 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/ |
D | SocketClient.cpp | 113 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/ |
D | SockDiag.h | 93 iovec *iov, int iovcnt); 95 int destroyLiveSockets(const DestroyFilter& destroy, const char *what, iovec *iov, int iovcnt);
|
D | NetlinkCommands.cpp | 85 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()
|
D | SockDiag.cpp | 99 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/ |
D | Static.cpp | 41 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines()
|