Lines Matching defs:text

95 /* Flush the formatted text of PRETTY-PRINTER onto the attached stream.  */
99 const char *text = pp_formatted_text (pp);
100 fputs (text, pp->buffer->stream);
104 /* Wrap a text delimited by START and END into PRETTY-PRINTER. */
137 /* Same as pp_wrap_text but wrap text only when in line-wrapping mode. */
180 %m: strerror(text->err_no) - does not consume a value from args_ptr.
191 Flag 'q': quote formatted text (must come immediately after '%').
208 pp_base_format (pretty_printer *pp, text_info *text)
229 %m, %%, %<, %>, and %' are replaced with the appropriate text at
234 for (p = text->format_spec; *p; )
270 const char *errstr = xstrerror (text->err_no);
372 /* Second phase. Replace each formatter with the formatted text it
427 pp_character (pp, va_arg (*text->args_ptr, int));
433 pp_wide_integer (pp, va_arg (*text->args_ptr, HOST_WIDE_INT));
436 (pp, *text->args_ptr, precision, int, "d");
442 va_arg (*text->args_ptr, unsigned HOST_WIDE_INT));
445 (pp, *text->args_ptr, precision, unsigned, "o");
449 pp_string (pp, va_arg (*text->args_ptr, const char *));
453 pp_pointer (pp, va_arg (*text->args_ptr, void *));
459 va_arg (*text->args_ptr, unsigned HOST_WIDE_INT));
462 (pp, *text->args_ptr, precision, unsigned, "u");
468 va_arg (*text->args_ptr, unsigned HOST_WIDE_INT));
471 (pp, *text->args_ptr, precision, unsigned, "x");
476 location_t *locus = va_arg (*text->args_ptr, location_t *);
477 gcc_assert (text->locus != NULL);
478 *text->locus = *locus;
484 tree t = va_arg (*text->args_ptr, tree);
485 gcc_assert (text->locus != NULL);
486 *text->locus = DECL_SOURCE_LOCATION (t);
511 n = va_arg (*text->args_ptr, int);
518 s = va_arg (*text->args_ptr, const char *);
528 ok = pp_format_decoder (pp) (pp, text, p,
579 pp_base_format_verbatim (pretty_printer *pp, text_info *text)
585 pp_format (pp, text);
613 /* Clear PRETTY-PRINTER output area text info. */
710 the PRETTY-PRINTED text. */
724 struct obstack *text = pp->buffer->obstack;
726 if (obstack_base (text) != obstack_next_free (text))
727 p = ((const char *) obstack_next_free (text)) - 1;
744 text_info text;
748 text.err_no = errno;
749 text.args_ptr = &ap;
750 text.format_spec = msg;
751 text.locus = NULL;
752 pp_format (pp, &text);
762 text_info text;
766 text.err_no = errno;
767 text.args_ptr = &ap;
768 text.format_spec = msg;
769 text.locus = NULL;
770 pp_format_verbatim (pp, &text);