Home
last modified time | relevance | path

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

12

/system/core/liblog/
Dlogger_write.c306 tag = android_lookupEventTag_len(m, &len, get4LE(vec[0].iov_base)); in __write_to_log_daemon()
319 const char* tag = vec[0].iov_base; in __write_to_log_daemon()
331 tag = ((const char*)vec[1].iov_base); in __write_to_log_daemon()
431 vec[0].iov_base = (unsigned char*)&prio; in __android_log_buf_write()
433 vec[1].iov_base = (void*)tag; in __android_log_buf_write()
435 vec[2].iov_base = (void*)msg; in __android_log_buf_write()
511 vec[0].iov_base = &tag; in __android_log_bwrite()
513 vec[1].iov_base = (void*)payload; in __android_log_bwrite()
524 vec[0].iov_base = &tag; in __android_log_security_bwrite()
526 vec[1].iov_base = (void*)payload; in __android_log_security_bwrite()
[all …]
Dpmsg_writer.c113 if (SNET_EVENT_LOG_TAG != get4LE(vec[0].iov_base)) { in pmsgWrite()
152 newVec[0].iov_base = (unsigned char*)&pmsgHeader; in pmsgWrite()
154 newVec[1].iov_base = (unsigned char*)&header; in pmsgWrite()
158 newVec[i].iov_base = vec[i - headerLength].iov_base; in pmsgWrite()
246 vec[0].iov_base = &prio; in __android_log_pmsg_file_write()
248 vec[1].iov_base = (unsigned char*)tag; in __android_log_pmsg_file_write()
271 vec[2].iov_base = (unsigned char*)buf; in __android_log_pmsg_file_write()
Duio.c29 char* buf = vecs->iov_base; in readv()
53 const char* buf = vecs->iov_base; in writev()
Dlogd_writer.c180 newVec[0].iov_base = (unsigned char*)&header; in logdWrite()
194 newVec[headerLength].iov_base = &buffer; in logdWrite()
214 newVec[headerLength].iov_base = &buffer; in logdWrite()
227 newVec[i].iov_base = vec[i - headerLength].iov_base; in logdWrite()
Dfake_log_device.c338 ssize_t w = write(fd, iov->iov_base, iov->iov_len); in fake_writev()
496 v->iov_base = prefixBuf; in showLog()
506 v->iov_base = (void*)start; in showLog()
513 v->iov_base = suffixBuf; in showLog()
590 int logPrio = *(const char*)vector[0].iov_base; in logWritev()
591 const char* tag = (const char*)vector[1].iov_base; in logWritev()
592 const char* msg = (const char*)vector[2].iov_base; in logWritev()
Dstderr_write.c181 memcpy(log_msg.entry.msg + log_msg.entry.len, vec[i].iov_base, len); in stderrWrite()
/system/core/libsysutils/src/
DSocketClient.cpp112 vec[0].iov_base = (void *) buf; in sendBinaryMsg()
114 vec[1].iov_base = (void *) data; in sendBinaryMsg()
172 vec[0].iov_base = (void *) data; in sendData()
223 iov[current].iov_base = (char *)iov[current].iov_base + written; in sendDataLockedv()
/system/core/logd/
DLogAudit.cpp201 iov[0].iov_base = last_info ? const_cast<char*>(log_info) in logPrint()
205 iov[1].iov_base = last_str; in logPrint()
208 iov[2].iov_base = const_cast<char*>(resume); in logPrint()
211 iov[2].iov_base = const_cast<char*>(newline); in logPrint()
226 iov[0].iov_base = info ? const_cast<char*>(log_info) in logPrint()
229 iov[1].iov_base = str; in logPrint()
231 iov[2].iov_base = const_cast<char*>(newline); in logPrint()
DLogBufferElement.cpp223 iovec[0].iov_base = &entry; in flushTo()
231 iovec[1].iov_base = buffer; in flushTo()
234 iovec[1].iov_base = mMsg; in flushTo()
/system/core/debuggerd/libdebuggerd/arm64/
Dmachine.cpp36 io.iov_base = &regs; in dump_memory_and_code()
69 io.iov_base = &r; in dump_registers()
80 io.iov_base = &f; in dump_registers()
/system/core/libmemunreachable/
DLeakPipe.cpp32 iov.iov_base = &data; in SendFd()
66 iov.iov_base = &data; in ReceiveFd()
/system/core/debuggerd/
Dutil.cpp34 iovec iov = { .iov_base = const_cast<void*>(data), .iov_len = len }; in send_fd()
50 iovec iov = { .iov_base = const_cast<void*>(data), .iov_len = len }; in recv_fd()
/system/core/liblog/include/log/
Duio.h37 void* iov_base; member
/system/libhwbinder/
DBufferedTextOutput.cpp195 vec.iov_base = (void*)first; in print()
214 vec.iov_base = b->buffer; in print()
255 vec.iov_base = b->buffer; in popBundle()
DStatic.cpp44 ALOGI("%.*s", (int)vec.iov_len, (const char*) vec.iov_base); in writeLines()
/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/libcutils/
Dklog.cpp66 iov[0].iov_base = buf; in klog_write()
Dsockets_unix.cpp89 iovec_buffers[i].iov_base = const_cast<void*>(buffers[i].data); in socket_send_buffers()
/system/core/libunwindstack/
DMemory.cpp183 local_io.iov_base = dst; in Read()
187 remote_io.iov_base = reinterpret_cast<void*>(static_cast<uintptr_t>(addr)); in Read()
DRegs.cpp215 io.iov_base = buffer.data(); in RemoteGet()
/system/core/libion/
Dion_test.c122 .iov_base = &num_fd, in ion_share_test()
176 .iov_base = child_buf, in ion_share_test()
/system/bt/btif/src/
Dbtif_sock_util.cc119 iv.iov_base = buffer; in sock_send_fd()
/system/netd/server/
DNetlinkCommands.cpp82 iov[0].iov_base = &nlmsg; in sendNetlinkRequest()
/system/core/liblog/tests/
Dliblog_benchmark.cpp162 newVec[0].iov_base = (unsigned char*)&pmsg_header; in BM_pmsg_short()
164 newVec[1].iov_base = (unsigned char*)&header; in BM_pmsg_short()
175 newVec[2].iov_base = &buffer; in BM_pmsg_short()
/system/bt/osi/src/
Dsocket.cc164 iov.iov_base = (void*)buf; in socket_write_and_transfer_fd()

12