Home
last modified time | relevance | path

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

/system/extras/alloc-stress/
Dalloc-stress.cpp37 int m_writeFd; member in Pipe
42 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe()
44 fcntl(m_writeFd, F_SETFD, FD_CLOEXEC);
48 m_writeFd = rval.m_writeFd; in Pipe()
50 rval.m_writeFd = 0; in Pipe()
55 if (m_writeFd) in ~Pipe()
56 close(m_writeFd); in ~Pipe()
61 fcntl(m_writeFd, F_SETFD,0); in preserveOverFork()
64 fcntl(m_writeFd, F_SETFD, FD_CLOEXEC); in preserveOverFork()
71 return m_writeFd; in getWriteFd()
[all …]
/system/libhwbinder/vts/performance/
DBenchmark_throughput.cpp49 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()