Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/tests/
DbinderThroughputTest.cpp123 int m_readFd; member in Pipe
125 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} in Pipe()
131 m_readFd = rval.m_readFd; in Pipe()
133 rval.m_readFd = 0; in Pipe()
137 if (m_readFd) in ~Pipe()
138 close(m_readFd); in ~Pipe()
149 int error = read(m_readFd, &val, sizeof(val)); in wait()
170 int error = read(m_readFd, &num_elems, sizeof(size_t)); in recv()
178 int ret = read(m_readFd, read_to, num_bytes); 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()