Lines Matching full:not
25 Warning: Not passing -p1 to patch will cause the wrong file to be patched.
27 Please tell me if the patch does not apply. It should be trivial to apply
34 If you do not wish to install Kconfiglib via pip, the Makefile patch is set up
169 'default' properties are used if the symbol is not visible or has no user
172 Symbols with no user value (or that have a user value but are not visible) and
178 select*ing* symbol. 'select' does not respect visibility, so non-visible
198 # CONFIG_FOO is not set
267 A, B, C, ... are symbols (Symbol instances), NOT is the kconfiglib.NOT
274 !A (NOT, A)
331 statement, instead of relative to the project root. This extension is not
524 'modules' is never None. If the MODULES symbol is not explicitly defined,
541 not found and $srctree was set when the Kconfig was created,
550 overrides the defconfig_list symbol, meaning defconfig_filename might not
586 are not found in the current directory. This is used to support
658 KconfigError on syntax errors. Note that Kconfig files are not the same
728 _re_match(r"# {}([^ ]+) is not set".format(self.config_prefix))
808 # Not used internally. Provided as a convenience.
905 "# CONFIG_FOO is not set" within a .config file sets the user value of
960 if name not in syms:
966 if not sym.nodes:
974 if not ((sym.orig_type is BOOL and
978 self._warn("'{}' is not a valid value for the {} "
993 if prev_mode is not None and \
1005 if not match:
1016 if not match:
1018 # set_match() nor unset_match() and that are not blank
1021 if line and not line.lstrip().startswith("#"):
1029 if name not in syms:
1035 if sym.orig_type not in (BOOL, TRISTATE):
1065 if not sym._was_set:
1069 if not choice._was_set:
1112 not val.startswith(("0x", "0X")):
1195 if not sym.choice and \
1208 not sym.choice.is_optional and \
1230 1. If the directory <path> does not exist, it is created.
1250 filesystem might not handle well.
1264 to "not changed", which fixdep deals with by using the $(wildcard) Make
1269 if not os.path.exists(path):
1293 # Note: n tristate values do not get written to auto.conf and
1319 if sym_path_dir and not os.path.exists(sym_path_dir):
1336 # '# CONFIG_FOO is not set' comments). The format matches the C
1345 if not (sym.orig_type in (BOOL, TRISTATE) and
1346 not sym.tri_value):
1360 if not os.path.exists("auto.conf"):
1367 if not match:
1378 if not match:
1548 "srctree is current directory" if not self.srctree else
1579 # but it's not a big deal
1590 "Could not open '{}' ({}: {}){}".format(
1644 raise IOError("{}:{}: Could not open '{}' ({}: {})".format(
1675 if not self._line:
1696 # registering it if it does not exist. If '_parsing_kconfigs' is False,
1746 if not match:
1754 if not token:
1763 # If the first token is not a keyword (and not a weird help token),
1794 elif token not in _STRING_LEX:
1839 # single token of lookback: 'option env="FOO"' does not
1878 if not val.strip():
1954 if not isinstance(token, Symbol):
1963 if not isinstance(token, Symbol) or token.is_constant:
1972 if not isinstance(token, Symbol) or token.is_constant:
1975 if self._tokens[self._tokens_i + 1] is not None:
1984 if not isinstance(token, str):
1993 if not isinstance(token, str):
1996 if self._tokens[self._tokens_i + 1] is not None:
2004 if self._peek_token() is not None:
2049 if not rhs_match:
2108 if not match:
2149 if not match:
2215 if not min_arg <= len(args) - 1 <= max_arg:
2326 if node.is_menuconfig and not node.prompt:
2352 if not filenames and t0 in (_T_SOURCE, _T_RSOURCE):
2354 "{}:{}: '{}' does not exist{}".format(
2442 if not choice:
2488 # <expr>, or self.y if the next token is not _T_IF
2520 if self._peek_token() is not None:
2524 if not self._check_token(_T_ON):
2534 if not isinstance(node.item, Symbol):
2541 if not isinstance(node.item, Symbol):
2567 if not self._check_token(_T_EQUAL):
2579 "but the environment variable {0} is not "
2585 "in strings directly, meaning you do not "
2594 if not self.defconfig_list:
2609 if node.item is not self.modules:
2610 self._warn("the 'modules' option is not supported. "
2621 if not isinstance(node.item, Symbol):
2631 if not self._check_token(_T_IF):
2638 if not isinstance(node.item, Choice):
2650 if node.item.orig_type not in (UNKNOWN, new_type):
2677 # Find first non-blank (not all-space) line and get its indentation
2679 if node.help is not None:
2690 if not line or not line.isspace():
2693 if not line:
2776 if not self._check_token(_T_OR) else \
2786 if not self._check_token(_T_AND) else \
2796 if next_token not in _RELATIONS:
2813 # token == _T_NOT == NOT
2838 # wouldn't change their value, so it's not a true dependency.
2971 if cur is not node:
3148 if not sym.nodes and not _is_num(sym.name) and \
3165 if filename is not None:
3299 WARNING: Do not assign directly to this. It will break things. Use
3438 not self.kconfig.modules.tri_value):
3448 if self._cached_str_val is not None:
3500 if has_active_range and not low <= user_val <= high:
3545 if clamp is not None:
3562 if vis and self.user_value is not None:
3578 if self.env_var is not None or self is self.kconfig.defconfig_list:
3589 if self._cached_tri_val is not None:
3592 if self.orig_type not in (BOOL, TRISTATE):
3593 if self.orig_type is not UNKNOWN:
3610 if not self.choice:
3613 if vis and self.user_value is not None:
3692 if not self._write_to_conf:
3699 "# {}{} is not set\n" \
3756 if value == self.user_value and not self.choice:
3761 if not (self.orig_type is BOOL and value in (0, 2, "n", "y") or
3787 # choice. Like for symbol user values, the user selection is not
3803 if self.user_value is not None:
3839 if not self.is_constant:
3842 if self.user_value is not None:
3860 if self.env_var is not None:
3908 Symbol constructor -- not intended to be called directly by Kconfiglib
3951 if self.orig_type not in (BOOL, TRISTATE):
3958 if not vis:
3967 if not rev_dep_val:
3985 if not rev_dep_val:
4029 if item._cached_vis is not None:
4063 # Defaults, selects, and implies do not affect choice symbols
4064 if not self.choice:
4207 is not in y mode or has no selected symbol (due to unsatisfied
4210 WARNING: Do not assign directly to this. It will break things. Call
4218 WARNING: Do not assign directly to this. It will break things. Use
4223 choice is not in y mode, but still remembered so that the choice "snaps
4227 WARNING: Do not assign directly to this. It will break things. Call
4298 if self.orig_type is TRISTATE and not self.kconfig.modules.tri_value:
4320 if self.user_value is not None:
4365 accepted since it's not a malformed value (though it will have no
4379 if not ((self.orig_type is BOOL and value in (0, 2, "n", "y") ) or
4407 if self.user_value is not None or self.user_selection:
4438 if self.user_value is not None:
4448 if self.selection is not self.user_selection:
4487 Choice constructor -- not intended to be called directly by Kconfiglib
4524 if not vis:
4528 if not self.is_optional:
4542 # Not in y mode, so no selection
4577 if item._cached_vis is not None:
4601 (matching the C implementation) and do not appear in the final menu tree.
4781 if self.item.name is not None:
4792 fields.append("menu node for if (should not appear in the final "
4812 if isinstance(self.item, (Symbol, Choice)) and self.help is not None:
4854 if self.dep is not self.kconfig.y:
4857 if self.item is MENU and self.visibility is not self.kconfig.y:
4870 if cond is not self.kconfig.y:
4883 if sc.orig_type is not UNKNOWN:
4898 if sc.env_var is not None:
4924 if self.dep is not sc.kconfig.y:
4927 if self.help is not None:
4997 if not isinstance(expr, tuple):
5004 return 0 if not v1 else min(v1, expr_value(expr[2]))
5011 if expr[0] is NOT:
5077 if not isinstance(expr, tuple):
5090 if expr[0] is NOT:
5112 # AND, OR, NOT, or relation
5117 if subexpr[0] is not NOT:
5151 # Second || is not at the top level
5229 sc.orig_type is not TRISTATE and sc.choice.tri_value != 2:
5234 # Choice symbols with m visibility are not visible in y mode
5239 if vis == 1 and sc.type is not TRISTATE:
5250 # AND, OR, NOT, or relation
5255 if expr[0] is not NOT:
5258 elif not expr.is_constant:
5283 return [x for x in lst if x not in seen and not seen_add(x)]
5310 if not s.startswith(("0x", "0X")):
5366 if not sc.nodes:
5382 if not isinstance(expr, tuple):
5393 elif left is not sym:
5419 # Do not flatten promptless choices (which can appear "legitimitely" if a
5425 if node.list and not node.prompt and \
5426 not isinstance(node.item, Choice):
5431 if not last_node.next:
5461 # the parent as a choice symbol, and automatically determining types if not
5477 if item.orig_type is not UNKNOWN:
5505 # _visited is set to 2, meaning "visited, not part of a dependency
5519 if not sym._visited:
5539 if sym.choice and not ignore_choice:
5545 # The symbol is not part of a dependency loop
5552 # The symbol was checked earlier and is already known to not be part of
5561 if not choice._visited:
5570 if sym is not skip:
5578 # The choice is not part of a dependency loop
5585 # The choice was checked earlier and is already known to not be part of
5597 if cur is not loop[0]:
5607 if item is not loop[0]:
5629 if item.rev_dep is not item.kconfig.n:
5633 if item.weak_rev_dep is not item.kconfig.n:
5651 if target_sym.orig_type not in (BOOL, TRISTATE, UNKNOWN):
5652 sym.kconfig._warn("{} selects the {} symbol {}, which is not "
5659 if target_sym.orig_type not in (BOOL, TRISTATE, UNKNOWN):
5660 sym.kconfig._warn("{} implies the {} symbol {}, which is not "
5668 if not isinstance(default, Symbol):
5676 if not default.is_constant and not default.nodes and \
5677 not default.name.isupper():
5687 not _int_hex_ok(default, sym.orig_type):
5705 if sym.orig_type not in (INT, HEX):
5707 "the {} symbol {} has ranges, but is not int or hex"
5711 if not _int_hex_ok(low, sym.orig_type) or \
5712 not _int_hex_ok(high, sym.orig_type):
5726 # 'not sym.nodes' implies a constant or undefined symbol, e.g. a plain
5728 if not sym.nodes:
5737 if choice.orig_type not in (BOOL, TRISTATE):
5750 if not isinstance(default, Symbol):
5755 if default.choice is not choice:
5756 choice.kconfig._warn("the default selection {} of {} is not "
5766 if sym.rev_dep is not sym.kconfig.n:
5769 if sym.weak_rev_dep is not sym.kconfig.n:
5774 if not node.prompt:
5825 if not _IS_PY2:
5841 # On Python 3 versions before 3.6, it's not possible to specify the
5973 NOT = _T_NOT variable