• Home
  • Raw
  • Download

Lines Matching refs:ToBoolean

17       OptionArgParser::ToBoolean(llvm::StringRef("true"), false, nullptr));  in TEST()
19 OptionArgParser::ToBoolean(llvm::StringRef("on"), false, nullptr)); in TEST()
21 OptionArgParser::ToBoolean(llvm::StringRef("yes"), false, nullptr)); in TEST()
22 EXPECT_TRUE(OptionArgParser::ToBoolean(llvm::StringRef("1"), false, nullptr)); in TEST()
25 OptionArgParser::ToBoolean(llvm::StringRef("true"), false, &success)); in TEST()
28 OptionArgParser::ToBoolean(llvm::StringRef("on"), false, &success)); in TEST()
31 OptionArgParser::ToBoolean(llvm::StringRef("yes"), false, &success)); in TEST()
34 OptionArgParser::ToBoolean(llvm::StringRef("1"), false, &success)); in TEST()
38 OptionArgParser::ToBoolean(llvm::StringRef("false"), true, nullptr)); in TEST()
40 OptionArgParser::ToBoolean(llvm::StringRef("off"), true, nullptr)); in TEST()
42 OptionArgParser::ToBoolean(llvm::StringRef("no"), true, nullptr)); in TEST()
43 EXPECT_FALSE(OptionArgParser::ToBoolean(llvm::StringRef("0"), true, nullptr)); in TEST()
46 OptionArgParser::ToBoolean(llvm::StringRef("false"), true, &success)); in TEST()
49 OptionArgParser::ToBoolean(llvm::StringRef("off"), true, &success)); in TEST()
52 OptionArgParser::ToBoolean(llvm::StringRef("no"), true, &success)); in TEST()
55 OptionArgParser::ToBoolean(llvm::StringRef("0"), true, &success)); in TEST()
59 OptionArgParser::ToBoolean(llvm::StringRef("10"), false, &success)); in TEST()
62 OptionArgParser::ToBoolean(llvm::StringRef("10"), true, &success)); in TEST()
64 EXPECT_TRUE(OptionArgParser::ToBoolean(llvm::StringRef(""), true, &success)); in TEST()