/osnet-11/usr/src/lib/libmapmalloc/common/ |
H A D | valloc.c | 45 * memalign(align,nbytes) - do nothing 50 memalign(size_t align, size_t nbytes) argument
|
/osnet-11/usr/src/lib/libwanbootutil/common/ |
H A D | wbio.c | 42 ssize_t nbytes; local 45 for (nwritten = 0; nwritten < buflen; nwritten += nbytes) { 46 nbytes = write(fd, &buf[nwritten], buflen - nwritten); 47 if (nbytes <= 0) 62 ssize_t nbytes; local 65 for (nread = 0; nread < buflen; nread += nbytes) { 66 nbytes = read(fd, &buf[nread], buflen - nread); 67 if (nbytes <= 0)
|
/osnet-11/usr/src/lib/libnsl/nsl/ |
H A D | t_sndvudata.c | 60 unsigned int nbytes; local 85 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); 87 if ((nbytes == 0) && 94 if ((tiptr->ti_maxpsz > 0) && (nbytes > (uint32_t)tiptr->ti_maxpsz)) { 161 if (nbytes != 0) { 162 if ((dataptr = malloc((size_t)nbytes)) == NULL) { 169 databuf.len = nbytes; 170 databuf.maxlen = nbytes;
|
H A D | t_rcv.c | 49 _tx_rcv(int fd, void *buf, unsigned nbytes, int *flags, int api_semantics) argument 166 databuf.maxlen = nbytes;
|
H A D | t_rcvv.c | 60 unsigned int nbytes; local 171 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); 173 if (nbytes != 0 && ((dataptr = malloc(nbytes)) == NULL)) { 185 databuf.maxlen = (int)nbytes;
|
H A D | t_rcvvudata.c | 69 unsigned int nbytes; local 116 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); 118 if (nbytes != 0 && ((dataptr = malloc(nbytes)) == NULL)) { 123 databuf.maxlen = nbytes;
|
H A D | t_snd.c | 49 _tx_snd(int fd, void *buf, unsigned nbytes, int flags, int api_semantics) argument 102 (nbytes > (uint32_t)tsdu_limit)) { 134 if (nbytes == 0 && !(tiptr->ti_prov_flag & (SENDZERO|OLD_SENDZERO))) { 160 bytes_remaining = nbytes; 207 if (nbytes == bytes_remaining) { 235 return (nbytes - bytes_remaining);
|
H A D | t_sndv.c | 53 unsigned int bytes_sent, bytes_remaining, bytes_to_send, nbytes; local 108 * nbytes is the sum of the bytecounts in the tiov vector 112 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount); 115 (nbytes > (uint32_t)tsdu_limit)) { 139 if (nbytes == 0 && !(tiptr->ti_prov_flag & (SENDZERO|OLD_SENDZERO))) { 168 if (nbytes != 0) { 169 if ((dataptr = malloc((size_t)nbytes)) == NULL) { 189 bytes_remaining = nbytes; 256 if (nbytes == bytes_remaining) { 287 return (nbytes [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_delete.c | 161 u_int32_t nbytes; local 178 nbytes = NRLEAF(rl); 185 memmove(from + nbytes, from, (char *)to - from); 186 h->upper += nbytes; 191 ip[0] += nbytes; 193 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
|
H A D | rec_put.c | 201 u_int32_t nbytes; local 258 nbytes = NRLEAFDBT(data->size); 259 if (h->upper - h->lower < nbytes + sizeof(indx_t)) { 260 status = __bt_split(t, h, NULL, data, dflags, nbytes, idx); 271 h->linp[idx] = h->upper -= nbytes;
|
/osnet-11/usr/src/lib/efcode/efdaemon/ |
H A D | efdaemon.c | 57 int c, fd, nbytes, status; local 137 nbytes = read(fd, &tc, sizeof (tc)); 138 if (nbytes < 0) {
|
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | memalign.c | 41 * memalign(align, nbytes) 54 * if nbytes = 0, 62 memalign(size_t align, size_t nbytes) argument 82 if (nbytes == 0 || _misaligned(align) || align == 0 || 99 if (nbytes > MAX_MALLOC) { 103 ROUND(nbytes); 104 if (nbytes < MINSIZE) 105 nbytes = MINSIZE; 109 reqsize = nbytes + align + (MINSIZE + WORDSIZE); 112 if (reqsize < nbytes) { [all...] |
/osnet-11/usr/src/lib/libc/port/i18n/ |
H A D | __fputws_xpg5.c | 65 int nbytes, i; local 83 nbytes = 0; 89 nbytes += ret; 101 if (fputs(mbbuf, iop) != nbytes) {
|
/osnet-11/usr/src/lib/libproc/common/ |
H A D | Pscantext.c | 56 int nbytes; /* number of bytes in buffer */ local 142 if ((nbytes = read(P->asfd, buf, 2*BLKSIZE)) <= 0) 145 if (nbytes < BLKSIZE) 148 n2bytes = nbytes - BLKSIZE; 149 nbytes = BLKSIZE; 156 if (nbytes <= 0) { /* shift buffers */ 157 if ((nbytes = n2bytes) <= 0) 161 nbytes); 164 if (nbytes == BLKSIZE && 171 if (syspri = Pissyscall_text(P, p, nbytes)) [all...] |
/osnet-11/usr/src/lib/libcmdutils/common/ |
H A D | writefile.c | 53 int nbytes; local 124 nbytes = write(fo, cp, mapsize); 130 if ((nbytes >= 0) && (nbytes != (int)mapsize)) { 131 remains = mapsize - nbytes; 133 nbytes = write(fo, 135 if (nbytes < 0) { 147 remains -= nbytes; 149 nbytes = mapsize; 159 if (nbytes < [all...] |
/osnet-11/usr/src/lib/libipmp/common/ |
H A D | ipmp_mpathd.c | 165 ssize_t nbytes; local 168 for (nwritten = 0; nwritten < buflen; nwritten += nbytes) { 169 nbytes = write(fd, &buf[nwritten], buflen - nwritten); 170 if (nbytes == -1) 172 if (nbytes == 0) { 213 ssize_t nbytes = 0; /* total bytes processed */ local 217 while (nbytes < buflen) { 253 prbytes = read(fd, (caddr_t)buffer + nbytes, buflen - nbytes); 259 nbytes [all...] |
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_put.c | 79 u_int32_t nbytes; local 210 nbytes = NBLEAFDBT(key->size, data->size); 211 if (h->upper - h->lower < nbytes + sizeof(indx_t)) { 213 data, dflags, nbytes, idx)) != RET_SUCCESS) 223 h->linp[idx] = h->upper -= nbytes; 280 u_int32_t nbytes; local 294 nbytes = NBLEAFDBT(key->size, data->size); 295 if (h->upper - h->lower < nbytes + sizeof(indx_t))
|
H A D | bt_delete.c | 482 u_int32_t nbytes; local 502 nbytes = NBLEAF(bl); 504 memmove(from + nbytes, from, (char *)to - from); 505 h->upper += nbytes; 511 ip[0] += nbytes; 513 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
|
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_client.c | 332 int nbytes = 0; local 337 if ((nbytes += (*clnt->xa_read)(clnt, mxa)) <= 0) 339 available += nbytes; 346 if ((nbytes = (*clnt->xa_read)(clnt, mxa)) <= 0) 348 available += nbytes; 351 return (nbytes);
|
/osnet-11/usr/src/lib/libcmd/common/ |
H A D | strings.c | 102 outstring(Sfio_t* out, char* cp, int nbytes, register int flags) argument 106 register int n = nbytes; 118 nbytes++; 124 return nbytes + 1;
|
/osnet-11/usr/src/lib/libgss/ |
H A D | oid_ops.c | 327 OM_uint32 nbytes; local 356 nbytes = 0; 377 nbytes++; 383 nbytes++; 400 if (((*oid)->elements = (void *) malloc(nbytes))) { 401 (*oid)->length = nbytes; 420 nbytes = 0; 424 nbytes++; 428 op += nbytes;
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/crypto/ |
H A D | aead.c | 142 size_t nbytes; local 152 nbytes = iov->data.length - iov_state->data_pos; 153 if (nbytes > block_size - j) 154 nbytes = block_size - j; 156 memcpy(block + j, iov->data.data + iov_state->data_pos, nbytes); 158 iov_state->data_pos += nbytes; 159 j += nbytes; 196 size_t nbytes; local 206 nbytes = iov->data.length - iov_state->data_pos; 207 if (nbytes > block_siz [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | oid_ops.c | 274 OM_uint32 nbytes; local 303 nbytes = 0; 326 nbytes++; 332 nbytes++; 349 if (((*oid)->elements = (void *) malloc(nbytes))) { 350 (*oid)->length = nbytes; 369 nbytes = 0; 373 nbytes++; 377 op += nbytes; 410 size_t nbytes; local [all...] |
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_delete.c | 150 u_int32_t nbytes; local 161 nbytes = BINTERNAL_SIZE(bi->len); 165 nbytes = BINTERNAL_SIZE(bi->len); 172 nbytes = RINTERNAL_SIZE; 210 nbytes = BOVERFLOW_SIZE; 224 nbytes = BKEYDATA_SIZE(bk->len); 235 if ((ret = __db_ditem(dbc, h, indx, nbytes)) != 0)
|
/osnet-11/usr/src/lib/libbsdmalloc/common/ |
H A D | malloc.bsd43.c | 95 malloc(size_t nbytes) argument 140 if (nbytes <= (n = pagesz - sizeof (*op))) { 148 while (nbytes > amt + n) { 262 realloc(void *cp, size_t nbytes) argument 270 if (nbytes == 0) { 275 return (malloc(nbytes)); 294 if ((res = malloc(nbytes)) != NULL) 295 (void) memmove(res, cp, nbytes); 314 if (nbytes <= onb && nbytes > s [all...] |