Lines Matching refs:active

29     * active: True if name is defined, False if a #define for name is
34 def __init__(self, active, name, value='', section=None):
35 self.active = active
43 In the documentation of this class, a symbol is said to be *active*
48 * `name in config` is `True` if the symbol `name` is active, `False`
61 """True if the given symbol is active (i.e. set).
66 return name in self.settings and self.settings[name].active
69 """True if all the elements of names are active (i.e. set)."""
73 """True if at least one symbol in names are active (i.e. set)."""
83 If name is not known, raise KeyError. name does not need to be active.
108 """Set name to the given value and make it active.
117 self.settings[name].active = True
128 self.settings[name].active = False
134 `adapter(name, active, section)` for each setting, where `active` is
137 `adapter` returns `True`, then set `name` (i.e. make it active),
141 setting.active = adapter(setting.name, setting.active,
151 setting.active = enable
157 def realfull_adapter(_name, active, section):
168 return active
246 def full_adapter(name, active, section):
249 return active
284 def baremetal_adapter(name, active, section):
287 return active
303 def baremetal_size_adapter(name, active, section):
306 return baremetal_adapter(name, active, section)
325 ``crypto_adapter(adapter)(name, active, section)`` is like
326 ``adapter(name, active, section)``, but unsets all X.509 and TLS symbols.
328 def continuation(name, active, section):
332 return active
333 return adapter(name, active, section)
342 ``no_deprecated_adapter(adapter)(name, active, section)`` is like
343 ``adapter(name, active, section)``, but unsets all deprecated symbols
346 def continuation(name, active, section):
352 return active
353 return adapter(name, active, section)
359 ``no_platform_adapter(adapter)(name, active, section)`` is like
360 ``adapter(name, active, section)``, but unsets all platform symbols other
363 def continuation(name, active, section):
368 return active
369 return adapter(name, active, section)
430 active = not m.group('commented_out')
437 self.settings[name] = Setting(active, name, value,
461 '' if setting.active else '//',