Home
last modified time | relevance | path

Searched refs:nnew (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/lib/libtecla/common/
H A Dioutil.c106 int nnew; /* The number of characters to be displayed next */ in _io_display_text() local
181 nnew = 0; in _io_display_text()
184 (nnew==0 && last==margin_width)); i++) { in _io_display_text()
187 nnew = i-ndone; in _io_display_text()
191 nnew = i-ndone+1; in _io_display_text()
202 if(nnew==0 && string[i] == '\0') in _io_display_text()
203 nnew = i-ndone; in _io_display_text()
207 if(write_fn(data, string+ndone, nnew) != nnew) in _io_display_text()
209 ndone += nnew; in _io_display_text()
210 last += nnew; in _io_display_text()
[all …]
H A Dchrqueue.c181 int nnew; /* The number of characters to append to cq->buffers.tail */ in _glq_append_chars() local
252 nnew = nleft < ntodo ? nleft : ntodo; in _glq_append_chars()
256 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars()
257 cq->ntotal += nnew; in _glq_append_chars()
258 ndone += nnew; in _glq_append_chars()
364 int nnew = write_fn(data, cq->buffers.head->bytes + in _glq_flush_queue() local
369 if(nnew > 0) { in _glq_flush_queue()
374 cq->nflush += nnew; in _glq_flush_queue()
379 if(nnew == nbuff) { in _glq_flush_queue()
405 } else if(nnew==0) { in _glq_flush_queue()
H A Derrmsg.c132 int nnew = slen < nleft ? slen : nleft; in _err_record_msg() local
133 strncpy(err->msg + msglen, s, nnew); in _err_record_msg()
134 msglen += nnew; in _err_record_msg()
H A Dgetline.c6875 int nnew = write(gl->output_fd, s, n-ndone); in GL_WRITE_FN() local
6880 if(nnew > 0) { in GL_WRITE_FN()
6881 ndone += nnew; in GL_WRITE_FN()
12017 int nnew; /* The number of characters actually recorded */ local
12022 nnew = bufpos + n <= gl->linelen ? n : (gl->linelen - bufpos);
12026 for(i=0; i<nnew; i++)
12031 return nnew < n;
/titanic_41/usr/src/lib/libnisdb/
H A Dldap_val.h58 void copyIndex(__nis_index_t *old, __nis_index_t *nnew,
85 __nis_obj_spec_t *nnew, int *err);
89 __nis_search_triple_t *nnew, int *err);
95 __nis_triple_or_obj_t *nnew, int *err);
102 __nis_mapping_item_t *nnew, int *err);
/titanic_41/usr/src/cmd/enhance/
H A Denhance.c590 int nnew = read(fd, rbuff + len, PTY_MAX_READ - len); in GL_FD_EVENT_FN() local
591 if(nnew < 0) in GL_FD_EVENT_FN()
593 len += nnew; in GL_FD_EVENT_FN()
677 int nnew = write(fd, string + ndone, n - ndone); in pty_write_to_fd() local
678 if(nnew > 0) in pty_write_to_fd()
679 ndone += nnew; in pty_write_to_fd()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprvnops.c4839 ulong_t nold, nnew; in rebuild_objdir() local
4886 nnew = nentries; in rebuild_objdir()
4892 nnew--; in rebuild_objdir()
4903 if (nold + nnew > as->a_sizedir) { in rebuild_objdir()
4909 ulong_t newsize = (nold + nnew + 0xf) & ~0xf; in rebuild_objdir()
4923 if (nnew) { in rebuild_objdir()