• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/scripts/kconfig/

Lines Matching defs:symbol

15 struct symbol symbol_yes = {
34 struct symbol *modules_sym;
37 void sym_add_default(struct symbol *sym, const char *def)
46 struct symbol *sym;
77 enum symbol_type sym_get_type(struct symbol *sym)
111 struct property *sym_get_choice_prop(struct symbol *sym)
120 struct property *sym_get_default_prop(struct symbol *sym)
132 struct property *sym_get_range_prop(struct symbol *sym)
144 static int sym_get_range_val(struct symbol *sym, int base)
160 static void sym_validate_range(struct symbol *sym)
193 static void sym_calc_visibility(struct symbol *sym)
223 static struct symbol *sym_calc_choice(struct symbol *sym)
225 struct symbol *def_sym;
262 void sym_calc_value(struct symbol *sym)
338 struct symbol *ds = prop_get_symbol(prop);
373 struct symbol *sym;
383 void sym_set_changed(struct symbol *sym)
396 struct symbol *sym;
403 bool sym_tristate_within_range(struct symbol *sym, tristate val)
422 bool sym_set_tristate_value(struct symbol *sym, tristate val)
435 * symbol and all other choice values.
438 struct symbol *cs = prop_get_symbol(sym_get_choice_prop(sym));
461 tristate sym_toggle_tristate_value(struct symbol *sym)
484 bool sym_string_valid(struct symbol *sym, const char *str)
527 bool sym_string_within_range(struct symbol *sym, const char *str)
569 bool sym_set_string_value(struct symbol *sym, const char *newval)
618 const char *sym_get_string_value(struct symbol *sym)
641 bool sym_is_changable(struct symbol *sym)
646 struct symbol *sym_lookup(const char *name, int isconst)
648 struct symbol *symbol;
665 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) {
666 if (!strcmp(symbol->name, name)) {
667 if ((isconst && symbol->flags & SYMBOL_CONST) ||
668 (!isconst && !(symbol->flags & SYMBOL_CONST)))
669 return symbol;
678 symbol = malloc(sizeof(*symbol));
679 memset(symbol, 0, sizeof(*symbol));
680 symbol->name = new_name;
681 symbol->type = S_UNKNOWN;
682 symbol->flags = SYMBOL_NEW;
684 symbol->flags |= SYMBOL_CONST;
686 symbol->next = symbol_hash[hash];
687 symbol_hash[hash] = symbol;
689 return symbol;
692 struct symbol *sym_find(const char *name)
694 struct symbol *symbol = NULL;
712 for (symbol = symbol_hash[hash]; symbol; symbol = symbol->next) {
713 if (!strcmp(symbol->name, name) &&
714 !(symbol->flags & SYMBOL_CONST))
718 return symbol;
721 struct symbol **sym_re_search(const char *pattern)
723 struct symbol *sym, **sym_arr = NULL;
742 sym_arr = realloc(sym_arr, size * sizeof(struct symbol *));
758 struct symbol *sym_check_deps(struct symbol *sym);
760 static struct symbol *sym_check_expr_deps(struct expr *e)
762 struct symbol *sym;
790 struct symbol *sym_check_deps(struct symbol *sym)
792 struct symbol *sym2;
831 struct property *prop_alloc(enum prop_type type, struct symbol *sym)
843 /* append property to the prop list of symbol */
853 struct symbol *prop_get_symbol(struct property *prop)