| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/ |
| interrupt.c | 21 int nbytes; local 31 nbytes = read (0, &x, 1); 32 if (nbytes < 0) 42 else if (nbytes == 0)
|
| catch-fork-kill.c | 41 int nbytes; local 89 nbytes = read (fds[0], readbuffer, sizeof (readbuffer)); 90 assert (nbytes == 0); 91 printf ("read returned nbytes=%d\n", nbytes);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/ |
| interrupt.c | 21 int nbytes; local 31 nbytes = read (0, &x, 1); 32 if (nbytes < 0) 42 else if (nbytes == 0)
|
| catch-fork-kill.c | 41 int nbytes; local 89 nbytes = read (fds[0], readbuffer, sizeof (readbuffer)); 90 assert (nbytes == 0); 91 printf ("read returned nbytes=%d\n", nbytes);
|
| /src/lib/libc/net/ |
| if_nameindex.c | 91 size_t nbytes, ni; local 103 nbytes = 0; 107 nbytes += strlen(ifa->ifa_name) + 1; 117 cp = malloc((ni + 1) * sizeof(struct if_nameindex) + nbytes);
|
| /src/sys/arch/mips/include/ |
| sysarch.h | 39 size_t nbytes; member in struct:mips_cacheflush_args 45 size_t nbytes; member in struct:mips_cachectl_args
|
| netbsd32_machdep.h | 74 netbsd32_size_t nbytes; member in struct:mips_cacheflush_args32 80 netbsd32_size_t nbytes; member in struct:mips_cachectl_args32
|
| /src/external/gpl3/gcc/dist/gcc/config/ |
| host-darwin.cc | 175 ssize_t nbytes; local 177 nbytes = read (fd, mapped_addr, MIN (sz, (size_t) -1 >> 1)); 178 if (nbytes <= 0) 180 mapped_addr = (char *) mapped_addr + nbytes; 181 sz -= nbytes;
|
| host-hpux.cc | 116 ssize_t nbytes; local 118 nbytes = read (fd, addr, MIN (size, SSIZE_MAX)); 119 if (nbytes <= 0) 121 addr = (char *) addr + nbytes; 122 size -= nbytes;
|
| host-linux.cc | 219 ssize_t nbytes; local 221 nbytes = read (fd, addr, MIN (size, (size_t)-1 >> 1)); 222 if (nbytes <= 0) 224 addr = (char *) addr + nbytes; 225 size -= nbytes;
|
| /src/external/gpl3/gcc/dist/gcc/config/pru/ |
| pru-protos.h | 45 int nbytes; /* Number of consecutive bytes. */ member in struct:pru_byterange
|
| /src/external/gpl3/gcc.old/dist/gcc/config/ |
| host-darwin.cc | 175 ssize_t nbytes; local 177 nbytes = read (fd, mapped_addr, MIN (sz, (size_t) -1 >> 1)); 178 if (nbytes <= 0) 180 mapped_addr = (char *) mapped_addr + nbytes; 181 sz -= nbytes;
|
| host-hpux.cc | 116 ssize_t nbytes; local 118 nbytes = read (fd, addr, MIN (size, SSIZE_MAX)); 119 if (nbytes <= 0) 121 addr = (char *) addr + nbytes; 122 size -= nbytes;
|
| host-linux.cc | 219 ssize_t nbytes; local 221 nbytes = read (fd, addr, MIN (size, (size_t)-1 >> 1)); 222 if (nbytes <= 0) 224 addr = (char *) addr + nbytes; 225 size -= nbytes;
|
| /src/external/mit/expat/dist/xmlwf/ |
| unixfilemap.c | 64 size_t nbytes; local 88 nbytes = sb.st_size; 90 if (nbytes == 0) { 96 p = (void *)mmap((void *)0, (size_t)nbytes, PROT_READ, MAP_FILE | MAP_PRIVATE, 103 processor(p, nbytes, name, arg); 104 munmap((void *)p, nbytes);
|
| readfilemap.c | 90 size_t nbytes; local 116 nbytes = sb.st_size; 117 /* malloc will return NULL with nbytes == 0, handle files with size 0 */ 118 if (nbytes == 0) { 124 p = malloc(nbytes); 130 n = EXPAT_read(fd, p, (EXPAT_read_req_t)nbytes); 137 if (n != (EXPAT_read_count_t)nbytes) { 143 processor(p, nbytes, name, arg);
|
| /src/lib/libc/db/recno/ |
| rec_delete.c | 156 uint32_t nbytes; local 174 nbytes = NRLEAF(rl); 181 memmove(from + nbytes, from, (size_t)((char *)to - from)); 182 h->upper += nbytes; 189 ip[0] += nbytes; 193 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
|
| rec_put.c | 200 uint32_t nbytes; local 259 nbytes = NRLEAFDBT(data->size); 260 if ((uint32_t) (h->upper - h->lower) < nbytes + sizeof(indx_t)) { 261 status = __bt_split(t, h, NULL, data, dflags, nbytes, 273 h->linp[idx] = h->upper -= nbytes;
|
| /src/sys/arch/x68k/stand/libsa/ |
| fd.c | 98 int error, nbytes; local 105 nbytes = howmany(size, 128 << sc->fmt.minsec.N) 120 nbytes, 123 nbytes = 0; 130 *rsize = nbytes;
|
| /src/sys/dev/ic/ |
| amdccp.c | 77 const size_t nbytes = MIN(bytes_wanted, sizeof(buf)); local 78 const size_t nwords = howmany(nbytes, sizeof(buf[0]));
|
| /src/sys/external/bsd/drm2/drm/ |
| drm_scatter.c | 149 const size_t nbytes = PAGE_ALIGN(size); local 150 const size_t npages = nbytes >> PAGE_SHIFT; 169 error = -bus_dmamem_alloc(sg->sg_tag, nbytes, PAGE_SIZE, 0, 185 error = -bus_dmamem_map(sg->sg_tag, sg->sg_segs, nsegs, nbytes, 190 sg->sg_size = nbytes; 196 error = -bus_dmamap_create(sg->sg_tag, nbytes, nsegs, nbytes, 0, 205 error = -bus_dmamap_load(sg->sg_tag, sg->sg_map, sg->virtual, nbytes,
|
| /src/tests/fs/hfs/ |
| t_pathconvert.c | 40 int offset, nbytes; local 60 RL(nbytes = rump_sys_getdents(dirfd, buf, sizeof buf)); 62 for (offset = 0; offset < nbytes; offset += dirent->d_reclen) {
|
| /src/external/cddl/osnet/dist/uts/common/zmod/ |
| zmod_subr.c | 44 size_t nbytes = sizeof (struct zchdr) + items * size; local 45 struct zchdr *z = kobj_zalloc(nbytes, KM_NOWAIT|KM_TMP); 51 z->zch_size = nbytes;
|
| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| str-list.c | 66 size_t nbytes; local 69 nbytes = slp->nitems_max * sizeof (slp->item[0]); 70 slp->item = (const char **) xrealloc (slp->item, nbytes);
|
| /src/external/gpl2/xcvs/dist/src/ |
| socket-client.c | 68 int nbytes; local 94 nbytes = recv (sb->socket, data + *got, size - *got, 0); 95 if (nbytes < 0) 98 if (nbytes == 0) 109 *got += nbytes; 141 int nbytes; local 143 nbytes = send (sb->socket, data, have, 0); 144 if (nbytes < 0) 148 have -= nbytes; 149 data += nbytes; [all...] |