Searched refs:mFd (Results 1 - 10 of 10) sorted by relevance
/system/netd/libnetdutils/include/netdutils/ |
H A D | UniqueFd.h | 40 UniqueFd(Fd fd) : mFd(fd) {} 49 UniqueFd(UniqueFd&& other) { std::swap(mFd, other.mFd); } 51 std::swap(mFd, other.mFd); 60 const operator Fd() const { return mFd; } 63 Fd mFd; member in class:android::netdutils::UniqueFd
|
H A D | Fd.h | 33 constexpr Fd(int fd) : mFd(fd) {} 35 int get() const { return mFd; } 41 int mFd = -1; member in class:android::netdutils::Fd
|
/system/netd/server/ |
H A D | DumpWriter.cpp | 37 DumpWriter::DumpWriter(int fd) : mIndentLevel(0), mFd(fd) {} 54 write(mFd, kIndentString, kIndentStringLen); 56 write(mFd, line.c_str(), line.size()); 58 write(mFd, "\n", 1);
|
H A D | DumpWriter.h | 40 int mFd; member in class:android::net::DumpWriter
|
/system/netd/tests/ |
H A D | tun_interface.cpp | 73 mFd = open(TUN_DEV, O_RDWR | O_NONBLOCK | O_CLOEXEC); 74 if (mFd == -1) return -errno; 76 int ret = ioctl(mFd, TUNSETIFF, &ifr, sizeof(ifr)); 79 close(mFd); 86 close(mFd); 96 if (mFd != -1) { 97 close(mFd); 98 mFd = -1;
|
H A D | tun_interface.h | 41 int mFd = -1; member in class:android::net::TunInterface
|
/system/netd/libnetdutils/ |
H A D | UniqueFd.cpp | 27 std::swap(fd, mFd);
|
/system/core/libutils/ |
H A D | Printer.cpp | 99 mFd(fd), mIndent(indent), mPrefix(prefix ?: "") { 113 } else if (mFd < 0) { 114 ALOGW("%s: File descriptor out of range (%d)", __FUNCTION__, mFd); 119 dprintf(mFd, mFormatString, mPrefix, string);
|
/system/core/include/utils/ |
H A D | Printer.h | 79 int mFd; member in class:android::FdPrinter
|
/system/core/libutils/include/utils/ |
H A D | Printer.h | 79 int mFd; member in class:android::FdPrinter
|
Completed in 154 milliseconds