Home
last modified time | relevance | path

Searched refs:parse_boolean (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/rusqlite/src/vtab/
Dmod.rs683 pub fn parse_boolean(s: &str) -> Option<bool> { in parse_boolean() function
1066 assert_eq!(None, super::parse_boolean("")); in test_parse_boolean()
1067 assert_eq!(Some(true), super::parse_boolean("1")); in test_parse_boolean()
1068 assert_eq!(Some(true), super::parse_boolean("yes")); in test_parse_boolean()
1069 assert_eq!(Some(true), super::parse_boolean("on")); in test_parse_boolean()
1070 assert_eq!(Some(true), super::parse_boolean("true")); in test_parse_boolean()
1071 assert_eq!(Some(false), super::parse_boolean("0")); in test_parse_boolean()
1072 assert_eq!(Some(false), super::parse_boolean("no")); in test_parse_boolean()
1073 assert_eq!(Some(false), super::parse_boolean("off")); in test_parse_boolean()
1074 assert_eq!(Some(false), super::parse_boolean("false")); in test_parse_boolean()
Dcsvtab.rs33 dequote, escape_double_quote, parse_boolean, read_only_module, Context, CreateVTab, IndexInfo,
159 if let Some(b) = parse_boolean(value) { in connect()
/external/autotest/server/cros/
Dfactory_install_test.py125 def parse_boolean(self, val): member in FactoryInstallTest
361 if self.parse_boolean(debug_make_factory_package):
/external/autotest/server/site_tests/factory_InstallServo/
Dfactory_InstallServo.py95 self.image_usb = self.parse_boolean(debug_image_usb)
/external/avb/tools/
Dat_auth_unlock.py430 def parse_boolean(value): function
461 type=parse_boolean,
/external/autotest/server/site_tests/factory_InstallVM/
Dfactory_InstallVM.py158 self.vnc = self.parse_boolean(debug_vnc)