/openbsd-current/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/ |
H A D | interrupt.c | 9 int nbytes; local 17 nbytes = read (0, &x, 1); 18 if (nbytes < 0) 25 else if (nbytes == 0)
|
/openbsd-current/lib/libc/sys/ |
H A D | w_read.c | 22 read(int fd, void *buf, size_t nbytes) argument 27 ret = HIDDEN(read)(fd, buf, nbytes);
|
H A D | w_write.c | 22 write(int fd, const void *buf, size_t nbytes) argument 27 ret = HIDDEN(write)(fd, buf, nbytes);
|
/openbsd-current/lib/libc/arch/mips64/gen/ |
H A D | cacheflush.c | 27 cacheflush(void *addr, int nbytes, int cache) argument 32 args.sz = (size_t)nbytes;
|
/openbsd-current/sbin/dhcpleased/ |
H A D | checksum.c | 50 checksum(uint8_t *buf, uint32_t nbytes, uint32_t sum) argument 55 for (i = 0; i < (nbytes & ~1U); i += 2) { 66 if (i < nbytes) {
|
/openbsd-current/usr.sbin/mkuboot/ |
H A D | mkuboot.c | 286 ssize_t nbytes; local 289 nbytes = read(ifd, &ehdr, sizeof ehdr); 290 if (nbytes == -1) 295 if (nbytes != sizeof ehdr || !IS_ELF(ehdr)) 311 ssize_t nbytes, chunk; local 316 nbytes = read(ifd, buf, chunk); 317 if (nbytes != chunk) 319 if (write(ofd, buf, nbytes) != nbytes) 321 crc = crc32(crc, (Bytef *)buf, nbytes); 333 ssize_t nbytes; local 353 ssize_t nbytes, chunk; local 374 ssize_t nbytes; local [all...] |
/openbsd-current/gnu/gcc/gcc/config/ |
H A D | host-hpux.c | 123 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;
|
H A D | host-linux.c | 206 ssize_t nbytes; local 208 nbytes = read (fd, base, MIN (size, SSIZE_MAX)); 209 if (nbytes <= 0) 211 base = (char *) base + nbytes; 212 size -= nbytes;
|
/openbsd-current/sys/dev/microcode/typhoon/ |
H A D | build.c | 28 fullwrite(int fd, const void *buf, size_t nbytes) argument 32 r = write(fd, buf, nbytes); 35 if (r != nbytes)
|
/openbsd-current/gnu/usr.bin/binutils-2.17/gas/config/ |
H A D | tc-d30v.h | 59 #define md_cons_align(nbytes) d30v_cons_align (nbytes)
|
/openbsd-current/sys/dev/pci/drm/include/linux/ |
H A D | random.h | 52 get_random_bytes(void *buf, int nbytes) argument 54 arc4random_buf(buf, nbytes);
|
/openbsd-current/usr.sbin/ldomctl/ |
H A D | ldomctl.c | 431 ssize_t nbytes; local 461 nbytes = write(hvctl_fd, &msg, sizeof(msg)); 462 if (nbytes != sizeof(msg)) 466 nbytes = read(hvctl_fd, &msg, sizeof(msg)); 467 if (nbytes != sizeof(msg)) 478 ssize_t nbytes; local 492 nbytes = write(hvctl_fd, &msg, sizeof(msg)); 493 if (nbytes != sizeof(msg)) 497 nbytes = read(hvctl_fd, &msg, sizeof(msg)); 498 if (nbytes ! 506 ssize_t nbytes; local 553 ssize_t nbytes; local 698 ssize_t nbytes; local 751 ssize_t nbytes; local [all...] |
/openbsd-current/gnu/usr.bin/binutils/gdb/rdi-share/ |
H A D | ardi.h | 39 int angel_RDI_read(ARMword source, void *dest, unsigned *nbytes); 40 int angel_RDI_write(const void *source, ARMword dest, unsigned *nbytes); 69 int angel_RDI_AddConfig(unsigned long nbytes); 71 int angel_RDI_LoadConfigData(unsigned long nbytes, char const *data);
|
H A D | dbg_cp.h | 31 unsigned char nbytes; /* size of register */ member in struct:__anon4600
|
H A D | etherdrv.c | 388 int nbytes, fromlen = sizeof(from); local 394 if ((nbytes = recvfrom(sock, (char *)(packet->data), packet->buf_len, 0, 398 if (nbytes == SOCKET_ERROR && WSAGetLastError() != WSAEWOULDBLOCK) 413 if (pfnProgressCallback != NULL && nbytes != SOCKET_ERROR) 415 progressInfo.nRead += nbytes; 454 nbytes, (devchan == DC_DBUG) ? "DBUG" : "APPL"); 458 printf("[%d on %d]\n", nbytes, devchan); 463 while (i < nbytes) 480 packet->len = nbytes; 623 int nbytes; local [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/ |
H A D | asmreg-1.c | 48 __getdents64 (int fd, char *buf, unsigned nbytes) argument 55 skdp = kdp = __builtin_alloca (nbytes); 56 retval = __syscall_getdents64(fd, (char *)kdp, nbytes); 61 if ((char *) dp > buf + nbytes)
|
/openbsd-current/lib/libc/db/btree/ |
H A D | bt_split.c | 83 u_int32_t n, nbytes, nksize; local 171 nbytes = NBINTERNAL(bi->ksize); 175 nbytes = NBINTERNAL(bl->ksize); 185 if (n < nbytes) { 187 bt_pfxsaved += nbytes - n; 189 nbytes = n; 197 nbytes = NRINTERNAL; 204 if (h->upper - h->lower < nbytes + sizeof(indx_t)) { 207 bt_root(t, h, &l, &r, &skip, nbytes) : 208 bt_page(t, h, &l, &r, &skip, nbytes); 514 u_int32_t nbytes; local 594 u_int32_t nbytes; local [all...] |
/openbsd-current/usr.bin/hexdump/ |
H A D | odsyntax.c | 203 int x, y, nbytes; local 248 nbytes = sizeof(char); 251 nbytes = sizeof(short); 254 nbytes = sizeof(int); 257 nbytes = sizeof(long); 266 nbytes = strtol(type_string, &type_string, 10); 268 nbytes = 4; 270 switch (nbytes) { 285 "supported", nbytes);
|
/openbsd-current/lib/libc/db/recno/ |
H A D | rec_delete.c | 147 u_int32_t nbytes; local 164 nbytes = NRLEAF(rl); 171 memmove(from + nbytes, from, (char *)to - from); 172 h->upper += nbytes; 177 ip[0] += nbytes; 179 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
|
/openbsd-current/usr.sbin/ldomd/ |
H A D | ds.c | 280 ssize_t nbytes; local 289 nbytes = write(lc->lc_fd, &lp, sizeof(lp)); 290 if (nbytes != sizeof(lp)) 300 ssize_t nbytes; local 309 nbytes = write(lc->lc_fd, &lp, sizeof(lp)); 310 if (nbytes != sizeof(lp)) 320 ssize_t nbytes; local 329 nbytes = write(lc->lc_fd, &lp, sizeof(lp)); 330 if (nbytes != sizeof(lp)) 340 ssize_t nbytes; local 360 ssize_t nbytes; local 380 ssize_t nbytes; local 410 ssize_t nbytes; local 577 ssize_t nbytes; local 611 ssize_t nbytes; local 638 ssize_t nbytes; local 706 ssize_t nbytes; local [all...] |
/openbsd-current/gnu/usr.bin/binutils/gas/config/ |
H A D | tc-avr.h | 61 void avr_parse_cons_expression (expressionS *exp, int nbytes); 66 void avr_cons_fix_new(fragS *frag,int where, int nbytes, expressionS *exp);
|
H A D | tc-d30v.h | 61 #define md_cons_align(nbytes) d30v_cons_align(nbytes)
|
/openbsd-current/gnu/usr.bin/perl/ |
H A D | malloc_ctl.h | 17 PERL_CALLCONV Malloc_t Perl_malloc (MEM_SIZE nbytes); 19 PERL_CALLCONV Malloc_t Perl_realloc (Malloc_t where, MEM_SIZE nbytes);
|
/openbsd-current/gnu/usr.sbin/mkhybrid/src/libfile/ |
H A D | lfile.c | 182 int nbytes = 0; /* number of bytes read from a datafile */ local 198 if ((nbytes = read(fd, (char *)buf, HOWMANY)) == -1) 201 if (nbytes == 0) 204 buf[nbytes++] = '\0'; /* null-terminate it */ 205 match = softmagic(buf, nbytes);
|
H A D | softmagic.c | 56 /*ARGSUSED1*/ /* nbytes passed for regularity, maybe need later */ 58 softmagic(buf, nbytes) 60 int nbytes; 62 return (match(buf, nbytes)); 93 match(s, nbytes) 95 int nbytes; 102 if (!mget(&p, s, &magic[magindex], nbytes) || 167 mget(p, s, m, nbytes) 171 int nbytes; 175 if (offset + sizeof(union VALUETYPE) <= nbytes) [all...] |