/system/core/liblog/ |
D | logger_write.c | 251 len += vec[i].iov_len; in __write_to_log_daemon() 261 if (vec[0].iov_len < 4) { in __write_to_log_daemon() 278 if (vec[0].iov_len < 4) { in __write_to_log_daemon() 320 size_t len = vec[0].iov_len; in __write_to_log_daemon() 330 len = vec[1].iov_len; in __write_to_log_daemon() 462 vec[0].iov_len = 1; in __android_log_buf_write() 464 vec[1].iov_len = strlen(tag) + 1; in __android_log_buf_write() 466 vec[2].iov_len = strlen(msg) + 1; in __android_log_buf_write() 542 vec[0].iov_len = sizeof(tag); in __android_log_bwrite() 544 vec[1].iov_len = len; in __android_log_bwrite() [all …]
|
D | pmsg_writer.c | 109 if (vec[0].iov_len < 4) { in pmsgWrite() 153 newVec[0].iov_len = sizeof(pmsgHeader); in pmsgWrite() 155 newVec[1].iov_len = sizeof(header); in pmsgWrite() 159 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in pmsgWrite() 162 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in pmsgWrite() 163 if (newVec[i].iov_len) { in pmsgWrite() 247 vec[0].iov_len = sizeof(char); in __android_log_pmsg_file_write() 249 vec[1].iov_len = length; in __android_log_pmsg_file_write() 272 vec[2].iov_len = transfer; in __android_log_pmsg_file_write()
|
D | logd_writer.c | 181 newVec[0].iov_len = sizeof(header); in logdWrite() 195 newVec[headerLength].iov_len = sizeof(buffer); in logdWrite() 215 newVec[headerLength].iov_len = sizeof(buffer); in logdWrite() 228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in logdWrite() 231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in logdWrite() 232 if (newVec[i].iov_len) { in logdWrite()
|
D | uio.c | 30 int len = vecs->iov_len; in readv() 54 int len = vecs->iov_len; in writev()
|
D | local_logger.c | 300 len += vec[i].iov_len; in writeToLocalWrite() 323 size_t iov_len = vec[i].iov_len; in writeToLocalWrite() local 324 if (iov_len > len) { in writeToLocalWrite() 325 iov_len = len; in writeToLocalWrite() 327 memcpy(cp, vec[i].iov_base, iov_len); in writeToLocalWrite() 328 len -= iov_len; in writeToLocalWrite() 332 cp += iov_len; in writeToLocalWrite()
|
D | fake_log_device.c | 336 ssize_t w = write(fd, iov->iov_base, iov->iov_len); in fake_writev() 337 if (w != (ssize_t)iov->iov_len) { in fake_writev() 495 v->iov_len = prefixLen; in showLog() 505 v->iov_len = p - start; in showLog() 512 v->iov_len = suffixLen; in showLog() 617 len += vector[i].iov_len; in fakeLogWritev()
|
D | fake_writer.c | 87 len += vec[i].iov_len; in fakeWrite()
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 727 iovs[0].iov_len = msg_len / 3; in writev_test() 728 iovs[1].iov_len = msg_len - iovs[0].iov_len; in writev_test() 730 memset(tx0_buf, i + 1, iovs[0].iov_len); in writev_test() 731 memset(tx1_buf, i + 2, iovs[1].iov_len); in writev_test() 760 if (memcmp(tx0_buf, rx_buf, iovs[0].iov_len)) { in writev_test() 765 if (memcmp(tx1_buf, rx_buf + iovs[0].iov_len, iovs[1].iov_len)) { in writev_test() 809 iovs[0].iov_len = msg_len / 3; in readv_test() 810 iovs[1].iov_len = msg_len - iovs[0].iov_len; in readv_test() 813 memset(rx0_buf, i + 2, iovs[0].iov_len); in readv_test() 814 memset(rx1_buf, i + 3, iovs[1].iov_len); in readv_test() [all …]
|
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 113 vec[0].iov_len = sizeof(buf); in sendBinaryMsg() 115 vec[1].iov_len = len; in sendBinaryMsg() 173 vec[0].iov_len = len; in sendData() 216 while ((current < iovcnt) && (written >= iov[current].iov_len)) { in sendDataLockedv() 217 written -= iov[current].iov_len; in sendDataLockedv() 224 iov[current].iov_len -= written; in sendDataLockedv()
|
/system/core/logd/ |
D | LogAudit.cpp | 203 iov[0].iov_len = in logPrint() 206 iov[1].iov_len = strlen(last_str); in logPrint() 209 iov[2].iov_len = strlen(resume); in logPrint() 212 iov[2].iov_len = strlen(newline); in logPrint() 228 iov[0].iov_len = info ? sizeof(log_info) : sizeof(log_warning); in logPrint() 230 iov[1].iov_len = strlen(str); in logPrint() 232 iov[2].iov_len = strlen(newline); in logPrint()
|
D | LogBufferElement.cpp | 248 iovec[0].iov_len = entry.hdr_size; in flushTo() 260 iovec[1].iov_len = entry.len; in flushTo()
|
/system/netd/server/ |
D | XfrmController.cpp | 141 logHex(0, reinterpret_cast<char*>(row->iov_base), row->iov_len); in logIov() 218 iov[0].iov_len = NLMSG_HDRLEN; in sendMessage() 220 nlMsg.nlmsg_len += iov[i].iov_len; in sendMessage() 642 len = iov[USERSA].iov_len = fillUserSaInfo(record, &usersa); in createTransportModeSecurityAssociation() 643 iov[USERSA_PAD].iov_len = NLMSG_ALIGN(len) - len; in createTransportModeSecurityAssociation() 645 len = iov[CRYPT].iov_len = fillNlAttrXfrmAlgoEnc(record.crypt, &crypt); in createTransportModeSecurityAssociation() 646 iov[CRYPT_PAD].iov_len = NLA_ALIGN(len) - len; in createTransportModeSecurityAssociation() 648 len = iov[AUTH].iov_len = fillNlAttrXfrmAlgoAuth(record.auth, &auth); in createTransportModeSecurityAssociation() 649 iov[AUTH_PAD].iov_len = NLA_ALIGN(len) - len; in createTransportModeSecurityAssociation() 651 len = iov[ENCAP].iov_len = fillNlAttrXfrmEncapTmpl(record, &encap); in createTransportModeSecurityAssociation() [all …]
|
D | NetlinkCommands.cpp | 83 iov[0].iov_len = sizeof(nlmsg); in sendNetlinkRequest() 85 nlmsg.nlmsg_len += iov[i].iov_len; in sendNetlinkRequest()
|
/system/core/debuggerd/libdebuggerd/arm64/ |
D | machine.cpp | 37 io.iov_len = sizeof(regs); in dump_memory_and_code() 70 io.iov_len = sizeof(r); in dump_registers() 81 io.iov_len = sizeof(f); in dump_registers()
|
/system/bt/vendor_libs/linux/interface/ |
D | h4_protocol.cc | 39 iov[0].iov_len = sizeof(type); in Send() 41 iov[1].iov_len = length; in Send()
|
/system/core/libmemunreachable/ |
D | LeakPipe.cpp | 35 iov.iov_len = sizeof(data); in SendFd() 69 iov.iov_len = sizeof(data); in ReceiveFd()
|
/system/core/debuggerd/ |
D | util.cpp | 32 iovec iov = { .iov_base = const_cast<void*>(data), .iov_len = len }; in send_fd() 48 iovec iov = { .iov_base = const_cast<void*>(data), .iov_len = len }; in recv_fd()
|
/system/core/liblog/include/log/ |
D | uio.h | 38 size_t iov_len; member
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 196 vec.iov_len = lastLine-first; in print() 215 vec.iov_len = b->bufferPos; in print() 256 vec.iov_len = b->bufferPos; in popBundle()
|
D | Static.cpp | 44 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); in writeLines()
|
/system/core/libnetutils/ |
D | packet.c | 134 iov[0].iov_len = sizeof(ip); in send_packet() 136 iov[1].iov_len = sizeof(udp); in send_packet() 138 iov[2].iov_len = size; in send_packet()
|
/system/core/libcutils/ |
D | klog.cpp | 67 iov[0].iov_len = strlen(buf); in klog_write()
|
D | sockets_unix.cpp | 90 iovec_buffers[i].iov_len = buffers[i].length; in socket_send_buffers()
|
/system/core/libion/ |
D | ion_test.c | 123 .iov_len = sizeof num_fd, in ion_share_test() 177 .iov_len = sizeof child_buf, in ion_share_test()
|
/system/core/libunwindstack/ |
D | Memory.cpp | 207 local_io.iov_len = size; in Read() 211 remote_io.iov_len = size; in Read()
|