/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/logd/ |
D | LogBufferElement.cpp | 257 struct iovec iovec[2]; in flushTo() local 258 iovec[0].iov_base = &entry; in flushTo() 259 iovec[0].iov_len = entry.hdr_size; in flushTo() 266 iovec[1].iov_base = buffer; in flushTo() 269 iovec[1].iov_base = mMsg; in flushTo() 271 iovec[1].iov_len = entry.len; in flushTo() 273 log_time retval = reader->sendDatav(iovec, 1 + (entry.len != 0)) in flushTo()
|
/system/core/liblog/ |
D | fake_log_device.h | 24 struct iovec; 30 ssize_t fakeLogWritev(int fd, const struct iovec* vector, int count);
|
D | logger_write.cpp | 40 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; 239 static int __write_to_log_daemon(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_daemon() 379 static int __write_to_log_init(log_id_t log_id, struct iovec* vec, size_t nr) { in __write_to_log_init() 410 struct iovec vec[3]; in __android_log_buf_write() 537 struct iovec vec[2]; in __android_log_bwrite() 548 struct iovec vec[2]; in __android_log_stats_bwrite() 559 struct iovec vec[2]; in __android_log_security_bwrite() 575 struct iovec vec[3]; in __android_log_btwrite() 592 struct iovec vec[4]; in __android_log_bswrite() [all …]
|
D | fake_log_device.cpp | 329 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() 457 const size_t MAX_LINES = ((size_t)~0) / (3 * sizeof(struct iovec*)); in showLog() 458 struct iovec stackVec[INLINE_VECS]; in showLog() 459 struct iovec* vec = stackVec; in showLog() 466 vec = (struct iovec*)malloc(sizeof(struct iovec) * numVecs); in showLog() 479 struct iovec* v = vec; in showLog() 551 ssize_t fakeLogWritev(int fd, const struct iovec* vector, int count) { in fakeLogWritev()
|
D | fake_writer.cpp | 30 static int fakeWrite(log_id_t log_id, struct timespec* ts, struct iovec* vec, size_t nr); 74 static int fakeWrite(log_id_t log_id, struct timespec*, struct iovec* vec, size_t nr) { in fakeWrite()
|
D | uio.h | 21 struct iovec { struct
|
D | pmsg_writer.cpp | 41 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 98 static int pmsgWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in pmsgWrite() 100 struct iovec newVec[nr + headerLength]; in pmsgWrite() 210 struct iovec vec[3]; in __android_log_pmsg_file_write()
|
D | logd_writer.cpp | 49 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr); 126 static int logdWrite(log_id_t logId, struct timespec* ts, struct iovec* vec, size_t nr) { in logdWrite() 130 struct iovec newVec[nr + headerLength]; in logdWrite()
|
/system/core/libstats/ |
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 | 82 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr); 175 static int statsdWrite(struct timespec* ts, struct iovec* vec, size_t nr) { in statsdWrite() 179 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/libhwbinder/ |
D | Static.cpp | 40 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines() 56 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines()
|
/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/core/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 | 94 iovec *iov, int iovcnt); 96 int destroyLiveSockets(const DestroyFilter& destroy, const char *what, iovec *iov, int iovcnt);
|
D | NetlinkCommands.cpp | 77 WARN_UNUSED_RESULT int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen, in sendNetlinkRequest() 114 int sendNetlinkRequest(uint16_t action, uint16_t flags, iovec* iov, int iovlen) { in sendNetlinkRequest() 188 iovec iov[] = { in rtNetlinkFlush()
|
D | SockDiag.cpp | 96 iovec *iov, int iovcnt) { in sendDumpRequest() 129 iovec iov[] = { in sendDumpRequest() 196 iovec iov[] = { in sendDumpRequest() 333 iovec *iov, int iovcnt) { in destroyLiveSockets() 357 iovec iov[] = { in getLiveTcpInfos() 418 iovec iov[] = { in destroySockets() 502 iovec iov[] = { in destroySocketsLackingPermission()
|
/system/core/adb/sysdeps/ |
D | uio.h | 34 using adb_iovec = struct iovec;
|