Home
last modified time | relevance | path

Searched refs:nbyte (Results 1 – 25 of 56) sorted by relevance

123

/netbsd/crypto/external/bsd/openssl.old/dist/crypto/pem/
H A Dpvkfmt.c50 *in += nbyte; in read_lebn()
151 unsigned int nbyte, hnbyte; in blob_length() local
152 nbyte = (bitlen + 7) >> 3; in blob_length()
171 return 4 + nbyte; in blob_length()
251 unsigned int nbyte; in b2i_dss() local
255 nbyte = (bitlen + 7) >> 3; in b2i_dss()
527 nbyte = RSA_size(rsa); in check_bitlen_rsa()
560 int nbyte, hnbyte; in write_rsa() local
563 nbyte = RSA_size(rsa); in write_rsa()
582 int nbyte; in write_dsa() local
[all …]
/netbsd/sys/arch/atari/dev/
H A Dmd_root.c266 cpy_uncompressed(void * buf, int nbyte, struct read_info *rsp) in cpy_uncompressed() argument
269 if ((rsp->bufp + nbyte) >= rsp->ebufp) in cpy_uncompressed()
271 memcpy(rsp->bufp, buf, nbyte); in cpy_uncompressed()
272 rsp->bufp += nbyte; in cpy_uncompressed()
280 md_compressed(void * buf, int nbyte, struct read_info *rsp) in md_compressed() argument
290 nbyte &= ~(DEV_BSIZE - 1); in md_compressed()
292 while (nbyte > 0) { in md_compressed()
297 bp->b_bcount = uimin(rsp->chunk, nbyte); in md_compressed()
315 nbyte -= done; in md_compressed()
322 if ((rsp->offset == rsp->media_sz) && (nbyte != 0)) { in md_compressed()
/netbsd/crypto/external/bsd/openssl/dist/crypto/pem/
H A Dpvkfmt.c58 *in += nbyte; in read_lebn()
271 return 4 + nbyte; in ossl_blob_length()
626 int nbyte, hnbyte, bitlen; in check_bitlen_rsa() local
633 nbyte = RSA_size(rsa); in check_bitlen_rsa()
666 int nbyte, hnbyte; in write_rsa() local
669 nbyte = RSA_size(rsa); in write_rsa()
673 write_lebn(out, n, nbyte); in write_rsa()
683 write_lebn(out, d, nbyte); in write_rsa()
717 int nbyte; in write_dsa() local
723 nbyte = BN_num_bytes(p); in write_dsa()
[all …]
/netbsd/lib/librmt/
H A Drmtlib.c411 _rmt_read(int fildes, void *buf, size_t nbyte) in _rmt_read() argument
425 if (rv > (int)nbyte) in _rmt_read()
426 rv = (int)nbyte; in _rmt_read()
444 _rmt_write(int fildes, const void *buf, size_t nbyte) in _rmt_write() argument
456 if ((size_t)write(WRITE(fildes), buf, nbyte) == nbyte) { in _rmt_write()
684 rmtread(int fildes, void *buf, size_t nbyte) in rmtread() argument
690 return _rmt_read(fildes - REM_BIAS, buf, nbyte); in rmtread()
692 return read(fildes, buf, nbyte); in rmtread()
701 rmtwrite(int fildes, const void *buf, size_t nbyte) in rmtwrite() argument
707 return _rmt_write(fildes - REM_BIAS, buf, nbyte); in rmtwrite()
[all …]
/netbsd/external/gpl3/binutils/dist/gprofng/libcollector/
H A Diotrace.c339 &pp->nbyte, sizeof (pp->nbyte) == 4 ? "INT32" : "INT64"); in open_experiment()
2138 iopkt.nbyte = ret;
2174 iopkt.nbyte = ret;
2210 iopkt.nbyte = ret;
2246 iopkt.nbyte = ret;
2285 iopkt.nbyte = 0;
2407 iopkt.nbyte = ret;
2486 iopkt.nbyte = ret;
2565 iopkt.nbyte = ret;
2732 iopkt.nbyte = ret;
[all …]
/netbsd/external/gpl3/gcc.old/dist/libgfortran/io/
H A Dunix.c320 if (nbyte <= MAX_CHUNK) in raw_read()
358 bytes_left = nbyte; in raw_write()
380 return nbyte - bytes_left; in raw_write()
568 if (nbyte != 0) in buf_read()
570 nbyte); in buf_read()
623 s->logical_offset += nbyte; in buf_read()
624 return nbyte; in buf_read()
630 if (nbyte == 0) in buf_write()
660 s->ndirty += nbyte; in buf_write()
671 nbyte = raw_write (s, buf, nbyte); in buf_write()
[all …]
H A Dunix.h51 sread (stream *s, void *buf, ssize_t nbyte) in sread() argument
53 return s->vptr->read (s, buf, nbyte); in sread()
57 swrite (stream *s, const void *buf, ssize_t nbyte) in swrite() argument
59 return s->vptr->write (s, buf, nbyte); in swrite()
/netbsd/external/gpl3/gcc/dist/libgfortran/io/
H A Dunix.c320 if (nbyte <= MAX_CHUNK) in raw_read()
358 bytes_left = nbyte; in raw_write()
380 return nbyte - bytes_left; in raw_write()
568 if (nbyte != 0) in buf_read()
570 nbyte); in buf_read()
623 s->logical_offset += nbyte; in buf_read()
624 return nbyte; in buf_read()
630 if (nbyte == 0) in buf_write()
660 s->ndirty += nbyte; in buf_write()
671 nbyte = raw_write (s, buf, nbyte); in buf_write()
[all …]
H A Dunix.h51 sread (stream *s, void *buf, ssize_t nbyte) in sread() argument
53 return s->vptr->read (s, buf, nbyte); in sread()
57 swrite (stream *s, const void *buf, ssize_t nbyte) in swrite() argument
59 return s->vptr->write (s, buf, nbyte); in swrite()
/netbsd/sys/lib/libsa/
H A Ddosfs.c288 nb = (u_int) nbyte; in dosfs_read()
329 *resid = nbyte - nb + cnt; in dosfs_read()
742 ioread(DOS_FS *fs, BYTE_OFF_T offset, void *buf, u_int nbyte) in ioread() argument
754 if ((n = SECSIZ - off) > nbyte) in ioread()
755 n = nbyte; in ioread()
758 nbyte -= n; in ioread()
760 n = nbyte & (SECSIZ - 1); in ioread()
761 if (nbyte -= n) { in ioread()
762 if ((err = ioget(fs->fd, bytsec(offset), s, bytsec(nbyte)))) in ioread()
764 offset += nbyte; in ioread()
[all …]
/netbsd/sys/arch/zaurus/stand/zboot/
H A Dpathfs.c45 pathfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid) in pathfs_read() argument
51 while (off < nbyte) { in pathfs_read()
52 rsz = uread((int)fd->f_devdata, buf + off, nbyte - off); in pathfs_read()
/netbsd/sys/kern/
H A Dsys_generic.c121 return (dofileread(fd, fp, SCARG(uap, buf), SCARG(uap, nbyte), in sys_read()
126 dofileread(int fd, struct file *fp, void *buf, size_t nbyte, in dofileread() argument
138 aiov.iov_len = nbyte; in dofileread()
141 auio.uio_resid = nbyte; in dofileread()
320 return (dofilewrite(fd, fp, SCARG(uap, buf), SCARG(uap, nbyte), in sys_write()
326 size_t nbyte, off_t *offset, int flags, register_t *retval) in dofilewrite() argument
334 aiov.iov_len = nbyte; in dofilewrite()
337 auio.uio_resid = nbyte; in dofilewrite()
/netbsd/lib/libc/sys/
H A Dpread.c58 _sys_pread(int fd, void *buf, size_t nbyte, off_t offset) in _sys_pread() argument
61 return __pread(fd, buf, nbyte, 0, offset); in _sys_pread()
H A Dpwrite.c58 _sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset) in _sys_pwrite() argument
61 return __pwrite(fd, buf, nbyte, 0, offset); in _sys_pwrite()
/netbsd/external/gpl3/gdb/dist/gdbserver/
H A Ddebug.cc136 debug_write (const void *buf, size_t nbyte) in debug_write() argument
139 return write (fd, buf, nbyte); in debug_write()
H A Ddebug.h45 ssize_t debug_write (const void *buf, size_t nbyte);
/netbsd/external/gpl3/gdb.old/dist/gdbserver/
H A Ddebug.cc136 debug_write (const void *buf, size_t nbyte) in debug_write() argument
139 return write (fd, buf, nbyte); in debug_write()
H A Ddebug.h45 ssize_t debug_write (const void *buf, size_t nbyte);
/netbsd/external/mpl/bind/dist/win32utils/
H A DGeoIP.diff220 +int pread(int fd, void *buf, unsigned int nbyte, __int64 offset)
231 + cc = _read(fd, buf, nbyte);
241 +int pread(int fd, void *buf, unsigned int nbyte, long offset)
252 + cc = _read(fd, buf, nbyte);
292 +int pread(int fd, void *buf, unsigned int nbyte, __int64 offset);
296 +int pread(int fd, void *buf, unsigned int nbyte, long offset);
/netbsd/sys/compat/linux32/common/
H A Dlinux32_unistd.c787 SCARG(&pra, nbyte) = SCARG(uap, nbyte); in linux32_sys_pread()
811 SCARG(&pra, nbyte) = SCARG(uap, nbyte); in linux32_sys_pwrite()
/netbsd/sys/compat/netbsd32/
H A Dnetbsd32_netbsd.c184 if (SCARG(uap, nbyte) > NETBSD32_SSIZE_MAX) in netbsd32_read()
189 NETBSD32TOX_UAP(nbyte, size_t); in netbsd32_read()
203 if (SCARG(uap, nbyte) > NETBSD32_SSIZE_MAX) in netbsd32_write()
208 NETBSD32TOX_UAP(nbyte, size_t); in netbsd32_write()
1189 if (SCARG(uap, nbyte) > NETBSD32_SSIZE_MAX) in netbsd32_pread()
1194 NETBSD32TOX_UAP(nbyte, size_t); in netbsd32_pread()
1213 if (SCARG(uap, nbyte) > NETBSD32_SSIZE_MAX) in netbsd32_pwrite()
1218 NETBSD32TOX_UAP(nbyte, size_t); in netbsd32_pwrite()
/netbsd/sys/compat/linux/common/
H A Dlinux_file.c785 SCARG(&pra, nbyte) = SCARG(uap, nbyte); in linux_sys_pread()
808 SCARG(&pra, nbyte) = SCARG(uap, nbyte); in linux_sys_pwrite()
/netbsd/external/gpl3/gcc/dist/libsanitizer/include/sanitizer/
H A Dnetbsd_syscall_hooks.h49 #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))
60 (long long)(nbyte))
2883 long long nbyte);
2885 long long buf, long long nbyte);
2887 long long nbyte);
[all …]
/netbsd/sys/external/bsd/compiler_rt/dist/include/sanitizer/
H A Dnetbsd_syscall_hooks.h50 #define __sanitizer_syscall_pre_read(fd, buf, nbyte) \ argument
52 (long long)(nbyte))
53 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \ argument
55 (long long)(nbyte))
56 #define __sanitizer_syscall_pre_write(fd, buf, nbyte) \ argument
58 (long long)(nbyte))
61 (long long)(nbyte))
2731 long long nbyte);
2733 long long buf, long long nbyte);
2735 long long nbyte);
[all …]
/netbsd/external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/
H A Dnetbsd_syscall_hooks.h49 #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))
60 (long long)(nbyte))
2883 long long nbyte);
2885 long long buf, long long nbyte);
2887 long long nbyte);
[all …]

123