Searched refs:bytesread (Results 1 – 7 of 7) sorted by relevance
| /freebsd-12.1/contrib/openbsm/bin/praudit/ |
| H A D | praudit.c | 88 int bytesread; in print_tokens() local 101 bytesread = 0; in print_tokens() 102 while (bytesread < reclen) { in print_tokens() 104 if (-1 == au_fetch_tok(&tok, buf + bytesread, in print_tokens() 105 reclen - bytesread)) in print_tokens() 108 bytesread += tok.len; in print_tokens()
|
| /freebsd-12.1/contrib/openbsm/bin/auditfilterd/ |
| H A D | auditfilterd.c | 141 u_int bytesread; in present_tokens() local 145 while (bytesread < len) { in present_tokens() 146 if (au_fetch_tok(&tokens[tokencount], data + bytesread, in present_tokens() 147 len - bytesread) == -1) in present_tokens() 149 bytesread += tokens[tokencount].len; in present_tokens()
|
| /freebsd-12.1/usr.bin/gzip/ |
| H A D | unpack.c | 156 ssize_t bytesread; /* Bytes read from the file */ in unpack_parse_header() local 167 bytesread = read(in, hdr + prelen, PACK_HEADER_LENGTH - prelen); in unpack_parse_header() 168 if (bytesread < 0) in unpack_parse_header() 170 infile_newdata(bytesread); in unpack_parse_header()
|
| /freebsd-12.1/contrib/openbsm/bin/auditreduce/ |
| H A D | auditreduce.c | 506 int bytesread; in select_records() local 514 bytesread = 0; in select_records() 516 while ((selected == 1) && (bytesread < reclen)) { in select_records() 517 if (-1 == au_fetch_tok(&tok, buf + bytesread, in select_records() 518 reclen - bytesread)) { in select_records() 565 bytesread += tok.len; in select_records()
|
| /freebsd-12.1/contrib/apr/file_io/unix/ |
| H A D | readwrite.c | 55 int bytesread = read(thefile->filedes, thefile->buffer, in file_read_buffered() local 57 if (bytesread == 0) { in file_read_buffered() 62 else if (bytesread == -1) { in file_read_buffered() 66 thefile->dataRead = bytesread; in file_read_buffered()
|
| /freebsd-12.1/gnu/usr.bin/grep/ |
| H A D | grep.c | 458 ssize_t bytesread; in fillbuf() local 463 bytesread = BZ2_bzRead (&bzerr, bzbufdesc, readbuf, readsize); in fillbuf() 474 bytesread = read (bufdesc, readbuf, readsize); in fillbuf() 477 bytesread = 0; in fillbuf() 484 bytesread = gzread (gzbufdesc, readbuf, readsize); in fillbuf() 487 bytesread = read (bufdesc, readbuf, readsize); in fillbuf() 488 while (bytesread < 0 && errno == EINTR); in fillbuf() 489 if (bytesread < 0) in fillbuf() 492 fillsize = bytesread; in fillbuf()
|
| /freebsd-12.1/contrib/openbsm/libbsm/ |
| H A D | bsm_io.c | 91 bytesread += size; \ 97 (dest) = buf[(bytesread)]; \ 98 (bytesread) += sizeof(u_char); \ 105 (dest) = be16dec((buf) + (bytesread)); \ 106 (bytesread) += sizeof(u_int16_t); \ 113 (dest) = be32dec((buf) + (bytesread)); \ 114 (bytesread) += sizeof(u_int32_t); \ 121 dest = be64dec((buf) + (bytesread)); \ 122 (bytesread) += sizeof(u_int64_t); \ 131 (ptr) = (buf) + (bytesread); \ [all …]
|