Lines Matching refs:node

39 struct node {  struct
142 struct node *child;
143 struct node *next;
144 struct node *last;
199 struct node *arglist;
215 struct node *np;
216 struct node *nvpairs; /* for declarations */
218 struct node *next; /* for Props & Masks lists */
219 struct node *expr; /* for if statements */
227 struct node *ename; /* event class name */
228 struct node *epname; /* component path name */
229 struct node *oldepname; /* unwildcarded path name */
230 struct node *ewname; /* wildcarded portion */
231 struct node *eexprlist; /* constraint expression */
232 struct node *declp; /* event declaration */
239 struct node *lhs; /* left side of arrow */
240 struct node *rhs; /* right side of arrow */
241 struct node *nnp; /* N value */
242 struct node *knp; /* K value */
243 struct node *prop; /* arrow is part of this prop */
245 struct node *parent;
252 struct node *left;
253 struct node *right;
272 struct node *newnode(enum nodetype t, const char *file, int line); argument
273 void tree_free(struct node *root);
274 struct node *tree_root(struct node *np);
275 struct node *tree_nothing(void);
276 struct node *tree_expr(enum nodetype t, struct node *left, struct node *right);
277 struct node *tree_event(struct node *ename, struct node *epname,
278 struct node *eexprlist);
279 struct node *tree_if(struct node *expr, struct node *stmts,
281 struct node *tree_name(const char *s, enum itertype it,
283 struct node *tree_iname(const char *s, const char *file, int line);
284 struct node *tree_globid(const char *s, const char *file, int line);
285 struct node *tree_name_append(struct node *np1, struct node *np2);
286 struct node *tree_name_repairdash(struct node *np1, const char *s);
287 struct node *tree_name_repairdash2(const char *s, struct node *np1);
288 struct node *tree_name_iterator(struct node *np1, struct node *np2);
289 struct node *tree_timeval(const char *s, const char *suffix,
291 struct node *tree_num(const char *s, const char *file, int line);
292 struct node *tree_quote(const char *s, const char *file, int line);
293 struct node *tree_func(const char *s, struct node *np,
295 struct node *tree_pname(struct node *np);
296 struct node *tree_arrow(struct node *lhs, struct node *nnp, struct node *knp,
297 struct node *rhs);
298 struct lut *tree_s2np_lut_add(struct lut *root, const char *s, struct node *np);
299 struct node *tree_s2np_lut_lookup(struct lut *root, const char *s);
301 struct node *namep, struct node *np);
302 struct node *tree_name2np_lut_lookup(struct lut *root, struct node *namep);
303 struct node *tree_name2np_lut_lookup_name(struct lut *root, struct node *namep);
305 struct node *enp, struct node *np);
306 struct node *tree_event2np_lut_lookup(struct lut *root, struct node *enp);
307 struct node *tree_event2np_lut_lookup_event(struct lut *root,
308 struct node *enp);
309 struct node *tree_decl(enum nodetype t, struct node *enp, struct node *nvpairs,
311 struct node *tree_stmt(enum nodetype t, struct node *np,
314 int tree_namecmp(struct node *np1, struct node *np2);
315 int tree_eventcmp(struct node *np1, struct node *np2);
329 extern struct node *Props;
330 extern struct node *Lastprops;
331 extern struct node *Masks;
332 extern struct node *Lastmasks;
333 extern struct node *Problems;
334 extern struct node *Lastproblems;