Lines Matching +full:re +full:- +full:config
1 # SPDX-License-Identifier: GPL-2.0
3 # Builds a .config from a kunitconfig.
10 import re
20 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 entries(self) -> Set[KconfigEntry]:
40 def add_entry(self, entry: KconfigEntry) -> None:
43 def is_subset_of(self, other: 'Kconfig') -> bool:
55 def merge_in_entries(self, other: 'Kconfig') -> None:
60 def write_to_file(self, path: str) -> None:
65 def parse_from_string(self, blob: str) -> None:
68 is_not_set_matcher = re.compile(CONFIG_IS_NOT_SET_PATTERN)
69 config_matcher = re.compile(CONFIG_PATTERN)
92 def read_from_file(self, path: str) -> None: