Home
last modified time | relevance | path

Searched refs:GetCursorIndex (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DCompletionRequest.h139 return GetParsedLine()[GetCursorIndex()]; in GetParsedArg()
156 size_t GetCursorIndex() const { return m_cursor_index; } in GetCursorIndex() function
218 return GetParsedLine().GetArgumentAtIndex(GetCursorIndex()); in GetCursorArgumentPrefix()
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DCompletionRequestTest.cpp27 EXPECT_EQ(request.GetCursorIndex(), arg_index); in TEST()
45 EXPECT_EQ(request.GetCursorIndex(), 3U); in TEST()
101 EXPECT_EQ(request.GetCursorIndex(), arg_index); in TEST()
115 EXPECT_EQ(request.GetCursorIndex(), arg_index - 1U); in TEST()
/llvm-project-15.0.7/lldb/source/Commands/
H A DCommandObjectSettings.cpp144 if (request.GetCursorIndex() == setting_var_idx) { in HandleArgumentCompletion()
151 arg = request.GetParsedLine().GetArgumentAtIndex(request.GetCursorIndex()); in HandleArgumentCompletion()
598 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
706 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
798 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
894 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
979 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
1054 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
H A DCommandObjectPlatform.cpp483 if (request.GetCursorIndex() == 0) in HandleArgumentCompletion()
829 if (request.GetCursorIndex() == 0) in HandleArgumentCompletion()
833 else if (request.GetCursorIndex() == 1) in HandleArgumentCompletion()
903 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
974 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
1044 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
1105 if (request.GetCursorIndex() == 0) in HandleArgumentCompletion()
1109 else if (request.GetCursorIndex() == 1) in HandleArgumentCompletion()
1864 if (request.GetCursorIndex()) in HandleArgumentCompletion()
H A DCommandObjectHelp.cpp206 if (request.GetCursorIndex() == 0) { in HandleCompletion()
H A DCommandObjectRegister.cpp335 if (!m_exe_ctx.HasProcessScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
H A DCommandObjectFrame.cpp291 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
939 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
H A DCommandObjectMultiword.cpp257 if (request.GetCursorIndex() == 0) { in HandleCompletion()
H A DCommandObjectLog.cpp35 size_t arg_index = request.GetCursorIndex(); in CompleteEnableDisable()
H A DCommandObjectThread.cpp401 if (request.GetCursorIndex()) in HandleArgumentCompletion()
1160 if (request.GetCursorIndex()) in HandleArgumentCompletion()
1891 if (!m_exe_ctx.HasThreadScope() || request.GetCursorIndex()) in HandleArgumentCompletion()
H A DCommandObjectCommands.cpp645 if (!m_interpreter.HasCommands() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
733 if (!m_interpreter.HasCommands() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
H A DCommandObjectProcess.cpp1151 if (request.GetCursorIndex() || !m_exe_ctx.HasProcessScope()) in HandleArgumentCompletion()
1223 if (!m_exe_ctx.HasProcessScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
H A DCommandObjectWatchpoint.cpp848 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
H A DCommandObjectType.cpp781 if (request.GetCursorIndex()) in HandleArgumentCompletion()
2101 if (request.GetCursorIndex()) in HandleArgumentCompletion()
H A DCommandObjectTarget.cpp1144 if (!m_exe_ctx.HasTargetScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
4960 if (request.GetCursorIndex()) in HandleArgumentCompletion()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptions.cpp603 if (opt_pos == request.GetCursorIndex()) { in HandleOptionCompletion()
662 } else if (opt_arg_pos == request.GetCursorIndex()) { in HandleOptionCompletion()
H A DCommandObject.cpp295 request.GetParsedLine(), request.GetCursorIndex()); in HandleCompletion()
H A DCommandInterpreter.cpp2012 } else if (request.GetCursorIndex() == 0) { in HandleCompletionMatches()
2034 if (request.GetCursorIndex() > 0 || look_for_subcommand) { in HandleCompletionMatches()
/llvm-project-15.0.7/lldb/source/Expression/
H A DREPL.cpp506 if (request.GetCursorIndex() == 0) in IOHandlerComplete()