/external/chromium_org/extensions/common/ |
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,
|
feature_switch.cc | 119 FeatureSwitch::FeatureSwitch(const char* switch_name, 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;
|
/external/chromium_org/chrome/browser/prefs/ |
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
|
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/ |
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) { 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) { 61 InitializeTimeout(switch_name, 0, value);
|
/external/chromium_org/chrome/browser/chromeos/login/enrollment/ |
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) { 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/sync/tools/testserver/ |
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) { 61 if (command_line->HasSwitch(switch_name)) { 62 std::string port_str = command_line->GetSwitchValueASCII(switch_name);
|
/external/chromium_org/chromecast/shell/browser/ |
cast_browser_main_parts.cc | 33 const char* const switch_name; member in struct:chromecast::shell::__anon10701::DefaultCommandLineSwitch 47 while (g_default_switches[i].switch_name != NULL) { 49 std::string(g_default_switches[i].switch_name),
|
/external/chromium_org/chrome/browser/ |
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);
|
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);
|
about_flags_unittest.cc | 679 void SetSwitchToHistogramIdMapping(const std::string& switch_name, 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, 696 "<int value=\"%d\" label=\"%s\"/>", value, switch_name.c_str()); 717 // Build reverse map {switch_name => id} from login_custom_flags.
|
about_flags.cc | [all...] |
about_flags.h | 175 base::HistogramBase::Sample GetSwitchUMAId(const std::string& switch_name);
|
io_thread.cc | 294 const std::string& switch_name) { 296 if (!base::StringToInt(command_line.GetSwitchValueASCII(switch_name), [all...] |
/external/chromium_org/base/test/launcher/ |
unit_test_launcher.cc | 447 bool GetSwitchValueAsInt(const std::string& switch_name, int* result) { 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/installer/util/ |
installer_state.cc | 164 // presence or absence of |switch_name| in that product's uninstall 168 const char* switch_name; member in struct:installer::__anon10400 186 conditional_additions[i].switch_name) ==
|
/external/chromium_org/chrome/test/chromedriver/ |
capabilities.cc | 267 std::string switch_name; local 268 if (!switches->GetString(i, &switch_name)) { 272 capabilities->exclude_switches.insert(switch_name);
|
/frameworks/base/services/core/java/com/android/server/ |
WiredAccessoryManager.java | 407 String name = event.get("SWITCH_NAME");
|