Searched refs:bytesread (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/contrib/openbsm/bin/praudit/
H A Dpraudit.c88 int bytesread; local
101 bytesread = 0;
102 while (bytesread < reclen) {
104 if (-1 == au_fetch_tok(&tok, buf + bytesread,
105 reclen - bytesread))
108 bytesread += tok.len;
/freebsd-13-stable/contrib/openbsm/bin/auditfilterd/
H A Dauditfilterd.c141 u_int bytesread; local
145 while (bytesread < len) {
146 if (au_fetch_tok(&tokens[tokencount], data + bytesread,
147 len - bytesread) == -1)
149 bytesread += tokens[tokencount].len;
/freebsd-13-stable/usr.bin/gzip/
H A Dunpack.c156 ssize_t bytesread; /* Bytes read from the file */ local
164 bytesread = read(in, hdr + prelen, PACK_HEADER_LENGTH - prelen);
165 if (bytesread < 0)
167 infile_newdata(bytesread);
/freebsd-13-stable/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.c526 int bytesread; local
534 bytesread = 0;
536 while ((selected == 1) && (bytesread < reclen)) {
537 if (-1 == au_fetch_tok(&tok, buf + bytesread,
538 reclen - bytesread)) {
589 bytesread += tok.len;
/freebsd-13-stable/contrib/apr/file_io/unix/
H A Dreadwrite.c55 int bytesread = read(thefile->filedes, thefile->buffer, local
57 if (bytesread == 0) {
62 else if (bytesread == -1) {
66 thefile->dataRead = bytesread;
/freebsd-13-stable/contrib/openbsm/libbsm/
H A Dbsm_io.c86 #define READ_TOKEN_BYTES(buf, len, dest, size, bytesread, err) do { \
87 if ((bytesread) + (size) > (u_int32_t)(len)) { \
90 memcpy((dest), (buf) + (bytesread), (size)); \
91 bytesread += size; \
95 #define READ_TOKEN_U_CHAR(buf, len, dest, bytesread, err) do { \
96 if ((bytesread) + sizeof(u_char) <= (u_int32_t)(len)) { \
97 (dest) = buf[(bytesread)]; \
98 (bytesread) += sizeof(u_char); \
103 #define READ_TOKEN_U_INT16(buf, len, dest, bytesread, err) do { \
104 if ((bytesread)
[all...]

Completed in 124 milliseconds