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

References

lib/LineEditor/LineEditor.cpp
  146         StringRef(LI->buffer, LI->lastchar - LI->buffer),
  146         StringRef(LI->buffer, LI->lastchar - LI->buffer),
  147         LI->cursor - LI->buffer);
  183            << StringRef(LI->buffer, LI->lastchar - LI->buffer);
  183            << StringRef(LI->buffer, LI->lastchar - LI->buffer);
tools/lldb/source/Host/common/Editline.cpp
  323   for (const EditLineCharType *character = info->buffer;
  355       (int)((info->cursor - info->buffer) + GetPromptWidth());
  408       EditLineStringType(info->buffer, info->lastchar - info->buffer);
  408       EditLineStringType(info->buffer, info->lastchar - info->buffer);
  495     int lineLength = (int)((info->lastchar - info->buffer) + GetPromptWidth());
  564       EditLineStringType(info->buffer, info->cursor - info->buffer);
  564       EditLineStringType(info->buffer, info->cursor - info->buffer);
  660     if (ch == 4 && info->buffer == info->lastchar) {
  691   if (info->cursor > info->buffer) {
  770   int cursor_position = (int)((info->cursor - info->buffer) + GetPromptWidth());
  799   int cursor_position = info->cursor - info->buffer;
  840     info->cursor = info->buffer + m_revert_cursor_index;
  929   llvm::StringRef line(line_info->buffer,
  930                        line_info->lastchar - line_info->buffer);
  931   unsigned cursor_index = line_info->cursor - line_info->buffer;
  964       el_deletestr(m_editline, line_info->cursor - line_info->buffer);
 1263             (int)((info->lastchar - info->buffer) + GetPromptWidth());