/titanic_50/usr/src/lib/libtecla/common/ |
H A D | ioutil.c | 105 int ndone; /* The number of characters written from string[] */ in _io_display_text() local 149 for(ndone=0; string[ndone]; start=0) { in _io_display_text() 183 for(i=ndone; string[i] && (last+i-ndone < term_width - suffix_len || in _io_display_text() 187 nnew = i-ndone; in _io_display_text() 191 nnew = i-ndone+1; 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() 217 if(string[ndone] != '\0') { in _io_display_text() 239 while(string[ndone] && isspace((int)string[ndone]) && in _io_display_text() [all …]
|
H A D | chrqueue.c | 166 int ndone = 0; /* The number of characters appended so far */ in _glq_append_chars() local 178 while(ndone < n) { in _glq_append_chars() 208 return ndone; /* Error */ in _glq_append_chars() 226 return ndone; in _glq_append_chars() 248 ntodo = n - ndone; in _glq_append_chars() 256 memcpy(cq->buffers.tail->bytes + boff, chars + ndone, nnew); in _glq_append_chars() 258 ndone += nnew; in _glq_append_chars() 263 return ndone; in _glq_append_chars()
|
H A D | getline.c | 3881 int ndone = 0; /* The number of characters written so far */ in gl_print_raw_string() local 3897 if(write_fn(gl, string + ndone, n-ndone) != n) in gl_print_raw_string() 6866 int ndone = 0; /* The number of characters written so far */ in GL_WRITE_FN() local 6874 while(ndone < n) { in GL_WRITE_FN() 6875 int nnew = write(gl->output_fd, s, n-ndone); in GL_WRITE_FN() 6881 ndone += nnew; in GL_WRITE_FN() 6894 } else if(ndone > 0 in GL_WRITE_FN() 6902 return ndone; in GL_WRITE_FN() 10591 int ndone = _glq_append_chars(gl->cq, s, n, gl->flush_fn, gl); local 10592 if(ndone != n) [all …]
|
/titanic_50/usr/src/lib/libbc/libc/stdio/common/ |
H A D | fputs.c | 49 int ndone = 0, n; in fputs() local 84 ndone += n; in fputs() 97 return(ndone); in fputs() 112 ndone += n; in fputs() 115 return(ndone); in fputs()
|
H A D | puts.c | 48 register int ndone = 0, n; local 65 ndone += n; 71 return(ndone);
|
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | str_conv.c | 238 size_t ndone; in krb5_timestamp_to_sfstring() local 256 ndone = 0; in krb5_timestamp_to_sfstring() 258 if ((ndone = strftime(buffer, buflen, sftime_format_table[i], tmp))) in krb5_timestamp_to_sfstring() 261 if (!ndone) { in krb5_timestamp_to_sfstring() 267 ndone = strlen(buffer); in krb5_timestamp_to_sfstring() 270 if (ndone && pad) { in krb5_timestamp_to_sfstring() 271 for (i=ndone; i<buflen-1; i++) in krb5_timestamp_to_sfstring() 275 return((ndone) ? 0 : ENOMEM); in krb5_timestamp_to_sfstring()
|
/titanic_50/usr/src/lib/libc/port/stdio/ |
H A D | puts.c | 47 ssize_t ndone = 0L, n; in puts() local 90 ndone += len; in puts() 107 if (ndone <= INT_MAX) in puts() 108 return ((int)ndone); in puts()
|
H A D | fputs.c | 53 ssize_t ndone = 0L, n; in fputs() local 96 ndone += len; in fputs() 109 if (ndone <= INT_MAX) in fputs() 110 return ((int)ndone); in fputs()
|
/titanic_50/usr/src/cmd/enhance/ |
H A D | enhance.c | 672 int ndone = 0; /* The number of characters written so far */ in pty_write_to_fd() local 676 while(ndone < n) { in pty_write_to_fd() 677 int nnew = write(fd, string + ndone, n - ndone); in pty_write_to_fd() 679 ndone += nnew; in pty_write_to_fd()
|
/titanic_50/usr/src/cmd/troff/ |
H A D | nii.c | 114 int ndone; variable
|
H A D | ext.h | 116 extern int ndone;
|
H A D | n7.c | 507 if ((!nc && !wch) || ndone) 509 ndone++;
|
H A D | n1.c | 1040 if (donef || ndone) in getch0()
|
/titanic_50/usr/src/cmd/cpc/common/ |
H A D | cputrack.c | 777 int ndone = 0; in p4_ht_error() local 864 ndone++; in p4_ht_error() 866 if (ndone < noffline) in p4_ht_error()
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 146 size_t n, ndone; in kmt_rw() local 162 ndone = 0; in kmt_rw() 167 return (ndone > 0 ? ndone : -1); /* errno set for us */ in kmt_rw() 179 return (res < 0 ? res : ndone + res); in kmt_rw() 183 ndone += n; in kmt_rw() 189 return (ndone); in kmt_rw()
|