reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Interpreter/OptionArgParser.h
   21   static bool ToBoolean(llvm::StringRef s, bool fail_value, bool *success_ptr);

References

tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
   87       value = OptionArgParser::ToBoolean(option_arg, false, &success);
  108       value = OptionArgParser::ToBoolean(option_arg, false, &success);
  348         m_catch_bp = OptionArgParser::ToBoolean(option_arg, true, &success);
  362         value = OptionArgParser::ToBoolean(option_arg, true, &success);
  391         value = OptionArgParser::ToBoolean(option_arg, true, &success);
  455         m_throw_bp = OptionArgParser::ToBoolean(option_arg, true, &success);
 1589         value = OptionArgParser::ToBoolean(option_arg, false, &success);
 1599         value = OptionArgParser::ToBoolean(option_arg, false, &success);
 1609         value = OptionArgParser::ToBoolean(option_arg, false, &success);
tools/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
  316             OptionArgParser::ToBoolean(option_arg, false, &success);
tools/lldb/source/Commands/CommandObjectExpression.cpp
   79     result = OptionArgParser::ToBoolean(option_arg, true, &success);
   90     bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success);
  102     bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success);
  122     bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success);
  158     bool tmp_value = OptionArgParser::ToBoolean(option_arg, true, &success);
tools/lldb/source/Commands/CommandObjectLog.cpp
  359         bool increment = OptionArgParser::ToBoolean(param, false, &success);
tools/lldb/source/Commands/CommandObjectMemory.cpp
 1470         uval64 = OptionArgParser::ToBoolean(entry.ref(), false, &success);
tools/lldb/source/Commands/CommandObjectProcess.cpp
  670         tmp_result = OptionArgParser::ToBoolean(option_arg, false, &success);
 1314     bool tmp_value = OptionArgParser::ToBoolean(option, false, &success);
tools/lldb/source/Commands/CommandObjectTarget.cpp
 4446         value = OptionArgParser::ToBoolean(option_arg, false, &success);
tools/lldb/source/Commands/CommandObjectThread.cpp
  279             OptionArgParser::ToBoolean(option_arg, false, &success);
  429           OptionArgParser::ToBoolean(option_arg, true, &success);
  442           OptionArgParser::ToBoolean(option_arg, true, &success);
 1544             OptionArgParser::ToBoolean(option_arg, false, &success);
tools/lldb/source/Commands/CommandObjectType.cpp
  301         m_cascade = OptionArgParser::ToBoolean(option_arg, true, &success);
  528         m_cascade = OptionArgParser::ToBoolean(option_value, true, &success);
 1184     m_flags.SetCascades(OptionArgParser::ToBoolean(option_arg, true, &success));
 2397         m_cascade = OptionArgParser::ToBoolean(option_arg, true, &success);
tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
  343             OptionArgParser::ToBoolean(option_arg, false, &success);
tools/lldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
  141     use_synth = OptionArgParser::ToBoolean(option_arg, true, &success);
  148     run_validator = OptionArgParser::ToBoolean(option_arg, true, &success);
tools/lldb/source/Interpreter/OptionValueBoolean.cpp
   45     bool value = OptionArgParser::ToBoolean(value_str, false, &success);
tools/lldb/source/Interpreter/Property.cpp
   57           std::make_shared<OptionValueBoolean>(OptionArgParser::ToBoolean(
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
  395             OptionArgParser::ToBoolean(value, false, &success));
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
  516           OptionArgParser::ToBoolean(option_arg, true, nullptr);
  532       m_echo_to_stderr = OptionArgParser::ToBoolean(option_arg, false, nullptr);
  543       m_live_stream = OptionArgParser::ToBoolean(option_arg, false, nullptr);
  548           OptionArgParser::ToBoolean(option_arg, true, nullptr);
tools/lldb/source/Target/Process.cpp
  323         OptionArgParser::ToBoolean(option_arg, true, &success);
  337         OptionArgParser::ToBoolean(option_arg, true, &success);
tools/lldb/unittests/Interpreter/TestOptionArgParser.cpp
   17       OptionArgParser::ToBoolean(llvm::StringRef("true"), false, nullptr));
   19       OptionArgParser::ToBoolean(llvm::StringRef("on"), false, nullptr));
   21       OptionArgParser::ToBoolean(llvm::StringRef("yes"), false, nullptr));
   22   EXPECT_TRUE(OptionArgParser::ToBoolean(llvm::StringRef("1"), false, nullptr));
   25       OptionArgParser::ToBoolean(llvm::StringRef("true"), false, &success));
   28       OptionArgParser::ToBoolean(llvm::StringRef("on"), false, &success));
   31       OptionArgParser::ToBoolean(llvm::StringRef("yes"), false, &success));
   34       OptionArgParser::ToBoolean(llvm::StringRef("1"), false, &success));
   38       OptionArgParser::ToBoolean(llvm::StringRef("false"), true, nullptr));
   40       OptionArgParser::ToBoolean(llvm::StringRef("off"), true, nullptr));
   42       OptionArgParser::ToBoolean(llvm::StringRef("no"), true, nullptr));
   43   EXPECT_FALSE(OptionArgParser::ToBoolean(llvm::StringRef("0"), true, nullptr));
   46       OptionArgParser::ToBoolean(llvm::StringRef("false"), true, &success));
   49       OptionArgParser::ToBoolean(llvm::StringRef("off"), true, &success));
   52       OptionArgParser::ToBoolean(llvm::StringRef("no"), true, &success));
   55       OptionArgParser::ToBoolean(llvm::StringRef("0"), true, &success));
   59       OptionArgParser::ToBoolean(llvm::StringRef("10"), false, &success));
   62       OptionArgParser::ToBoolean(llvm::StringRef("10"), true, &success));
   64   EXPECT_TRUE(OptionArgParser::ToBoolean(llvm::StringRef(""), true, &success));