Home
last modified time | relevance | path

Searched refs:ForCurrentProcess (Results 1 – 25 of 33) sorted by relevance

12

/external/libchrome/base/android/
Dcommand_line_android.cc29 CommandLine::ForCurrentProcess()->AppendArguments(extra_command_line, in JNI_CommandLine_AppendJavaStringArrayToCommandLine()
40 return CommandLine::ForCurrentProcess()->HasSwitch(switch_string); in JNI_CommandLine_HasSwitch()
48 std::string value(CommandLine::ForCurrentProcess()->GetSwitchValueNative( in JNI_CommandLine_GetSwitchValue()
59 CommandLine::ForCurrentProcess()->AppendSwitch(switch_string); in JNI_CommandLine_AppendSwitch()
69 CommandLine::ForCurrentProcess()->AppendSwitchASCII(switch_string, in JNI_CommandLine_AppendSwitchWithValue()
/external/libchrome/base/
Dsys_info.cc23 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in AmountOfPhysicalMemory()
33 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in AmountOfAvailablePhysicalMemory()
48 if (base::CommandLine::ForCurrentProcess()->HasSwitch( in IsLowEndDevice()
59 CommandLine* command_line = CommandLine::ForCurrentProcess(); in DetectLowEndDevice()
Dcommand_line.h98 static CommandLine* ForCurrentProcess();
Dcommand_line_unittest.cc386 CommandLine* initial = CommandLine::ForCurrentProcess(); in TEST()
388 CommandLine* current = CommandLine::ForCurrentProcess(); in TEST()
Dlogging.cc411 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in BaseInitLoggingImpl()
783 base::CommandLine::ForCurrentProcess()-> in ~LogMessage()
Dfeature_list.cc272 base::CommandLine::ForCurrentProcess()->HasSwitch( in SetInstance()
Dcommand_line.cc234 CommandLine* CommandLine::ForCurrentProcess() { in ForCurrentProcess() function in base::CommandLine
/external/libchrome/base/test/
Dscoped_command_line.cc11 : original_command_line_(*base::CommandLine::ForCurrentProcess()) {} in ScopedCommandLine()
14 *base::CommandLine::ForCurrentProcess() = original_command_line_; in ~ScopedCommandLine()
18 return base::CommandLine::ForCurrentProcess(); in GetProcessCommandLine()
Dtrace_to_file.cc30 if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kTraceToFile)) in BeginTracingFromCommandLineOptions()
35 std::string filter = CommandLine::ForCurrentProcess()->GetSwitchValueASCII( in BeginTracingFromCommandLineOptions()
39 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kTraceToFileName)) { in BeginTracingFromCommandLineOptions()
40 path = FilePath(CommandLine::ForCurrentProcess() in BeginTracingFromCommandLineOptions()
Dtest_suite.cc90 old_command_line_ = *CommandLine::ForCurrentProcess(); in OnTestStart()
94 *CommandLine::ForCurrentProcess() = old_command_line_; in OnTestEnd()
108 *base::CommandLine::ForCurrentProcess(); in GetProfileName()
228 if (!CommandLine::ForCurrentProcess()->HasSwitch( in AddTestLauncherResultPrinter()
233 FilePath output_path(CommandLine::ForCurrentProcess()->GetSwitchValuePath( in AddTestLauncherResultPrinter()
267 CommandLine::ForCurrentProcess()->GetSwitchValueASCII( in Run()
387 const CommandLine* command_line = CommandLine::ForCurrentProcess(); in Initialize()
419 *CommandLine::ForCurrentProcess() = new_command_line; in Initialize()
Dtest_timeouts.cc27 if (base::CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) { in InitializeTimeout()
28 std::string string_value(base::CommandLine::ForCurrentProcess()-> in InitializeTimeout()
98 base::CommandLine::ForCurrentProcess()->HasSwitch( in Initialize()
Dgtest_xml_unittest_result_printer.cc96 if (CommandLine::ForCurrentProcess()->HasSwitch( in OnTestEnd()
99 CommandLine::ForCurrentProcess()->GetSwitchValueASCII( in OnTestEnd()
Dicu_test_util.cc31 if (!CommandLine::ForCurrentProcess()->HasSwitch( in InitializeICUForTesting()
Dperf_test_suite.cc26 CommandLine::ForCurrentProcess()->GetSwitchValuePath("log-file"); in Initialize()
Dmultiprocess_test.cc46 CommandLine cmd_line = *CommandLine::ForCurrentProcess(); in GetMultiProcessTestChildBaseCommandLine()
/external/libchrome/base/test/launcher/
Dunit_test_launcher.cc141 CommandLine new_cmd_line(*CommandLine::ForCurrentProcess()); in GetCommandLineForChildGTestProcess()
181 if (!CommandLine::ForCurrentProcess()->HasSwitch(switch_name)) in GetSwitchValueAsInt()
185 CommandLine::ForCurrentProcess()->GetSwitchValueASCII(switch_name); in GetSwitchValueAsInt()
204 if (CommandLine::ForCurrentProcess()->HasSwitch( in LaunchUnitTestsInternal()
219 if (CommandLine::ForCurrentProcess()->HasSwitch(kGTestHelpFlag) || in LaunchUnitTestsInternal()
220 CommandLine::ForCurrentProcess()->HasSwitch(kGTestListTestsFlag) || in LaunchUnitTestsInternal()
221 CommandLine::ForCurrentProcess()->HasSwitch(kSingleProcessTestsFlag) || in LaunchUnitTestsInternal()
222 CommandLine::ForCurrentProcess()->HasSwitch( in LaunchUnitTestsInternal()
229 if (CommandLine::ForCurrentProcess()->HasSwitch(kHelpFlag)) { in LaunchUnitTestsInternal()
Dtest_launcher.cc237 return CommandLine::ForCurrentProcess()->HasSwitch( in BotModeEnabled()
647 if (CommandLine::ForCurrentProcess()->HasSwitch( in OnTestFinished()
649 print_test_stdio = CommandLine::ForCurrentProcess()->GetSwitchValueASCII( in OnTestFinished()
835 const CommandLine* command_line = CommandLine::ForCurrentProcess(); in Init()
1095 const CommandLine* command_line = CommandLine::ForCurrentProcess(); in RunTests()
1185 CommandLine::ForCurrentProcess()->HasSwitch(kGTestBreakOnFailure); in RunTestIteration()
1226 const CommandLine* command_line = CommandLine::ForCurrentProcess(); in MaybeSaveSummaryAsJSON()
1290 const CommandLine* command_line = CommandLine::ForCurrentProcess(); in NumParallelJobs()
/external/libchrome/libchrome_tools/patch/
Dlogging.patch18 - base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
34 + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
72 + base::CommandLine::ForCurrentProcess()->
/external/libchrome/base/i18n/
Drtl.cc59 static bool has_switch = base::CommandLine::ForCurrentProcess()->HasSwitch( in GetCharacterDirection()
62 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in GetCharacterDirection()
177 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in GetForcedTextDirection()
Dbuild_utf8_validator_tables.cc436 if (base::CommandLine::ForCurrentProcess()->HasSwitch("help")) { in main()
441 base::CommandLine::ForCurrentProcess()->GetSwitchValuePath("output"); in main()
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.cc104 base::CommandLine::ForCurrentProcess()->GetSwitches()) { in StartChildWithExtraSwitch()
219 auto& command_line = *base::CommandLine::ForCurrentProcess(); in ChildSetup()
/external/libchrome/base/files/
Dfile_locking_unittest.cc88 base::CommandLine* command_line = base::CommandLine::ForCurrentProcess(); in MULTIPROCESS_TEST_MAIN()
/external/libbrillo/brillo/
Dflag_helper.cc201 helper->command_line_ = base::CommandLine::ForCurrentProcess(); in Init()
/external/libchrome/base/android/orderfile/
Dorderfile_instrumentation.cc86 Dump(base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( in OnMemoryDump()
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc167 const auto& command_line = *base::CommandLine::ForCurrentProcess(); in RecoverEndpointFromCommandLine()

12