Searched refs:GetCursorIndex (Results 1 – 19 of 19) sorted by relevance
139 return GetParsedLine()[GetCursorIndex()]; in GetParsedArg()156 size_t GetCursorIndex() const { return m_cursor_index; } in GetCursorIndex() function218 return GetParsedLine().GetArgumentAtIndex(GetCursorIndex()); in GetCursorArgumentPrefix()
27 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()
139 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()
492 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()
206 if (request.GetCursorIndex() == 0) { in HandleCompletion()
340 if (!m_exe_ctx.HasProcessScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
623 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()
29 size_t arg_index = request.GetCursorIndex(); in CompleteEnableDisable()
184 if (request.GetCursorIndex() == 0) { in HandleCompletion()
294 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()940 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
364 if (request.GetCursorIndex()) in HandleArgumentCompletion()1141 if (request.GetCursorIndex()) in HandleArgumentCompletion()1845 if (!m_exe_ctx.HasThreadScope() || request.GetCursorIndex()) in HandleArgumentCompletion()
963 if (request.GetCursorIndex() || !m_exe_ctx.HasProcessScope()) in HandleArgumentCompletion()1037 if (!m_exe_ctx.HasProcessScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()
869 if (request.GetCursorIndex() != 0) in HandleArgumentCompletion()
786 if (request.GetCursorIndex()) in HandleArgumentCompletion()2163 if (request.GetCursorIndex()) in HandleArgumentCompletion()
1166 if (!m_exe_ctx.HasTargetScope() || request.GetCursorIndex() != 0) in HandleArgumentCompletion()4898 if (request.GetCursorIndex()) in HandleArgumentCompletion()
501 if (request.GetCursorIndex() == 0) in IOHandlerComplete()
659 if (opt_pos == request.GetCursorIndex()) { in HandleOptionCompletion()718 } else if (opt_arg_pos == request.GetCursorIndex()) { in HandleOptionCompletion()
299 request.GetParsedLine(), request.GetCursorIndex()); in HandleCompletion()
1823 } else if (request.GetCursorIndex() == 0) { in HandleCompletionMatches()1845 if (request.GetCursorIndex() > 0 || look_for_subcommand) { in HandleCompletionMatches()