Home
last modified time | relevance | path

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

/system/extras/alloc-stress/
Dalloc-stress.cpp29 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/
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()
DLatency.cpp115 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()