Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp53 int m_readFd; member in Pipe
55 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} in Pipe()
61 m_readFd = rval.m_readFd; in Pipe()
63 rval.m_readFd = 0; in Pipe()
67 if (m_readFd) in ~Pipe()
68 close(m_readFd); in ~Pipe()
79 int error = read(m_readFd, &val, sizeof(val)); in wait()
87 int error = read(m_readFd, &v, sizeof(T)); in recv()
Dschd-dbg.cpp152 int m_readFd; member in Pipe
154 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe()
162 m_readFd = rval.m_readFd; in Pipe()
164 rval.m_readFd = 0; in Pipe()
168 if (m_readFd) close(m_readFd); in ~Pipe()
178 int error = read(m_readFd, &val, sizeof(val)); in wait()
188 int error = read(m_readFd, &v, sizeof(T)); in recv()