Searched defs:borrowed_fd (Results 1 – 5 of 5) sorted by relevance
104 struct LIBBINDER_EXPORTED borrowed_fd { struct105 /* implicit */ borrowed_fd(int fd) : fd_(fd) {} // NOLINT in borrowed_fd() function106 /* implicit */ borrowed_fd(const unique_fd& ufd) : fd_(ufd.get()) {} // NOLINT in borrowed_fd() argument108 int get() const { return fd_; } in get()
104 struct LIBBINDER_EXPORTED borrowed_fd { struct105 /* implicit */ borrowed_fd(int fd) : fd_(fd) {} // NOLINT in borrowed_fd() argument106 /* implicit */ borrowed_fd(const unique_fd& ufd) : fd_(ufd.get()) {} // NOLINT in borrowed_fd() function108 int get() const { return fd_; } in get()
57 status_t setNonBlocking(borrowed_fd /*fd*/) { in setNonBlocking() argument88 const std::vector<std::variant<unique_fd, borrowed_fd>>* /* ancillaryFds */) { in sendMessageOnSocket() argument95 std::vector<std::variant<unique_fd, borrowed_fd>>* /* ancillaryFds */) { in receiveMessageFromSocket() argument
117 std::vector<std::variant<unique_fd, borrowed_fd>>* /*ancillaryFds*/) override { in interruptableReadFully() argument
106 Process(const std::function<void(borrowed_fd /* writeEnd */, borrowed_fd /* readEnd */)>& f) { in Process()