Lines Matching refs:buf
177 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) {
179 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
183 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
185 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
201 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) {
202 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags));
205 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) {
206 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags));
209 inline int os::raw_send(int fd, char* buf, size_t nBytes, uint flags) {
210 return os::send(fd, buf, nBytes, flags);
258 inline int os::recvfrom(int fd, char* buf, size_t nBytes, uint flags,
260 RESTARTABLE_RETURN_INT((int)::recvfrom(fd, buf, nBytes, flags, from, fromlen));
263 inline int os::sendto(int fd, char* buf, size_t len, uint flags,
265 RESTARTABLE_RETURN_INT((int)::sendto(fd, buf, len, flags, to, tolen));