Home | History | Annotate | Download | only in adb

Lines Matching refs:fd

25 bool SendOkay(int fd);
28 bool SendFail(int fd, const std::string& reason);
31 bool SendProtocolString(int fd, const std::string& s);
34 bool ReadProtocolString(int fd, std::string* s, std::string* error);
36 // Reads exactly len bytes from fd into buf.
42 bool ReadFdExactly(int fd, void* buf, size_t len);
60 bool ReadOrderlyShutdown(int fd);
62 // Writes exactly len bytes from buf to fd.
64 // Returns false if there is an error or if the fd was closed before the write
65 // completed. If the other end of the fd (such as in a socket, pipe, or fifo),
67 bool WriteFdExactly(int fd, const void* buf, size_t len);
70 bool WriteFdExactly(int fd, const char* s);
71 bool WriteFdExactly(int fd, const std::string& s);
74 bool WriteFdFmt(int fd, const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3)));