Lines Matching refs:macro_buffer

36 struct macro_buffer  struct
82 init_buffer (struct macro_buffer *b, int n) in init_buffer() argument
101 init_shared_buffer (struct macro_buffer *buf, char *addr, int len) in init_shared_buffer()
113 free_buffer (struct macro_buffer *b) in free_buffer()
125 free_buffer ((struct macro_buffer *) untyped_buf); in cleanup_macro_buffer()
132 resize_buffer (struct macro_buffer *b, int n) in resize_buffer()
149 appendc (struct macro_buffer *b, int c) in appendc()
163 appendmem (struct macro_buffer *b, char *addr, int len) in appendmem()
207 set_token (struct macro_buffer *tok, char *start, char *end) in set_token()
218 get_comment (struct macro_buffer *tok, char *p, char *end) in get_comment()
260 get_identifier (struct macro_buffer *tok, char *p, char *end) in get_identifier()
282 get_pp_number (struct macro_buffer *tok, char *p, char *end) in get_pp_number()
319 get_character_constant (struct macro_buffer *tok, char *p, char *end) in get_character_constant()
373 get_string_literal (struct macro_buffer *tok, char *p, char *end) in get_string_literal()
420 get_punctuator (struct macro_buffer *tok, char *p, char *end) in get_punctuator()
470 get_token (struct macro_buffer *tok, in get_token()
471 struct macro_buffer *src) in get_token()
554 append_tokens_without_splicing (struct macro_buffer *dest, in append_tokens_without_splicing()
555 struct macro_buffer *src) in append_tokens_without_splicing()
558 struct macro_buffer dest_tail, new_token; in append_tokens_without_splicing()
690 static struct macro_buffer *
691 gather_arguments (const char *name, struct macro_buffer *src, int *argc_p) in gather_arguments()
693 struct macro_buffer tok; in gather_arguments()
695 struct macro_buffer *args = NULL; in gather_arguments()
702 struct macro_buffer temp; in gather_arguments()
719 args = (struct macro_buffer *) xmalloc (sizeof (*args) * args_size); in gather_arguments()
723 struct macro_buffer *arg; in gather_arguments()
791 static void scan (struct macro_buffer *dest,
792 struct macro_buffer *src,
807 substitute_args (struct macro_buffer *dest, in substitute_args()
809 int argc, struct macro_buffer *argv, in substitute_args()
815 struct macro_buffer replacement_list; in substitute_args()
825 struct macro_buffer tok; in substitute_args()
867 struct macro_buffer arg_src; in substitute_args()
900 struct macro_buffer *dest, in expand()
901 struct macro_buffer *src, in expand()
919 struct macro_buffer replacement_list; in expand()
931 struct macro_buffer *argv = NULL; in expand()
932 struct macro_buffer substituted; in expand()
933 struct macro_buffer substituted_src; in expand()
1006 maybe_expand (struct macro_buffer *dest, in maybe_expand()
1007 struct macro_buffer *src_first, in maybe_expand()
1008 struct macro_buffer *src_rest, in maybe_expand()
1055 scan (struct macro_buffer *dest, in scan()
1056 struct macro_buffer *src, in scan()
1066 struct macro_buffer tok; in scan()
1102 struct macro_buffer src, dest; in macro_expand()
1134 struct macro_buffer src, dest, tok; in macro_expand_next()