Home
last modified time | relevance | path

Searched refs:iov_base (Results 1 – 25 of 41) sorted by relevance

12

/system/core/liblog/
Dlogger_write.cpp306 tag = android_lookupEventTag_len(m, &len, get4LE(static_cast<uint8_t*>(vec[0].iov_base))); in __write_to_log_daemon()
319 const char* tag = static_cast<const char*>(vec[0].iov_base); in __write_to_log_daemon()
331 tag = ((const char*)vec[1].iov_base); in __write_to_log_daemon()
467 vec[0].iov_base = (unsigned char*)&prio; in __android_log_buf_write()
469 vec[1].iov_base = (void*)tag; in __android_log_buf_write()
471 vec[2].iov_base = (void*)msg; in __android_log_buf_write()
539 vec[0].iov_base = &tag; in __android_log_bwrite()
541 vec[1].iov_base = (void*)payload; in __android_log_bwrite()
550 vec[0].iov_base = &tag; in __android_log_stats_bwrite()
552 vec[1].iov_base = (void*)payload; in __android_log_stats_bwrite()
[all …]
Dpmsg_writer.cpp111 if (SNET_EVENT_LOG_TAG != get4LE(static_cast<uint8_t*>(vec[0].iov_base))) { in pmsgWrite()
150 newVec[0].iov_base = (unsigned char*)&pmsgHeader; in pmsgWrite()
152 newVec[1].iov_base = (unsigned char*)&header; in pmsgWrite()
156 newVec[i].iov_base = vec[i - headerLength].iov_base; in pmsgWrite()
240 vec[0].iov_base = &prio; in __android_log_pmsg_file_write()
242 vec[1].iov_base = (unsigned char*)tag; in __android_log_pmsg_file_write()
263 vec[2].iov_base = (unsigned char*)buf; in __android_log_pmsg_file_write()
Dlogd_writer.cpp178 newVec[0].iov_base = (unsigned char*)&header; in logdWrite()
191 newVec[headerLength].iov_base = &buffer; in logdWrite()
209 newVec[headerLength].iov_base = &buffer; in logdWrite()
222 newVec[i].iov_base = vec[i - headerLength].iov_base; in logdWrite()
Dfake_log_device.cpp333 ssize_t w = write(fd, iov->iov_base, iov->iov_len); in fake_writev()
483 v->iov_base = prefixBuf; in showLog()
493 v->iov_base = (void*)start; in showLog()
500 v->iov_base = suffixBuf; in showLog()
584 int logPrio = *(const char*)vector[0].iov_base; in fakeLogWritev()
585 const char* tag = (const char*)vector[1].iov_base; in fakeLogWritev()
586 const char* msg = (const char*)vector[2].iov_base; in fakeLogWritev()
Duio.h22 void* iov_base; member
/system/core/libsysutils/src/
DSocketClient.cpp114 vec[0].iov_base = (void *) buf; in sendBinaryMsg()
116 vec[1].iov_base = (void *) data; in sendBinaryMsg()
175 vec[0].iov_base = (void *) data; in sendData()
226 iov[current].iov_base = (char *)iov[current].iov_base + written; in sendDataLockedv()
/system/core/logd/
DLogAudit.cpp256 iov[0].iov_base = last_info ? const_cast<char*>(log_info) in logPrint()
260 iov[1].iov_base = last_str; in logPrint()
262 iov[2].iov_base = const_cast<char*>(denial_metadata.c_str()); in logPrint()
265 iov[3].iov_base = const_cast<char*>(resume); in logPrint()
268 iov[3].iov_base = const_cast<char*>(newline); in logPrint()
284 iov[0].iov_base = info ? const_cast<char*>(log_info) in logPrint()
287 iov[1].iov_base = str; in logPrint()
289 iov[2].iov_base = const_cast<char*>(denial_metadata.c_str()); in logPrint()
291 iov[3].iov_base = const_cast<char*>(newline); in logPrint()
DLogBufferElement.cpp258 iovec[0].iov_base = &entry; in flushTo()
266 iovec[1].iov_base = buffer; in flushTo()
269 iovec[1].iov_base = mMsg; in flushTo()
/system/bt/vendor_libs/linux/interface/
Dh4_protocol.cc38 iov[0].iov_base = &type; in Send()
40 iov[1].iov_base = (void *)data; in Send()
/system/core/libmemunreachable/
DLeakPipe.cpp34 iov.iov_base = &data; in SendFd()
68 iov.iov_base = &data; in ReceiveFd()
/system/core/libstats/
Dstatsd_writer.c214 newVec[0].iov_base = (unsigned char*)&header; in statsdWrite()
233 newVec[headerLength].iov_base = &buffer; in statsdWrite()
246 newVec[i].iov_base = vec[i - headerLength].iov_base; in statsdWrite()
Dstats_event_list.c96 vec[0].iov_base = &context->tag; in stats_write_list()
98 vec[1].iov_base = (void*)msg; in stats_write_list()
/system/core/adb/sysdeps/
Duio.h26 void* iov_base; member
/system/libhwbinder/
DBufferedTextOutput.cpp196 vec.iov_base = (void*)first; in print()
215 vec.iov_base = b->buffer; in print()
256 vec.iov_base = b->buffer; in popBundle()
DStatic.cpp44 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); in writeLines()
/system/core/trusty/keymaster/ipc/
Dtrusty_keymaster_ipc.cpp77 iov[0] = {.iov_base = &header, .iov_len = sizeof(struct keymaster_message)}; in trusty_keymaster_call()
79 iov[1] = {.iov_base = out + *out_size, in trusty_keymaster_call()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp353 {.iov_base = &version, .iov_len = sizeof(version)}, in debuggerd_dispatch_pseudothread()
354 {.iov_base = thread_info->siginfo, .iov_len = sizeof(siginfo_t)}, in debuggerd_dispatch_pseudothread()
355 {.iov_base = thread_info->ucontext, .iov_len = sizeof(ucontext_t)}, in debuggerd_dispatch_pseudothread()
356 {.iov_base = &thread_info->abort_msg, .iov_len = sizeof(uintptr_t)}, in debuggerd_dispatch_pseudothread()
357 {.iov_base = &thread_info->fdsan_table, .iov_len = sizeof(uintptr_t)}, in debuggerd_dispatch_pseudothread()
/system/core/libcutils/
Dklog.cpp67 iov[0].iov_base = buf; in klog_write()
Dsockets_unix.cpp53 iovec_buffers[i].iov_base = const_cast<void*>(buffers[i].data); in socket_send_buffers()
/system/core/base/
Dcmsg.cpp42 iovec iov = {.iov_base = const_cast<void*>(data), .iov_len = len}; in SendFileDescriptorVector()
84 iovec iov = {.iov_base = const_cast<void*>(data), .iov_len = len}; in ReceiveFileDescriptorVector()
/system/core/libnetutils/
Dpacket.c133 iov[0].iov_base = (char *)&ip; in send_packet()
135 iov[1].iov_base = (char *)&udp; in send_packet()
137 iov[2].iov_base = (char *)msg; in send_packet()
/system/core/libbacktrace/
Dbacktrace_read_benchmarks.cpp71 .iov_base = dst, .iov_len = len, in ProcessVmRead()
75 .iov_base = reinterpret_cast<void*>(remote_src), .iov_len = len, in ProcessVmRead()
/system/core/debuggerd/libdebuggerd/
Dutility.cpp108 iov[0].iov_base = const_cast<char*>(prefix); in _LOG()
110 iov[1].iov_base = const_cast<char*>(fragment.c_str()); in _LOG()
112 iov[2].iov_base = const_cast<char*>("\n"); in _LOG()
/system/core/libion/
Dion_test.c122 .iov_base = &num_fd, in ion_share_test()
176 .iov_base = child_buf, in ion_share_test()
/system/core/libunwindstack/
DRegs.cpp50 io.iov_base = buffer.data(); in RemoteGet()

12