Lines Matching +full:re +full:- +full:config
1 # SPDX-License-Identifier: GPL-2.0
3 # Builds a .config from a kunitconfig.
10 import re
21 def __str__(self) -> str:
28 """Error parsing Kconfig defconfig or .config."""
32 """Represents defconfig or .config specified using the Kconfig language."""
34 def __init__(self) -> None:
37 def __eq__(self, other: Any) -> bool:
42 def __repr__(self) -> str:
45 def as_entries(self) -> Iterable[KconfigEntry]:
49 def add_entry(self, name: str, value: str) -> None:
52 def is_subset_of(self, other: 'Kconfig') -> bool:
63 def conflicting_options(self, other: 'Kconfig') -> List[Tuple[KconfigEntry, KconfigEntry]]:
72 def merge_in_entries(self, other: 'Kconfig') -> None:
76 def write_to_file(self, path: str) -> None:
81 def parse_file(path: str) -> Kconfig:
85 def parse_from_string(blob: str) -> Kconfig:
88 is_not_set_matcher = re.compile(CONFIG_IS_NOT_SET_PATTERN)
89 config_matcher = re.compile(CONFIG_PATTERN)