Lines Matching refs:hn
50 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p)
54 switch (hn->type)
57 if (! (hn->flags & NODE_POISONED))
66 if (hn->value.macro->kind != cmk_assert)
72 s.name_length = NODE_LEN (hn);
73 s.flags = hn->flags & NODE_POISONED;
77 defn = NODE_NAME (hn);
82 defn = cpp_macro_definition (pfile, hn);
125 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p)
129 if (hn->type != NT_VOID)
134 news.len = NODE_LEN (hn);
135 news.text= NODE_NAME (hn);
145 sp->len = NODE_LEN (hn);
146 sp->text = text = XNEWVEC (unsigned char, NODE_LEN (hn));
147 memcpy (text, NODE_NAME (hn), NODE_LEN (hn));
222 count_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p)
226 switch (hn->type)
232 if (hn->value.macro->kind == cmk_assert)
242 news.len = NODE_LEN (hn);
243 news.text = NODE_NAME (hn);
247 ss->hashsize += NODE_LEN (hn) + 1;
260 write_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p)
264 switch (hn->type)
270 if (hn->value.macro->kind == cmk_assert)
280 news.len = NODE_LEN (hn);
281 news.text = NODE_NAME (hn);
285 ss->defs[ss->n_defs] = hn;
532 collect_ht_nodes (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn,
537 if (hn->type != NT_VOID || hn->flags & NODE_POISONED)
545 nl->defs[nl->n_defs] = hn;