/dports/databases/py-mycli/mycli-1.23.2/test/ |
H A D | test_config.py | 125 assert str_to_bool(False) is False 126 assert str_to_bool(True) is True 128 assert str_to_bool('True') is True 129 assert str_to_bool('TRUE') is True 130 assert str_to_bool('1') is True 131 assert str_to_bool('0') is False 132 assert str_to_bool('on') is True 133 assert str_to_bool('off') is False 134 assert str_to_bool('off') is False 137 str_to_bool('foo') [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/app/py/cuda_project_man/ |
H A D | projman_dlg.py | 11 def str_to_bool(s): function 110 op['no_hidden'] = str_to_bool(res[RES_NO_HIDDEN]) 115 op['on_start'] = str_to_bool(res[RES_ON_START]) 116 op['toolbar'] = str_to_bool(res[RES_TOOLBAR]) 117 op['goto_open'] = str_to_bool(res[RES_GOTO_OPEN]) 118 op['preview'] = str_to_bool(res[RES_PREVIEW]) 119 op['d_click'] = str_to_bool(res[RES_D_CLICK]) 120 op['check_git'] = str_to_bool(res[RES_CHECK_GIT])
|
/dports/editors/cudatext/CudaText-1.151.0/app/cudatext.app/Contents/Resources/py/cuda_project_man/ |
H A D | projman_dlg.py | 11 def str_to_bool(s): function 110 op['no_hidden'] = str_to_bool(res[RES_NO_HIDDEN]) 115 op['on_start'] = str_to_bool(res[RES_ON_START]) 116 op['toolbar'] = str_to_bool(res[RES_TOOLBAR]) 117 op['goto_open'] = str_to_bool(res[RES_GOTO_OPEN]) 118 op['preview'] = str_to_bool(res[RES_PREVIEW]) 119 op['d_click'] = str_to_bool(res[RES_D_CLICK]) 120 op['check_git'] = str_to_bool(res[RES_CHECK_GIT])
|
/dports/games/xzip/xzip/ |
H A D | xinit.c | 46 static int str_to_bool(char *cx); 50 static int str_to_bool(); 143 strictz_declare_spec = str_to_bool(cx); in xinit_openconnection() 155 prefs.fulljustify = str_to_bool(cx); in xinit_openconnection() 158 prefs.autoresize = str_to_bool(cx); in xinit_openconnection() 161 prefs.resizeupward = str_to_bool(cx); in xinit_openconnection() 164 prefs.autoclear = str_to_bool(cx); in xinit_openconnection() 295 static int str_to_bool(char *cx) in str_to_bool() function 297 static int str_to_bool(cx) in str_to_bool()
|
/dports/games/funnyboat/funnyboat-1.6/ |
H A D | util.py | 29 def str_to_bool(text): function 56 Variables.particles = str_to_bool(value) 58 Variables.music = str_to_bool(value) 62 Variables.sound = str_to_bool(value) 64 Variables.aa = str_to_bool(value)
|
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/clap-3.0.14/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/converters/yj-bruceadams/yj-1.1.34/cargo-crates/clap-3.0.0-beta.5/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/www/firefox/firefox-99.0/third_party/rust/clap/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/x11/swayr/swayr-v0.11.2/cargo-crates/clap-3.0.0-rc.5/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/textproc/jql/jql-3.0.6/cargo-crates/clap-3.0.0-rc.7/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/devel/pijul/pijul-1.0.0.a55/cargo-crates/clap-3.0.0-beta.5/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/clap-3.0.0-beta.5/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/sysutils/dua-cli/dua-cli-2.14.11/cargo-crates/clap-3.0.0-beta.5/src/util/ |
H A D | mod.rs | 7 mod str_to_bool; module 12 pub(crate) use self::str_to_bool::str_to_bool;
|
/dports/news/knews/knews-1.0b.1/src/ |
H A D | resource.c | 315 static int str_to_bool(char *str, int def) in str_to_bool() function 352 return str_to_bool(str, def); in str_to_keep() 770 str_to_bool(per_server.str.retrieve_descriptions, in res_load() 773 str_to_bool(per_server.str.check_for_new_groups, in res_load() 776 str_to_bool(per_server.str.read_active_file, in res_load() 779 str_to_bool(per_server.str.ask_how_many, in res_load() 782 str_to_bool(per_server.str.fill_newsrc_file, in res_load() 785 str_to_bool(per_server.str.try_list_active, in res_load() 788 str_to_bool(per_server.str.save_thread_info, in res_load() 853 str_to_bool(per_group.str.show_number_lines, in res_enter_group() [all …]
|
/dports/editors/cudatext/CudaText-1.151.0/app/cudatext.app/Contents/Resources/py/cuda_tabs_list/ |
H A D | __init__.py | 12 def str_to_bool(s): return s=='1' function 37 self.show_index_group = str_to_bool(ini_read(fn_config, 'op', 'show_index_group', '0')) 38 self.show_index_tab = str_to_bool(ini_read(fn_config, 'op', 'show_index_tab', '0')) 39 self.show_index_aligned = str_to_bool(ini_read(fn_config, 'op', 'show_index_aligned', '0')) 45 …self.show_column_folder = str_to_bool(ini_read(fn_config, 'columns', 'show_folder', bool_to_str(se… 46 …self.show_column_lexer = str_to_bool(ini_read(fn_config, 'columns', 'show_lexer', bool_to_str(self…
|
/dports/editors/cudatext/CudaText-1.151.0/app/py/cuda_tabs_list/ |
H A D | __init__.py | 12 def str_to_bool(s): return s=='1' function 37 self.show_index_group = str_to_bool(ini_read(fn_config, 'op', 'show_index_group', '0')) 38 self.show_index_tab = str_to_bool(ini_read(fn_config, 'op', 'show_index_tab', '0')) 39 self.show_index_aligned = str_to_bool(ini_read(fn_config, 'op', 'show_index_aligned', '0')) 45 …self.show_column_folder = str_to_bool(ini_read(fn_config, 'columns', 'show_folder', bool_to_str(se… 46 …self.show_column_lexer = str_to_bool(ini_read(fn_config, 'columns', 'show_lexer', bool_to_str(self…
|
/dports/devel/py-cmd2/cmd2-2.3.2/tests/ |
H A D | test_utils.py | 701 assert cu.str_to_bool('true') 702 assert cu.str_to_bool('True') 703 assert cu.str_to_bool('TRUE') 704 assert cu.str_to_bool('tRuE') 708 assert not cu.str_to_bool('false') 709 assert not cu.str_to_bool('False') 710 assert not cu.str_to_bool('FALSE') 711 assert not cu.str_to_bool('fAlSe') 716 cu.str_to_bool('other') 721 cu.str_to_bool(1)
|
/dports/editors/cudatext/CudaText-1.151.0/app/py/cuda_make_plugin/ |
H A D | sample_begin.py | 13 def str_to_bool(s): return s=='1' function 22 … option_bool = str_to_bool(ini_read(fn_config, 'op', 'option_bool', bool_to_str(option_bool)))
|
/dports/editors/cudatext/CudaText-1.151.0/app/cudatext.app/Contents/Resources/py/cuda_make_plugin/ |
H A D | sample_begin.py | 13 def str_to_bool(s): return s=='1' function 22 … option_bool = str_to_bool(ini_read(fn_config, 'op', 'option_bool', bool_to_str(option_bool)))
|
/dports/games/tuxmath/tuxmath_w_fonts-2.0.3/src/ |
H A D | fileops.c | 84 static int str_to_bool(const char* val); 1196 int v = str_to_bool(value); in read_config_file() 1203 int v = str_to_bool(value); in read_config_file() 1210 int v = str_to_bool(value); in read_config_file() 1217 int v = str_to_bool(value); in read_config_file() 1224 int v = str_to_bool(value); in read_config_file() 1231 int v = str_to_bool(value); in read_config_file() 1248 int v = str_to_bool(value); in read_config_file() 1260 int v = str_to_bool(value); in read_config_file() 1287 int v = str_to_bool(value); in read_config_file() [all …]
|
/dports/sysutils/mcollective-puppet-client/mcollective-puppet-agent-1.14.0/agent/ |
H A D | puppet.rb | 15 @puppet_splay = Util.str_to_bool(@config.pluginconf.fetch("puppet.splay", "true")) 121 allow_managed_resources_management = Util.str_to_bool( 221 if Util.str_to_bool(@config.pluginconf.fetch("puppet.allow_server_override","false")) 233 signal_daemon = Util.str_to_bool(@config.pluginconf.fetch("puppet.signal_daemon","true"))
|
/dports/sysutils/mcollective-puppet-agent/mcollective-puppet-agent-1.14.0/agent/ |
H A D | puppet.rb | 15 @puppet_splay = Util.str_to_bool(@config.pluginconf.fetch("puppet.splay", "true")) 121 allow_managed_resources_management = Util.str_to_bool( 221 if Util.str_to_bool(@config.pluginconf.fetch("puppet.allow_server_override","false")) 233 signal_daemon = Util.str_to_bool(@config.pluginconf.fetch("puppet.signal_daemon","true"))
|
/dports/sysutils/mcollective-puppet-common/mcollective-puppet-agent-1.14.0/agent/ |
H A D | puppet.rb | 15 @puppet_splay = Util.str_to_bool(@config.pluginconf.fetch("puppet.splay", "true")) 121 allow_managed_resources_management = Util.str_to_bool( 221 if Util.str_to_bool(@config.pluginconf.fetch("puppet.allow_server_override","false")) 233 signal_daemon = Util.str_to_bool(@config.pluginconf.fetch("puppet.signal_daemon","true"))
|
/dports/games/whichwayisup/whichwayisup/lib/ |
H A D | util.py | 96 Variables.vdict["sound"] = str_to_bool(values[1]) 99 Variables.vdict["dialogue"] = str_to_bool(values[1]) 102 Variables.vdict["fullscreen"] = str_to_bool(values[1]) 151 def str_to_bool(string): function
|
/dports/mail/bogofilter/bogofilter-1.2.5/src/ |
H A D | bool.h | 13 extern bool str_to_bool(const char *str);
|