/external/lldb/source/Interpreter/ |
D | OptionGroupValueObjectDisplay.cpp | 66 const char *option_arg) in SetOptionValue() argument 77 result = Args::StringToOptionEnum (option_arg, g_dynamic_value_types, 2, error); in SetOptionValue() 90 max_depth = Args::StringToUInt32 (option_arg, UINT32_MAX, 0, &success); in SetOptionValue() 92 error.SetErrorStringWithFormat("invalid max depth '%s'", option_arg); in SetOptionValue() 96 ptr_depth = Args::StringToUInt32 (option_arg, 0, 0, &success); in SetOptionValue() 98 error.SetErrorStringWithFormat("invalid pointer depth '%s'", option_arg); in SetOptionValue() 102 if (option_arg) in SetOptionValue() 104 no_summary_depth = Args::StringToUInt32 (option_arg, 0, 0, &success); in SetOptionValue() 106 error.SetErrorStringWithFormat("invalid pointer depth '%s'", option_arg); in SetOptionValue() 113 use_synth = Args::StringToBoolean(option_arg, true, &success); in SetOptionValue() [all …]
|
D | OptionGroupPlatform.cpp | 114 const char *option_arg) in SetOptionValue() argument 125 m_platform_name.assign (option_arg); in SetOptionValue() 129 if (Args::StringToVersion (option_arg, in SetOptionValue() 132 m_os_version_update) == option_arg) in SetOptionValue() 133 error.SetErrorStringWithFormat ("invalid version string '%s'", option_arg); in SetOptionValue() 137 m_sdk_build.SetCString (option_arg); in SetOptionValue() 141 m_sdk_sysroot.SetCString (option_arg); in SetOptionValue()
|
D | OptionGroupFormat.cpp | 73 const char *option_arg) in SetOptionValue() argument 81 error = m_format.SetValueFromCString (option_arg); in SetOptionValue() 91 error = m_count.SetValueFromCString (option_arg); in SetOptionValue() 93 error.SetErrorStringWithFormat("invalid --count option value '%s'", option_arg); in SetOptionValue() 104 error = m_byte_size.SetValueFromCString (option_arg); in SetOptionValue() 106 error.SetErrorStringWithFormat("invalid --size option value '%s'", option_arg); in SetOptionValue() 113 const char *gdb_format_cstr = option_arg; in SetOptionValue() 119 if (option_arg != end) in SetOptionValue() 140 error.SetErrorStringWithFormat ("invalid gdb format string '%s'", option_arg); in SetOptionValue()
|
D | OptionGroupFile.cpp | 47 const char *option_arg) in SetOptionValue() argument 49 Error error (m_file.SetValueFromCString (option_arg)); in SetOptionValue() 87 const char *option_arg) in SetOptionValue() argument 89 Error error (m_file_list.SetValueFromCString (option_arg)); in SetOptionValue()
|
D | OptionGroupWatchpoint.cpp | 73 const char *option_arg) in SetOptionValue() argument 82 …tmp_watch_type = (WatchType) Args::StringToOptionEnum(option_arg, g_option_table[option_idx].enum_… in SetOptionValue() 91 …watch_size = (uint32_t) Args::StringToOptionEnum(option_arg, g_option_table[option_idx].enum_value… in SetOptionValue()
|
D | OptionGroupVariable.cpp | 75 const char *option_arg) in SetOptionValue() argument 92 error = summary.SetCurrentValue(option_arg); in SetOptionValue() 95 error = summary_string.SetCurrentValue(option_arg); in SetOptionValue()
|
D | OptionGroupUUID.cpp | 51 const char *option_arg) in SetOptionValue() argument 59 error = m_uuid.SetValueFromCString (option_arg); in SetOptionValue()
|
D | OptionGroupOutputFile.cpp | 53 const char *option_arg) in SetOptionValue() argument 61 error = m_file.SetValueFromCString (option_arg); in SetOptionValue()
|
D | OptionGroupArchitecture.cpp | 62 const char *option_arg) in SetOptionValue() argument 70 m_arch_str.assign (option_arg); in SetOptionValue()
|
D | OptionGroupUInt64.cpp | 48 const char *option_arg) in SetOptionValue() argument 50 Error error (m_value.SetValueFromCString (option_arg)); in SetOptionValue()
|
D | OptionGroupString.cpp | 48 const char *option_arg) in SetOptionValue() argument 50 Error error (m_value.SetValueFromCString (option_arg)); in SetOptionValue()
|
D | OptionGroupBoolean.cpp | 47 const char *option_arg) in SetOptionValue() argument 58 error = m_value.SetValueFromCString (option_arg); in SetOptionValue()
|
/external/lldb/source/Commands/ |
D | CommandObjectBreakpoint.cpp | 120 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 130 … m_load_addr = Args::StringToAddress(&exe_ctx, option_arg, LLDB_INVALID_ADDRESS, &error); in SetOptionValue() 135 m_func_names.push_back (option_arg); in SetOptionValue() 140 m_column = Args::StringToUInt32 (option_arg, 0); in SetOptionValue() 144 m_condition.assign(option_arg); in SetOptionValue() 149 LanguageType language = LanguageRuntime::GetLanguageTypeFromString (option_arg); in SetOptionValue() 168 …rror.SetErrorStringWithFormat ("Unknown language type: '%s' for exception breakpoint", option_arg); in SetOptionValue() 171 ….SetErrorStringWithFormat ("Unsupported language type: '%s' for exception breakpoint", option_arg); in SetOptionValue() 177 m_filenames.AppendIfUnique (FileSpec(option_arg, false)); in SetOptionValue() 181 m_func_names.push_back (option_arg); in SetOptionValue() [all …]
|
D | CommandObjectDisassemble.cpp | 63 …mandObjectDisassemble::CommandOptions::SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 78 num_lines_context = Args::StringToUInt32(option_arg, 0, 0, &success); in SetOptionValue() 80 error.SetErrorStringWithFormat ("invalid num context lines string: \"%s\"", option_arg); in SetOptionValue() 84 num_instructions = Args::StringToUInt32(option_arg, 0, 0, &success); in SetOptionValue() 86 … error.SetErrorStringWithFormat ("invalid num of instructions string: \"%s\"", option_arg); in SetOptionValue() 96 start_addr = Args::StringToAddress(&exe_ctx, option_arg, LLDB_INVALID_ADDRESS, &error); in SetOptionValue() 104 end_addr = Args::StringToAddress(&exe_ctx, option_arg, LLDB_INVALID_ADDRESS, &error); in SetOptionValue() 110 func_name.assign (option_arg); in SetOptionValue() 128 plugin_name.assign (option_arg); in SetOptionValue() 137 flavor_string.assign (option_arg); in SetOptionValue() [all …]
|
D | CommandObjectPlatform.cpp | 628 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 637 …match_info.GetProcessInfo().SetProcessID (Args::StringToUInt32 (option_arg, LLDB_INVALID_PROCESS_I… in SetOptionValue() 639 … error.SetErrorStringWithFormat("invalid process ID string: '%s'", option_arg); in SetOptionValue() 643 …match_info.GetProcessInfo().SetParentProcessID (Args::StringToUInt32 (option_arg, LLDB_INVALID_PRO… in SetOptionValue() 645 … error.SetErrorStringWithFormat("invalid parent process ID string: '%s'", option_arg); in SetOptionValue() 649 …match_info.GetProcessInfo().SetUserID (Args::StringToUInt32 (option_arg, UINT32_MAX, 0, &success)); in SetOptionValue() 651 error.SetErrorStringWithFormat("invalid user ID string: '%s'", option_arg); in SetOptionValue() 655 …match_info.GetProcessInfo().SetEffectiveUserID (Args::StringToUInt32 (option_arg, UINT32_MAX, 0, &… in SetOptionValue() 657 … error.SetErrorStringWithFormat("invalid effective user ID string: '%s'", option_arg); in SetOptionValue() 661 …match_info.GetProcessInfo().SetGroupID (Args::StringToUInt32 (option_arg, UINT32_MAX, 0, &success)… in SetOptionValue() [all …]
|
D | CommandObjectExpression.cpp | 71 const char *option_arg) in SetOptionValue() argument 90 result = Args::StringToBoolean(option_arg, true, &success); in SetOptionValue() 92 … error.SetErrorStringWithFormat("invalid all-threads value setting: \"%s\"", option_arg); in SetOptionValue() 101 bool tmp_value = Args::StringToBoolean(option_arg, true, &success); in SetOptionValue() 105 … error.SetErrorStringWithFormat("could not convert \"%s\" to a boolean value.", option_arg); in SetOptionValue() 112 result = Args::StringToUInt32(option_arg, 0, 0, &success); in SetOptionValue() 116 error.SetErrorStringWithFormat ("invalid timeout setting \"%s\"", option_arg); in SetOptionValue() 123 bool tmp_value = Args::StringToBoolean(option_arg, true, &success); in SetOptionValue() 127 … error.SetErrorStringWithFormat("could not convert \"%s\" to a boolean value.", option_arg); in SetOptionValue()
|
D | CommandObjectSource.cpp | 58 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 65 start_line = Args::StringToUInt32 (option_arg, 0); in SetOptionValue() 67 error.SetErrorStringWithFormat("invalid line number: '%s'", option_arg); in SetOptionValue() 71 file_name = option_arg; in SetOptionValue() 166 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 173 start_line = Args::StringToUInt32 (option_arg, 0); in SetOptionValue() 175 error.SetErrorStringWithFormat("invalid line number: '%s'", option_arg); in SetOptionValue() 179 num_lines = Args::StringToUInt32 (option_arg, 0); in SetOptionValue() 181 error.SetErrorStringWithFormat("invalid line count: '%s'", option_arg); in SetOptionValue() 185 file_name = option_arg; in SetOptionValue() [all …]
|
D | CommandObjectCommands.cpp | 81 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 89 error = m_count.SetValueFromCString(option_arg,eVarSetOperationAssign); in SetOptionValue() 92 if (option_arg && strcmp("end", option_arg) == 0) in SetOptionValue() 98 error = m_start_idx.SetValueFromCString(option_arg,eVarSetOperationAssign); in SetOptionValue() 101 error = m_stop_idx.SetValueFromCString(option_arg,eVarSetOperationAssign); in SetOptionValue() 320 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 329 error = m_stop_on_error.SetValueFromCString(option_arg); in SetOptionValue() 332 m_stop_on_continue = Args::StringToBoolean(option_arg, true, &success); in SetOptionValue() 334 … error.SetErrorStringWithFormat("invalid value for stop-on-continue: %s", option_arg); in SetOptionValue() 337 m_silent_run = Args::StringToBoolean(option_arg, true, &success); in SetOptionValue() [all …]
|
D | CommandObjectThread.cpp | 69 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 79 int32_t input_count = Args::StringToSInt32 (option_arg, -1, 0, &success); in SetOptionValue() 91 m_start = Args::StringToUInt32 (option_arg, 0, 0, &success); in SetOptionValue() 293 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 303 m_avoid_no_debug = Args::StringToBoolean (option_arg, true, &success); in SetOptionValue() 312 …m_run_mode = (lldb::RunMode) Args::StringToOptionEnum(option_arg, enum_values, eOnlyDuringStepping… in SetOptionValue() 319 m_avoid_regexp.assign(option_arg); in SetOptionValue() 326 m_step_in_target.assign(option_arg); in SetOptionValue() 822 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 831 m_thread_idx = Args::StringToUInt32 (option_arg, LLDB_INVALID_INDEX32); in SetOptionValue() [all …]
|
D | CommandObjectProcess.cpp | 401 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 414 … lldb::pid_t pid = Args::StringToUInt32 (option_arg, LLDB_INVALID_PROCESS_ID, 0, &success); in SetOptionValue() 417 error.SetErrorStringWithFormat("invalid process ID '%s'", option_arg); in SetOptionValue() 427 attach_info.SetProcessPluginName (option_arg); in SetOptionValue() 431 attach_info.GetExecutableFile().SetFile(option_arg, false); in SetOptionValue() 758 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 766 m_ignore = Args::StringToUInt32 (option_arg, 0, 0, &success); in SetOptionValue() 768 …ErrorStringWithFormat ("invalid value for ignore option: \"%s\", should be a number.", option_arg); in SetOptionValue() 922 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 932 tmp_result = Args::StringToBoolean(option_arg, false, &success); in SetOptionValue() [all …]
|
D | CommandObjectType.cpp | 121 SetOptionValue (uint32_t option_idx, const char *option_arg); 211 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 220 m_cascade = Args::StringToBoolean(option_arg, true, &success); in SetOptionValue() 222 error.SetErrorStringWithFormat("invalid value for cascade: %s", option_arg); in SetOptionValue() 228 m_class_name = std::string(option_arg); in SetOptionValue() 238 m_category = std::string(option_arg); in SetOptionValue() 919 …dObjectTypeSummaryAdd::CommandOptions::SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 928 m_flags.SetCascades(Args::StringToBoolean(option_arg, true, &success)); in SetOptionValue() 930 error.SetErrorStringWithFormat("invalid value for cascade: %s", option_arg); in SetOptionValue() 942 m_format_string = std::string(option_arg); in SetOptionValue() [all …]
|
D | CommandObjectWatchpointCommand.cpp | 398 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 407 m_one_liner = option_arg; in SetOptionValue() 411 m_script_language = (lldb::ScriptLanguage) Args::StringToOptionEnum (option_arg, in SetOptionValue() 429 m_stop_on_error = Args::StringToBoolean(option_arg, false, &success); in SetOptionValue() 431 … error.SetErrorStringWithFormat("invalid value for stop-on-error: \"%s\"", option_arg); in SetOptionValue() 439 m_function_name.assign(option_arg); in SetOptionValue()
|
D | CommandObjectTarget.cpp | 2070 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 2078 m_sort_order = (SortOrder) Args::StringToOptionEnum (option_arg, in SetOptionValue() 3011 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 3023 … m_module_addr = Args::StringToAddress(&exe_ctx, option_arg, LLDB_INVALID_ADDRESS, &error); in SetOptionValue() 3028 if (option_arg) in SetOptionValue() 3029 width = strtoul (option_arg, NULL, 0); in SetOptionValue() 3460 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 3472 … m_addr = Args::StringToAddress(&exe_ctx, option_arg, LLDB_INVALID_ADDRESS, &error); in SetOptionValue() 3474 error.SetErrorStringWithFormat ("invalid address string '%s'", option_arg); in SetOptionValue() 3480 m_str = option_arg; in SetOptionValue() [all …]
|
D | CommandObjectBreakpointCommand.cpp | 421 SetOptionValue (uint32_t option_idx, const char *option_arg) in SetOptionValue() argument 430 m_one_liner = option_arg; in SetOptionValue() 434 m_script_language = (lldb::ScriptLanguage) Args::StringToOptionEnum (option_arg, in SetOptionValue() 452 m_stop_on_error = Args::StringToBoolean(option_arg, false, &success); in SetOptionValue() 454 … error.SetErrorStringWithFormat("invalid value for stop-on-error: \"%s\"", option_arg); in SetOptionValue() 462 m_function_name.assign(option_arg); in SetOptionValue()
|
D | CommandObjectMemory.cpp | 84 const char *option_arg) in SetOptionValue() argument 92 error = m_num_per_line.SetValueFromCString (option_arg); in SetOptionValue() 94 … error.SetErrorStringWithFormat("invalid value for --num-per-line option '%s'", option_arg); in SetOptionValue() 102 error = m_view_as_type.SetValueFromCString (option_arg); in SetOptionValue() 948 const char *option_arg) in SetOptionValue() argument 956 m_infile.SetFile (option_arg, true); in SetOptionValue() 960 … error.SetErrorStringWithFormat("input file does not exist: '%s'", option_arg); in SetOptionValue() 967 m_infile_offset = Args::StringToUInt64(option_arg, 0, 0, &success); in SetOptionValue() 970 … error.SetErrorStringWithFormat("invalid offset string '%s'", option_arg); in SetOptionValue()
|