| /freebsd-10-stable/usr.sbin/kgzip/ |
| D | xio.c | 50 size_t nbyte, off_t offset) in xcopy() argument 55 while (nbyte) { in xcopy() 56 if ((n = sizeof(buf)) > nbyte) in xcopy() 57 n = nbyte; in xcopy() 61 nbyte -= n; in xcopy() 70 xzero(const struct iodesc * id, size_t nbyte) in xzero() argument 76 while (nbyte) { in xzero() 77 if ((n = sizeof(buf)) > nbyte) in xzero() 78 n = nbyte; in xzero() 80 nbyte -= n; in xzero() [all …]
|
| /freebsd-10-stable/crypto/openssl/crypto/pem/ |
| D | pvkfmt.c | 94 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r) in read_lebn() argument 99 p = *in + nbyte - 1; in read_lebn() 100 tmpbuf = OPENSSL_malloc(nbyte); in read_lebn() 104 for (i = 0; i < nbyte; i++) in read_lebn() 106 *r = BN_bin2bn(tmpbuf, nbyte, NULL); in read_lebn() 109 *in += nbyte; in read_lebn() 210 unsigned int nbyte, hnbyte; in blob_length() local 211 nbyte = (bitlen + 7) >> 3; in blob_length() 220 return 44 + 3 * nbyte; in blob_length() 226 return 64 + 2 * nbyte; in blob_length() [all …]
|
| /freebsd-10-stable/tools/tools/kttcp/sys/ |
| D | kttcp.c | 146 static int nbyte = 65536; variable 175 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_send() 176 aiov.iov_len = nbyte; in kttcp_send() 177 auio.uio_resid = nbyte; in kttcp_send() 223 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_recv() 224 aiov.iov_len = nbyte; in kttcp_recv() 225 auio.uio_resid = nbyte; in kttcp_recv()
|
| /freebsd-10-stable/lib/libc/sys/ |
| D | pwrite.c | 46 pwrite(fd, buf, nbyte, offset) in pwrite() argument 49 size_t nbyte; 53 return (__sys_pwrite(fd, buf, nbyte, offset)); 55 return (__sys_freebsd6_pwrite(fd, buf, nbyte, 0, offset));
|
| D | pread.c | 46 pread(fd, buf, nbyte, offset) in pread() argument 49 size_t nbyte; 54 return (__sys_pread(fd, buf, nbyte, offset)); 56 return (__sys_freebsd6_pread(fd, buf, nbyte, 0, offset));
|
| /freebsd-10-stable/sys/boot/common/ |
| D | ufsread.c | 168 fsread_size(ufs_ino_t inode, void *buf, size_t nbyte, size_t *fsizep) in fsread_size() argument 189 if ((buf == NULL && nbyte != 0) || dmadat == NULL) in fsread_size() 258 if (nbyte > n) in fsread_size() 259 nbyte = n; in fsread_size() 260 nb = nbyte; in fsread_size() 317 return nbyte; in fsread_size() 321 fsread(ufs_ino_t inode, void *buf, size_t nbyte) in fsread() argument 324 return fsread_size(inode, buf, nbyte, NULL); in fsread()
|
| /freebsd-10-stable/sys/compat/svr4/ |
| D | svr4_filio.c | 116 ra.nbyte = uap->nbyte; 139 uap->fd, uap->buf, uap->nbyte, rv)); 181 wa.nbyte = uap->nbyte; 186 uap->fd, uap->buf, uap->nbyte, rv));
|
| D | svr4_fcntl.c | 516 pra.nbyte = uap->nbyte; 540 pra.nbyte = uap->nbyte; 561 pwa.nbyte = uap->nbyte; 584 pwa.nbyte = uap->nbyte;
|
| /freebsd-10-stable/usr.sbin/btxld/ |
| D | btxld.c | 446 copy(int fdi, int fdo, size_t nbyte, off_t offset) in copy() argument 451 while (nbyte) { in copy() 452 if ((n = sizeof(buf)) > nbyte) in copy() 453 n = nbyte; in copy() 457 nbyte -= n; in copy() 466 readx(int fd, void *buf, size_t nbyte, off_t offset) in readx() argument 472 if ((n = read(fd, buf, nbyte)) == -1) in readx() 481 writex(int fd, const void *buf, size_t nbyte) in writex() argument 485 if ((n = write(fd, buf, nbyte)) == -1) in writex() 487 if ((size_t)n != nbyte) in writex()
|
| /freebsd-10-stable/lib/libstand/ |
| D | dosfs.c | 240 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid) in dos_read() argument 247 nb = (u_int)nbyte; in dos_read() 286 *resid = nbyte - nb + cnt; in dos_read() 714 ioread(DOS_FS *fs, u_int offset, void *buf, u_int nbyte) in ioread() argument 726 if ((n = SECSIZ - off) > nbyte) in ioread() 727 n = nbyte; in ioread() 730 nbyte -= n; in ioread() 732 n = nbyte & (SECSIZ - 1); in ioread() 733 if (nbyte -= n) { in ioread() 734 if ((err = ioget(fs->fd, bytsec(offset), s, bytsec(nbyte)))) in ioread() [all …]
|
| /freebsd-10-stable/sys/kern/ |
| D | sys_generic.c | 165 size_t nbyte; member 177 if (uap->nbyte > IOSIZE_MAX) 180 aiov.iov_len = uap->nbyte; 183 auio.uio_resid = uap->nbyte; 196 size_t nbyte; member 210 if (uap->nbyte > IOSIZE_MAX) 213 aiov.iov_len = uap->nbyte; 216 auio.uio_resid = uap->nbyte; 231 oargs.nbyte = uap->nbyte; 377 size_t nbyte; member [all …]
|
| /freebsd-10-stable/contrib/apr-util/include/ |
| D | apr_buckets.h | 828 const char *str, apr_size_t nbyte); 1364 apr_size_t nbyte, 1376 apr_size_t nbyte); 1386 apr_size_t nbyte, 1398 apr_size_t nbyte); 1415 apr_size_t nbyte, 1428 apr_size_t nbyte,
|
| /freebsd-10-stable/tools/tools/vhba/lots/ |
| D | vhba_lots.c | 126 unsigned int nbyte; in vhbalots_act() local 250 nbyte = (char *)ptr - &junk[0]; in vhbalots_act() 251 ptr[0] = nbyte - 4; in vhbalots_act() 259 data_len = min(data_len, nbyte); in vhbalots_act()
|
| /freebsd-10-stable/tools/tools/vhba/medium/ |
| D | vhba_medium.c | 126 unsigned int nbyte; in vhbamedium_act() local 250 nbyte = (char *)ptr - &junk[0]; in vhbamedium_act() 251 ptr[0] = nbyte - 4; in vhbamedium_act() 259 data_len = min(data_len, nbyte); in vhbamedium_act()
|
| /freebsd-10-stable/tools/tools/vhba/simple/ |
| D | vhba_simple.c | 126 unsigned int nbyte; in vhbasimple_act() local 250 nbyte = (char *)ptr - &junk[0]; in vhbasimple_act() 251 ptr[0] = nbyte - 4; in vhbasimple_act() 259 data_len = min(data_len, nbyte); in vhbasimple_act()
|
| /freebsd-10-stable/sys/boot/i386/boot2/ |
| D | boot2.c | 146 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 148 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread() 199 size_t nbyte; in main() local 217 nbyte = fsread(ino, cmd, sizeof(cmd) - 1); in main() 218 cmd[nbyte] = '\0'; in main()
|
| /freebsd-10-stable/tools/tools/vhba/rptluns/ |
| D | vhba_rptluns.c | 155 unsigned int nbyte; in vhbarptluns_act() local 279 nbyte = (char *)ptr - &junk[0]; in vhbarptluns_act() 280 ptr[0] = nbyte - 4; in vhbarptluns_act() 288 data_len = min(data_len, nbyte); in vhbarptluns_act()
|
| /freebsd-10-stable/tools/tools/vhba/faulty/ |
| D | vhba_faulty.c | 140 unsigned int nbyte; in faulty_act() local 264 nbyte = (char *)ptr - &junk[0]; in faulty_act() 265 ptr[0] = nbyte - 4; in faulty_act() 273 data_len = min(data_len, nbyte); in faulty_act()
|
| /freebsd-10-stable/sys/boot/arm/at91/boot2/ |
| D | boot2.c | 77 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 79 if ((size_t)fsread(inode, buf, nbyte) != nbyte) in xfsread()
|
| /freebsd-10-stable/sys/boot/pc98/boot2/ |
| D | boot2.c | 148 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 150 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread() 328 size_t nbyte; in main() local 356 nbyte = fsread(ino, cmd, sizeof(cmd) - 1); in main() 357 cmd[nbyte] = '\0'; in main()
|
| /freebsd-10-stable/contrib/apr-util/buckets/ |
| D | apr_brigade.c | 432 const char *str, apr_size_t nbyte) in apr_brigade_write() argument 451 if (nbyte > remaining) { in apr_brigade_write() 456 e = apr_bucket_transient_create(str, nbyte, b->bucket_alloc); in apr_brigade_write() 461 e = apr_bucket_heap_create(str, nbyte, NULL, b->bucket_alloc); in apr_brigade_write() 482 memcpy(buf, str, nbyte); in apr_brigade_write() 483 e->length += nbyte; in apr_brigade_write()
|
| /freebsd-10-stable/contrib/tcsh/ |
| D | sh.misc.c | 655 xread(int fildes, void *buf, size_t nbyte) in xread() argument 664 while ((res = read(fildes, buf, nbyte)) == -1 && errno == EINTR); in xread() 683 xwrite(int fildes, const void *buf, size_t nbyte) in xwrite() argument 692 while ((res = write(fildes, buf, nbyte)) == -1 && errno == EINTR); in xwrite()
|
| /freebsd-10-stable/tools/tools/vhba/mptest/ |
| D | vhba_mptest.c | 166 unsigned int nbyte; in mptest_act() local 290 nbyte = (char *)ptr - &junk[0]; in mptest_act() 291 ptr[0] = nbyte - 4; in mptest_act() 299 data_len = min(data_len, nbyte); in mptest_act()
|
| /freebsd-10-stable/sys/boot/arm/ixp425/boot2/ |
| D | boot2.c | 78 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 80 if ((size_t)fsread(inode, buf, nbyte) != nbyte) in xfsread()
|
| /freebsd-10-stable/sys/boot/i386/gptboot/ |
| D | gptboot.c | 95 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 98 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread()
|