Lines Matching defs:current_line
233 const char *current_line, const char *cursor, const char *last_char,
235 LLDB_INSTRUMENT_VA(this, current_line, cursor, last_char, match_start_point,
240 current_line, cursor, last_char, match_start_point, max_return_elements,
245 const char *current_line, const char *cursor, const char *last_char,
248 LLDB_INSTRUMENT_VA(this, current_line, cursor, last_char, match_start_point,
252 // be within the current_line.
253 if (current_line == nullptr || cursor == nullptr || last_char == nullptr)
256 if (cursor < current_line || last_char < current_line)
259 size_t current_line_size = strlen(current_line);
260 if (cursor - current_line > static_cast<ptrdiff_t>(current_line_size) ||
261 last_char - current_line > static_cast<ptrdiff_t>(current_line_size))
269 CompletionRequest request(current_line, cursor - current_line, result);
311 const char *current_line, uint32_t cursor_pos, int match_start_point,
314 LLDB_INSTRUMENT_VA(this, current_line, cursor_pos, match_start_point,
317 const char *cursor = current_line + cursor_pos;
318 const char *last_char = current_line + strlen(current_line);
320 current_line, cursor, last_char, match_start_point, max_return_elements,
324 int SBCommandInterpreter::HandleCompletion(const char *current_line,
329 LLDB_INSTRUMENT_VA(this, current_line, cursor_pos, match_start_point,
332 const char *cursor = current_line + cursor_pos;
333 const char *last_char = current_line + strlen(current_line);
334 return HandleCompletion(current_line, cursor, last_char, match_start_point,