Lines Matching refs:ssize_t
156 static ssize_t read_wincon(int fd, void *buf, size_t count) in read_wincon()
188 static ssize_t write_wincon(int fd, const void *buf, size_t count) in write_wincon()
232 static ssize_t fullread(int filedes, void *buffer, size_t nbytes) in fullread()
235 ssize_t nread = 0; in fullread()
238 ssize_t rc = read(filedes, in fullread()
283 static ssize_t fullwrite(int filedes, const void *buffer, size_t nbytes) in fullwrite()
286 ssize_t nwrite = 0; in fullwrite()
289 ssize_t wc = write(filedes, (const unsigned char *)buffer + nwrite, in fullwrite()
331 ssize_t nread = fullread(fileno(stdin), buffer, nbytes); in read_stdin()
332 if(nread != (ssize_t)nbytes) { in read_stdin()
348 ssize_t nwrite = fullwrite(fileno(stdout), buffer, nbytes); in write_stdout()
349 if(nwrite != (ssize_t)nbytes) { in write_stdout()
356 static void lograw(unsigned char *buffer, ssize_t len) in lograw()
359 ssize_t i; in lograw()
362 ssize_t width = 0; in lograw()
404 static bool read_data_block(unsigned char *buffer, ssize_t maxlen, in read_data_block()
405 ssize_t *buffer_len) in read_data_block()
412 *buffer_len = (ssize_t)strtol((char *)buffer, NULL, 16); in read_data_block()
913 ssize_t buffer_len; in disc_handshake()
972 ssize_t rc; in juggle()
1076 ssize_t buffer_len; in juggle()
1108 buffer_len = (ssize_t)strlen((char *)buffer); in juggle()
1132 ssize_t bytes_written = swrite(sockfd, buffer, buffer_len); in juggle()
1160 ssize_t nread_socket; in juggle()