Lines Matching defs:const
44 StatusOr<UniqueFd> open(const std::string& pathname, int flags, mode_t mode) const override { in open()
52 StatusOr<UniqueFd> socket(int domain, int type, int protocol) const override { in socket()
60 Status getsockname(Fd sock, sockaddr* addr, socklen_t* addrlen) const override { in getsockname()
69 socklen_t* optlen) const override { in getsockopt()
78 socklen_t optlen) const override { in setsockopt()
86 Status bind(Fd sock, const sockaddr* addr, socklen_t addrlen) const override { in bind()
94 Status connect(Fd sock, const sockaddr* addr, socklen_t addrlen) const override { in connect()
102 StatusOr<ifreq> ioctl(Fd sock, unsigned long request, ifreq* ifr) const override { in ioctl()
110 StatusOr<UniqueFd> eventfd(unsigned int initval, int flags) const override { in eventfd()
118 StatusOr<int> ppoll(pollfd* fds, nfds_t nfds, double timeout) const override { in ppoll()
129 StatusOr<size_t> writev(Fd fd, const std::vector<iovec>& iov) const override { in writev() argument
137 StatusOr<size_t> write(Fd fd, const Slice buf) const override { in write() argument
145 StatusOr<Slice> read(Fd fd, const Slice buf) const override { in read() argument
154 socklen_t dstlen) const override { in sendto()
163 socklen_t* srclen) const override { in recvfrom()
174 Status shutdown(Fd fd, int how) const override { in shutdown()
182 Status close(Fd fd) const override { in close()
190 StatusOr<UniqueFile> fopen(const std::string& path, const std::string& mode) const override { in fopen() argument
206 StatusOr<int> vfprintf(FILE* file, const char* format, va_list ap) const override { in vfprintf()
214 StatusOr<int> vfscanf(FILE* file, const char* format, va_list ap) const override { in vfscanf()
222 Status fclose(FILE* file) const override { in fclose()