Lines Matching full:symbols
30 - Relations between symbols can be quickly determined, such as finding all
31 symbols that reference a particular symbol.
96 set of symbols and other items appearing in the configuration together with
133 messages related to assignments to undefined symbols should be
137 # The set of all symbols, indexed by name (a string)
143 # The set of all defined symbols in the configuration in the order they
144 # appear in the Kconfig files. This excludes the special symbols n, m,
145 # and y as well as symbols that are referenced but never defined.
168 # The special symbols n, m and y, used as shorthand for "n", "m" and
184 # If you set CONFIG_ in the environment, Kconfig will prefix all symbols
215 # symbols.
230 # Build Symbol.dep for all symbols
283 symbols replaced by symbol values), or None if the configuration has no
291 $-references to symbols will be expanded ("$FOO bar" -> "foo bar" if
293 Setting 'option defconfig_list' on multiple symbols currently results
336 """Returns a list of symbols from the configuration. An alternative for
337 iterating over all defined symbols (in the order of definition) is
347 all_symbols (default: True): If True, all symbols -- including special
348 and undefined symbols -- will be included in the result, in an
349 undefined order. If False, only symbols actually defined and not
357 symbols in the configuration, used like
363 configuration files. Symbols only referred to but not defined will not
364 be included, nor will the special symbols n, m, and y. If you want to
365 include such symbols as well, see config.get_symbols()."""
384 """Returns a list containing the items (symbols, menus, choices, and
452 # loaded by only invalidating a symbol (and its dependent symbols) if
454 # that symbols not mentioned in the .config must lose their user value
546 For example, if FOO and BAR are tristate symbols at least one of which
550 non-bool, non-tristate symbols, use Symbol.get_value().
565 """Resets the values of all symbols, as if Config.load_config() or
572 things like attempting to assign illegal values to symbols with
580 undefined symbols should be printed to stderr for this configuration.
606 "Print assignments to undefined symbols : " +
681 # Symbols defined in multiple places get the parent of their
682 # first definition. However, for symbols whose parents are
820 """Parsing of properties for symbols, menus, choices, and comments.
1015 "valid for symbols",
1053 # The set of symbols referenced directly by the statement plus all
1054 # symbols referenced by enclosing menus and ifs
1094 # Only symbols can select and imply
1126 references to symbols.
1218 's'. Registers any new symbols encountered (via _sym_lookup()).
1225 register new symbols."""
1418 # Non-bool/tristate symbols are always "n" in a tristate sense,
1489 """Populates the Symbol.dep sets, linking the symbol to the symbols
1491 the symbol might affect the values of those other symbols. This is used
1496 # Adds 'sym' as a directly dependent symbol to all symbols that appear
1502 # The directly dependent symbols of a symbol are:
1503 # - Any symbols whose prompts, default values, rev_dep (select
1506 # - Any symbols that belong to the same choice statement as the symbol
1509 # - Any symbols in a choice statement that depends on the symbol
1589 """Expands $-references to symbols in 's' to symbol values, or to the
1590 empty string for undefined symbols."""
1628 """Symbols and choices have many properties in common, so we factor out
1775 # Build contained symbols string
1792 "Choice symbols:",
1808 """Base class for symbols and other Kconfig constructs. Subclasses are
1861 appear in the configuration files. Returns the empty list for symbols
1864 This list will have a single entry for the vast majority of symbols
1884 the vast majority of symbols this list will only contain one element.
1928 # As a quirk of Kconfig, undefined symbols get their name as their
2096 """For string/hex/int symbols and for bool and tristate symbols that
2119 """For string/hex/int symbols and for bool and tristate symbols that
2141 """For string/hex/int symbols and for bool and tristate symbols that
2165 bool and tristate symbols, this is an upper bound on the value users
2166 can set for the symbol. For other types of symbols, a visibility of "n"
2208 """Returns the set() of all symbols referenced by this symbol. For
2218 references the symbols A through G.
2220 refs_from_enclosing (default: False): If True, the symbols referenced
2226 """Returns the set() of all symbols X for which this symbol has a
2228 not). This is a subset of the symbols returned by
2233 """Returns the set() of all symbols X for which this symbol has an
2235 not). This is a subset of the symbols returned by
2244 the range of currently assignable values for bool and tristate symbols;
2258 Any symbols dependent on the symbol are (recursively) invalidated, so
2306 """Returns True if the symbol is one of the special symbols n, m, y, or
2369 # The set of symbols referenced by this symbol (see
2372 # The set of symbols selected by this symbol (see
2375 # The set of symbols implied by this symbol (see get_implied_symbols())
2377 # Like 'referenced_syms', but includes symbols from
2391 # the symbols that immediately depend on it (in a caching/invalidation
2392 # sense). The total set of dependent symbols for the symbol (the
2403 # Caches the total list of dependent symbols. Calculated in
2414 # Set to true when _make_conf() is called on a symbol, so that symbols
2418 # This is set to True for "actual" choice symbols; see
2422 # environment or by being one of the special symbols n, m, and y? If
2447 """Like set_user_value(), but does not invalidate any symbols.
2542 """Returns the set of symbols that should be invalidated if the value
2554 # Choice symbols also depend (recursively) on their siblings. The
2613 """Returns a list containing the items (symbols, menus, choice
2633 """Returns a list containing the symbols in the menu, in the same order
2636 recursive (default: False): True if symbols contained in items within
2698 # The set of symbols referenced by this menu (see
2701 # Like 'referenced_syms', but includes symbols from
2718 "n" - The choice is not visible and no symbols can be selected.
2720 "m" - Any number of symbols can be set to "m". The rest will be "n". This
2835 the configuration ("items" instead of "symbols" since choices and
2841 """Returns a list containing the choice's symbols.
2852 This function returns the "proper" symbols of the choice in the order
2912 # We need to filter out symbols that appear within the choice block but
2925 # The set of symbols referenced by this choice (see
2928 # Like 'referenced_syms', but includes symbols from
2952 sequence of symbols where all symbols after the first appeared in the
3078 # The set of symbols referenced by this comment (see
3081 # Like 'referenced_syms', but includes symbols from
3220 """Symbols and Choices have a "visibility" that acts as an upper bound on
3232 # Choice symbols with visibility "m" are not visible if the
3309 _internal_error("Internal error while fetching symbols from an "
3313 """Returns the set() of symbols appearing in expr."""
3502 # is included to avoid symbols being registered for named choices.
3514 # Regular expression for finding $-references to symbols in strings
3528 # Default values for symbols of different types (the value the symbol gets if