Searched refs:nbytes (Results 1 - 25 of 406) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/bin/sh/
H A Dmachdep.h47 #define SHELL_ALIGN(nbytes) (((nbytes) + SHELL_SIZE) & ~SHELL_SIZE)
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dswab.c42 swab (char *from, char *to, int nbytes) argument
44 while(nbytes >= 2) {
49 nbytes -= 2;
H A Deread.c45 eread (int fd, void *buf, size_t nbytes) argument
49 ret = net_read (fd, buf, nbytes);
H A Dewrite.c45 ewrite (int fd, const void *buf, size_t nbytes) argument
49 ret = net_write (fd, buf, nbytes);
H A Dnet_read.c47 net_read (rk_socket_t fd, void *buf, size_t nbytes) argument
51 size_t rem = nbytes;
66 return nbytes;
72 net_read(rk_socket_t sock, void *buf, size_t nbytes) argument
76 size_t rem = nbytes;
117 return nbytes;
H A Dnet_write.c47 net_write (rk_socket_t fd, const void *buf, size_t nbytes) argument
51 size_t rem = nbytes;
64 return nbytes;
70 net_write(rk_socket_t sock, const void *buf, size_t nbytes) argument
74 size_t rem = nbytes;
106 return nbytes;
/netbsd-6-1-5-RELEASE/lib/libc/arch/mips/gen/
H A Dcacheflush.c37 _cacheflush(addr, nbytes, whichcache)
39 int nbytes, whichcache;
44 cfa.nbytes = nbytes;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dinterrupt.c19 int nbytes; local
30 nbytes = read (0, &x, 1);
31 if (nbytes < 0)
41 else if (nbytes == 0)
/netbsd-6-1-5-RELEASE/sys/arch/mips/include/
H A Dcachectl.h40 int _cacheflush(void *addr, int nbytes, int cacheflags);
41 int cacheflush(void *addr, int nbytes, int cacheflags);
49 int cachectl(void *addr, int nbytes, int cacheop);
H A Dsysarch.h14 size_t nbytes; member in struct:mips_cacheflush_args
20 size_t nbytes; member in struct:mips_cachectl_args
/netbsd-6-1-5-RELEASE/lib/libc/compat/sys/
H A Dcompat_getdirentries.c51 getdirentries(fd, buf, nbytes, basep)
52 int fd, nbytes;
57 return getdents(fd, buf, (size_t)nbytes);
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblutil/
H A Dentropy.c40 * lutil_entropy() provides nbytes of entropy in buf.
51 int lutil_entropy( unsigned char *buf, ber_len_t nbytes )
53 if( nbytes == 0 ) return 0;
66 rc = read( fd, buf, nbytes );
70 nbytes-=rc;
73 } while( nbytes > 0 );
76 return nbytes > 0 ? -1 : 0;
89 if(!CryptGenRandom(hProv, (DWORD) nbytes, (BYTE *) buf)) {
140 for( n = 0; n < nbytes; n += 16 ) {
160 lutil_MD5Update( &ctx, buf, nbytes );
[all...]
/netbsd-6-1-5-RELEASE/usr.bin/hexdump/
H A Dodsyntax.c60 int nbytes; member in struct:odformat
224 int nbytes = 0; local
232 nbytes = 1;
238 nbytes = sizeof(float);
241 nbytes = sizeof(double);
244 nbytes = sizeof(long double);
253 nbytes = strtol(type_string, &tmp, 10);
256 nbytes = 8;
265 nbytes = sizeof(char);
268 nbytes
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dsocket-client.c66 int nbytes; local
92 nbytes = recv (sb->socket, data + *got, size - *got, 0);
93 if (nbytes < 0)
96 if (nbytes == 0)
107 *got += nbytes;
139 int nbytes; local
141 nbytes = send (sb->socket, data, have, 0);
142 if (nbytes < 0)
146 have -= nbytes;
147 data += nbytes;
[all...]
/netbsd-6-1-5-RELEASE/external/mit/expat/dist/xmlwf/
H A Dreadfilemap.c48 size_t nbytes; local
69 nbytes = sb.st_size;
70 /* malloc will return NULL with nbytes == 0, handle files with size 0 */
71 if (nbytes == 0) {
77 p = malloc(nbytes);
83 n = read(fd, p, nbytes);
90 if (n != nbytes) {
96 processor(p, nbytes, name, arg);
H A Dunixfilemap.c26 size_t nbytes; local
46 nbytes = sb.st_size;
48 if (nbytes == 0) {
54 p = (void *)mmap((caddr_t)0, (size_t)nbytes, PROT_READ,
61 processor(p, nbytes, name, arg);
62 munmap((caddr_t)p, nbytes);
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/libs/libbib/
H A Dmap.c43 char *mapread(int fd, int nbytes) argument
45 char *p = (char *)mmap((void *)0, (size_t)nbytes, PROT_READ,
72 char *mapread(int fd, int nbytes) argument
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dmbswidth.h56 extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/m32c/
H A Dmem.h31 void mem_put_blk (int address, const void *bufptr, int nbytes);
40 void mem_get_blk (int address, void *bufptr, int nbytes);
/netbsd-6-1-5-RELEASE/tools/compat/
H A Dpread.c39 ssize_t pread(int d, void *buf, size_t nbytes, off_t offset) { argument
47 nr = read(d, buf, nbytes);
H A Dpwrite.c39 ssize_t pwrite(int d, const void *buf, size_t nbytes, off_t offset) { argument
47 nw = write(d, buf, nbytes);
/netbsd-6-1-5-RELEASE/usr.bin/bdes/
H A Dbdes.c711 register int nbytes; /* number of bytes to read */ local
719 nbytes = fbbits / 8;
723 for (bn = 1; (n = READ(ibuf, nbytes)) == nbytes; bn++) {
726 for (n = 0; n < 8 - nbytes; n++)
727 UCHAR(ivec, n) = UCHAR(ivec, n+nbytes);
728 for (n = 0; n < nbytes; n++)
729 UCHAR(ivec, 8-nbytes+n) = ibuf[n] ^ UCHAR(msgbuf, n);
730 WRITE(&CHAR(ivec, 8-nbytes), nbytes);
754 register int nbytes; /* number of bytes to read */ local
800 register int nbytes; /* number of bytes to read */ local
847 register int nbytes; /* number of bytes to read */ local
895 register int nbytes; /* number of bytes to read */ local
941 register int nbytes; /* number of bytes to read */ local
990 register int nbytes; /* number of bytes to read */ local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/cris/
H A Drvdummy.c154 send_output (int fd, unsigned char *buf, int nbytes) argument
156 while (nbytes > 0)
158 ssize_t written = write (fd, buf, nbytes);
165 nbytes -= written;
174 expect_input (int fd, unsigned char *buf, int nbytes, int ncomp) argument
179 for (i = 0; i < nbytes; i++)
220 int nbytes = 0; local
252 bytes[nbytes++] = data;
255 expect_input (fd, bytes, nbytes, nbytes);
[all...]
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/config/
H A Dhost-hpux.c122 ssize_t nbytes; local
124 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
125 if (nbytes <= 0)
127 base = (char *) base + nbytes;
128 size -= nbytes;
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/config/
H A Dhost-hpux.c123 ssize_t nbytes; local
125 nbytes = read (fd, base, MIN (size, SSIZE_MAX));
126 if (nbytes <= 0)
128 base = (char *) base + nbytes;
129 size -= nbytes;

Completed in 278 milliseconds

1234567891011>>