/external/python/cpython3/Lib/test/ |
D | test_configparser.py | 130 eq(cf.getboolean('Types', 'boolean'), False) 158 eq(cf.getboolean('Types', 'boolean', fallback=True), False) 159 eq(cf.getboolean('Types', 'no-such-boolean', fallback="yes"), 161 eq(cf.getboolean('Types', 'no-such-boolean', fallback=True), True) 163 cf.getboolean('Types', 'no-such-boolean') 164 eq(cf.getboolean('No Such Types', 'boolean', fallback=True), True) 223 eq(cf['Types'].getboolean('boolean', True), False) 224 eq(cf['Types'].getboolean('boolean', fallback=True), False) 225 eq(cf['Types'].getboolean('no-such-boolean', "yes"), "yes") # sic! 226 eq(cf['Types'].getboolean('no-such-boolean', fallback="yes"), [all …]
|
D | test_tcl.py | 177 self.assertIs(tcl.getboolean('on'), True) 178 self.assertIs(tcl.getboolean('1'), True) 179 self.assertIs(tcl.getboolean(42), True) 180 self.assertIs(tcl.getboolean(0), False) 181 self.assertRaises(TypeError, tcl.getboolean) 182 self.assertRaises(TypeError, tcl.getboolean, 'on', '1') 183 self.assertRaises(TypeError, tcl.getboolean, b'on') 184 self.assertRaises(TypeError, tcl.getboolean, 1.0) 185 self.assertRaises(TclError, tcl.getboolean, 'a') 187 tcl.getboolean, 'on\0') [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_tcl.py | 179 self.assertIs(tcl.getboolean('on'), True) 180 self.assertIs(tcl.getboolean('1'), True) 181 self.assertIs(tcl.getboolean(u'on'), True) 182 self.assertIs(tcl.getboolean(u'1'), True) 183 self.assertIs(tcl.getboolean(42), True) 184 self.assertIs(tcl.getboolean(0), False) 185 self.assertIs(tcl.getboolean(42L), True) 186 self.assertIs(tcl.getboolean(0L), False) 187 self.assertRaises(TypeError, tcl.getboolean) 188 self.assertRaises(TypeError, tcl.getboolean, 'on', '1') [all …]
|
D | test_cfgparser.py | 229 self.assertTrue(cf.getboolean('BOOLTEST', 't%d' % x)) 230 self.assertFalse(cf.getboolean('BOOLTEST', 'f%d' % x)) 232 cf.getboolean, 'BOOLTEST', 'e%d' % x)
|
/external/python/cpython2/Demo/tkinter/guido/ |
D | wish.py | 19 if tk.getboolean(tk.call('info', 'complete', cmd)):
|
D | rmt.py | 107 if t.getboolean(tk.call('info', 'complete', cmd)): # XXX
|
/external/python/cpython3/Lib/tkinter/ |
D | __init__.py | 326 elif not self._tk.getboolean(self._tk.call("info", "exists", self._name)): 332 if self._tk.getboolean(self._tk.call("info", "exists", self._name)): 548 return self._tk.globalsetvar(self._name, self._tk.getboolean(value)) 554 return self._tk.getboolean(self._tk.globalgetvar(self._name)) 566 def getboolean(s): function 569 return _default_root.tk.getboolean(s) 611 return self.tk.getboolean(self.tk.call( 670 def getboolean(self, s): member in Misc 673 return self.tk.getboolean(s) 973 return self.tk.getboolean( [all …]
|
D | ttk.py | 577 ret = self.tk.getboolean( 690 return self.tk.getboolean(self.tk.call(self._w, "validate")) 1267 return self.tk.getboolean(self.tk.call(self._w, "exists", item)) 1520 return self.tk.getboolean(
|
/external/python/cpython2/Lib/lib-tk/ |
D | Tkinter.py | 253 elif not self._tk.getboolean(self._tk.call("info", "exists", self._name)): 259 if self._tk.getboolean(self._tk.call("info", "exists", self._name)): 414 return self._tk.globalsetvar(self._name, self._tk.getboolean(value)) 418 return self._tk.getboolean(self._tk.globalgetvar(self._name)) 428 def getboolean(s): function 430 return _default_root.tk.getboolean(s) 467 return self.tk.getboolean(self.tk.call( 521 def getboolean(self, s): member in Misc 523 return self.tk.getboolean(s) 823 return self.tk.getboolean( [all …]
|
D | ttk.py | 573 ret = self.tk.getboolean( 686 return self.tk.getboolean(self.tk.call(self._w, "validate")) 1236 return self.tk.getboolean(self.tk.call(self._w, "exists", item)) 1467 return self.tk.getboolean(
|
/external/python/cpython3/Doc/library/ |
D | configparser.rst | 157 provide :meth:`~ConfigParser.getboolean`. This method is case-insensitive and 163 >>> topsecret.getboolean('ForwardX11') 165 >>> config['bitbucket.org'].getboolean('ForwardX11') 167 >>> config.getboolean('bitbucket.org', 'Compression') 170 Apart from :meth:`~ConfigParser.getboolean`, config parsers also 215 :meth:`~ConfigParser.getboolean` methods, for example: 221 >>> topsecret.getboolean('BatchMode', fallback=True) 224 >>> topsecret.getboolean('BatchMode', fallback=True) 654 :meth:`~ConfigParser.getboolean` are implemented. Should other getters be 674 By default when using :meth:`~ConfigParser.getboolean`, config parsers [all …]
|
/external/clang/utils/check_cfc/ |
D | check_cfc.py | 342 if config.getboolean('Checks', check_name)] 377 if config.getboolean('Checks', check_name):
|
/external/autotest/site_utils/rpm_control_system/ |
D | rpm_logging_config.py | 113 if rpm_config.getboolean('GENERAL', 'debug'):
|
/external/autotest/server/cros/ |
D | ap_config.py | 126 return self.ap_config.getboolean(self.bss, self.CONF_RPM_MANAGED)
|
/external/u-boot/tools/patman/ |
D | settings.py | 244 val = config.getboolean('settings', name)
|
/external/python/cpython2/Doc/library/ |
D | configparser.rst | 322 .. method:: RawConfigParser.getboolean(section, option) 473 # getint() and getboolean() also do this for their respective types 480 if config.getboolean('Section1', 'a_bool'):
|
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
D | test_variables.py | 19 return self.root.getboolean(self.root.call("info", "exists", *args))
|
/external/python/cpython3/Lib/tkinter/test/test_tkinter/ |
D | test_variables.py | 29 return self.root.getboolean(self.root.call("info", "exists", *args))
|
/external/sonivox/jet_tools/JetCreator/ |
D | JetFile.py | 283 … config.chase_controllers = config.getboolean(OUTPUT_SECTION, OUTPUT_CHASE_CONTROLLERS) 290 … config.delete_empty_tracks = config.getboolean(OUTPUT_SECTION, OUTPUT_OMIT_EMPTY_TRACKS)
|
/external/python/cpython2/Lib/idlelib/ |
D | configHandler.py | 56 return self.getboolean(section, option)
|
/external/python/cpython2/Lib/ |
D | ConfigParser.py | 367 def getboolean(self, section, option): member in RawConfigParser
|
/external/python/cpython3/Lib/idlelib/ |
D | config.py | 62 return self.getboolean(section, option)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a4.rst | 348 _tkinter.tkapp.getboolean() now supports Tcl_Obj and always returns bool.
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.10rc1.rst | 172 _tkinter.tkapp.getboolean() now supports long and Tcl_Obj and always returns
|
/external/python/cpython3/Lib/ |
D | configparser.py | 825 def getboolean(self, section, option, *, raw=False, vars=None, member in RawConfigParser
|