Lines Matching refs:kconf
6280 def load_allconfig(kconf, filename): argument
6299 old_warn_assign_override = kconf.warn_assign_override
6300 old_warn_assign_redun = kconf.warn_assign_redun
6301 kconf.warn_assign_override = kconf.warn_assign_redun = False
6305 print(kconf.load_config(filename, False))
6308 print(kconf.load_config("all.config", False))
6315 print(kconf.load_config(allconfig, False))
6321 kconf.warn_assign_override = old_warn_assign_override
6322 kconf.warn_assign_redun = old_warn_assign_redun
6801 def _filename_fn(kconf, _): argument
6802 return kconf.filename
6805 def _lineno_fn(kconf, _): argument
6806 return str(kconf.linenr)
6809 def _info_fn(kconf, _, msg): argument
6810 print("{}:{}: {}".format(kconf.filename, kconf.linenr, msg))
6815 def _warning_if_fn(kconf, _, cond, msg): argument
6817 kconf._warn(msg, kconf.filename, kconf.linenr)
6822 def _error_if_fn(kconf, _, cond, msg): argument
6825 kconf.filename, kconf.linenr, msg))
6830 def _shell_fn(kconf, _, command): argument
6839 stdout = stdout.decode(kconf._encoding)
6840 stderr = stderr.decode(kconf._encoding)
6842 _decoding_error(e, kconf.filename, kconf.linenr)
6845 kconf._warn("'{}' wrote to stderr: {}".format(
6847 kconf.filename, kconf.linenr)