Lines Matching refs:StatusOr
37 StatusOr<UniqueFd>(const std::string& pathname, int flags, mode_t mode));
38 MOCK_CONST_METHOD3(socket, StatusOr<UniqueFd>(int domain, int type, int protocol));
47 MOCK_CONST_METHOD3(ioctl, StatusOr<ifreq>(Fd sock, unsigned long request, ifreq* ifr));
50 MOCK_CONST_METHOD2(eventfd, StatusOr<UniqueFd>(unsigned int initval, int flags));
51 MOCK_CONST_METHOD3(ppoll, StatusOr<int>(pollfd* fds, nfds_t nfds, double timeout));
53 MOCK_CONST_METHOD2(writev, StatusOr<size_t>(Fd fd, const std::vector<iovec>& iov));
54 MOCK_CONST_METHOD2(write, StatusOr<size_t>(Fd fd, const Slice buf));
55 MOCK_CONST_METHOD2(read, StatusOr<Slice>(Fd fd, const Slice buf));
56 MOCK_CONST_METHOD5(sendto, StatusOr<size_t>(Fd sock, const Slice buf, int flags,
58 MOCK_CONST_METHOD5(recvfrom, StatusOr<Slice>(Fd sock, const Slice dst, int flags, sockaddr* src,
64 StatusOr<UniqueFile>(const std::string& path, const std::string& mode));
65 MOCK_CONST_METHOD3(vfprintf, StatusOr<int>(FILE* file, const char* format, va_list ap));
66 MOCK_CONST_METHOD3(vfscanf, StatusOr<int>(FILE* file, const char* format, va_list ap));
68 MOCK_CONST_METHOD0(fork, StatusOr<pid_t>());