Home
last modified time | relevance | path

Searched refs:RemoveOption (Results 1 – 7 of 7) sorted by relevance

/external/llvm/unittests/Support/
DCommandLineTest.cpp400 StackOption<bool> RemoveOption("remove-option", cl::sub(SC), cl::init(false)); in TEST() local
405 EXPECT_FALSE(RemoveOption); in TEST()
407 EXPECT_TRUE(RemoveOption); in TEST()
409 RemoveOption.removeArgument(); in TEST()
440 StackOption<bool> RemoveOption("remove-option", cl::sub(*cl::AllSubCommands), in TEST() local
450 EXPECT_FALSE(RemoveOption); in TEST()
452 EXPECT_TRUE(RemoveOption); in TEST()
454 RemoveOption = false; in TEST()
457 EXPECT_FALSE(RemoveOption); in TEST()
459 EXPECT_TRUE(RemoveOption); in TEST()
[all …]
/external/llvm-project/llvm/unittests/Support/
DCommandLineTest.cpp553 StackOption<bool> RemoveOption("remove-option", cl::sub(SC), cl::init(false)); in TEST() local
561 EXPECT_FALSE(RemoveOption); in TEST()
563 EXPECT_TRUE(RemoveOption); in TEST()
567 RemoveOption.removeArgument(); in TEST()
602 StackOption<bool> RemoveOption("remove-option", cl::sub(*cl::AllSubCommands), in TEST() local
612 EXPECT_FALSE(RemoveOption); in TEST()
615 EXPECT_TRUE(RemoveOption); in TEST()
617 RemoveOption = false; in TEST()
620 EXPECT_FALSE(RemoveOption); in TEST()
623 EXPECT_TRUE(RemoveOption); in TEST()
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py124 self.assertTrue(parser.RemoveOption('Foo', 'bar'))
125 self.assertFalse(parser.RemoveOption('Foo', 'bar'))
126 self.assertFalse(parser.RemoveOption('Not', 'Exist'))
/external/python/cpython3/Lib/idlelib/
Dconfig.py101 def RemoveOption(self, section, option): member in IdleUserConfParser
822 return idleConf.userCfg[config_type].RemoveOption(section, item)
Dconfigdialog.py409 return self.ext_userCfg.RemoveOption(section, name)
/external/python/cpython2/Lib/idlelib/
DconfigHandler.py94 def RemoveOption(self, section, option): member in IdleUserConfParser
DconfigDialog.py1156 return idleConf.userCfg[configType].RemoveOption(section, item)
1364 return self.ext_userCfg.RemoveOption(section, name)