Lines Matching defs:line

44  *   entire line, the fractional line is shelved, and will be grafted to on the
115 * If our current line is incomplete, we need to get the rest of
116 * the line--if we can't, then we've exhausted memory.
169 * stream_stdio_fetch() guarantees the return of a complete line, or a flag
170 * indicating that the complete line could not be read.
187 * The graft point is the start of the current line.
192 * Correct for terminating NUL on shelved line. This NUL is
241 * We were only able to read part of the line; note that
244 * can't get the entire line, then we need more
270 * operations of this kind.) In this case, we read the current line at the head
271 * of the stream's defined buffer. If we cannot read the entire line, we have
304 * line means our buffer size was insufficient (as we
372 stream_stdio_put_line(stream_t *str, line_rec_t *line)
377 if (line->l_data_length >= 0) {
378 if (cxwrite(str->s_type.SF.s_fd, line->l_data.sp,
379 line->l_data_length) < 0)
385 safe_free(line->l_raw_collate.sp);
386 line->l_raw_collate.sp = NULL;
390 stream_stdio_put_line_unique(stream_t *str, line_rec_t *line)
399 collated(&pvs, line, 0, COLL_UNIQUE) == 0) {
405 stream_stdio_put_line(str, line);
407 if (line->l_collate_length + 1 > collate_buf_len) {
409 line->l_collate_length + 1);
410 collate_buf_len = line->l_collate_length + 1;
413 (void) memcpy(pvs.l_collate.sp, line->l_collate.sp,
414 line->l_collate_length);
415 *(pvs.l_collate.sp + line->l_collate_length) = '\0';
416 pvs.l_collate_length = line->l_collate_length;