/external/chromium_org/chrome/browser/prefs/ |
H A D | command_line_pref_store.h | 30 const char* switch_name; member in struct:CommandLinePrefStore::StringSwitchToPreferenceMapEntry 35 const char* switch_name; member in struct:CommandLinePrefStore::PathSwitchToPreferenceMapEntry 40 const char* switch_name; member in struct:CommandLinePrefStore::IntegerSwitchToPreferenceMapEntry 47 const char* switch_name; member in struct:CommandLinePrefStore::BooleanSwitchToPreferenceMapEntry
|
H A D | command_line_pref_store.cc | 106 if (command_line_->HasSwitch(string_switch_map_[i].switch_name)) { 109 string_switch_map_[i].switch_name))); 114 if (command_line_->HasSwitch(path_switch_map_[i].switch_name)) { 117 path_switch_map_[i].switch_name).value())); 122 if (command_line_->HasSwitch(integer_switch_map_[i].switch_name)) { 124 integer_switch_map_[i].switch_name); 128 << integer_switch_map_[i].switch_name 138 if (command_line_->HasSwitch(boolean_switch_map_[i].switch_name)) {
|
/external/chromium_org/base/test/ |
H A D | test_timeouts.cc | 40 // 3) the numerical value given by switch_name on the command line multiplied 42 void InitializeTimeout(const char* switch_name, int min_value, int* value) { argument 44 if (CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { 46 CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switch_name)); 58 // 3) the numerical value given by switch_name on the command line multiplied 60 void InitializeTimeout(const char* switch_name, int* value) { argument 61 InitializeTimeout(switch_name, 0, value);
|
/external/chromium_org/extensions/common/ |
H A D | feature_switch.h | 55 // |switch_name| can be NULL, in which case the feature is controlled solely 57 FeatureSwitch(const char* switch_name, 60 const char* switch_name, 71 const char* switch_name,
|
H A D | feature_switch.cc | 119 FeatureSwitch::FeatureSwitch(const char* switch_name, argument 121 Init(CommandLine::ForCurrentProcess(), switch_name, default_value); local 125 const char* switch_name, 127 Init(command_line, switch_name, default_value); 131 const char* switch_name, 134 switch_name_ = switch_name; 124 FeatureSwitch(const CommandLine* command_line, const char* switch_name, DefaultValue default_value) argument 130 Init(const CommandLine* command_line, const char* switch_name, DefaultValue default_value) argument
|
/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
H A D | auto_enrollment_controller.cc | 24 // Returns the int value of the |switch_name| argument, clamped to the [0, 62] 26 int GetSanitizedArg(const std::string& switch_name) { argument 28 if (!command_line->HasSwitch(switch_name)) 30 std::string value = command_line->GetSwitchValueASCII(switch_name); 33 LOG(ERROR) << "Switch \"" << switch_name << "\" is not a valid int. " 38 LOG(ERROR) << "Switch \"" << switch_name << "\" can't be negative. " 43 LOG(ERROR) << "Switch \"" << switch_name << "\" can't be greater than "
|
/external/chromium_org/chromecast/shell/browser/ |
H A D | cast_browser_main_parts.cc | 33 const char* const switch_name; member in struct:chromecast::shell::__anon6076::DefaultCommandLineSwitch 47 while (g_default_switches[i].switch_name != NULL) { 49 std::string(g_default_switches[i].switch_name),
|
/external/chromium_org/sync/tools/testserver/ |
H A D | run_sync_testserver.cc | 55 // Gets a port value from the switch with name |switch_name| and writes it to 57 static bool GetPortFromSwitch(const std::string& switch_name, uint16* port) { argument 61 if (command_line->HasSwitch(switch_name)) { 62 std::string port_str = command_line->GetSwitchValueASCII(switch_name);
|
/external/chromium_org/chrome/browser/ |
H A D | process_singleton_browsertest.cc | 79 const std::string& switch_name = i->first; local 80 if (switch_name == switches::kUserDataDir || 81 switch_name == switches::kForceFirstRun || 82 switch_name == switches::kNoFirstRun) 85 command_line.AppendSwitchNative(switch_name, i->second);
|
H A D | about_flags.h | 175 base::HistogramBase::Sample GetSwitchUMAId(const std::string& switch_name);
|
H A D | upgrade_detector_impl.cc | 220 std::string switch_name; local 223 switch_name = switches::kSimulateOutdatedNoAU; 225 switch_name = switches::kSimulateOutdated; 227 std::string build_date = command_line.GetSwitchValueASCII(switch_name);
|
H A D | about_flags_unittest.cc | 679 void SetSwitchToHistogramIdMapping(const std::string& switch_name, argument 683 out_map->insert(std::make_pair(switch_name, switch_histogram_id)); 686 << "Duplicate switch '" << switch_name 693 std::string GetHistogramEnumEntryText(const std::string& switch_name, argument 696 "<int value=\"%d\" label=\"%s\"/>", value, switch_name.c_str()); 717 // Build reverse map {switch_name => id} from login_custom_flags.
|
H A D | about_flags.cc | 2292 base::HistogramBase::Sample GetSwitchUMAId(const std::string& switch_name) { argument 2294 metrics::HashMetricName(switch_name)); 2306 std::string switch_name(it->substr(2)); 2309 const size_t value_pos = switch_name.find('='); 2311 switch_name.resize(value_pos); 2313 uma_id = GetSwitchUMAId(switch_name); 2336 const std::string& switch_name, 2340 (*name_to_switch_map)[key] = std::make_pair(switch_name, switch_value); 2335 SetFlagToSwitchMapping(const std::string& key, const std::string& switch_name, const std::string& switch_value, NameToSwitchAndValueMap* name_to_switch_map) argument
|
H A D | io_thread.cc | 294 const std::string& switch_name) { 296 if (!base::StringToInt(command_line.GetSwitchValueASCII(switch_name), 293 GetSwitchValueAsInt(const CommandLine& command_line, const std::string& switch_name) argument
|
/external/chromium_org/base/test/launcher/ |
H A D | unit_test_launcher.cc | 447 bool GetSwitchValueAsInt(const std::string& switch_name, int* result) { argument 448 if (!CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) 452 CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switch_name); 454 LOG(ERROR) << "Invalid value for " << switch_name << ": " << switch_value;
|
/external/chromium_org/chrome/test/chromedriver/ |
H A D | capabilities.cc | 267 std::string switch_name; local 268 if (!switches->GetString(i, &switch_name)) { 272 capabilities->exclude_switches.insert(switch_name);
|
/external/chromium_org/chrome/installer/util/ |
H A D | installer_state.cc | 164 // presence or absence of |switch_name| in that product's uninstall 168 const char* switch_name; member in struct:installer::__anon5775 186 conditional_additions[i].switch_name) ==
|