/system/core/liblog/ |
D | logger_write.cpp | 198 if (vec[0].iov_len < 4) { in write_to_log() 211 if (vec[0].iov_len < 4) { in write_to_log() 282 vec[0].iov_len = 1; in __android_log_logd_logger() 284 vec[1].iov_len = strlen(log_message->tag) + 1; in __android_log_logd_logger() 286 vec[2].iov_len = strlen(log_message->message) + 1; in __android_log_logd_logger() 422 vec[0].iov_len = sizeof(tag); in __android_log_bwrite() 424 vec[1].iov_len = len; in __android_log_bwrite() 435 vec[0].iov_len = sizeof(tag); in __android_log_stats_bwrite() 437 vec[1].iov_len = len; in __android_log_stats_bwrite() 448 vec[0].iov_len = sizeof(tag); in __android_log_security_bwrite() [all …]
|
D | pmsg_writer.cpp | 76 if (vec[0].iov_len < 4) { in PmsgWrite() 123 newVec[0].iov_len = sizeof(pmsgHeader); in PmsgWrite() 125 newVec[1].iov_len = sizeof(header); in PmsgWrite() 129 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in PmsgWrite() 132 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in PmsgWrite() 133 if (newVec[i].iov_len) { in PmsgWrite() 212 vec[0].iov_len = sizeof(char); in __android_log_pmsg_file_write() 214 vec[1].iov_len = length; in __android_log_pmsg_file_write() 234 vec[2].iov_len = transfer; in __android_log_pmsg_file_write()
|
D | logd_writer.cpp | 118 newVec[0].iov_len = sizeof(header); in LogdWrite() 130 newVec[headerLength].iov_len = sizeof(buffer); in LogdWrite() 148 newVec[headerLength].iov_len = sizeof(buffer); in LogdWrite() 160 payloadSize += newVec[i].iov_len = vec[i - headerLength].iov_len; in LogdWrite() 163 newVec[i].iov_len -= payloadSize - LOGGER_ENTRY_MAX_PAYLOAD; in LogdWrite() 164 if (newVec[i].iov_len) { in LogdWrite()
|
D | uio.h | 23 size_t iov_len; member
|
/system/core/libstats/socket/ |
D | statsd_writer.c | 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_buffer_writer.c | 58 vecs[0].iov_len = sizeof(kStatsEventTag); in write_buffer_to_statsd() 60 vecs[1].iov_len = size; in write_buffer_to_statsd() 78 len += vec[i].iov_len; in __write_to_stats_daemon()
|
/system/core/libstats/push_compat/ |
D | statsd_writer.c | 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/core/trusty/libtrusty/tipc-test/ |
D | tipc_test.c | 753 iovs[0].iov_len = msg_len / 3; in writev_test() 754 iovs[1].iov_len = msg_len - iovs[0].iov_len; in writev_test() 756 memset(tx0_buf, i + 1, iovs[0].iov_len); in writev_test() 757 memset(tx1_buf, i + 2, iovs[1].iov_len); in writev_test() 786 if (memcmp(tx0_buf, rx_buf, iovs[0].iov_len)) { in writev_test() 791 if (memcmp(tx1_buf, rx_buf + iovs[0].iov_len, iovs[1].iov_len)) { in writev_test() 835 iovs[0].iov_len = msg_len / 3; in readv_test() 836 iovs[1].iov_len = msg_len - iovs[0].iov_len; in readv_test() 839 memset(rx0_buf, i + 2, iovs[0].iov_len); in readv_test() 840 memset(rx1_buf, i + 3, iovs[1].iov_len); in readv_test() [all …]
|
/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/netd/server/ |
D | XfrmController.cpp | 181 logHex(nullptr, reinterpret_cast<char*>(row.iov_base), row.iov_len); in logIov() 290 (*iovecs)[0].iov_len = NLMSG_HDRLEN; in sendMessage() 292 nlMsg.nlmsg_len += iov.iov_len; in sendMessage() 949 len = iov[USERSA].iov_len = fillUserSaInfo(record, &usersa); in updateSecurityAssociation() 950 iov[USERSA_PAD].iov_len = NLMSG_ALIGN(len) - len; in updateSecurityAssociation() 952 len = iov[CRYPT].iov_len = fillNlAttrXfrmAlgoEnc(record.crypt, &crypt); in updateSecurityAssociation() 953 iov[CRYPT_PAD].iov_len = NLA_ALIGN(len) - len; in updateSecurityAssociation() 955 len = iov[AUTH].iov_len = fillNlAttrXfrmAlgoAuth(record.auth, &auth); in updateSecurityAssociation() 956 iov[AUTH_PAD].iov_len = NLA_ALIGN(len) - len; in updateSecurityAssociation() 958 len = iov[AEAD].iov_len = fillNlAttrXfrmAlgoAead(record.aead, &aead); in updateSecurityAssociation() [all …]
|
/system/core/trusty/confirmationui/ |
D | TrustyApp.cpp | 68 .iov_len = kHeaderSize, in TrustyRpc() 72 .iov_len = body_size, in TrustyRpc() 106 .iov_len = kHeaderSize, in TrustyRpc() 110 .iov_len = uint32_t(iend - begin), in TrustyRpc()
|
/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/memory/libmemunreachable/ |
D | LeakPipe.cpp | 35 iov.iov_len = sizeof(data); in SendFd() 69 iov.iov_len = sizeof(data); in ReceiveFd()
|
/system/core/libunwindstack/ |
D | Memory.cpp | 62 .iov_base = &reinterpret_cast<uint8_t*>(dst)[total_read], .iov_len = len, in ProcessVmRead() 80 size_t iov_len = getpagesize() - misalignment; in ProcessVmRead() local 81 iov_len = std::min(iov_len, len); in ProcessVmRead() 83 len -= iov_len; in ProcessVmRead() 84 if (__builtin_add_overflow(cur, iov_len, &cur)) { in ProcessVmRead() 89 src_iovs[iovecs_used].iov_len = iov_len; in ProcessVmRead()
|
D | Regs.cpp | 51 io.iov_len = buffer.size() * sizeof(uint64_t); in RemoteGet() 57 switch (io.iov_len) { in RemoteGet()
|
D | MemoryMte.cpp | 35 iov.iov_len != 1) { in ReadTag()
|
/system/libhwbinder/ |
D | Static.cpp | 45 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); in writeLines()
|
D | BufferedTextOutput.cpp | 197 vec.iov_len = lastLine-first; in print() 216 vec.iov_len = b->bufferPos; in print() 257 vec.iov_len = b->bufferPos; in popBundle()
|
/system/core/adb/sysdeps/ |
D | uio.h | 27 size_t iov_len; member
|
/system/core/trusty/keymaster/ipc/ |
D | trusty_keymaster_ipc.cpp | 77 iov[0] = {.iov_base = &header, .iov_len = sizeof(struct keymaster_message)}; in trusty_keymaster_call() 80 .iov_len = std::min<uint32_t>(KEYMASTER_MAX_BUFFER_LENGTH, in trusty_keymaster_call()
|
/system/core/debuggerd/handler/ |
D | debuggerd_handler.cpp | 350 {.iov_base = &version, .iov_len = sizeof(version)}, in debuggerd_dispatch_pseudothread() 351 {.iov_base = thread_info->siginfo, .iov_len = sizeof(siginfo_t)}, in debuggerd_dispatch_pseudothread() 352 {.iov_base = thread_info->ucontext, .iov_len = sizeof(ucontext_t)}, in debuggerd_dispatch_pseudothread() 362 .iov_len = sizeof(thread_info->process_info)}; in debuggerd_dispatch_pseudothread() 368 iovs[3] = {.iov_base = &thread_info->process_info.abort_msg, .iov_len = sizeof(uintptr_t)}; in debuggerd_dispatch_pseudothread()
|
/system/core/libcutils/ |
D | klog.cpp | 68 iov[0].iov_len = strlen(buf); in klog_write()
|
/system/core/logd/ |
D | LogAudit.cpp | 227 iov[0].iov_len = info ? sizeof(log_info) : sizeof(log_warning); in logPrint() 229 iov[1].iov_len = strlen(str); in logPrint() 231 iov[2].iov_len = denial_metadata.length(); in logPrint() 233 iov[3].iov_len = strlen(newline); in logPrint()
|
/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()
|