Lines Matching defs:hn
49 write_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p)
52 switch (hn->type)
55 if (! (hn->flags & NODE_POISONED))
59 if ((hn->flags & NODE_BUILTIN))
66 s.name_length = NODE_LEN (hn);
67 s.flags = hn->flags & NODE_POISONED;
69 if (hn->type == NT_MACRO)
71 defn = cpp_macro_definition (pfile, hn);
76 defn = NODE_NAME (hn);
123 save_idents (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p)
127 if (hn->type != NT_VOID)
132 news.len = NODE_LEN (hn);
133 news.text= NODE_NAME (hn);
143 sp->len = NODE_LEN (hn);
144 sp->text = text = XNEWVEC (unsigned char, NODE_LEN (hn));
145 memcpy (text, NODE_NAME (hn), NODE_LEN (hn));
210 count_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p)
214 switch (hn->type)
217 if (hn->flags & NODE_BUILTIN)
227 news.len = NODE_LEN (hn);
228 news.text = NODE_NAME (hn);
232 ss->hashsize += NODE_LEN (hn) + 1;
249 write_defs (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn, void *ss_p)
253 switch (hn->type)
256 if (hn->flags & NODE_BUILTIN)
266 news.len = NODE_LEN (hn);
267 news.text = NODE_NAME (hn);
271 ss->defs[ss->n_defs] = hn;
383 collect_ht_nodes (cpp_reader *pfile ATTRIBUTE_UNUSED, cpp_hashnode *hn,
388 if (hn->type != NT_VOID || hn->flags & NODE_POISONED)
396 nl->defs[nl->n_defs] = hn;