Lines Matching defs:print
40 } print;
109 if (print.printed)
110 putc ('\n', print.outf);
158 /* Initialize the print structure. */
159 print.src_line = 1;
160 print.printed = false;
161 print.prev = 0;
162 print.outf = out_stream;
163 print.first_time = 1;
164 print.src_file = "";
165 print.prev_was_system_token = false;
180 print.source = NULL;
189 if (print.source == NULL
190 || (!(print.source->flags & PREV_WHITE)
192 print.source = token->val.source;
204 if (print.source == NULL)
205 print.source = token;
207 if (src_line != print.src_line
212 putc (' ', print.outf);
213 print.printed = true;
215 else if (print.source->flags & PREV_WHITE
216 || (print.prev
217 && cpp_avoid_paste (pfile, print.prev, token))
218 || (print.prev == NULL && token->type == CPP_HASH))
220 putc (' ', print.outf);
221 print.printed = true;
228 if (src_line != print.src_line
232 putc (' ', print.outf);
233 print.printed = true;
237 print.source = NULL;
238 print.prev = token;
245 fputs ("#pragma ", print.outf);
248 fprintf (print.outf, "%s %s", space, name);
250 fprintf (print.outf, "%s", name);
251 print.printed = true;
262 linemap_dump_location (line_table, token->src_loc, print.outf);
267 && print.prev_was_system_token != !!in_system_header_at (loc)
274 print.prev_was_system_token = !!in_system_header_at (loc);
276 cpp_output_token (token, print.outf);
278 print.printed = true;
293 print.src_line += lines;
294 fwrite (buf, 1, size, print.outf);
310 /* Adjust print.src_line for newlines embedded in output. */
316 print.src_line++;
327 fwrite (pfile->out.base, 1, len, print.outf);
328 print.printed = true;
347 if (print.printed)
350 print.src_line++;
351 print.printed = false;
355 && src_line >= print.src_line
356 && src_line < print.src_line + 8
357 && strcmp (src_file, print.src_file) == 0)
359 while (src_line > print.src_line)
362 print.src_line++;
381 print.outf);
382 return maybe_print_line_1 (src_loc, print.outf);
395 if (print.printed)
397 print.printed = false;
408 print.src_line = LOCATION_LINE (src_loc);
409 print.src_file = file_path;
418 print.src_line == 0 ? 1 : print.src_line,
443 print.outf);
444 return print_line_1 (src_loc, special_flags, print.outf);
461 print.prev = 0;
462 print.source = 0;
472 print.printed = true;
475 putc (' ', print.outf);
495 fprintf (print.outf, "#ident %s\n", str->text);
496 print.src_line++;
505 fputs ("#define ", print.outf);
510 print.outf);
512 fputs ((const char *) NODE_NAME (node), print.outf);
514 putc ('\n', print.outf);
515 print.printed = false;
520 print.src_line++;
528 fprintf (print.outf, "#undef %s\n", NODE_NAME (node));
529 print.src_line++;
564 if (print.printed)
566 putc ('\n', print.outf);
567 print.src_line++;
568 print.printed = false;
574 fputs ("#define ", print.outf);
575 fputs (q->macro, print.outf);
576 putc ('\n', print.outf);
577 print.printed = false;
578 print.src_line++;
588 fprintf (print.outf, "#undef %s\n", q->macro);
589 print.src_line++;
605 fprintf (print.outf, "#%s <%s>", dir, header);
607 fprintf (print.outf, "#%s \"%s\"", dir, header);
614 putc (' ', print.outf);
615 cpp_output_token (*comments, print.outf);
620 putc ('\n', print.outf);
621 print.printed = false;
622 print.src_line++;
639 fprintf (print.outf, "# 1 \"%s//\"\n", to_file_quoted);
656 if (print.first_time)
661 print.first_time = 0;
683 fputs ("#pragma ", print.outf);
684 cpp_output_line (pfile, print.outf);
685 print.printed = false;
686 print.src_line++;
695 fputs ("#define ", print.outf);
697 print.outf);
698 putc ('\n', print.outf);
699 print.printed = false;
700 print.src_line++;
707 by ORIG_NAME. Also, print out a #include command so that the PCH
716 fprintf (print.outf, "#pragma GCC pch_preprocess \"%s\"\n", name);
717 print.src_line++;