Home
last modified time | relevance | path

Searched refs:defoptlist (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/usr.bin/config/
H A Ddefs.h148 struct defoptlist { struct
149 struct defoptlist *dl_next; argument
573 DECLHASH(dlhash, defoptlist);
589 void defoption(const char *, struct defoptlist *, struct nvlist *);
590 void defflag(const char *, struct defoptlist *, struct nvlist *, int);
591 void defparam(const char *, struct defoptlist *, struct nvlist *, int);
597 struct defoptlist *find_declared_option_option(const char *name);
602 void mkflagvar(struct defoptlist *);
674 struct defoptlist *defoptlist_create(const char *, const char *, const char *);
675 void defoptlist_destroy(struct defoptlist *);
[all …]
H A Dutil.c250 struct defoptlist *
253 struct defoptlist *dl; in defoptlist_create()
269 defoptlist_destroy(struct defoptlist *dl) in defoptlist_destroy()
271 struct defoptlist *next; in defoptlist_destroy()
285 struct defoptlist *
286 defoptlist_append(struct defoptlist *dla, struct defoptlist *dlb) in defoptlist_append()
288 struct defoptlist *dl; in defoptlist_append()
H A Dgram.y88 DECL_ALLOCWRAP(defoptlist);
131 static struct defoptlist *mk_defoptlist(const char *, const char *,
160 struct defoptlist *defoptlist; member
221 %type <defoptlist> defopt
222 %type <defoptlist> defopts
661 WORD { $$ = MK3(defoptlist, $1, NULL, NULL); }
662 | WORD '=' value { $$ = MK3(defoptlist, $1, $3, NULL); }
663 | WORD COLONEQ value { $$ = MK3(defoptlist, $1, NULL, $3); }
664 | WORD '=' value COLONEQ value { $$ = MK3(defoptlist, $1, $3, $5); }
1179 struct defoptlist *dl = wrapstack[i].ptr; in wrap_cleanup()
[all …]
H A Dmain.c212 struct defoptlist *opts, struct nvlist *deps, int obs);
628 struct defoptlist *dl; in dependopts_one()
847 add_opt_dependencies(struct defoptlist *dl, struct nvlist *deps) in add_opt_dependencies()
924 struct defoptlist *
927 struct defoptlist *option; in find_declared_option_option()
957 struct defoptlist *option = NULL; in find_declared_option()
979 defopt(struct dlhash *ht, const char *fname, struct defoptlist *opts, in defopt()
982 struct defoptlist *dl, *nextdl, *olddl; in defopt()
1070 mkoptvar(struct dlhash *ht, struct defoptlist *opts) in mkoptvar()
1072 struct defoptlist *d in mkoptvar()
[all...]
H A Dlint.c69 do_emit_option(const char *name, struct defoptlist *dl, void *v) in do_emit_option()
82 struct defoptlist *dl2 = dlhash_lookup(defoptlint, dl->dl_name); in do_emit_option()
H A Dmkheaders.c67 static int defopts_print(const char *, struct defoptlist *, void *);
231 defopts_print(const char *name, struct defoptlist *value, void *arg) in defopts_print()
235 struct defoptlist *dl; in defopts_print()
H A Dhash.c456 DEFHASH(dlhash, defoptlist);
H A Dmkmakefile.c278 struct defoptlist *dl; in emitdefs()