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

References

tools/lldb/source/Breakpoint/BreakpointIDList.cpp
  125     current_arg = old_args[i].ref();
  149                BreakpointID::IsRangeIdentifier(old_args[i + 1].ref()) &&
  151                BreakpointID::IsValidIDExpression(old_args[i + 2].ref())) {
  153       range_to = old_args[i + 2].ref();
  158       llvm::StringRef tmp_str = old_args[i].ref();
tools/lldb/source/Commands/CommandObjectApropos.cpp
   47     auto search_word = args[0].ref();
   82             args[0].ref());
tools/lldb/source/Commands/CommandObjectBreakpoint.cpp
 1689       if (!BreakpointID::StringIsBreakpointName(entry.ref(), error))
tools/lldb/source/Commands/CommandObjectCommands.cpp
  286     FileSpec cmd_file(command[0].ref());
  549     auto alias_command = args[0].ref();
  656     const std::string alias_command(args[0].ref());
  657     const std::string actual_command(args[1].ref());
  689       auto sub_command = args[0].ref();
  783     auto command_name = args[0].ref();
  865     auto command_name = args[0].ref();
  991     auto name = command[0].ref();
 1016         error = AppendRegexSubstitution(entry.ref(), check_only);
 1659     m_cmd_name = command[0].ref();
 1801     auto cmd_name = command[0].ref();
