Lines Matching refs:G_buffer
87 static char *G_buffer; variable
215 while ((saved_record_size = safe_read (input_fd, G_buffer, read_size)) == 0 in tac_seekable()
227 size_t nread = safe_read (input_fd, G_buffer, read_size); in tac_seekable()
242 match_start = past_end = G_buffer + saved_record_size; in tac_seekable()
257 size_t i = match_start - G_buffer; in tac_seekable()
266 || ((ret = re_search (&compiled_separator, G_buffer, in tac_seekable()
269 match_start = G_buffer - 1; in tac_seekable()
275 match_start = G_buffer + regs.start[0]; in tac_seekable()
290 if (match_start < G_buffer) in tac_seekable()
295 output (G_buffer, past_end); in tac_seekable()
299 saved_record_size = past_end - G_buffer; in tac_seekable()
314 newbuffer = xrealloc (G_buffer - offset, G_buffer_size); in tac_seekable()
316 G_buffer = newbuffer; in tac_seekable()
332 memmove (G_buffer + read_size, G_buffer, saved_record_size); in tac_seekable()
333 past_end = G_buffer + read_size + saved_record_size; in tac_seekable()
336 match_start = G_buffer + read_size; in tac_seekable()
340 if (full_read (input_fd, G_buffer, read_size) != read_size) in tac_seekable()
388 size_t bytes_read = safe_read (input_fd, G_buffer, read_size); in copy_to_temp()
397 if (fwrite (G_buffer, 1, bytes_read, fp) != bytes_read) in copy_to_temp()
553 G_buffer = xmalloc (G_buffer_size); in main()
556 memcpy (G_buffer, separator, sentinel_length + 1); in main()
557 G_buffer += sentinel_length; in main()
561 ++G_buffer; in main()