Home | History | Annotate | Download | only in utils

Lines Matching refs:line

18     char*   line;
31 /* Error codes returned by the internal line reading function(s) */
44 input->line = input->line0;
60 /* Grow the line buffer a bit */
64 char* line;
67 line = input->line;
68 if (line == input->line0)
69 line = NULL;
71 AARRAY_RENEW(line, input->line_size);
72 input->line = line;
112 return input->line;
114 return input->line;
129 /* Returns the number of the last line read by lineInput_getLine */
157 if (input->line != NULL) {
158 if (input->line != input->line0)
159 AFREE(input->line);
160 input->line = NULL;
168 /* Internal function used to read a new line from a FILE* using fgets().
171 * Return length of line, or either LINEINPUT_EOF / LINEINPUT_ERROR
179 input->line[0] = '\0';
182 char* buffer = input->line + offset;
187 * If we already read line data, just return it this time.
210 /* This happens when the line is longer than our current buffer,
212 offset = p - input->line;
223 if (p > input->line && p[-1] == '\r') {
234 return (p - input->line);