Searched refs:m_writeFd (Results 1 – 2 of 2) sorted by relevance
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 38 int m_writeFd; member in Pipe 44 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() 46 fcntl(m_writeFd, F_SETFD, FD_CLOEXEC); 50 m_writeFd = rval.m_writeFd; in Pipe() 52 rval.m_writeFd = 0; in Pipe() 56 if (m_writeFd) close(m_writeFd); in ~Pipe() 61 fcntl(m_writeFd, F_SETFD, 0); in preserveOverFork() 64 fcntl(m_writeFd, F_SETFD, FD_CLOEXEC); in preserveOverFork() 68 int getWriteFd() { return m_writeFd; } in getWriteFd() 71 int error = write(m_writeFd, &val, sizeof(val)); in signal() [all …]
|
/system/libhwbinder/vts/performance/ |
D | Benchmark_throughput.cpp | 50 int m_writeFd; member in Pipe 52 : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() 60 m_writeFd = rval.m_writeFd; in Pipe() 62 rval.m_writeFd = 0; in Pipe() 67 if (m_writeFd) in ~Pipe() 68 close(m_writeFd); in ~Pipe() 72 int error = write(m_writeFd, &val, sizeof(val)); in signal() 81 int error = write(m_writeFd, &v, sizeof(T)); in send()
|