Lines Matching defs:text

24 /* The replacement text of a function-like macro is stored as a
25 contiguous sequence of aligned blocks, each representing the text
28 Each block comprises the text between its surrounding parameters,
29 the length of that text, and the one-based index of the following
30 parameter. The final block in the replacement text is easily
37 uchar text[1];
40 #define BLOCK_HEADER_LEN offsetof (struct block, text)
136 context. IN_DEFINE is true if we are in the replacement text of a
262 /* Overlays the true file buffer temporarily with text of length LEN
296 is more text left in the buffer. */
496 output, and push its replacement text. */
505 /* Found a parameter in the replacement text of a
574 output, and push its replacement text. */
680 /* Push a context holding the replacement text of the macro NODE on
687 const uchar *text;
692 text = _cpp_builtin_macro_text (pfile, node);
693 len = ustrlen (text);
695 memcpy (buf, text, len);
697 text = buf;
703 text = macro->exp.text;
708 _cpp_push_text_context (pfile, node, text, len);
751 /* Return the length of the replacement text of a function-like or
763 for (exp = macro->exp.text;;)
780 /* Copy the replacement text of MACRO to DEST, which must be of
790 for (exp = macro->exp.text;;)
795 memcpy (dest, b->text, b->text_len);
807 memcpy (dest, macro->exp.text, macro->count);
814 /* Push a context holding the replacement text of the macro NODE on
831 /* Calculate the length of the argument-replaced text. */
832 for (exp = macro->exp.text;;)
849 for (exp = macro->exp.text;;)
854 memcpy (p, b->text, b->text_len);
919 /* Save the text from pfile->out.base to pfile->out.cur as
920 the replacement text for the current macro, followed by argument
922 text. */
933 simply store their \n-terminated replacement text. */
937 macro->exp.text = exp;
943 /* Store the text's length (unsigned int), the argument index
944 (unsigned short, base 1) and then the text. */
953 macro->exp.text = exp;
959 memcpy (block->text, pfile->out.base, len);
972 /* Analyze and save the replacement text of a macro. Returns true on
1007 /* Skip leading whitespace in the replacement text. */
1080 const uchar *exp1 = macro1->exp.text, *exp2 = macro2->exp.text;
1091 len1 = canonicalize_text (p1, b1->text, b1->text_len, &quote1);
1092 len2 = canonicalize_text (p2, b2->text, b2->text_len, &quote2);
1106 len1 = canonicalize_text (p1, macro1->exp.text, macro1->count, &quote1);
1107 len2 = canonicalize_text (p2, macro2->exp.text, macro2->count, &quote2);