Lines Matching refs:buffer

47   /* Memory buffer holding the trad_arg array.  */
52 buffer. The argument continues until the character before the
59 /* The offset of the macro name in the output buffer. */
96 /* Ensures we have N bytes' space in the output buffer, and
121 const uchar *cur = pfile->buffer->cur;
132 pfile->buffer->cur = cur;
139 The asterisk and following comment is copied to the buffer pointed
146 input buffer. */
152 cpp_buffer *buffer = pfile->buffer;
154 buffer->cur = cur;
186 size_t len = (size_t) (buffer->cur - cur);
196 return buffer->cur;
199 /* CUR points to any character in the input buffer. Skips over all
205 The whitespace is copied verbatim to the output buffer, except that
210 the input buffer. */
262 /* Overlays the true file buffer temporarily with text of length LEN
263 starting at START. The true buffer is restored upon calling
268 cpp_buffer *buffer = pfile->buffer;
270 pfile->overlaid_buffer = buffer;
271 pfile->saved_cur = buffer->cur;
272 pfile->saved_rlimit = buffer->rlimit;
273 pfile->saved_line_base = buffer->next_line;
274 buffer->need_line = false;
276 buffer->cur = start;
277 buffer->line_base = start;
278 buffer->rlimit = start + len;
281 /* Restores a buffer overlaid by _cpp_overlay_buffer(). */
285 cpp_buffer *buffer = pfile->overlaid_buffer;
287 buffer->cur = pfile->saved_cur;
288 buffer->rlimit = pfile->saved_rlimit;
289 buffer->line_base = pfile->saved_line_base;
290 buffer->need_line = true;
295 /* Reads a logical line into the output buffer. Returns TRUE if there
296 is more text left in the buffer. */
302 if (pfile->buffer->need_line && !_cpp_get_fresh_line (pfile))
307 return pfile->buffer != NULL;
335 /* Copies the next logical line in the current buffer (starting at
336 buffer->cur) to the output buffer. The output is guaranteed to
337 terminate with a NUL character. buffer->cur is updated.
359 CUR (pfile->context) = pfile->buffer->cur;
360 RLIMIT (pfile->context) = pfile->buffer->rlimit;
365 start_of_input_line = pfile->buffer->cur;
375 && cur >= pfile->buffer->notes[pfile->buffer->cur_note].pos)
377 pfile->buffer->cur = cur;
403 /* Omit the newline from the output buffer. */
405 pfile->buffer->cur = cur;
406 pfile->buffer->need_line = true;
417 cur = pfile->buffer->cur;
607 pfile->buffer->need_line = true;
628 pfile->buffer->cur = cur;
870 /* So we free buffer allocation when macro is left. */
961 /* Lex the rest into the start of the output buffer. */
984 CUR (context) = pfile->buffer->cur;
985 RLIMIT (context) = pfile->buffer->rlimit;
1008 pfile->buffer->cur