| /freebsd/crypto/openssl/test/ |
| H A D | quic_newcid_test.c | 59 size_t bytesread; in test_ncid_frame() local 82 &bytesread))) in test_ncid_frame() 90 if (!TEST_mem_eq(msg, msglen, buf, bytesread)) in test_ncid_frame() 121 if (!TEST_mem_eq(msg, msglen, buf, bytesread)) in test_ncid_frame() 129 &bytesread))) in test_ncid_frame() 133 if (!TEST_size_t_eq(bytesread, 0)) in test_ncid_frame() 136 if (!TEST_mem_eq(msg, msglen, buf, bytesread)) in test_ncid_frame()
|
| H A D | quicfaultstest.c | 32 size_t bytesread; in test_basic() local 48 if (!TEST_true(ossl_quic_tserver_read(qtserv, 0, buf, sizeof(buf), &bytesread))) in test_basic() 56 if (!TEST_mem_eq(msg, msglen, buf, bytesread)) in test_basic() 270 size_t bytesread, byteswritten; in test_corrupted_data() local 350 if (!TEST_true(SSL_read_ex(cssl, buf, sizeof(buf), &bytesread))) in test_corrupted_data() 353 if (!TEST_mem_eq(msg, msglen, buf, bytesread)) in test_corrupted_data()
|
| /freebsd/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/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/usr.bin/gzip/ |
| H A D | unpack.c | 153 ssize_t bytesread; /* Bytes read from the file */ in unpack_parse_header() local 161 bytesread = read(in, hdr + prelen, PACK_HEADER_LENGTH - prelen); in unpack_parse_header() 162 if (bytesread < 0) in unpack_parse_header() 164 infile_newdata(bytesread); in unpack_parse_header()
|
| /freebsd/contrib/openbsm/bin/auditreduce/ |
| H A D | auditreduce.c | 526 int bytesread; in select_records() local 534 bytesread = 0; in select_records() 536 while ((selected == 1) && (bytesread < reclen)) { in select_records() 537 if (-1 == au_fetch_tok(&tok, buf + bytesread, in select_records() 538 reclen - bytesread)) { in select_records() 589 bytesread += tok.len; in select_records()
|
| /freebsd/contrib/openbsm/libbsm/ |
| H A D | bsm_io.c | 86 #define READ_TOKEN_BYTES(buf, len, dest, size, bytesread, err) do { \ argument 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 { \ argument 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 { \ argument 104 if ((bytesread) + sizeof(u_int16_t) <= (u_int32_t)(len)) { \ [all …]
|