Home
last modified time | relevance | path

Searched refs:line_start (Results 1 – 3 of 3) sorted by relevance

/coreutils/src/
Dcsplit.c102 struct line *line_start; /* Head of list of pointers to lines. */ member
304 keep_new_line (struct buffer_record *b, char *line_start, idx_t line_len) in keep_new_line() argument
309 if (b->line_start == nullptr) in keep_new_line()
310 b->line_start = b->curr_line = new_line_control (); in keep_new_line()
322 l->starts[l->insert_index].str = line_start; in keep_new_line()
339 char *line_start; /* Start of current line. */ in record_line_starts() local
347 line_start = b->buffer; in record_line_starts()
348 char *buffer_end = line_start + b->bytes_used; in record_line_starts()
353 char *line_end = rawmemchr (line_start, '\n'); in record_line_starts()
356 line_length = line_end - line_start + 1; in record_line_starts()
[all …]
Dptx.c745 char *line_start; /* start of the current input line */ in find_occurs_in_text() local
774 line_start = text_buffer->start; in find_occurs_in_text()
775 line_scan = line_start; in find_occurs_in_text()
779 reference_length = line_scan - line_start; in find_occurs_in_text()
919 line_start = line_scan; in find_occurs_in_text()
921 reference_length = line_scan - line_start; in find_occurs_in_text()
970 line_start = line_scan; in find_occurs_in_text()
986 occurs_cursor->reference = line_start - possible_key.start; in find_occurs_in_text()
993 if (input_reference && line_start == context_start) in find_occurs_in_text()
Dsort.c1785 char *line_start = buf->nlines ? line->text + line->length : buf->buf; in fillbuf() local
1809 if (line_start != ptrlim && ptrlim[-1] != eol) in fillbuf()
1823 line->text = line_start; in fillbuf()
1824 line->length = ptr - line_start; in fillbuf()
1841 while (blanks[to_uchar (*line_start)]) in fillbuf()
1842 line_start++; in fillbuf()
1843 line->keybeg = line_start; in fillbuf()
1847 line_start = ptr; in fillbuf()
1859 buf->left = ptr - line_start; in fillbuf()