Home
last modified time | relevance | path

Searched refs:numbytes (Results 1 – 11 of 11) sorted by relevance

/freebsd-13.1/contrib/ipfilter/
H A Darc4random.c216 int left, numbytes; in ipf_rand_push() local
218 numbytes = pot + sizeof(pot) - pottail; in ipf_rand_push()
219 bcopy(md5ctx.buf, pottail, numbytes); in ipf_rand_push()
220 left = sizeof(md5ctx.buf) - numbytes; in ipf_rand_push()
246 int left, numbytes; in ipf_read_random() local
249 numbytes = pot + sizeof(pot) - pothead; in ipf_read_random()
250 bcopy(pothead, dest, numbytes); in ipf_read_random()
251 left -= numbytes; in ipf_read_random()
/freebsd-13.1/libexec/bootpd/
H A Ddovend.c324 int length, numbytes; local
343 numbytes = srcptr[1] + 2;
344 if (*bytesleft < numbytes)
345 skipped += numbytes;
347 bcopy(srcptr, *buff, numbytes);
348 (*buff) += numbytes;
349 (*bytesleft) -= numbytes;
351 srcptr += numbytes;
352 length -= numbytes;
/freebsd-13.1/crypto/openssl/crypto/rand/
H A Drand_egd.c64 int mybuffer, ret = -1, i, numbytes, fd;
118 numbytes = tempbuf[0];
126 i = fread(buf, sizeof(char), numbytes, fp);
127 if (i < numbytes)
129 ret = numbytes;
/freebsd-13.1/sys/libkern/
H A Darc4random.c66 int numbytes; member
142 chacha20->numbytes = 0; in chacha20_randomstir()
164 chacha20->numbytes = 0;
208 if ((chacha20->numbytes > CHACHA20_RESEED_BYTES) || (tv.tv_sec > chacha20->t_reseed))
228 chacha20->numbytes += length;
229 if (chacha20->numbytes > CHACHA20_RESEED_BYTES) {
/freebsd-13.1/sys/cam/ctl/
H A Dctl_tpc.c885 if (numbytes == 0) in tpc_process_b2b()
888 if (numbytes % srcblock != 0 || numbytes % dstblock != 0) { in tpc_process_b2b()
897 list->segbytes = numbytes; in tpc_process_b2b()
902 while (donebytes < numbytes) { in tpc_process_b2b()
1236 numbytes = srcblock * in tpc_process_wut()
1238 numbytes = omin(numbytes, dstblock * in tpc_process_wut()
1242 numbytes -= numbytes % dstblock; in tpc_process_wut()
1245 if (numbytes > adj) in tpc_process_wut()
1246 numbytes -= adj; in tpc_process_wut()
1250 if (numbytes % srcblock != 0 || numbytes % dstblock != 0) { in tpc_process_wut()
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/test/
H A Dtest_fuzz.c158 int j, numbytes, trycnt; in test_fuzz() local
165 numbytes = (int)(rand() % q); in test_fuzz()
166 for (j = 0; j < numbytes; ++j) in test_fuzz()
/freebsd-13.1/sys/netpfil/ipfw/
H A Dip_dn_glue.c143 u_long numbytes; member
182 int numbytes; member
207 uint64_t numbytes ; /* credit for transmission (dynamic queues) */ member
248 int64_t numbytes; /* bits I can transmit (more or less). */ member
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dstream.c340 apr_size_t numbytes; in stream_readline_bytewise() local
354 numbytes = 1; in stream_readline_bytewise()
355 SVN_ERR(svn_stream_read_full(stream, &c, &numbytes)); in stream_readline_bytewise()
356 if (numbytes != 1) in stream_readline_bytewise()
H A Dio.c5672 apr_size_t numbytes; in svn_io_file_readline() local
5682 numbytes = 1; in svn_io_file_readline()
5688 SVN_ERR(svn_io_file_read_full2(file, &c, sizeof(c), &numbytes, in svn_io_file_readline()
5691 if (numbytes != 1 || len > max_len) in svn_io_file_readline()
5711 SVN_ERR(svn_io_file_read_full2(file, &c, sizeof(c), &numbytes, in svn_io_file_readline()
5713 if (numbytes == 1 && c == '\n') in svn_io_file_readline()
5723 numbytes = 1; in svn_io_file_readline()
/freebsd-13.1/stand/libsa/
H A Dpkgfs.c98 char numbytes[12]; member
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_read_support_format_tar.c78 char numbytes[12]; member
2375 tar_atol(sparse->numbytes, sizeof(sparse->numbytes))) in gnu_sparse_old_parse()