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.cpp50 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()