HomeSort by: relevance | last modified time | path
    Searched refs:nbyte (Results 1 - 25 of 60) sorted by relevancy

1 2 3

  /src/lib/libc/sys/
pread.c 58 _sys_pread(int fd, void *buf, size_t nbyte, off_t offset)
61 return __pread(fd, buf, nbyte, 0, offset);
pwrite.c 58 _sys_pwrite(int fd, const void *buf, size_t nbyte, off_t offset)
61 return __pwrite(fd, buf, nbyte, 0, offset);
  /src/external/gpl3/gdb.old/dist/gdbserver/
debug.h 65 ssize_t debug_write (const void *buf, size_t nbyte);
debug.cc 117 debug_write (const void *buf, size_t nbyte)
120 return write (fd, buf, nbyte);
  /src/external/gpl3/gdb/dist/gdbserver/
debug.h 65 ssize_t debug_write (const void *buf, size_t nbyte);
debug.cc 117 debug_write (const void *buf, size_t nbyte)
120 return write (fd, buf, nbyte);
  /src/sys/arch/atari/dev/
md_root.c 265 cpy_uncompressed(void * buf, int nbyte, struct read_info *rsp)
268 if ((rsp->bufp + nbyte) >= rsp->ebufp)
270 memcpy(rsp->bufp, buf, nbyte);
271 rsp->bufp += nbyte;
276 * Read a maximum of 'nbyte' bytes into 'buf'.
279 md_compressed(void * buf, int nbyte, struct read_info *rsp)
289 nbyte &= ~(DEV_BSIZE - 1);
291 while (nbyte > 0) {
296 bp->b_bcount = uimin(rsp->chunk, nbyte);
314 nbyte -= done
    [all...]
  /src/sys/arch/zaurus/stand/zboot/
pathfs.c 45 pathfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid)
51 while (off < nbyte) {
52 rsz = uread((int)fd->f_devdata, buf + off, nbyte - off);
  /src/lib/librmt/
rmtlib.c 411 _rmt_read(int fildes, void *buf, size_t nbyte)
421 (void)snprintf(buffer, sizeof buffer, "R%zu\n", nbyte);
425 if (rv > (int)nbyte)
426 rv = (int)nbyte;
444 _rmt_write(int fildes, const void *buf, size_t nbyte)
451 (void)snprintf(buffer, sizeof buffer, "W%zu\n", nbyte);
456 if ((size_t)write(WRITE(fildes), buf, nbyte) == nbyte) {
684 rmtread(int fildes, void *buf, size_t nbyte)
690 return _rmt_read(fildes - REM_BIAS, buf, nbyte);
    [all...]
  /src/crypto/external/bsd/openssl.old/dist/crypto/pem/
pvkfmt.c 45 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r)
47 *r = BN_lebin2bn(*in, nbyte, NULL);
50 *in += nbyte;
151 unsigned int nbyte, hnbyte; local
152 nbyte = (bitlen + 7) >> 3;
161 return 44 + 3 * nbyte;
167 return 64 + 2 * nbyte;
171 return 4 + nbyte;
177 return 4 + 2 * nbyte + 5 * hnbyte;
251 unsigned int nbyte; local
327 unsigned int nbyte, hnbyte; local
520 int nbyte, hnbyte, bitlen; local
560 int nbyte, hnbyte; local
582 int nbyte; local
    [all...]
  /src/crypto/external/apache2/openssl/dist/crypto/pem/
pvkfmt.c 55 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r)
57 *r = BN_lebin2bn(*in, nbyte, NULL);
60 *in += nbyte;
256 unsigned int nbyte = (bitlen + 7) >> 3; local
266 return 44 + 3 * nbyte;
272 return 64 + 2 * nbyte;
276 return 4 + nbyte;
282 return 4 + 2 * nbyte + 5 * hnbyte;
383 unsigned int nbyte = (bitlen + 7) >> 3; local
388 if (!read_lebn(&p, nbyte, &pbn)
455 unsigned int nbyte = (bitlen + 7) >> 3; local
638 int nbyte, hnbyte, bitlen; local
678 int nbyte, hnbyte; local
729 int nbyte; local
    [all...]
  /src/crypto/external/bsd/openssl/dist/crypto/pem/
pvkfmt.c 53 static int read_lebn(const unsigned char **in, unsigned int nbyte, BIGNUM **r)
55 *r = BN_lebin2bn(*in, nbyte, NULL);
58 *in += nbyte;
251 unsigned int nbyte = (bitlen + 7) >> 3; local
261 return 44 + 3 * nbyte;
267 return 64 + 2 * nbyte;
271 return 4 + nbyte;
277 return 4 + 2 * nbyte + 5 * hnbyte;
381 unsigned int nbyte = (bitlen + 7) >> 3; local
386 if (!read_lebn(&p, nbyte, &pbn)
448 unsigned int nbyte = (bitlen + 7) >> 3; local
626 int nbyte, hnbyte, bitlen; local
666 int nbyte, hnbyte; local
717 int nbyte; local
    [all...]
  /src/external/gpl3/gcc/dist/libgfortran/io/
unix.h 51 sread (stream *s, void *buf, ssize_t nbyte)
53 return s->vptr->read (s, buf, nbyte);
57 swrite (stream *s, const void *buf, ssize_t nbyte)
59 return s->vptr->write (s, buf, nbyte);
unix.c 295 descriptor. Also, for POSIX read() and write() a nbyte argument larger
296 than SSIZE_MAX is undefined; here the type of nbyte is ssize_t rather
312 raw_read (unix_stream *s, void *buf, ssize_t nbyte)
320 if (nbyte <= MAX_CHUNK)
324 ssize_t trans = read (s->fd, buf, nbyte);
332 ssize_t bytes_left = nbyte;
348 return nbyte - bytes_left;
353 raw_write (unix_stream *s, const void *buf, ssize_t nbyte)
358 bytes_left = nbyte;
380 return nbyte - bytes_left
    [all...]
  /src/external/gpl3/gcc.old/dist/libgfortran/io/
unix.h 51 sread (stream *s, void *buf, ssize_t nbyte)
53 return s->vptr->read (s, buf, nbyte);
57 swrite (stream *s, const void *buf, ssize_t nbyte)
59 return s->vptr->write (s, buf, nbyte);
unix.c 295 descriptor. Also, for POSIX read() and write() a nbyte argument larger
296 than SSIZE_MAX is undefined; here the type of nbyte is ssize_t rather
312 raw_read (unix_stream *s, void *buf, ssize_t nbyte)
320 if (nbyte <= MAX_CHUNK)
324 ssize_t trans = read (s->fd, buf, nbyte);
332 ssize_t bytes_left = nbyte;
348 return nbyte - bytes_left;
353 raw_write (unix_stream *s, const void *buf, ssize_t nbyte)
358 bytes_left = nbyte;
380 return nbyte - bytes_left
    [all...]
  /src/external/gpl3/binutils/dist/gprofng/libcollector/
iotrace.c 49 Size_type nbyte; /* number of bytes */ member in struct:IOTrace_packet
103 static ssize_t (*__real_read)(int fildes, void *buf, size_t nbyte) = NULL;
104 static ssize_t (*__real_write)(int fildes, const void *buf, size_t nbyte) = NULL;
109 static ssize_t (*__real_pread)(int fildes, void *buf, size_t nbyte, off_t offset) = NULL;
110 static ssize_t (*__real_pwrite)(int fildes, const void *buf, size_t nbyte, off_t offset) = NULL;
111 static ssize_t (*__real_pwrite64)(int fildes, const void *buf, size_t nbyte, off64_t offset) = NULL;
123 static int (*__real_getdents)(int fildes, struct dirent *buf, size_t nbyte) = NULL;
160 static ssize_t (*__real_pread_2_2)(int fildes, void *buf, size_t nbyte, off_t offset) = NULL;
161 static ssize_t (*__real_pwrite_2_2)(int fildes, const void *buf, size_t nbyte, off_t offset) = NULL;
170 static ssize_t (*__real_pwrite64_2_2)(int fildes, const void *buf, size_t nbyte, off64_t offset) = NULL
    [all...]
  /src/external/gpl3/binutils.old/dist/gprofng/libcollector/
iotrace.c 49 Size_type nbyte; /* number of bytes */ member in struct:IOTrace_packet
103 static ssize_t (*__real_read)(int fildes, void *buf, size_t nbyte) = NULL;
104 static ssize_t (*__real_write)(int fildes, const void *buf, size_t nbyte) = NULL;
109 static ssize_t (*__real_pread)(int fildes, void *buf, size_t nbyte, off_t offset) = NULL;
110 static ssize_t (*__real_pwrite)(int fildes, const void *buf, size_t nbyte, off_t offset) = NULL;
111 static ssize_t (*__real_pwrite64)(int fildes, const void *buf, size_t nbyte, off64_t offset) = NULL;
123 static int (*__real_getdents)(int fildes, struct dirent *buf, size_t nbyte) = NULL;
160 static ssize_t (*__real_pread_2_2)(int fildes, void *buf, size_t nbyte, off_t offset) = NULL;
161 static ssize_t (*__real_pwrite_2_2)(int fildes, const void *buf, size_t nbyte, off_t offset) = NULL;
170 static ssize_t (*__real_pwrite64_2_2)(int fildes, const void *buf, size_t nbyte, off64_t offset) = NULL
    [all...]
  /src/sys/kern/
sys_generic.c 105 syscallarg(size_t) nbyte;
121 return (dofileread(fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
126 dofileread(int fd, struct file *fp, void *buf, size_t nbyte,
138 aiov.iov_len = nbyte;
141 auio.uio_resid = nbyte;
304 syscallarg(size_t) nbyte;
320 return (dofilewrite(fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
326 size_t nbyte, off_t *offset, int flags, register_t *retval)
334 aiov.iov_len = nbyte;
337 auio.uio_resid = nbyte;
    [all...]
  /src/external/bsd/pam-u2f/dist/fuzz/
wrap.c 78 extern ssize_t __real_read(int fildes, void *buf, size_t nbyte);
79 extern ssize_t __wrap_read(int fildes, void *buf, size_t nbyte);
80 extern ssize_t __wrap_read(int fildes, void *buf, size_t nbyte) {
83 return __real_read(fildes, buf, nbyte);
  /src/sys/lib/libsa/
dosfs.c 280 dosfs_read(struct open_file *fd, void *vbuf, size_t nbyte, size_t *resid)
288 nb = (u_int) nbyte;
329 *resid = nbyte - nb + cnt;
742 ioread(DOS_FS *fs, BYTE_OFF_T offset, void *buf, u_int nbyte)
754 if ((n = SECSIZ - off) > nbyte)
755 n = nbyte;
758 nbyte -= n;
760 n = nbyte & (SECSIZ - 1);
761 if (nbyte -= n) {
762 if ((err = ioget(fs->fd, bytsec(offset), s, bytsec(nbyte))))
    [all...]
  /src/sys/compat/linux32/common/
linux32_unistd.c 780 syscallarg(netbsd32_size_t) nbyte;
787 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
804 syscallarg(netbsd32_size_t) nbyte;
811 SCARG(&pra, nbyte) = SCARG(uap, nbyte);
  /src/external/gpl3/binutils/dist/gprofng/src/
util.h 186 int64_t read_from_file (int fd, void *buffer, int64_t nbyte);
  /src/external/gpl3/binutils.old/dist/gprofng/src/
util.h 186 int64_t read_from_file (int fd, void *buffer, int64_t nbyte);
  /src/sys/external/bsd/compiler_rt/dist/include/sanitizer/
netbsd_syscall_hooks.h 50 #define __sanitizer_syscall_pre_read(fd, buf, nbyte) \
52 (long long)(nbyte))
53 #define __sanitizer_syscall_post_read(res, fd, buf, nbyte) \
55 (long long)(nbyte))
56 #define __sanitizer_syscall_pre_write(fd, buf, nbyte) \
58 (long long)(nbyte))
59 #define __sanitizer_syscall_post_write(res, fd, buf, nbyte) \
61 (long long)(nbyte))
893 #define __sanitizer_syscall_pre_pread(fd, buf, nbyte, PAD, offset) \
895 (long long)(nbyte), (long long)(PAD),
    [all...]

Completed in 98 milliseconds

1 2 3