Searched refs:mFd (Results 1 - 10 of 10) sorted by relevance

/system/netd/libnetdutils/include/netdutils/
H A DUniqueFd.h40 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 DFd.h33 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 DDumpWriter.cpp37 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 DDumpWriter.h40 int mFd; member in class:android::net::DumpWriter
/system/netd/tests/
H A Dtun_interface.cpp73 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 Dtun_interface.h41 int mFd = -1; member in class:android::net::TunInterface
/system/netd/libnetdutils/
H A DUniqueFd.cpp27 std::swap(fd, mFd);
/system/core/libutils/
H A DPrinter.cpp99 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 DPrinter.h79 int mFd; member in class:android::FdPrinter
/system/core/libutils/include/utils/
H A DPrinter.h79 int mFd; member in class:android::FdPrinter

Completed in 159 milliseconds