Home
last modified time | relevance | path

Searched refs:m_writeFd (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp54 int m_writeFd; member in Pipe
55 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} in Pipe()
62 m_writeFd = rval.m_writeFd; in Pipe()
64 rval.m_writeFd = 0; in Pipe()
69 if (m_writeFd) in ~Pipe()
70 close(m_writeFd); in ~Pipe()
74 int error = write(m_writeFd, &val, sizeof(val)); in signal()
83 int error = write(m_writeFd, &v, sizeof(T)); in send()
Dschd-dbg.cpp153 int m_writeFd; member in Pipe
154 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe()
163 m_writeFd = rval.m_writeFd; in Pipe()
165 rval.m_writeFd = 0; in Pipe()
169 if (m_writeFd) close(m_writeFd); in ~Pipe()
173 int error = write(m_writeFd, &val, sizeof(val)); in signal()
183 int error = write(m_writeFd, &v, sizeof(T)); in send()