Searched refs:m_writeFd (Results 1 – 3 of 3) sorted by relevance
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 29 int m_writeFd; member in Pipe 34 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() 36 fcntl(m_writeFd, F_SETFD, FD_CLOEXEC); 40 m_writeFd = rval.m_writeFd; in Pipe() 42 rval.m_writeFd = 0; in Pipe() 47 if (m_writeFd) in ~Pipe() 48 close(m_writeFd); in ~Pipe() 53 fcntl(m_writeFd, F_SETFD,0); in preserveOverFork() 56 fcntl(m_writeFd, F_SETFD, FD_CLOEXEC); in preserveOverFork() 63 return m_writeFd; in getWriteFd() [all …]
|
/system/libhwbinder/vts/performance/ |
D | Benchmark_throughput.cpp | 49 int m_writeFd; member in Pipe 51 : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() 59 m_writeFd = rval.m_writeFd; in Pipe() 61 rval.m_writeFd = 0; in Pipe() 66 if (m_writeFd) in ~Pipe() 67 close(m_writeFd); in ~Pipe() 71 int error = write(m_writeFd, &val, sizeof(val)); in signal() 80 int error = write(m_writeFd, &v, sizeof(T)); in send()
|
D | Latency.cpp | 115 int m_writeFd; member in Pipe 116 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} {} in Pipe() 124 m_writeFd = rval.m_writeFd; in Pipe() 126 rval.m_writeFd = 0; in Pipe() 130 if (m_writeFd) close(m_writeFd); in ~Pipe() 134 int error = write(m_writeFd, &val, sizeof(val)); in signal() 144 int error = write(m_writeFd, &v, sizeof(T)); in send()
|