Lines Matching refs:macro_buffer

35 struct macro_buffer  struct
81 init_buffer (struct macro_buffer *b, int n) in init_buffer() argument
97 init_shared_buffer (struct macro_buffer *buf, char *addr, int len) in init_shared_buffer()
109 free_buffer (struct macro_buffer *b) in free_buffer()
120 free_buffer_return_text (struct macro_buffer *b) in free_buffer_return_text()
132 free_buffer ((struct macro_buffer *) untyped_buf); in cleanup_macro_buffer()
139 resize_buffer (struct macro_buffer *b, int n) in resize_buffer()
156 appendc (struct macro_buffer *b, int c) in appendc()
170 appendmem (struct macro_buffer *b, char *addr, int len) in appendmem()
214 set_token (struct macro_buffer *tok, char *start, char *end) in set_token()
225 get_comment (struct macro_buffer *tok, char *p, char *end) in get_comment()
267 get_identifier (struct macro_buffer *tok, char *p, char *end) in get_identifier()
289 get_pp_number (struct macro_buffer *tok, char *p, char *end) in get_pp_number()
328 get_character_constant (struct macro_buffer *tok, char *p, char *end) in get_character_constant()
386 get_string_literal (struct macro_buffer *tok, char *p, char *end) in get_string_literal()
433 get_punctuator (struct macro_buffer *tok, char *p, char *end) in get_punctuator()
494 get_token (struct macro_buffer *tok, in get_token()
495 struct macro_buffer *src) in get_token()
579 append_tokens_without_splicing (struct macro_buffer *dest, in append_tokens_without_splicing()
580 struct macro_buffer *src) in append_tokens_without_splicing()
583 struct macro_buffer dest_tail, new_token; in append_tokens_without_splicing()
651 stringify (struct macro_buffer *dest, const char *arg, int len) in stringify()
699 struct macro_buffer buffer; in macro_stringify()
781 static struct macro_buffer *
782 gather_arguments (const char *name, struct macro_buffer *src, in gather_arguments()
785 struct macro_buffer tok; in gather_arguments()
787 struct macro_buffer *args = NULL; in gather_arguments()
794 struct macro_buffer temp; in gather_arguments()
812 args = (struct macro_buffer *) xmalloc (sizeof (*args) * args_size); in gather_arguments()
816 struct macro_buffer *arg; in gather_arguments()
899 static void scan (struct macro_buffer *dest,
900 struct macro_buffer *src,
918 find_parameter (const struct macro_buffer *tok, in find_parameter()
919 int is_varargs, const struct macro_buffer *va_arg_name, in find_parameter()
955 substitute_args (struct macro_buffer *dest, in substitute_args()
957 int is_varargs, const struct macro_buffer *va_arg_name, in substitute_args()
958 int argc, struct macro_buffer *argv, in substitute_args()
964 struct macro_buffer replacement_list; in substitute_args()
966 struct macro_buffer tok; in substitute_args()
970 struct macro_buffer lookahead; in substitute_args()
1134 struct macro_buffer arg_src; in substitute_args()
1175 struct macro_buffer *dest, in expand()
1176 struct macro_buffer *src, in expand()
1194 struct macro_buffer replacement_list; in expand()
1206 struct macro_buffer *argv = NULL; in expand()
1207 struct macro_buffer substituted; in expand()
1208 struct macro_buffer substituted_src; in expand()
1209 struct macro_buffer va_arg_name = {0}; in expand()
1312 maybe_expand (struct macro_buffer *dest, in maybe_expand()
1313 struct macro_buffer *src_first, in maybe_expand()
1314 struct macro_buffer *src_rest, in maybe_expand()
1362 scan (struct macro_buffer *dest, in scan()
1363 struct macro_buffer *src, in scan()
1373 struct macro_buffer tok; in scan()
1409 struct macro_buffer src, dest; in macro_expand()
1441 struct macro_buffer src, dest, tok; in macro_expand_next()