Home
last modified time | relevance | path

Searched refs:_cpp_buff (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/gpl3/gcc.old/dist/libcpp/
H A Dinternal.h96 typedef struct _cpp_buff _cpp_buff; typedef
97 struct _cpp_buff struct
99 struct _cpp_buff *next; argument
103 extern _cpp_buff *_cpp_get_buff (cpp_reader *, size_t); argument
104 extern void _cpp_release_buff (cpp_reader *, _cpp_buff *);
105 extern void _cpp_extend_buff (cpp_reader *, _cpp_buff **, size_t);
106 extern _cpp_buff *_cpp_append_extend_buff (cpp_reader *, _cpp_buff *, size_t);
107 extern void _cpp_free_buff (_cpp_buff *);
213 _cpp_buff *buff;
414 _cpp_buff *a_buff; /* Aligned permanent storage. */
[all …]
H A Dmacro.c275 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
278 _cpp_buff *, location_t *,
280 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
281 _cpp_buff **, unsigned *);
291 static void delete_macro_args (_cpp_buff*, unsigned num_args);
312 static _cpp_buff *tokens_buff_new (cpp_reader *, size_t,
314 static size_t tokens_buff_count (_cpp_buff *);
315 static const cpp_token **tokens_buff_last_token_ptr (_cpp_buff *);
324 static const cpp_token **tokens_buff_add_token (_cpp_buff *,
331 static inline void tokens_buff_remove_last_token (_cpp_buff *);
[all …]
H A Dlex.c65 static _cpp_buff *new_buff (size_t);
1594 _cpp_buff **first_buff_p, _cpp_buff **last_buff_p) in bufring_append()
1596 _cpp_buff *first_buff = *first_buff_p; in bufring_append()
1597 _cpp_buff *last_buff = *last_buff_p; in bufring_append()
1684 _cpp_buff *first_buff = NULL, *last_buff = NULL; in lex_raw_string()
3600 static _cpp_buff *
3603 _cpp_buff *result; in new_buff()
3613 size_t slen = CPP_ALIGN2 (sizeof (_cpp_buff), 2 * DEFAULT_ALIGNMENT); in new_buff()
3615 result = (_cpp_buff *) base; in new_buff()
3618 base = XNEWVEC (unsigned char, len + sizeof (_cpp_buff)); in new_buff()
[all …]
H A Dtraditional.c48 _cpp_buff *buff;
969 _cpp_buff *buff; in replace_args_and_push()
/netbsd-src/external/gpl3/gcc/dist/libcpp/
H A Dinternal.h98 typedef struct _cpp_buff _cpp_buff; typedef
99 struct _cpp_buff struct
101 struct _cpp_buff *next; argument
105 extern _cpp_buff *_cpp_get_buff (cpp_reader *, size_t); argument
106 extern void _cpp_release_buff (cpp_reader *, _cpp_buff *);
107 extern void _cpp_extend_buff (cpp_reader *, _cpp_buff **, size_t);
108 extern _cpp_buff *_cpp_append_extend_buff (cpp_reader *, _cpp_buff *, size_t);
109 extern void _cpp_free_buff (_cpp_buff *);
217 _cpp_buff *buff;
430 _cpp_buff *a_buff; /* Aligned permanent storage. */
[all …]
H A Dmacro.cc287 static void push_ptoken_context (cpp_reader *, cpp_hashnode *, _cpp_buff *,
290 _cpp_buff *, location_t *,
292 static _cpp_buff *collect_args (cpp_reader *, const cpp_hashnode *,
293 _cpp_buff **, unsigned *);
304 static void delete_macro_args (_cpp_buff*, unsigned num_args);
325 static _cpp_buff *tokens_buff_new (cpp_reader *, size_t,
327 static size_t tokens_buff_count (_cpp_buff *);
328 static const cpp_token **tokens_buff_last_token_ptr (_cpp_buff *);
337 static const cpp_token **tokens_buff_add_token (_cpp_buff *,
344 static inline void tokens_buff_remove_last_token (_cpp_buff *);
[all …]
H A Dlex.cc65 static _cpp_buff *new_buff (size_t);
2169 _cpp_buff *first;
2170 _cpp_buff *last;
2578 for (_cpp_buff *buf = accum.first; buf; buf = buf->next) in lex_raw_string()
4445 static _cpp_buff *
4448 _cpp_buff *result; in new_buff()
4458 size_t slen = CPP_ALIGN2 (sizeof (_cpp_buff), 2 * DEFAULT_ALIGNMENT); in new_buff()
4460 result = (_cpp_buff *) base; in new_buff()
4463 base = XNEWVEC (unsigned char, len + sizeof (_cpp_buff)); in new_buff()
4464 result = (_cpp_buff *) (base + len); in new_buff()
[all …]
H A Dtraditional.cc48 _cpp_buff *buff;
974 _cpp_buff *buff; in replace_args_and_push()
H A DChangeLog4094 * lex.c (new_buff): If ENABLE_VALGRIND_CHECKING, put _cpp_buff
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A DChangeLog-20019920 (push_ptoken_context): Take a _cpp_buff.
9922 (replace_args): Use a _cpp_buff for the replacement list with
9939 * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
9947 and parse_args. Use _cpp_buff for memory allocation.