Lines Matching refs:kconf
6236 def load_allconfig(kconf, filename): argument
6255 old_warn_assign_override = kconf.warn_assign_override
6256 old_warn_assign_redun = kconf.warn_assign_redun
6257 kconf.warn_assign_override = kconf.warn_assign_redun = False
6261 print(kconf.load_config(filename, False))
6264 print(kconf.load_config("all.config", False))
6271 print(kconf.load_config(allconfig, False))
6277 kconf.warn_assign_override = old_warn_assign_override
6278 kconf.warn_assign_redun = old_warn_assign_redun
6752 def _filename_fn(kconf, _): argument
6753 return kconf.filename
6756 def _lineno_fn(kconf, _): argument
6757 return str(kconf.linenr)
6760 def _info_fn(kconf, _, msg): argument
6761 print("{}:{}: {}".format(kconf.filename, kconf.linenr, msg))
6766 def _warning_if_fn(kconf, _, cond, msg): argument
6768 kconf._warn(msg, kconf.filename, kconf.linenr)
6773 def _error_if_fn(kconf, _, cond, msg): argument
6776 kconf.filename, kconf.linenr, msg))
6781 def _shell_fn(kconf, _, command): argument
6790 stdout = stdout.decode(kconf._encoding)
6791 stderr = stderr.decode(kconf._encoding)
6793 _decoding_error(e, kconf.filename, kconf.linenr)
6796 kconf._warn("'{}' wrote to stderr: {}".format(
6798 kconf.filename, kconf.linenr)