| /freebsd-13-stable/crypto/openssl/crypto/pem/ |
| HD | pvkfmt.c | 45 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r) in read_lebn() argument 47 *r = BN_lebin2bn(*in, nbyte, NULL); in read_lebn() 50 *in += nbyte; in read_lebn() 151 unsigned int nbyte, hnbyte; in blob_length() local 152 nbyte = (bitlen + 7) >> 3; in blob_length() 161 return 44 + 3 * nbyte; in blob_length() 167 return 64 + 2 * nbyte; in blob_length() 171 return 4 + nbyte; in blob_length() 177 return 4 + 2 * nbyte + 5 * hnbyte; in blob_length() 251 unsigned int nbyte; in b2i_dss() local [all …]
|
| /freebsd-13-stable/tools/tools/kttcp/sys/ |
| HD | kttcp.c | 145 static int nbyte = 65536; variable 174 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_send() 175 aiov.iov_len = nbyte; in kttcp_send() 176 auio.uio_resid = nbyte; in kttcp_send() 222 nbyte = MIN(len, (unsigned long long)nbyte); in kttcp_recv() 223 aiov.iov_len = nbyte; in kttcp_recv() 224 auio.uio_resid = nbyte; in kttcp_recv()
|
| /freebsd-13-stable/stand/libsa/ |
| HD | ufsread.c | 166 fsread_size(ufs_ino_t inode, void *buf, size_t nbyte, size_t *fsizep) in fsread_size() argument 187 if ((buf == NULL && nbyte != 0) || dmadat == NULL) in fsread_size() 256 if (nbyte > n) in fsread_size() 257 nbyte = n; in fsread_size() 258 nb = nbyte; in fsread_size() 315 return nbyte; in fsread_size() 319 fsread(ufs_ino_t inode, void *buf, size_t nbyte) in fsread() argument 322 return fsread_size(inode, buf, nbyte, NULL); in fsread()
|
| HD | dosfs.c | 365 dos_read(struct open_file *fd, void *buf, size_t nbyte, size_t *resid) in dos_read() argument 379 nb = (u_int)nbyte; in dos_read() 417 *resid = nbyte - nb + cnt; in dos_read() 851 u_int val_in, val_out, offset, blknum, nbyte; in fatget() local 862 nbyte = fs->fatsz != 32 ? 2 : 4; in fatget() 863 if (offset + nbyte > secbyt(fs->spf)) in fatget() 867 if (offset + nbyte > FATBLKSZ) in fatget() 912 ioread(DOS_FS *fs, u_int offset, void *buf, size_t nbyte) in ioread() argument 922 if ((n = SECSIZ - off) > nbyte) in ioread() 923 n = nbyte; in ioread() [all …]
|
| /freebsd-13-stable/usr.sbin/btxld/ |
| HD | btxld.c | 442 copy(int fdi, int fdo, size_t nbyte, off_t offset) in copy() argument 447 while (nbyte) { in copy() 448 if ((n = sizeof(buf)) > nbyte) in copy() 449 n = nbyte; in copy() 453 nbyte -= n; in copy() 462 readx(int fd, void *buf, size_t nbyte, off_t offset) in readx() argument 468 if ((n = read(fd, buf, nbyte)) == -1) in readx() 477 writex(int fd, const void *buf, size_t nbyte) in writex() argument 481 if ((n = write(fd, buf, nbyte)) == -1) in writex() 483 if ((size_t)n != nbyte) in writex()
|
| /freebsd-13-stable/stand/kboot/ |
| HD | host_syscalls.c | 116 host_read(int fd, void *buf, size_t nbyte) in host_read() argument 118 return host_syscall(SYS_read, fd, (uintptr_t)buf, nbyte); in host_read() 162 host_write(int fd, const void *buf, size_t nbyte) in host_write() argument 164 return host_syscall(SYS_write, fd, (uintptr_t)buf, nbyte); in host_write()
|
| HD | host_syscall.h | 191 ssize_t host_read(int fd, void *buf, size_t nbyte); 198 ssize_t host_write(int fd, const void *buf, size_t nbyte);
|
| /freebsd-13-stable/sys/kern/ |
| HD | sys_generic.c | 187 size_t nbyte; member 197 if (uap->nbyte > IOSIZE_MAX) in sys_read() 200 aiov.iov_len = uap->nbyte; in sys_read() 203 auio.uio_resid = uap->nbyte; in sys_read() 216 size_t nbyte; member 225 return (kern_pread(td, uap->fd, uap->buf, uap->nbyte, uap->offset)); in sys_pread() 229 kern_pread(struct thread *td, int fd, void *buf, size_t nbyte, off_t offset) in kern_pread() argument 235 if (nbyte > IOSIZE_MAX) in kern_pread() 238 aiov.iov_len = nbyte; in kern_pread() 241 auio.uio_resid = nbyte; in kern_pread() [all …]
|
| /freebsd-13-stable/contrib/apr-util/include/ |
| HD | apr_buckets.h | 830 const char *str, apr_size_t nbyte); 1378 apr_size_t nbyte, 1390 apr_size_t nbyte); 1400 apr_size_t nbyte, 1412 apr_size_t nbyte); 1429 apr_size_t nbyte, 1442 apr_size_t nbyte,
|
| /freebsd-13-stable/tools/tools/vhba/medium/ |
| HD | vhba_medium.c | 125 unsigned int nbyte; in vhbamedium_act() local 249 nbyte = (char *)ptr - &junk[0]; in vhbamedium_act() 250 ptr[0] = nbyte - 4; in vhbamedium_act() 258 data_len = min(data_len, nbyte); in vhbamedium_act()
|
| /freebsd-13-stable/tools/tools/vhba/lots/ |
| HD | vhba_lots.c | 125 unsigned int nbyte; in vhbalots_act() local 249 nbyte = (char *)ptr - &junk[0]; in vhbalots_act() 250 ptr[0] = nbyte - 4; in vhbalots_act() 258 data_len = min(data_len, nbyte); in vhbalots_act()
|
| /freebsd-13-stable/tools/tools/vhba/simple/ |
| HD | vhba_simple.c | 125 unsigned int nbyte; in vhbasimple_act() local 249 nbyte = (char *)ptr - &junk[0]; in vhbasimple_act() 250 ptr[0] = nbyte - 4; in vhbasimple_act() 258 data_len = min(data_len, nbyte); in vhbasimple_act()
|
| /freebsd-13-stable/stand/i386/boot2/ |
| HD | boot2.c | 149 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 152 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread() 204 size_t nbyte; in main() local 222 nbyte = fsread(ino, cmd, sizeof(cmd) - 1); in main() 223 cmd[nbyte] = '\0'; in main()
|
| /freebsd-13-stable/tools/tools/vhba/rptluns/ |
| HD | vhba_rptluns.c | 154 unsigned int nbyte; in vhbarptluns_act() local 278 nbyte = (char *)ptr - &junk[0]; in vhbarptluns_act() 279 ptr[0] = nbyte - 4; in vhbarptluns_act() 287 data_len = min(data_len, nbyte); in vhbarptluns_act()
|
| /freebsd-13-stable/tools/tools/vhba/faulty/ |
| HD | vhba_faulty.c | 139 unsigned int nbyte; in faulty_act() local 263 nbyte = (char *)ptr - &junk[0]; in faulty_act() 264 ptr[0] = nbyte - 4; in faulty_act() 272 data_len = min(data_len, nbyte); in faulty_act()
|
| /freebsd-13-stable/contrib/apr-util/buckets/ |
| HD | 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-13-stable/contrib/tcsh/ |
| HD | sh.misc.c | 684 xread(int fildes, void *buf, size_t nbyte) in xread() argument 693 while ((res = read(fildes, buf, nbyte)) == -1 && errno == EINTR); in xread() 712 xwrite(int fildes, const void *buf, size_t nbyte) in xwrite() argument 721 while ((res = write(fildes, buf, nbyte)) == -1 && errno == EINTR); in xwrite()
|
| /freebsd-13-stable/tools/tools/vhba/mptest/ |
| HD | vhba_mptest.c | 165 unsigned int nbyte; in mptest_act() local 289 nbyte = (char *)ptr - &junk[0]; in mptest_act() 290 ptr[0] = nbyte - 4; in mptest_act() 298 data_len = min(data_len, nbyte); in mptest_act()
|
| /freebsd-13-stable/stand/i386/isoboot/ |
| HD | isoboot.c | 110 xfsread(uint64_t inode, void *buf, size_t nbyte) in xfsread() argument 113 if ((size_t)cd9660_fsread(inode, buf, nbyte) != nbyte) { in xfsread()
|
| /freebsd-13-stable/stand/i386/gptboot/ |
| HD | gptboot.c | 127 xfsread(ufs_ino_t inode, void *buf, size_t nbyte) in xfsread() argument 130 if ((size_t)fsread(inode, buf, nbyte) != nbyte) { in xfsread()
|
| /freebsd-13-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
| HD | netbsd_syscall_hooks.h | 49 #define __sanitizer_syscall_pre_read(fd, buf, nbyte) \ argument 51 (long long)(nbyte)) 52 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \ argument 54 (long long)(nbyte)) 55 #define __sanitizer_syscall_pre_write(fd, buf, nbyte) \ argument 57 (long long)(nbyte)) 58 #define __sanitizer_syscall_post_write(res, fd, buf, nbyte) \ argument 60 (long long)(nbyte)) 919 #define __sanitizer_syscall_pre_pread(fd, buf, nbyte, PAD, offset) \ argument 921 (long long)(nbyte), (long long)(PAD), \ [all …]
|
| /freebsd-13-stable/sys/dev/bhnd/nvram/ |
| HD | bhnd_nvram_data_sprom.c | 1144 size_t nbyte; in bhnd_nvram_sprom_read_var() local 1228 nbyte = iwidth; in bhnd_nvram_sprom_read_var() 1230 intv_type, ptr, &nbyte, var_btype); in bhnd_nvram_sprom_read_var()
|
| /freebsd-13-stable/sys/sys/ |
| HD | syscallsubr.h | 254 int kern_pread(struct thread *td, int fd, void *buf, size_t nbyte, 261 int kern_pwrite(struct thread *td, int fd, const void *buf, size_t nbyte,
|
| /freebsd-13-stable/sys/compat/freebsd32/ |
| HD | freebsd32_proto.h | 414 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 422 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 460 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 467 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 1065 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member 1073 char nbyte_l_[PADL_(size_t)]; size_t nbyte; char nbyte_r_[PADR_(size_t)]; member
|
| /freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| HD | TargetLibraryInfo.def | 550 /// void* __kmpc_alloc_shared(size_t nbyte); 555 /// void __kmpc_free_shared(void *ptr, size_t nbyte); 1870 /// ssize_t pread(int fildes, void *buf, size_t nbyte, off_t offset); 1905 /// ssize_t pwrite(int fildes, const void *buf, size_t nbyte, off_t offset); 1916 /// ssize_t read(int fildes, void *buf, size_t nbyte); 2472 /// ssize_t write(int fildes, const void *buf, size_t nbyte);
|