OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:switch_string
(Results
1 - 8
of
8
) sorted by null
/external/chromium_org/chrome/browser/android/
chrome_startup_flags.cc
21
void SetCommandLineSwitch(const std::string&
switch_string
) {
23
if (!command_line->HasSwitch(
switch_string
))
24
command_line->AppendSwitch(
switch_string
);
27
void SetCommandLineSwitchASCII(const std::string&
switch_string
,
30
if (!command_line->HasSwitch(
switch_string
))
31
command_line->AppendSwitchASCII(
switch_string
, value);
/external/chromium_org/base/android/
command_line_android.cc
38
std::string
switch_string
(ConvertJavaStringToUTF8(env, jswitch));
39
return CommandLine::ForCurrentProcess()->HasSwitch(
switch_string
);
43
std::string
switch_string
(ConvertJavaStringToUTF8(env, jswitch));
45
switch_string
));
53
std::string
switch_string
(ConvertJavaStringToUTF8(env, jswitch));
54
CommandLine::ForCurrentProcess()->AppendSwitch(
switch_string
);
59
std::string
switch_string
(ConvertJavaStringToUTF8(env, jswitch));
61
CommandLine::ForCurrentProcess()->AppendSwitchASCII(
switch_string
,
/external/chromium/base/
command_line.cc
91
// Returns true and fills in |
switch_string
| and |switch_value| if
94
std::string*
switch_string
,
96
switch_string
->clear();
116
*
switch_string
= WideToASCII(switch_native);
117
Lowercase(
switch_string
);
119
*
switch_string
= switch_native;
218
std::string
switch_string
;
local
220
if (IsSwitch(arg, &
switch_string
, &switch_value)) {
221
switches_[
switch_string
] = switch_value;
246
bool CommandLine::HasSwitch(const std::string&
switch_string
) const
468
std::string
switch_string
;
local
[
all
...]
command_line.h
96
bool HasSwitch(const std::string&
switch_string
) const;
100
std::string GetSwitchValueASCII(const std::string&
switch_string
) const;
101
FilePath GetSwitchValuePath(const std::string&
switch_string
) const;
102
StringType GetSwitchValueNative(const std::string&
switch_string
) const;
113
void AppendSwitch(const std::string&
switch_string
);
114
void AppendSwitchPath(const std::string&
switch_string
, const FilePath& path);
115
void AppendSwitchNative(const std::string&
switch_string
,
117
void AppendSwitchASCII(const std::string&
switch_string
,
/external/chromium_org/base/
command_line.h
116
bool HasSwitch(const std::string&
switch_string
) const;
120
std::string GetSwitchValueASCII(const std::string&
switch_string
) const;
121
base::FilePath GetSwitchValuePath(const std::string&
switch_string
) const;
122
StringType GetSwitchValueNative(const std::string&
switch_string
) const;
129
void AppendSwitch(const std::string&
switch_string
);
130
void AppendSwitchPath(const std::string&
switch_string
,
132
void AppendSwitchNative(const std::string&
switch_string
,
134
void AppendSwitchASCII(const std::string&
switch_string
,
command_line.cc
53
// Fills in |
switch_string
| and |switch_value| if |string| is a switch.
54
// This will preserve the input switch prefix in the output |
switch_string
|.
56
CommandLine::StringType*
switch_string
,
58
switch_string
->clear();
65
*
switch_string
= string.substr(0, equals_position);
79
CommandLine::StringType
switch_string
;
local
82
if (parse_switches && IsSwitch(arg, &
switch_string
, &switch_value)) {
84
command_line.AppendSwitchNative(WideToASCII(
switch_string
), switch_value);
86
command_line.AppendSwitchNative(
switch_string
, switch_value);
267
StringType
switch_string
;
local
[
all
...]
/external/chromium_org/chrome/service/cloud_print/
cloud_print_proxy.cc
27
void LaunchBrowserProcessWithSwitch(const std::string&
switch_string
) {
42
cmd_line.AppendSwitch(
switch_string
);
/external/chromium_org/content/renderer/gpu/
render_widget_compositor.cc
53
const std::string&
switch_string
,
57
std::string string_value = command_line.GetSwitchValueASCII(
switch_string
);
64
LOG(WARNING) << "Failed to parse switch " <<
switch_string
<< ": " <<
Completed in 321 milliseconds