Lines Matching refs:buf
181 inline size_t os::restartable_read(int fd, void *buf, unsigned int nBytes) {
183 RESTARTABLE( (size_t) ::read(fd, buf, (size_t) nBytes), res);
187 inline size_t os::write(int fd, const void *buf, unsigned int nBytes) {
189 RESTARTABLE((size_t) ::write(fd, buf, (size_t) nBytes), res);
205 inline int os::recv(int fd, char* buf, size_t nBytes, uint flags) {
206 RESTARTABLE_RETURN_INT(::recv(fd, buf, nBytes, flags));
209 inline int os::send(int fd, char* buf, size_t nBytes, uint flags) {
210 RESTARTABLE_RETURN_INT(::send(fd, buf, nBytes, flags));
213 inline int os::raw_send(int fd, char* buf, size_t nBytes, uint flags) {
214 return os::send(fd, buf, nBytes, flags);
263 inline int os::recvfrom(int fd, char* buf, size_t nBytes, uint flags,
265 RESTARTABLE_RETURN_INT((int)::recvfrom(fd, buf, nBytes, flags, from, fromlen));
268 inline int os::sendto(int fd, char* buf, size_t len, uint flags,
270 RESTARTABLE_RETURN_INT((int)::sendto(fd, buf, len, flags, to, tolen));