Lines Matching defs:arg_type
494 CommandObject::FindArgumentDataByType (CommandArgumentType arg_type)
499 if (table[i].arg_type == arg_type)
506 CommandObject::GetArgumentHelp (Stream &str, CommandArgumentType arg_type, CommandInterpreter &interpreter)
509 ArgumentTableEntry *entry = (ArgumentTableEntry *) &(table[arg_type]);
511 // The table is *supposed* to be kept in arg_type order, but someone *could* have messed it up...
513 if (entry->arg_type != arg_type)
514 entry = CommandObject::FindArgumentDataByType (arg_type);
541 CommandObject::GetArgumentName (CommandArgumentType arg_type)
543 ArgumentTableEntry *entry = (ArgumentTableEntry *) &(CommandObject::GetArgumentTable()[arg_type]);
545 // The table is *supposed* to be kept in arg_type order, but someone *could* have messed it up...
547 if (entry->arg_type != arg_type)
548 entry = CommandObject::FindArgumentDataByType (arg_type);
554 str << "Arg name for type (" << arg_type
601 const char *first_name = GetArgumentName (arg_entry[0].arg_type);
602 const char *second_name = GetArgumentName (arg_entry[1].arg_type);
641 names.Printf ("%s", GetArgumentName (arg_entry[j].arg_type));
690 return_type = g_arguments_data[i].arg_type;
982 id_arg.arg_type = ID;
986 id_range_arg.arg_type = IDRange;
996 CommandObject::GetArgumentTypeAsCString (const lldb::CommandArgumentType arg_type)
998 if (arg_type >=0 && arg_type < eArgTypeLastArg)
999 return g_arguments_data[arg_type].arg_name;
1005 CommandObject::GetArgumentDescriptionAsCString (const lldb::CommandArgumentType arg_type)
1007 if (arg_type >=0 && arg_type < eArgTypeLastArg)
1008 return g_arguments_data[arg_type].help_text;