tools/lldb/source/Commands/CommandObjectFrame.cpp
  364         if (command[0].ref().getAsInteger(0, frame_idx)) {
  533             llvm::StringRef name_str = entry.ref();
  592                 entry.ref(), m_varobj_options.use_dynamic, expr_path_options,
tools/lldb/source/Commands/CommandObjectHelp.cpp
   99     auto command_name = command[0].ref();
  110         sub_command = entry.ref();
  211       m_interpreter.GetCommandObject(request.GetParsedLine()[0].ref());
tools/lldb/source/Commands/CommandObjectLog.cpp
  169     const std::string channel = args[0].ref();
  242     const std::string channel = args[0].ref();
  302             success && Log::ListChannelCategories(entry.ref(), output_stream);
  328       auto sub_command = args[0].ref();
  345       auto sub_command = args[0].ref();
  346       auto param = args[1].ref();
tools/lldb/source/Commands/CommandObjectMemory.cpp
  596       addr = OptionArgParser::ToAddress(&m_exe_ctx, command[0].ref(),
  608           &m_exe_ctx, command[1].ref(), LLDB_INVALID_ADDRESS, nullptr);
 1041         &m_exe_ctx, command[0].ref(), LLDB_INVALID_ADDRESS, &error);
 1047         &m_exe_ctx, command[1].ref(), LLDB_INVALID_ADDRESS, &error);
 1346         &m_exe_ctx, command[0].ref(), LLDB_INVALID_ADDRESS, &error);
 1449         if (entry.ref().startswith("0x"))
 1450           success = !entry.ref().getAsInteger(0, uval64);
 1452           success = !entry.ref().getAsInteger(16, uval64);
 1470         uval64 = OptionArgParser::ToBoolean(entry.ref(), false, &success);
 1481         if (entry.ref().getAsInteger(2, uval64)) {
 1500         if (entry.ref().empty())
 1503         size_t len = entry.ref().size();
 1520         if (entry.ref().getAsInteger(0, sval64)) {
 1538         if (!entry.ref().getAsInteger(0, uval64)) {
 1556         if (entry.ref().getAsInteger(8, uval64)) {
 1642         &m_exe_ctx, command[0].ref(), LLDB_INVALID_ADDRESS, &error);
 1707           auto load_addr_str = command[0].ref();
tools/lldb/source/Commands/CommandObjectMultiword.cpp
   96   auto sub_command = args[0].ref();
  185   auto arg0 = request.GetParsedLine()[0].ref();
  228       GetSubcommandObject(current_command_args[index].ref());
tools/lldb/source/Commands/CommandObjectPlatform.cpp
 1343             if (entry.ref().getAsInteger(0, pid)) {
 1345                                            entry.ref().str().c_str());
tools/lldb/source/Commands/CommandObjectPlugin.cpp
   60     FileSpec dylib_fspec(command[0].ref());
tools/lldb/source/Commands/CommandObjectProcess.cpp
  925       llvm::StringRef image_path = entry.ref();
  987       if (entry.ref().getAsInteger(0, image_token)) {
  989                                      entry.ref().str().c_str());
tools/lldb/source/Commands/CommandObjectRegister.cpp
  209           auto arg_str = entry.ref();
  338       auto reg_name = command[0].ref();
  339       auto value_str = command[1].ref();
tools/lldb/source/Commands/CommandObjectSettings.cpp
  283             &m_exe_ctx, result.GetOutputStream(), arg.ref(),
  404           &clean_ctx, out_file, arg.ref(), OptionValue::eDumpGroupExport));
tools/lldb/source/Commands/CommandObjectSource.cpp
  739           return e.ref() == "-r" || e.ref() == "--reverse";
  739           return e.ref() == "-r" || e.ref() == "--reverse";
tools/lldb/source/Commands/CommandObjectTarget.cpp
  628         if (entry.ref().getAsInteger(0, target_idx)) {
 2548         if (entry.ref().empty())
 2551         FileSpec file_spec(entry.ref());
 2581           if (resolved_path != entry.ref()) {
 2584                 entry.ref().str().c_str(), resolved_path.c_str());
 4323           if (!entry.ref().empty()) {
 4325             symbol_file_spec.SetFile(entry.ref(), FileSpec::Style::native);
 4349               if (resolved_symfile_path != entry.ref()) {
tools/lldb/source/Commands/CommandObjectThread.cpp
  853           if (entry.ref().getAsInteger(0, thread_idx)) {
tools/lldb/source/Commands/CommandObjectType.cpp
   83     if (entry.value().ref() != "unsigned")
   85     auto next = command.entries()[entry.index() + 1].ref();
  682       if (arg_entry.ref().empty()) {
  688       ConstString typeCS(arg_entry.ref());
  690         RegularExpression typeRX(arg_entry.ref());
 1331       if (entry.ref().empty()) {
 1337       options->m_target_types << entry.ref();
 1358         ConstString(entry.ref()), script_format,
 1431     if (arg_entry.ref().empty()) {
 1436     ConstString typeCS(arg_entry.ref());
 1789       if (DataVisualization::Categories::GetCategory(ConstString(entry.ref()),
 2231     if (entry.ref().empty()) {
 2237     options->m_target_types << entry.ref();
 2296     if (arg_entry.ref().empty()) {
 2302     ConstString typeCS(arg_entry.ref());
 2597       if (arg_entry.ref().empty()) {
 2603       ConstString typeCS(arg_entry.ref());
tools/lldb/source/Commands/CommandObjectWatchpoint.cpp
   92     if ((idx = WithRSAIndex(entry.ref())) == -1) {
   93       StrRefArgs.push_back(entry.ref());
   97     std::tie(first, second) = entry.ref().split(RSA[idx]);
tools/lldb/source/Interpreter/CommandAlias.cpp
   67         if (!entry.ref().empty())
   68           option_arg_vector->emplace_back("<argument>", -1, entry.ref());
tools/lldb/source/Interpreter/CommandInterpreter.cpp
 1964         new_args.AppendArgument(entry.value().ref());
tools/lldb/source/Interpreter/CommandObject.cpp
  970       if (!entry.value().ref().empty() && entry.value().ref().front() == '`') {
  970       if (!entry.value().ref().empty() && entry.value().ref().front() == '`') {
tools/lldb/source/Interpreter/OptionValueDictionary.cpp
  114       if (entry.ref().empty()) {
  118       if (!entry.ref().contains('=')) {
  125       std::tie(key, value) = entry.ref().split('=');
tools/lldb/source/Interpreter/Options.cpp
  926     result.AppendArgument(pos->ref(), pos->GetQuoteChar());
  937     if (entry.value().ref().startswith(short_opt) ||
  938         entry.value().ref().startswith(long_opt))
 1077       auto tmp_arg = args_copy[idx].ref();
 1087         (args_copy[idx].ref() == OptionParser::GetOptionArgument())) {
 1089         auto tmp_arg = args_copy[idx].ref();
 1280       !cursor.IsQuoted() && cursor.ref() == "-") {
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABILanguageRuntime.cpp
  347       if (entry.ref().empty())
  355       auto name = entry.ref();
  369                                      entry.ref().str().c_str());
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
 1195     response.PutStringAsRawHex8(arg.ref());
tools/lldb/source/Utility/Args.cpp
  184     m_entries.emplace_back(entry.ref(), entry.quote);
  201     s.Format("{0}[{1}]=\"{2}\"\n", label_name, i++, entry.ref());
  213     command += m_entries[i].ref();
  228       command += m_entries[i].ref();
  231       command += m_entries[i].ref();
  295     m_entries.emplace_back(entry.ref(), entry.quote);
tools/lldb/unittests/Utility/ArgsTest.cpp
  155   EXPECT_EQ("foo", args[0].ref());
  156   EXPECT_EQ("bar", args[1].ref());
  157   EXPECT_EQ("baz", args[2].ref());