Lines Matching full:virtual
31 virtual ~Sys() = default;
33 virtual int open(const char* pathname, int flags) const = 0;
34 virtual int read(int fd, void* buf, std::size_t count) const = 0;
35 virtual int pread(int fd, void* buf, std::size_t count,
37 virtual int pwrite(int fd, const void* buf, std::size_t count,
39 virtual int close(int fd) const = 0;
40 virtual void* mmap(void* addr, std::size_t length, int prot, int flags,
42 virtual int munmap(void* addr, std::size_t length) const = 0;
43 virtual int getpagesize() const = 0;
44 virtual int ioctl(int fd, unsigned long request, void* param) const = 0;
45 virtual int poll(struct pollfd* fds, nfds_t nfds, int timeout) const = 0;
46 virtual int socket(int domain, int type, int protocol) const = 0;
47 virtual int connect(int sockfd, const struct sockaddr* addr,
49 virtual ssize_t send(int sockfd, const void* buf, size_t len,
51 virtual ssize_t sendfile(int out_fd, int in_fd, off_t* offset,
53 virtual int getaddrinfo(const char* node, const char* service,
56 virtual void freeaddrinfo(struct addrinfo* res) const = 0;
57 virtual std::int64_t getSize(const char* pathname) const = 0;