Home
last modified time | relevance | path

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

/external/llvm-project/lldb/include/lldb/Utility/
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()
/external/llvm-project/lldb/unittests/Utility/
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()
/external/llvm-project/lldb/source/Commands/
DCommandObjectSettings.cpp139 if (request.GetCursorIndex() == setting_var_idx) { in HandleArgumentCompletion()
146 arg = request.GetParsedLine().GetArgumentAtIndex(request.GetCursorIndex()); in HandleArgumentCompletion()
605 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
716 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
810 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
909 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
997 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
1075 if (request.GetCursorIndex() < 2) in HandleArgumentCompletion()
DCommandObjectPlatform.cpp492 if (request.GetCursorIndex() == 0) in HandleArgumentCompletion()
833 if (request.GetCursorIndex() == 0) in HandleArgumentCompletion()
837 else if (request.GetCursorIndex() == 1) in HandleArgumentCompletion()
911 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
967 if (request.GetCursorIndex() == 0) in HandleArgumentCompletion()
971 else if (request.GetCursorIndex() == 1) in HandleArgumentCompletion()
1741 if (request.GetCursorIndex()) in HandleArgumentCompletion()
DCommandObjectHelp.cpp206 if (request.GetCursorIndex() == 0) { in HandleCompletion()
DCommandObjectRegister.cpp340 if (!m_exe_ctx.HasProcessScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
DCommandObjectCommands.cpp623 if (!m_interpreter.HasCommands() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
715 if (!m_interpreter.HasCommands() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
1661 if (!m_interpreter.HasCommands() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
DCommandObjectLog.cpp29 size_t arg_index = request.GetCursorIndex(); in CompleteEnableDisable()
DCommandObjectMultiword.cpp184 if (request.GetCursorIndex() == 0) { in HandleCompletion()
DCommandObjectFrame.cpp294 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
940 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
DCommandObjectThread.cpp364 if (request.GetCursorIndex()) in HandleArgumentCompletion()
1141 if (request.GetCursorIndex()) in HandleArgumentCompletion()
1845 if (!m_exe_ctx.HasThreadScope() || request.GetCursorIndex()) in HandleArgumentCompletion()
DCommandObjectProcess.cpp963 if (request.GetCursorIndex() || !m_exe_ctx.HasProcessScope()) in HandleArgumentCompletion()
1037 if (!m_exe_ctx.HasProcessScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
DCommandObjectWatchpoint.cpp869 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
DCommandObjectType.cpp786 if (request.GetCursorIndex()) in HandleArgumentCompletion()
2163 if (request.GetCursorIndex()) in HandleArgumentCompletion()
DCommandObjectTarget.cpp1166 if (!m_exe_ctx.HasTargetScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
4898 if (request.GetCursorIndex()) in HandleArgumentCompletion()
/external/llvm-project/lldb/source/Expression/
DREPL.cpp501 if (request.GetCursorIndex() == 0) in IOHandlerComplete()
/external/llvm-project/lldb/source/Interpreter/
DOptions.cpp659 if (opt_pos == request.GetCursorIndex()) { in HandleOptionCompletion()
718 } else if (opt_arg_pos == request.GetCursorIndex()) { in HandleOptionCompletion()
DCommandObject.cpp299 request.GetParsedLine(), request.GetCursorIndex()); in HandleCompletion()
DCommandInterpreter.cpp1823 } else if (request.GetCursorIndex() == 0) { in HandleCompletionMatches()
1845 if (request.GetCursorIndex() > 0 || look_for_subcommand) { in HandleCompletionMatches()