HomeSort by relevance Sort by last modified time
    Searched defs:nbytes (Results 1 - 25 of 178) sorted by null

1 2 3 4 5 6 7 8

  /onnv/onnv-gate/usr/src/ucbcmd/sum/
sum.c 30 long long nbytes; local
45 nbytes = 0;
47 nbytes++;
63 (nbytes + BUFSIZ - 1) / BUFSIZ);
  /onnv/onnv-gate/usr/src/cmd/pgrep/
psexp.c 77 size_t nbytes; local
97 nbytes = regerror(err, &psexp->ps_reg, NULL, 0);
98 buf = alloca(nbytes + 1);
99 (void) regerror(err, &psexp->ps_reg, buf, nbytes);
  /onnv/onnv-gate/usr/src/lib/libwanbootutil/common/
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)
  /onnv/onnv-gate/usr/src/uts/common/fs/smbsrv/
smb_echo.c 54 unsigned short nbytes; local
62 nbytes = sr->smb_bcc;
63 data = smb_srm_alloc(sr, nbytes);
65 if (smb_mbc_decodef(&sr->smb_data, "#c", nbytes, data))
69 MBC_INIT(&reply, SMB_HEADER_ED_LEN + 10 + nbytes);
86 nbytes, nbytes, data);
  /onnv/onnv-gate/usr/src/cmd/lp/lib/msgs/
read_fifo.c 303 int n, nbytes, count = 0; local
351 nbytes = MSGMAX - (fbp->psave_end - fbp->save);
353 while ((n = read(fifo, fbp->psave_end, nbytes)) == 0 && count < 60)
363 fbp->full = (nbytes == n);
  /onnv/onnv-gate/usr/src/lib/efcode/efdaemon/
efdaemon.c 57 int c, fd, nbytes, status; local
137 nbytes = read(fd, &tc, sizeof (tc));
138 if (nbytes < 0) {
  /onnv/onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
rec_delete.c 163 u_int32_t nbytes; local
180 nbytes = NRLEAF(rl);
187 memmove(from + nbytes, from, (char *)to - from);
188 h->upper += nbytes;
193 ip[0] += nbytes;
195 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
rec_put.c 203 u_int32_t nbytes; local
260 nbytes = NRLEAFDBT(data->size);
261 if (h->upper - h->lower < nbytes + sizeof(indx_t)) {
262 status = __bt_split(t, h, NULL, data, dflags, nbytes, idx);
273 h->linp[idx] = h->upper -= nbytes;
  /onnv/onnv-gate/usr/src/lib/libbc/libc/sys/common/
getdents.c 62 int ret, nbytes; local
74 nbytes = bytes; /* buffer can only be as large as user expects */
76 if ((nbuf = (char *)malloc(nbytes)) == NULL) {
80 if ((ret = _syscall(SYS_getdents, fd, nbuf, nbytes)) == -1) {
  /onnv/onnv-gate/usr/src/lib/libc/port/i18n/
__fputws_xpg5.c 65 int nbytes, i; local
83 nbytes = 0;
89 nbytes += ret;
101 if (fputs(mbbuf, iop) != nbytes) {
  /onnv/onnv-gate/usr/src/lib/libcmdutils/common/
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 < 0)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libnsl/nsl/
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;
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;
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;
t_sndv.c 56 unsigned int bytes_sent, bytes_remaining, bytes_to_send, nbytes; local
111 * nbytes is the sum of the bytecounts in the tiov vector
115 nbytes = _t_bytecount_upto_intmax(tiov, tiovcount);
118 (nbytes > (uint32_t)tsdu_limit)) {
142 if (nbytes == 0 && !(tiptr->ti_prov_flag & (SENDZERO|OLD_SENDZERO))) {
171 if (nbytes != 0) {
172 if ((dataptr = malloc((size_t)nbytes)) == NULL) {
192 bytes_remaining = nbytes;
259 if (nbytes == bytes_remaining) {
290 return (nbytes - bytes_remaining)
    [all...]
  /onnv/onnv-gate/usr/src/lib/libproc/common/
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...]
  /onnv/onnv-gate/usr/src/uts/common/zmod/
zmod_subr.c 45 size_t nbytes = sizeof (struct zchdr) + items * size; local
46 struct zchdr *z = kobj_zalloc(nbytes, KM_NOWAIT|KM_TMP);
52 z->zch_size = nbytes;
  /onnv/onnv-gate/usr/src/uts/i86xpv/io/
domcaps.c 108 size_t nbytes; local
112 nbytes = MIN(uio->uio_resid, sizeof (data) - uio->uio_loffset);
114 return (uiomove(data + uio->uio_loffset, nbytes,
  /onnv/onnv-gate/usr/src/cmd/audio/utilities/
AudioTypeG72X.cc 105 size_t nbytes; local
150 nbytes = (size_t)inhdr.Time_to_Bytes(length);
151 if (nbytes == 0)
165 err = g721_encode((void*)inptr, nbytes, &chdr,
175 err = g723_encode((void*)inptr, nbytes, &chdr,
193 err = g721_decode(inptr, nbytes, &chdr,
211 err = g723_decode(inptr, nbytes, &chdr,
AudioTypeChannel.cc 76 size_t nbytes; local
129 nbytes = (size_t)inhdr.FrameLength();
182 for (k = 0; k < nbytes; k++)
185 cin += nbytes;
AudioTypeMux.cc 76 size_t nbytes; local
113 nbytes = (size_t)inhdr.FrameLength();
205 for (k = 0; k < nbytes; k++) {
  /onnv/onnv-gate/usr/src/lib/libipmp/common/
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 += prbytes
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/syscall/
uadmin.c 406 size_t nbytes = 0; local
443 BOOTARGS_MAX, &nbytes)) != 0) {
  /onnv/onnv-gate/usr/src/cmd/mdb/common/modules/genunix/
bio.c 51 size_t nbytes; local
70 nbytes = sizeof (struct hbuf) * v.v_hbuf;
71 hbufs = mdb_alloc(nbytes, UM_SLEEP);
73 if (mdb_vread(hbufs, nbytes, hbuf_addr) != nbytes) {
75 mdb_free(hbufs, nbytes);
  /onnv/onnv-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
bt_put.c 81 u_int32_t nbytes; local
212 nbytes = NBLEAFDBT(key->size, data->size);
213 if (h->upper - h->lower < nbytes + sizeof(indx_t)) {
215 data, dflags, nbytes, idx)) != RET_SUCCESS)
225 h->linp[idx] = h->upper -= nbytes;
282 u_int32_t nbytes; local
296 nbytes = NBLEAFDBT(key->size, data->size);
297 if (h->upper - h->lower < nbytes + sizeof(indx_t))

Completed in 360 milliseconds

1 2 3 4 5 6 7 8