Lines Matching refs:nl
123 char *buf, *nl; in __argp_fmtstream_update() local
163 nl = memchr (buf, '\n', len); in __argp_fmtstream_update()
168 if (!nl) in __argp_fmtstream_update()
183 nl = fs->p; in __argp_fmtstream_update()
185 else if (fs->point_col + (nl - buf) < (ssize_t) fs->rmargin) in __argp_fmtstream_update()
190 buf = nl + 1; in __argp_fmtstream_update()
201 if (nl < fs->p) in __argp_fmtstream_update()
203 memmove (buf + (r - fs->point_col), nl, fs->p - nl); in __argp_fmtstream_update()
204 fs->p -= buf + (r - fs->point_col) - nl; in __argp_fmtstream_update()
240 nl = p + 1; /* The newline will replace the first blank. */ in __argp_fmtstream_update()
250 while (p < nl && !isblank (*p)); in __argp_fmtstream_update()
251 if (p == nl) in __argp_fmtstream_update()
255 buf = nl + 1; in __argp_fmtstream_update()
259 nl = p; in __argp_fmtstream_update()
274 ? fs->end - nl < fs->wmargin + 1 in __argp_fmtstream_update()
275 : nextline - (nl + 1) < fs->wmargin) in __argp_fmtstream_update()
283 memmove (nl + 1 + fs->wmargin, nextline, mv); in __argp_fmtstream_update()
284 nextline = nl + 1 + fs->wmargin; in __argp_fmtstream_update()
286 *nl++ = '\n'; in __argp_fmtstream_update()
293 (int) (nl - fs->buf), fs->buf); in __argp_fmtstream_update()
295 if (nl > fs->buf) in __argp_fmtstream_update()
296 fwrite_unlocked (fs->buf, 1, nl - fs->buf, fs->stream); in __argp_fmtstream_update()
301 nl = buf = fs->buf; in __argp_fmtstream_update()
307 *nl++ = '\n'; in __argp_fmtstream_update()
309 if (nextline - nl >= fs->wmargin in __argp_fmtstream_update()
313 *nl++ = ' '; in __argp_fmtstream_update()
325 if (nl < nextline) in __argp_fmtstream_update()
326 memmove (nl, nextline, buf + len - nextline); in __argp_fmtstream_update()
330 buf = nl; in __argp_fmtstream_update()
333 fs->p = nl + len; in __argp_fmtstream_update()