/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | swab.c | 40 swab (char *from, char *to, int nbytes) argument 42 while(nbytes >= 2) { 47 nbytes -= 2;
|
H A D | eread.c | 43 eread (int fd, void *buf, size_t nbytes) argument 47 ret = net_read (fd, buf, nbytes);
|
H A D | ewrite.c | 43 ewrite (int fd, const void *buf, size_t nbytes) argument 47 ret = net_write (fd, buf, nbytes);
|
H A D | net_read.c | 45 net_read (rk_socket_t fd, void *buf, size_t nbytes) argument 49 size_t rem = nbytes; 64 return nbytes; 70 net_read(rk_socket_t sock, void *buf, size_t nbytes) argument 74 size_t rem = nbytes; 115 return nbytes;
|
H A D | net_write.c | 45 net_write (rk_socket_t fd, const void *buf, size_t nbytes) argument 49 size_t rem = nbytes; 62 return nbytes; 68 net_write(rk_socket_t sock, const void *buf, size_t nbytes) argument 72 size_t rem = nbytes; 104 return nbytes;
|
/freebsd-11-stable/lib/libcasper/services/cap_random/ |
H A D | cap_random.h | 35 int cap_random_buf(cap_channel_t *chan, void *buf, size_t nbytes);
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | sockstream.h | 34 ssize_t stream_read(int fd, void *buf, ssize_t nbytes); 35 ssize_t stream_write(int fd, const void *buf, ssize_t nbytes);
|
H A D | sockstream.c | 42 stream_read(int fd, void *buf, ssize_t nbytes) argument 50 while (len < nbytes) { 51 n = read(fd, p + len, nbytes - len); 66 stream_write(int fd, const void *buf, ssize_t nbytes) argument 74 while (len < nbytes) { 75 n = write(fd, p + len, nbytes - len);
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | ntp_crypto_rnd.c | 30 arc4random_buf(void *buf, size_t nbytes); 33 evutil_secure_rng_get_bytes(void *buf, size_t nbytes); 36 arc4random_buf(void *buf, size_t nbytes) argument 38 evutil_secure_rng_get_bytes(buf, nbytes); 91 size_t nbytes 97 rc = RAND_bytes(buf, size2int_chk(nbytes)); 111 arc4random_buf(buf, nbytes);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/speculation/ |
H A D | err.D_ACT_SPEC.SpeculateWithCopyOut.d | 43 size_t nbytes; 48 nbytes = 10; 57 copyout(buf, addr, nbytes);
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | random.h | 39 get_random_bytes(void *buf, int nbytes) argument 42 if (read_random(buf, nbytes) == 0) 43 arc4rand(buf, nbytes, 0);
|
/freebsd-11-stable/secure/usr.bin/bdes/ |
H A D | bdes.c | 674 int nbytes; /* number of bytes to read */ local 682 nbytes = fbbits / 8; 686 for (bn = 1; (n = READ(ibuf, nbytes)) == nbytes; bn++) { 689 for (n = 0; n < 8 - nbytes; n++) 690 ivec[n] = ivec[n+nbytes]; 691 for (n = 0; n < nbytes; n++) 692 ivec[8 - nbytes + n] = ibuf[n] ^ msgbuf[n]; 693 WRITE(&ivec[8 - nbytes], nbytes); 717 int nbytes; /* number of bytes to read */ local 763 int nbytes; /* number of bytes to read */ local 809 int nbytes; /* number of bytes to read */ local 857 int nbytes; /* number of bytes to read */ local 903 int nbytes; /* number of bytes to read */ local 952 int nbytes; /* number of bytes to read */ local [all...] |
/freebsd-11-stable/contrib/ntp/include/ |
H A D | ntp_random.h | 5 int ntp_crypto_random_buf(void *buf, size_t nbytes);
|
/freebsd-11-stable/lib/libc/sys/ |
H A D | read.c | 45 read(int fd, void *buf, size_t nbytes) argument 49 __libc_interposing[INTERPOS_read])(fd, buf, nbytes));
|
H A D | write.c | 45 write(int fd, const void *buf, size_t nbytes) argument 49 __libc_interposing[INTERPOS_write])(fd, buf, nbytes));
|
/freebsd-11-stable/contrib/groff/src/libs/libbib/ |
H A D | map.c | 41 char *mapread(int fd, int nbytes) argument 43 char *p = (char *)mmap((void *)0, (size_t)nbytes, PROT_READ, 70 char *mapread(int fd, int nbytes) argument
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | fmemopen.c | 47 static int fmemopen_read(void *cookie, char *buf, int nbytes); 48 static int fmemopen_write(void *cookie, const char *buf, int nbytes); 165 fmemopen_read(void *cookie, char *buf, int nbytes) argument 169 if (nbytes > ck->len - ck->off) 170 nbytes = ck->len - ck->off; 172 if (nbytes == 0) 175 memcpy(buf, ck->buf + ck->off, nbytes); 177 ck->off += nbytes; 179 return (nbytes); 183 fmemopen_write(void *cookie, const char *buf, int nbytes) argument [all...] |
/freebsd-11-stable/contrib/libarchive/libarchive/ |
H A D | archive_random_private.h | 34 int archive_random(void *buf, size_t nbytes);
|
/freebsd-11-stable/contrib/apr/file_io/unix/ |
H A D | fullrw.c | 21 apr_size_t nbytes, 28 apr_size_t amt = nbytes; 32 nbytes -= amt; 34 } while (status == APR_SUCCESS && nbytes > 0); 44 apr_size_t nbytes, 51 apr_size_t amt = nbytes; 55 nbytes -= amt; 57 } while (status == APR_SUCCESS && nbytes > 0);
|
H A D | readwrite.c | 29 apr_size_t *nbytes) 34 apr_uint64_t size = *nbytes; 78 *nbytes = pos - (char *)buf; 79 if (*nbytes) { 85 APR_DECLARE(apr_status_t) apr_file_read(apr_file_t *thefile, void *buf, apr_size_t *nbytes) 90 if (*nbytes <= 0) { 91 *nbytes = 0; 97 rv = file_read_buffered(thefile, buf, nbytes); 107 (*nbytes)--; 109 if (*nbytes 28 file_read_buffered(apr_file_t *thefile, void *buf, apr_size_t *nbytes) argument 286 apr_size_t nbytes = 1; local 299 apr_size_t nbytes = 1; local 406 apr_size_t nbytes; local [all...] |
/freebsd-11-stable/lib/libc/locale/ |
H A D | wcsnrtombs.c | 68 size_t nbytes; local 72 nbytes = 0; 80 return (nbytes + nb - 1); 82 nbytes += nb; 84 return (nbytes); 116 return (nbytes + nb - 1); 121 nbytes += nb; 124 return (nbytes);
|
/freebsd-11-stable/contrib/expat/xmlwf/ |
H A D | unixfilemap.c | 60 size_t nbytes; local 84 nbytes = sb.st_size; 86 if (nbytes == 0) { 92 p = (void *)mmap((void *)0, (size_t)nbytes, PROT_READ, MAP_FILE | MAP_PRIVATE, 99 processor(p, nbytes, name, arg); 100 munmap((void *)p, nbytes);
|
H A D | readfilemap.c | 83 size_t nbytes; local 109 nbytes = sb.st_size; 110 /* malloc will return NULL with nbytes == 0, handle files with size 0 */ 111 if (nbytes == 0) { 117 p = malloc(nbytes); 123 n = _EXPAT_read(fd, p, (_EXPAT_read_req_t)nbytes); 130 if (n != (_EXPAT_read_count_t)nbytes) { 136 processor(p, nbytes, name, arg);
|
/freebsd-11-stable/bin/sh/ |
H A D | memalloc.c | 56 ckmalloc(size_t nbytes) argument 61 p = malloc(nbytes); 74 ckrealloc(pointer p, int nbytes) argument 77 p = realloc(p, nbytes); 135 stnewblock(int nbytes) argument 140 if (nbytes < MINSIZE) 141 nbytes = MINSIZE; 143 allocsize = ALIGN(sizeof(struct stack_block)) + ALIGN(nbytes); 157 stalloc(int nbytes) argument 161 nbytes [all...] |
/freebsd-11-stable/sys/netinet/libalias/ |
H A D | alias_util.c | 75 int nbytes) 81 while (nbytes > 1) { 83 nbytes -= 2; 85 if (nbytes == 1) { 111 int nhdr, ntcp, nbytes; local 121 nbytes = ntcp; 123 while (nbytes > 1) { 125 nbytes -= 2; 127 if (nbytes == 1) { 74 LibAliasInternetChecksum(struct libalias *la __unused, u_short * ptr, int nbytes) argument
|