Home
last modified time | relevance | path

Searched refs:iovec (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/native/libs/vr/libpdx/private/pdx/
Dclient.h222 const iovec send_vector = {const_cast<void*>(send_buffer), send_length}; in Send()
223 const iovec receive_vector = {receive_buffer, receive_length}; in Send()
229 Status<T> SendVector(int opcode, const iovec* send_vector, size_t send_count, in SendVector()
230 const iovec* receive_vector, size_t receive_count) { in SendVector()
238 Status<T> SendVector(int opcode, const iovec (&send_vector)[send_count], in SendVector()
239 const iovec (&receive_vector)[receive_count]) { in SendVector()
245 Status<T> SendVector(int opcode, const iovec (&send_vector)[send_count], in SendVector()
252 const iovec (&receive_vector)[receive_count]) { in SendVector()
274 void SendTransaction(int opcode, Status<void>* ret, const iovec* send_vector,
275 size_t send_count, const iovec* receive_vector,
[all …]
Dclient_channel.h11 struct iovec;
44 const iovec* send_vector, size_t send_count,
45 const iovec* receive_vector,
48 void* transaction_state, int opcode, const iovec* send_vector,
49 size_t send_count, const iovec* receive_vector, size_t receive_count) = 0;
51 void* transaction_state, int opcode, const iovec* send_vector,
52 size_t send_count, const iovec* receive_vector, size_t receive_count) = 0;
Dmock_client_channel.h24 const iovec* send_vector, size_t send_count,
25 const iovec* receive_vector, size_t receive_count));
28 const iovec* send_vector, size_t send_count,
29 const iovec* receive_vector,
33 const iovec* send_vector,
35 const iovec* receive_vector,
Dservice_endpoint.h8 struct iovec;
103 virtual Status<size_t> ReadMessageData(Message* message, const iovec* vector,
107 virtual Status<size_t> WriteMessageData(Message* message, const iovec* vector,
Dservice.h110 Status<size_t> ReadVector(const iovec* vector, size_t vector_length);
112 Status<size_t> WriteVector(const iovec* vector, size_t vector_length);
116 inline Status<size_t> ReadVector(const iovec (&vector)[N]) { in ReadVector()
121 inline Status<size_t> WriteVector(const iovec (&vector)[N]) { in WriteVector()
127 Status<void> ReadVectorAll(const iovec* vector, size_t vector_length);
128 Status<void> WriteVectorAll(const iovec* vector, size_t vector_length);
148 inline Status<void> ReadVectorAll(const iovec (&vector)[N]) { in ReadVectorAll()
153 inline Status<void> WriteVectorAll(const iovec (&vector)[N]) { in WriteVectorAll()
Dmock_service_endpoint.h38 Status<size_t>(Message* message, const iovec* vector,
41 Status<size_t>(Message* message, const iovec* vector,
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel.h54 const iovec* send_vector, size_t send_count,
55 const iovec* receive_vector,
58 const iovec* send_vector,
60 const iovec* receive_vector,
63 void* transaction_state, int opcode, const iovec* send_vector,
64 size_t send_count, const iovec* receive_vector,
86 const iovec* send_vector, size_t send_count,
87 const iovec* receive_vector, size_t receive_count);
Dipc_helper.h63 const iovec* data_vec = nullptr, size_t vec_count = 0);
164 const iovec* data_vec = nullptr,
174 const iovec* data_vec = nullptr,
183 Status<void> SendDataVector(const BorrowedHandle& socket_fd, const iovec* data,
208 const iovec* data, size_t count);
210 size_t CountVectorSize(const iovec* data, size_t count);
Dservice_endpoint.h61 Status<size_t> ReadMessageData(Message* message, const iovec* vector,
63 Status<size_t> WriteMessageData(Message* message, const iovec* vector,
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel.cpp91 const iovec* send_vector, size_t send_count, in SendRequest()
106 const iovec* receive_vector, size_t receive_count, in ReceiveResponse()
113 std::vector<iovec> read_buffers; in ReceiveResponse()
123 iovec& last_vec = read_buffers.back(); in ReceiveResponse()
179 const iovec* send_vector, in SendAndReceive()
181 const iovec* receive_vector, in SendAndReceive()
211 const iovec* send_vector, in SendWithInt()
213 const iovec* receive_vector, in SendWithInt()
220 void* transaction_state, int opcode, const iovec* send_vector, in SendWithFileHandle()
221 size_t send_count, const iovec* receive_vector, size_t receive_count) { in SendWithFileHandle()
[all …]
Dipc_helper.cpp181 const ucred* cred, const iovec* data_vec, in Send()
199 msg.msg_iov = static_cast<iovec*>(alloca(sizeof(iovec) * msg.msg_iovlen)); in Send()
288 iovec recv_vect = {&preamble, sizeof(preamble)}; in Receive()
373 Status<void> SendDataVector(const BorrowedHandle& socket_fd, const iovec* data, in SendDataVector()
376 msg.msg_iov = const_cast<iovec*>(data); in SendDataVector()
387 const iovec* data, size_t count) { in ReceiveDataVector()
389 msg.msg_iov = const_cast<iovec*>(data); in ReceiveDataVector()
394 size_t CountVectorSize(const iovec* vector, size_t count) { in CountVectorSize()
397 [](size_t size, const iovec& vec) { return size + vec.iov_len; }); in CountVectorSize()
Dservice_endpoint.cpp96 Status<size_t> WriteData(const iovec* vector, size_t vector_length) { in WriteData()
106 Status<size_t> ReadData(const iovec* vector, size_t vector_length) { in ReadData()
691 Status<size_t> Endpoint::ReadMessageData(Message* message, const iovec* vector, in ReadMessageData()
697 Status<size_t> Endpoint::WriteMessageData(Message* message, const iovec* vector, in WriteMessageData()
Dipc_helper_tests.cpp89 std::vector<iovec> data_{
/frameworks/native/libs/vr/libpdx/
Dclient.cpp144 const iovec* send_vector, size_t send_count, in SendTransaction()
145 const iovec* receive_vector, in SendTransaction()
168 const iovec* send_vector, size_t send_count, in SendTransaction()
169 const iovec* receive_vector, in SendTransaction()
189 const iovec* send_vector, size_t send_count, in SendTransaction()
190 const iovec* receive_vector, in SendTransaction()
210 const iovec* send_vector, size_t send_count, in SendTransaction()
211 const iovec* receive_vector, in SendTransaction()
Dservice.cpp76 Status<size_t> Message::ReadVector(const struct iovec* vector, in ReadVector()
86 Status<void> Message::ReadVectorAll(const struct iovec* vector, in ReadVectorAll()
108 const struct iovec vector = {buffer, length}; in Read()
115 Status<size_t> Message::WriteVector(const struct iovec* vector, in WriteVector()
125 Status<void> Message::WriteVectorAll(const struct iovec* vector, in WriteVectorAll()
147 const struct iovec vector = {const_cast<void*>(buffer), length}; in Write()
Dservice_tests.cpp52 using IoVecArray = std::vector<iovec>;
55 for (const iovec& item : iovec_array) {
521 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F()
551 iovec vec[] = {{buffer1, sizeof(buffer1)}, {buffer2, sizeof(buffer2)}}; in TEST_F()
Dclient_tests.cpp484 iovec send[3] = {}; in TEST_F()
485 iovec recv[4] = {}; in TEST_F()
/frameworks/native/libs/vr/libpdx/fuzz/
Dmessage_fuzzer.cpp143 size_t iovec_size = sizeof(iovec); in LLVMFuzzerTestOneInput()
144 struct iovec* iovecs = nullptr; in LLVMFuzzerTestOneInput()
149 struct iovec* vector = reinterpret_cast<struct iovec*>(tmp_vec.data()); in LLVMFuzzerTestOneInput()
159 iovecs = new struct iovec[num_vecs]; in LLVMFuzzerTestOneInput() local
Dhelpers.h202 Status<size_t> ReadMessageData(Message* message, const iovec* vector, in ReadMessageData()
211 Status<size_t> WriteMessageData(Message* message, const iovec* vector, in WriteMessageData()
/frameworks/av/media/libnblog/
DReader.cpp72 audio_utils_iovec iovec[2]; in getSnapshot() local
89 availToRead = mFifoReader->obtain(iovec, capacity, NULL /*timeout*/, &lostTemp); in getSnapshot()
110 memcpy(snapshot->mData, (const char *) mFifo->buffer() + iovec[0].mOffset, iovec[0].mLength); in getSnapshot()
111 if (iovec[1].mLength > 0) { in getSnapshot()
112 memcpy(snapshot->mData + (iovec[0].mLength), in getSnapshot()
113 (const char *) mFifo->buffer() + iovec[1].mOffset, iovec[1].mLength); in getSnapshot()
/frameworks/native/libs/binder/
DStatic.cpp39 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines()
55 virtual status_t writeLines(const struct iovec& vec, size_t N) in writeLines()
DBufferedTextOutput.cpp197 struct iovec vec; in print()
216 struct iovec vec; in print()
257 struct iovec vec; in popBundle()
DBufferedTextOutput.h45 virtual status_t writeLines(const struct iovec& vec, size_t N) = 0;
/frameworks/base/cmds/statsd/src/socket/
DStatsSocketListener.cpp57 struct iovec iov = {buffer, sizeof(buffer) - 1}; in onDataAvailable()
/frameworks/native/libs/nativewindow/
DAHardwareBuffer.cpp263 struct iovec iov[1]; in AHardwareBuffer_sendHandleToUnixSocket()
304 struct iovec iov[1]; in AHardwareBuffer_recvHandleFromUnixSocket()

12