/system/logging/liblog/ |
D | pmsg_writer.cpp | 84 if (vec[0].iov_len < 4) { in PmsgWrite() 131 newVec[0].iov_len = sizeof(pmsgHeader); in PmsgWrite() 133 newVec[1].iov_len = sizeof(header); in PmsgWrite() 137 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in PmsgWrite() 140 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite() 141 if (newVec[i].iov_len) { in PmsgWrite() 220 vec[0].iov_len = sizeof(char); in __android_log_pmsg_file_write() 222 vec[1].iov_len = length; in __android_log_pmsg_file_write() 242 vec[2].iov_len = transfer; in __android_log_pmsg_file_write()
|
D | logger_write.cpp | 210 if (vec[0].iov_len < 4) { in write_to_log() 223 if (vec[0].iov_len < 4) { in write_to_log() 343 vec[0].iov_len = 1; in __android_log_logd_logger() 345 vec[1].iov_len = strlen(log_message->tag) + 1; in __android_log_logd_logger() 347 vec[2].iov_len = strlen(log_message->message) + 1; in __android_log_logd_logger() 483 vec[0].iov_len = sizeof(tag); in __android_log_bwrite() 485 vec[1].iov_len = len; in __android_log_bwrite() 496 vec[0].iov_len = sizeof(tag); in __android_log_stats_bwrite() 498 vec[1].iov_len = len; in __android_log_stats_bwrite() 509 vec[0].iov_len = sizeof(tag); in __android_log_security_bwrite() [all …]
|
D | logd_writer.cpp | 149 newVec[0].iov_len = sizeof(header); in LogdWrite() 162 newVec[headerLength].iov_len = sizeof(buffer); in LogdWrite() 174 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in LogdWrite() 177 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in LogdWrite() 178 if (newVec[i].iov_len) { in LogdWrite()
|
D | uio.h | 23 size_t iov_len; member
|
/system/core/trusty/utils/acvp/ |
D | trusty_modulewrapper.cpp | 115 .iov_len = sizeof(struct acvp_req), in SendMessage() 167 iovs[0].iov_len = sizeof(uint32_t) * (1 + resp.num_spans); in ForwardResponse() 170 iovs[1].iov_len = total_args_size; in ForwardResponse() 188 if (done > iov.iov_len) { in ForwardResponse() 189 done = iov.iov_len; in ForwardResponse() 193 iov.iov_len -= done; in ForwardResponse() 196 if (iov.iov_len == 0) { in ForwardResponse()
|
/system/unwinding/libunwindstack/ |
D | Regs.cpp | 55 .iov_base = buffer.data(), .iov_len = buffer.size() * sizeof(uint64_t) in RemoteGet() 67 switch (io.iov_len) { in RemoteGet() 80 Log::Error("No matching size of user regs structure for pid %d: size %zu", pid, io.iov_len); in RemoteGet() 92 io.iov_len = buffer.size() * sizeof(uint64_t); in RemoteGetArch() 103 switch (io.iov_len) { in RemoteGetArch() 116 Log::Error("No matching size of user regs structure for pid %d: size %zu", pid, io.iov_len); in RemoteGetArch()
|
D | Memory.cpp | 67 .iov_base = &reinterpret_cast<uint8_t*>(dst)[total_read], .iov_len = len, in ProcessVmRead() 85 size_t iov_len = getpagesize() - misalignment; in ProcessVmRead() local 86 iov_len = std::min(iov_len, len); in ProcessVmRead() 88 len -= iov_len; in ProcessVmRead() 89 if (__builtin_add_overflow(cur, iov_len, &cur)) { in ProcessVmRead() 94 src_iovs[iovecs_used].iov_len = iov_len; in ProcessVmRead()
|
D | MemoryMte.cpp | 36 iov.iov_len != 1) { in ReadTag()
|
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 115 vec[0].iov_len = sizeof(buf); in sendBinaryMsg() 117 vec[1].iov_len = len; in sendBinaryMsg() 176 vec[0].iov_len = len; in sendData() 219 while (current < iovcnt && written >= iov[current].iov_len) { in sendDataLockedv() 220 written -= iov[current].iov_len; in sendDataLockedv() 227 iov[current].iov_len -= written; in sendDataLockedv()
|
/system/core/libstats/push_compat/ |
D | statsd_writer.cpp | 196 newVec[0].iov_len = sizeof(header); in statsdWrite() 215 newVec[headerLength].iov_len = sizeof(buffer); in statsdWrite() 228 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in statsdWrite() 231 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in statsdWrite() 232 if (newVec[i].iov_len) { in statsdWrite()
|
D | stats_event_list.c | 97 vec[0].iov_len = sizeof(context->tag); in stats_write_list() 99 vec[1].iov_len = len; in stats_write_list() 153 len += vec[i].iov_len; in __write_to_stats_daemon()
|
/system/netd/server/ |
D | XfrmController.cpp | 182 logHex(nullptr, reinterpret_cast<char*>(row.iov_base), row.iov_len); in logIov() 291 (*iovecs)[0].iov_len = NLMSG_HDRLEN; in sendMessage() 293 nlMsg.nlmsg_len += iov.iov_len; in sendMessage() 1016 len = iov[USERSA].iov_len = fillUserSaInfo(record, &usersa); in updateSecurityAssociation() 1017 iov[USERSA_PAD].iov_len = NLMSG_ALIGN(len) - len; in updateSecurityAssociation() 1019 len = iov[CRYPT].iov_len = fillNlAttrXfrmAlgoEnc(record.crypt, &crypt); in updateSecurityAssociation() 1020 iov[CRYPT_PAD].iov_len = NLA_ALIGN(len) - len; in updateSecurityAssociation() 1022 len = iov[AUTH].iov_len = fillNlAttrXfrmAlgoAuth(record.auth, &auth); in updateSecurityAssociation() 1023 iov[AUTH_PAD].iov_len = NLA_ALIGN(len) - len; in updateSecurityAssociation() 1025 len = iov[AEAD].iov_len = fillNlAttrXfrmAlgoAead(record.aead, &aead); in updateSecurityAssociation() [all …]
|
D | NetlinkCommands.cpp | 98 iov[0].iov_len = sizeof(nlmsg); in sendNetlinkRequest() 100 nlmsg.nlmsg_len += iov[i].iov_len; in sendNetlinkRequest()
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 53 .iov_len = sizeof(hdr), in TrustyRpc() 57 .iov_len = sizeof(args), in TrustyRpc() 115 .iov_len = sizeof(hdr), in TrustyApp() 119 .iov_len = sizeof(args), in TrustyApp()
|
/system/core/trusty/confirmationui/fuzz/ |
D | msg_fuzzer.cpp | 88 .iov_len = sizeof(hdr), in Init() 92 .iov_len = sizeof(args), in Init() 123 .iov_len = sizeof(hdr), in Msg() 127 .iov_len = sizeof(args), in Msg()
|
/system/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 776 iovs[0].iov_len = msg_len / 3; in writev_test() 777 iovs[1].iov_len = msg_len - iovs[0].iov_len; in writev_test() 779 memset(tx0_buf, i + 1, iovs[0].iov_len); in writev_test() 780 memset(tx1_buf, i + 2, iovs[1].iov_len); in writev_test() 807 if (memcmp(tx0_buf, rx_buf, iovs[0].iov_len)) { in writev_test() 812 if (memcmp(tx1_buf, rx_buf + iovs[0].iov_len, iovs[1].iov_len)) { in writev_test() 854 iovs[0].iov_len = msg_len / 3; in readv_test() 855 iovs[1].iov_len = msg_len - iovs[0].iov_len; in readv_test() 858 memset(rx0_buf, i + 2, iovs[0].iov_len); in readv_test() 859 memset(rx1_buf, i + 3, iovs[1].iov_len); in readv_test() [all …]
|
/system/memory/libmemunreachable/ |
D | LeakPipe.cpp | 35 iov.iov_len = sizeof(data); in SendFd() 69 iov.iov_len = sizeof(data); in ReceiveFd()
|
/system/core/trusty/apploader/fuzz/ |
D | app_fuzzer.cpp | 56 .iov_len = sizeof(hdr), in SendLoadMsg() 60 .iov_len = sizeof(req), in SendLoadMsg()
|
/system/libhwbinder/ |
D | BufferedTextOutput.cpp | 180 vec.iov_len = lastLine-first; in print() 199 vec.iov_len = b->bufferPos; in print() 240 vec.iov_len = b->bufferPos; in popBundle()
|
D | Static.cpp | 45 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); in writeLines()
|
/system/core/libnetutils/ |
D | packet.c | 131 iov[0].iov_len = sizeof(ip); in send_packet() 133 iov[1].iov_len = sizeof(udp); in send_packet() 135 iov[2].iov_len = size; in send_packet()
|
/system/core/libcutils/ |
D | klog.cpp | 68 iov[0].iov_len = strlen(buf); in klog_write()
|
D | sockets_unix.cpp | 47 iovec_buffers[i].iov_len = buffers[i].length; in socket_send_buffers()
|
/system/libbase/ |
D | cmsg.cpp | 43 iovec iov = {.iov_base = const_cast<void*>(data), .iov_len = len}; in SendFileDescriptorVector() 86 iovec iov = {.iov_base = data, .iov_len = len}; in ReceiveFileDescriptorVector()
|
/system/logging/logd/ |
D | LogAudit.cpp | 252 iov[0].iov_len = info ? sizeof(log_info) : sizeof(log_warning); in logPrint() 254 iov[1].iov_len = strlen(str); in logPrint() 256 iov[2].iov_len = denial_metadata.length(); in logPrint() 258 iov[3].iov_len = strlen(newline); in logPrint()
|