/freebsd-10-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-10-stable/sys/ofed/include/linux/ |
H A D | random.h | 37 get_random_bytes(void *buf, int nbytes) argument 39 if (read_random(buf, nbytes) == 0) 40 arc4rand(buf, nbytes, 0);
|
/freebsd-10-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-10-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-10-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-10-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-10-stable/contrib/ntp/include/ |
H A D | ntp_random.h | 5 int ntp_crypto_random_buf(void *buf, size_t nbytes);
|
/freebsd-10-stable/contrib/expat/xmlwf/ |
H A D | readfilemap.c | 49 size_t nbytes; local 70 nbytes = sb.st_size; 71 /* malloc will return NULL with nbytes == 0, handle files with size 0 */ 72 if (nbytes == 0) { 78 p = malloc(nbytes); 84 n = read(fd, p, nbytes); 91 if (n != nbytes) { 97 processor(p, nbytes, name, arg);
|
H A D | unixfilemap.c | 26 size_t nbytes; local 46 nbytes = sb.st_size; 48 if (nbytes == 0) { 54 p = (void *)mmap((void *)0, (size_t)nbytes, PROT_READ, 61 processor(p, nbytes, name, arg); 62 munmap((void *)p, nbytes);
|
/freebsd-10-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-10-stable/lib/libkse/thread/ |
H A D | thr_read.c | 43 ssize_t __read(int fd, void *buf, size_t nbytes); 48 __read(int fd, void *buf, size_t nbytes) argument 54 ret = __sys_read(fd, buf, nbytes);
|
H A D | thr_write.c | 40 __ssize_t __write(int fd, const void *buf, size_t nbytes); 45 __write(int fd, const void *buf, size_t nbytes) argument 51 ret = __sys_write(fd, buf, nbytes);
|
/freebsd-10-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-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_random_private.h | 34 int archive_random(void *buf, size_t nbytes);
|
/freebsd-10-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 404 apr_size_t nbytes; local [all...] |
/freebsd-10-stable/lib/libc/locale/ |
H A D | wcsnrtombs.c | 65 size_t nbytes; local 70 nbytes = 0; 78 return (nbytes + nb - 1); 80 nbytes += nb; 82 return (nbytes); 114 return (nbytes + nb - 1); 119 nbytes += nb; 122 return (nbytes);
|
/freebsd-10-stable/contrib/llvm/lib/Target/NVPTX/ |
H A D | NVPTXutil.cpp | 36 static int encode_leb128(uint64_t val, int *nbytes, char *space, int splen) { argument 53 *nbytes = a - space; 73 int nbytes; local 75 int retval = encode_leb128(temp64.x, &nbytes, encoded, 16); 80 assert(nbytes <= 8 && 84 for (int i = 0; i < nbytes; ++i)
|
/freebsd-10-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-10-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
|