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

Declarations

tools/lldb/include/lldb/Utility/Args.h
  113   size_t GetArgumentCount() const;

References

tools/lldb/include/lldb/Utility/Args.h
  114   bool empty() const { return GetArgumentCount() == 0; }
  131   size_t size() const { return GetArgumentCount(); }
tools/lldb/source/API/SBCommandInterpreter.cpp
  380   if (request.GetParsedLine().GetArgumentCount() == 0) {
tools/lldb/source/API/SBLaunchInfo.cpp
  128   return m_opaque_sp->GetArguments().GetArgumentCount();
tools/lldb/source/Commands/CommandObjectApropos.cpp
   44   const size_t argc = args.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
 1674     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectCommands.cpp
  278     if (command.GetArgumentCount() != 1) {
  541     if (args.GetArgumentCount() < 2) {
  647     size_t argc = args.GetArgumentCount();
  982     const size_t argc = command.GetArgumentCount();
 1652     if (command.GetArgumentCount() != 1) {
 1728     if (command.GetArgumentCount() != 0) {
 1754     if (command.GetArgumentCount() != 0) {
 1795     if (command.GetArgumentCount() != 1) {
tools/lldb/source/Commands/CommandObjectFrame.cpp
  353       if (command.GetArgumentCount() > 1) {
  363       if (command.GetArgumentCount() == 1) {
  370       } else if (command.GetArgumentCount() == 0) {
  929     if (command.GetArgumentCount() == 0) {
  943     if (command.GetArgumentCount() != 1) {
 1030     if (command.GetArgumentCount() != 1) {
tools/lldb/source/Commands/CommandObjectGUI.cpp
   28   if (args.GetArgumentCount() == 0) {
tools/lldb/source/Commands/CommandObjectHelp.cpp
   79   const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectLog.cpp
  160     if (args.GetArgumentCount() < 2) {
  327     if (args.GetArgumentCount() == 1) {
  344     } else if (args.GetArgumentCount() == 2) {
tools/lldb/source/Commands/CommandObjectMemory.cpp
  359     const size_t argc = command.GetArgumentCount();
 1032     const size_t argc = command.GetArgumentCount();
 1318     const size_t argc = command.GetArgumentCount();
 1631     const size_t argc = command.GetArgumentCount();
 1700       const size_t argc = command.GetArgumentCount();
 1706         if (command.GetArgumentCount() == 1) {
tools/lldb/source/Commands/CommandObjectMultiword.cpp
   90   const size_t argc = args.GetArgumentCount();
  198         if (request.GetParsedLine().GetArgumentCount() != 1) {
  225   if (current_command_args.GetArgumentCount() <= index)
tools/lldb/source/Commands/CommandObjectPlatform.cpp
  169     if (args.GetArgumentCount() == 1) {
  344       if (args.GetArgumentCount() == 0) {
  809     if (args.GetArgumentCount() != 2) {
  874     if (args.GetArgumentCount() != 1) {
  970       const size_t argc = args.GetArgumentCount();
 1062       if (args.GetArgumentCount() == 0) {
 1335       const size_t argc = args.GetArgumentCount();
 1682     if (args.GetArgumentCount() != 2) {
tools/lldb/source/Commands/CommandObjectPlugin.cpp
   50     size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectProcess.cpp
  210     if (launch_args.GetArgumentCount() == 0) {
  416     if (command.GetArgumentCount()) {
  555       if (command.GetArgumentCount() != 0) {
  797     if (command.GetArgumentCount() != 1) {
 1042     if (command.GetArgumentCount() == 1) {
 1099     if (command.GetArgumentCount() == 0) {
 1141     if (command.GetArgumentCount() == 0) {
 1178       if (command.GetArgumentCount() == 1) {
 1356       size_t num_args = signal_args.GetArgumentCount();
 1416     size_t num_args = signal_args.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectQuit.cpp
   75   if (command.GetArgumentCount() > 1) {
   83   if (command.GetArgumentCount() == 1) {
tools/lldb/source/Commands/CommandObjectRegister.cpp
  156     if (command.GetArgumentCount() == 0) {
  333     if (command.GetArgumentCount() != 2) {
tools/lldb/source/Commands/CommandObjectSettings.cpp
  131     const size_t argc = request.GetParsedLine().GetArgumentCount();
  177     const size_t argc = cmd_args.GetArgumentCount();
  531     const size_t argc = args.GetArgumentCount();
  625     const size_t argc = cmd_args.GetArgumentCount();
  825     const size_t argc = cmd_args.GetArgumentCount();
  924     const size_t argc = cmd_args.GetArgumentCount();
 1011     const size_t argc = cmd_args.GetArgumentCount();
 1084     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectSource.cpp
  553     const size_t argc = command.GetArgumentCount();
  929     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectTarget.cpp
  271     const size_t argc = command.GetArgumentCount();
  496     if (args.GetArgumentCount() == 0) {
  529     if (args.GetArgumentCount() == 1) {
  609     const size_t argc = args.GetArgumentCount();
  846     const size_t argc = args.GetArgumentCount();
 1062     const size_t argc = command.GetArgumentCount();
 1169     size_t argc = command.GetArgumentCount();
 1187       argc = command.GetArgumentCount();
 1232     if (command.GetArgumentCount() != 0) {
 1273     if (command.GetArgumentCount() != 1) {
 1887     if (command.GetArgumentCount() == 0) {
 2005     if (command.GetArgumentCount() == 0) {
 2099     if (command.GetArgumentCount() == 0) {
 2187     if (command.GetArgumentCount() == 0) {
 2256     if (command.GetArgumentCount() == 0) {
 2341     if (command.GetArgumentCount() == 0) {
 2490     const size_t argc = args.GetArgumentCount();
 2647     const size_t argc = args.GetArgumentCount();
 3011       const size_t argc = command.GetArgumentCount();
 3848     if (command.GetArgumentCount() == 0) {
 4215     const size_t argc = args.GetArgumentCount();
 4726     size_t num_args = command.GetArgumentCount();
 4777     size_t num_args = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectThread.cpp
   90     if (command.GetArgumentCount() == 0) {
   95     } else if (command.GetArgumentCount() == 1) {
  111       const size_t num_args = command.GetArgumentCount();
  571     if (command.GetArgumentCount() == 0) {
  842       const size_t argc = command.GetArgumentCount();
 1107       if (command.GetArgumentCount() >= 1) {
 1108         size_t num_args = command.GetArgumentCount();
 1329     } else if (command.GetArgumentCount() != 1) {
 1949     if (args.GetArgumentCount() != 1) {
 1952                                    args.GetArgumentCount());
tools/lldb/source/Commands/CommandObjectType.cpp
  637     const size_t argc = command.GetArgumentCount();
  787     const size_t argc = command.GetArgumentCount();
  909       if (command.GetArgumentCount() > 0) {
 1031     const size_t argc = command.GetArgumentCount();
 1261   const size_t argc = command.GetArgumentCount();
 1386   const size_t argc = command.GetArgumentCount();
 1778     const size_t argc = command.GetArgumentCount();
 1874     const size_t argc = command.GetArgumentCount();
 1936     const size_t argc = command.GetArgumentCount();
 2041     const size_t argc = command.GetArgumentCount();
 2098     const size_t argc = command.GetArgumentCount();
 2252   const size_t argc = command.GetArgumentCount();
 2557     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Commands/CommandObjectVersion.cpp
   27   if (args.GetArgumentCount() == 0) {
tools/lldb/source/Commands/CommandObjectWatchpoint.cpp
   72   if (args.GetArgumentCount() == 0) {
  243     if (command.GetArgumentCount() == 0) {
  316     if (command.GetArgumentCount() == 0) {
  385     if (command.GetArgumentCount() == 0) {
  458     if (command.GetArgumentCount() == 0) {
  575     if (command.GetArgumentCount() == 0) {
  696     if (command.GetArgumentCount() == 0) {
  802     if (command.GetArgumentCount() <= 0) {
  825     if (command.GetArgumentCount() != 1) {
tools/lldb/source/Commands/CommandObjectWatchpointCommand.cpp
  513     if (command.GetArgumentCount() == 0) {
  585     if (command.GetArgumentCount() == 0) {
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1007   if (cmd_words.GetArgumentCount() == 1)
 1018       size_t end = cmd_words.GetArgumentCount();
 1384   if ((cmd_args.GetArgumentCount() == 0) ||
 1415     else if (static_cast<size_t>(index) >= cmd_args.GetArgumentCount()) {
 1762   if (request.GetParsedLine().GetArgumentCount() == 0) {
 1781       if (request.GetParsedLine().GetArgumentCount() != 1) {
 1882   if (new_args.GetArgumentCount() == 2)
 1898     const size_t old_size = cmd_args.GetArgumentCount();
 1934       } else if (static_cast<size_t>(index) >= cmd_args.GetArgumentCount()) {
 1968     cmd_args.SetArguments(new_args.GetArgumentCount(),
 1978       cmd_args.SetArguments(new_args.GetArgumentCount(),
tools/lldb/source/Interpreter/OptionValueArgs.cpp
   24   return args.GetArgumentCount();
tools/lldb/source/Interpreter/OptionValueArray.cpp
  155   return args.GetArgumentCount();
  160   const size_t argc = args.GetArgumentCount();
tools/lldb/source/Interpreter/OptionValueDictionary.cpp
   93   return args.GetArgumentCount();
   99   const size_t argc = args.GetArgumentCount();
tools/lldb/source/Interpreter/OptionValueFileSpecList.cpp
   50   const size_t argc = args.GetArgumentCount();
tools/lldb/source/Interpreter/OptionValuePathMappings.cpp
   43   const size_t argc = args.GetArgumentCount();
tools/lldb/source/Interpreter/Options.cpp
 1086         (idx < args_copy.GetArgumentCount()) &&
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
  581     switch (command.GetArgumentCount()) {
  697     if (command.GetArgumentCount() == 0) {
  710         for (size_t i = 0; i < command.GetArgumentCount(); i++) {
tools/lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.cpp
  395   if (args.GetArgumentCount() > 0)
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
 4177     const size_t argc = command.GetArgumentCount();
 4279     const size_t argc = command.GetArgumentCount();
 4331     const size_t argc = command.GetArgumentCount();
 4556     const size_t argc = command.GetArgumentCount();
 4705     const size_t argc = command.GetArgumentCount();
 4756     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptScriptGroup.cpp
   56     sites.reserve(command.GetArgumentCount());
   57     for (size_t i = 0; i < command.GetArgumentCount(); ++i) {
tools/lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp
  108   if (args.GetArgumentCount() != 1)
tools/lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
  290     if (args.GetArgumentCount() == 1) {
tools/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
   33     size_t count = args.GetArgumentCount();
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
 1147     if (inferior_args && inferior_args->GetArgumentCount() > 0) {
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  208   if (!m_process_launch_info.GetArguments().GetArgumentCount())
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp
  425   if (!m_process_launch_info.GetArguments().GetArgumentCount())
tools/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
 1040   size_t num_cmds = GetExtraStartupCommands().GetArgumentCount();
 5152     const size_t argc = command.GetArgumentCount();
 5201     const size_t argc = command.GetArgumentCount();
 5232     const size_t argc = command.GetArgumentCount();
 5274     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp
  758     const size_t argc = command.GetArgumentCount();
tools/lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp
 1000   if (args.GetArgumentCount() > 0) {
tools/lldb/source/Utility/Args.cpp
  316   InsertArgumentAtIndex(GetArgumentCount(), arg_str, quote_char);
tools/lldb/source/Utility/CompletionRequest.cpp
   27   if (GetParsedLine().GetArgumentCount() == 0) {
   31     m_cursor_index = GetParsedLine().GetArgumentCount() - 1U;
tools/lldb/source/Utility/ProcessInfo.cpp
  125   const uint32_t argc = m_arguments.GetArgumentCount();
  231       const uint32_t argc = m_arguments.GetArgumentCount();
tools/lldb/tools/lldb-server/lldb-platform.cpp
  349       if (inferior_arguments.GetArgumentCount() > 0) {
tools/lldb/unittests/Utility/ArgsTest.cpp
   22   EXPECT_EQ(1u, args.GetArgumentCount());
   29   EXPECT_EQ(1u, args.GetArgumentCount());
   36   EXPECT_EQ(1u, args.GetArgumentCount());
   43   EXPECT_EQ(1u, args.GetArgumentCount());
   50   EXPECT_EQ(1u, args.GetArgumentCount());
   57   EXPECT_EQ(1u, args.GetArgumentCount());
   64   EXPECT_EQ(1u, args.GetArgumentCount());
   71   EXPECT_EQ(4u, args.GetArgumentCount());
   81   EXPECT_EQ(4u, args.GetArgumentCount());
   83   EXPECT_EQ(1u, args.GetArgumentCount());
   90   EXPECT_EQ(1u, args.GetArgumentCount());
   92   EXPECT_EQ(2u, args.GetArgumentCount());
  105   ASSERT_EQ(5u, args.GetArgumentCount());
  154   ASSERT_EQ(3u, args.GetArgumentCount());
  173   EXPECT_EQ(1u, args.GetArgumentCount());
  181   EXPECT_EQ(1u, args.GetArgumentCount());
  192   ASSERT_EQ(2u, args.GetArgumentCount());
  200   ASSERT_EQ(4u, args.GetArgumentCount());
  250   EXPECT_EQ(3u, args.GetArgumentCount());
  258   EXPECT_EQ(3u, args.GetArgumentCount());
  266   EXPECT_EQ(3u, args.GetArgumentCount());
  274   EXPECT_EQ(3u, args.GetArgumentCount());
  282   EXPECT_EQ(3u, args.GetArgumentCount());
tools/lldb/unittests/Utility/CompletionRequestTest.cpp
   28   EXPECT_EQ(request.GetParsedLine().GetArgumentCount(), 2u);
   45   EXPECT_EQ(request.GetParsedLine().GetArgumentCount(), 4U);
  100   EXPECT_EQ(request.GetParsedLine().GetArgumentCount(), 2u);
  112   EXPECT_EQ(request.GetParsedLine().GetArgumentCount(), 1u);