/external/libchrome/base/ |
D | command_line.cc | 26 CommandLine* CommandLine::current_process_commandline_ = NULL; 30 const CommandLine::CharType kSwitchTerminator[] = FILE_PATH_LITERAL("--"); 31 const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("="); 39 const CommandLine::CharType* const kSwitchPrefixes[] = {L"--", L"-", L"/"}; 42 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"}; 46 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) { in GetSwitchPrefixLength() 48 CommandLine::StringType prefix(kSwitchPrefixes[i]); in GetSwitchPrefixLength() 57 bool IsSwitch(const CommandLine::StringType& string, in IsSwitch() 58 CommandLine::StringType* switch_string, in IsSwitch() 59 CommandLine::StringType* switch_value) { in IsSwitch() [all …]
|
D | command_line_unittest.cc | 23 static const CommandLine::StringType kTrickyQuoted = 27 static const CommandLine::StringType kTricky = 31 const CommandLine::CharType* argv[] = { in TEST() 50 CommandLine cl(arraysize(argv), argv); in TEST() 84 const CommandLine::StringVector& args = cl.GetArgs(); in TEST() 87 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST() 109 CommandLine cl = CommandLine::FromString( in TEST() 148 const CommandLine::StringVector& args = cl.GetArgs(); in TEST() 151 std::vector<CommandLine::StringType>::const_iterator iter = args.begin(); in TEST() 165 CommandLine cl_duplicate = CommandLine::FromString(cl.GetCommandLineString()); in TEST() [all …]
|
D | command_line.h | 32 class BASE_EXPORT CommandLine { 48 explicit CommandLine(NoProgram no_program); 51 explicit CommandLine(const FilePath& program); 54 CommandLine(int argc, const CharType* const* argv); 55 explicit CommandLine(const StringVector& argv); 58 CommandLine(const CommandLine& other); 59 CommandLine& operator=(const CommandLine& other); 61 ~CommandLine(); 99 static CommandLine* ForCurrentProcess(); 105 static CommandLine FromString(const string16& command_line); [all …]
|
/external/clang/unittests/Tooling/ |
D | CompilationDatabaseTest.cpp | 115 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST() 116 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage; in TEST() 119 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST() 120 EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage; in TEST() 134 ASSERT_EQ(1u, Commands[0].CommandLine.size()); in TEST() 135 EXPECT_EQ(Command2, Commands[0].CommandLine[0]) << ErrorMessage; in TEST() 138 ASSERT_EQ(1u, Commands[1].CommandLine.size()); in TEST() 139 EXPECT_EQ(Command1, Commands[1].CommandLine[0]) << ErrorMessage; in TEST() 171 EXPECT_EQ(1u, FoundCommand.CommandLine.size()) << ErrorMessage; in TEST() 172 EXPECT_EQ(Arguments, FoundCommand.CommandLine[0]) << ErrorMessage; in TEST() [all …]
|
/external/deqp/framework/common/ |
D | tcuCommandLine.hpp | 97 CaseListFilter (const de::cmdline::CommandLine& cmdLine, const tcu::Archive& archive); 121 class CommandLine class 124 CommandLine (void); 125 CommandLine (int argc, const char* const* argv); 126 explicit CommandLine (const std::string& cmdLine); 127 ~CommandLine (void); 231 const de::cmdline::CommandLine& getCommandLine (void) const; 234 CommandLine (const CommandLine&); // not allowed! 235 CommandLine& operator= (const CommandLine&); // not allowed! 241 de::cmdline::CommandLine m_cmdLine;
|
D | tcuCommandLine.cpp | 645 CommandLine::CommandLine (void) in CommandLine() function in tcu::CommandLine 658 CommandLine::CommandLine (int argc, const char* const* argv) in CommandLine() function in tcu::CommandLine 672 CommandLine::CommandLine (const std::string& cmdLine) in CommandLine() function in tcu::CommandLine 678 CommandLine::~CommandLine (void) in ~CommandLine() 682 void CommandLine::clear (void) in clear() 688 const de::cmdline::CommandLine& CommandLine::getCommandLine (void) const in getCommandLine() 693 void CommandLine::registerExtendedOptions (de::cmdline::Parser& parser) in registerExtendedOptions() 704 bool CommandLine::parse (int argc, const char* const* argv) in parse() 753 bool CommandLine::parse (const std::string& cmdLine) in parse() 774 const char* CommandLine::getLogFileName (void) const { return m_cmdLine.getOption<opt::LogFil… in getLogFileName() [all …]
|
D | tcuTestContext.hpp | 37 class CommandLine; 51 …TestContext (Platform& platform, Archive& rootArchive, TestLog& log, const CommandLine& cmdLine,… 60 const CommandLine& getCommandLine (void) const { return m_cmdLine; } in getCommandLine() 80 const CommandLine& m_cmdLine; //!< Command line.
|
/external/libmojo/base/android/ |
D | command_line_android.cc | 17 using base::CommandLine; 29 CommandLine extra_command_line(vec); in AppendJavaStringArrayToCommandLine() 30 CommandLine::ForCurrentProcess()->AppendArguments(extra_command_line, in AppendJavaStringArrayToCommandLine() 37 CommandLine::Reset(); in Reset() 44 return CommandLine::ForCurrentProcess()->HasSwitch(switch_string); in HasSwitch() 52 std::string value(CommandLine::ForCurrentProcess()->GetSwitchValueNative( in GetSwitchValue() 63 CommandLine::ForCurrentProcess()->AppendSwitch(switch_string); in AppendSwitch() 72 CommandLine::ForCurrentProcess()->AppendSwitchASCII(switch_string, in AppendSwitchWithValue() 89 CommandLine::Init(0, NULL); in InitNativeCommandLineFromJavaArray()
|
/external/libchrome/base/test/ |
D | multiprocess_test.cc | 18 const CommandLine& base_command_line, in SpawnMultiProcessTestChild() 20 CommandLine command_line(base_command_line); in SpawnMultiProcessTestChild() 46 CommandLine GetMultiProcessTestChildBaseCommandLine() { in GetMultiProcessTestChildBaseCommandLine() 47 CommandLine cmd_line = *CommandLine::ForCurrentProcess(); in GetMultiProcessTestChildBaseCommandLine() 74 CommandLine MultiProcessTest::MakeCmdLine(const std::string& procname) { in MakeCmdLine() 75 CommandLine command_line = GetMultiProcessTestChildBaseCommandLine(); in MakeCmdLine()
|
D | multiprocess_test.h | 18 class CommandLine; variable 77 const CommandLine& command_line, 82 CommandLine GetMultiProcessTestChildBaseCommandLine(); 150 virtual CommandLine MakeCmdLine(const std::string& procname);
|
/external/libmojo/base/android/javatests/src/org/chromium/base/ |
D | CommandLineTest.java | 38 CommandLine.reset(); in setUp() 42 CommandLine cl = CommandLine.getInstance(); in checkInitSwitches() 57 CommandLine cl = CommandLine.getInstance(); in checkSettingThenGetting() 83 String[] actual = CommandLine.tokenizeQuotedAruments(toParse.toCharArray()); in checkTokenizer() 94 CommandLine.init(INIT_SWITCHES); in testJavaInitialization() 103 CommandLine.init(CommandLine.tokenizeQuotedAruments(INIT_SWITCHES_BUFFER)); in testBufferInitialization()
|
/external/clang/lib/Tooling/ |
D | Tooling.cpp | 173 void addTargetAndModeForProgramName(std::vector<std::string> &CommandLine, in addTargetAndModeForProgramName() argument 175 if (!CommandLine.empty() && !InvokedAs.empty()) { in addTargetAndModeForProgramName() 179 for (auto Token = ++CommandLine.begin(); Token != CommandLine.end(); in addTargetAndModeForProgramName() 190 CommandLine.insert(++CommandLine.begin(), TargetMode.second); in addTargetAndModeForProgramName() 193 CommandLine.insert(++CommandLine.begin(), {"-target", TargetMode.first}); in addTargetAndModeForProgramName() 212 std::vector<std::string> CommandLine, ToolAction *Action, in ToolInvocation() argument 214 : CommandLine(std::move(CommandLine)), Action(Action), OwnsAction(false), in ToolInvocation() 219 std::vector<std::string> CommandLine, FrontendAction *FAction, in ToolInvocation() argument 221 : CommandLine(std::move(CommandLine)), in ToolInvocation() 239 for (const std::string &Str : CommandLine) in run() [all …]
|
/external/deqp/framework/delibs/decpp/ |
D | deCommandLine.cpp | 114 bool Parser::parse (int numArgs, const char* const* args, CommandLine* dst, std::ostream& err) const in parse() 289 void CommandLine::clear (void) in clear() 355 CommandLine cmdLine; in selfTest() 364 CommandLine cmdLine; in selfTest() 374 CommandLine cmdLine; in selfTest() 384 CommandLine cmdLine; in selfTest() 421 CommandLine cmdLine; in selfTest() 438 CommandLine cmdLine; in selfTest() 455 CommandLine cmdLine; in selfTest() 474 CommandLine cmdLine; in selfTest() [all …]
|
/external/libbrillo/brillo/ |
D | flag_helper_unittest.cc | 21 static void SetUpTestCase() { base::CommandLine::Init(0, nullptr); } in SetUpTestCase() 44 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 106 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 166 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 195 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 209 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 229 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 256 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 277 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() 299 base::CommandLine command_line(arraysize(argv), argv); in TEST_F() [all …]
|
/external/deqp/executor/tools/ |
D | xeExtractShaderPrograms.cpp | 43 struct CommandLine struct 45 CommandLine (void) in CommandLine() function 68 static void writeShaderProgram (const CommandLine& cmdLine, const std::string& casePath, const xe::… in writeShaderProgram() argument 99 static void extractShaderPrograms (const CommandLine& cmdLine, const std::string& casePath, const x… in extractShaderPrograms() 134 ShaderProgramExtractHandler (const CommandLine& cmdLine) in ShaderProgramExtractHandler() 170 const CommandLine& m_cmdLine; 174 static void extractShaderProgramsFromLogFile (const CommandLine& cmdLine) in extractShaderProgramsFromLogFile() 204 static bool parseCommandLine (CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() 233 CommandLine cmdLine; in main()
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
D | CommandLine.java | 31 public abstract class CommandLine { class 104 private static final AtomicReference<CommandLine> sCommandLine = 105 new AtomicReference<CommandLine>(); 116 public static CommandLine getInstance() { in getInstance() 117 CommandLine commandLine = sCommandLine.get(); in getInstance() 223 CommandLine commandLine = sCommandLine.get(); in getJavaSwitchesOrNull() 231 private static void setInstance(CommandLine commandLine) { in setInstance() 232 CommandLine oldCommandLine = sCommandLine.getAndSet(commandLine); in setInstance() 279 private CommandLine() {} in CommandLine() method in CommandLine 281 private static class JavaCommandLine extends CommandLine { [all …]
|
/external/libchrome/base/process/ |
D | launch.h | 32 class CommandLine; variable 192 BASE_EXPORT Process LaunchProcess(const CommandLine& cmdline, 214 BASE_EXPORT Process LaunchElevatedProcess(const CommandLine& cmdline, 245 BASE_EXPORT bool GetAppOutput(const CommandLine& cl, std::string* output); 248 BASE_EXPORT bool GetAppOutputAndError(const CommandLine& cl, 274 BASE_EXPORT bool GetAppOutputWithExitCode(const CommandLine& cl,
|
/external/clang/include/clang/Tooling/ |
D | CompilationDatabase.h | 46 std::vector<std::string> CommandLine) in CompileCommand() 49 CommandLine(std::move(CommandLine)) {} in CompileCommand() 58 std::vector<std::string> CommandLine; member 192 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);
|
/external/lzma/Java/SevenZip/ |
D | LzmaAlone.java | 5 static public class CommandLine class in LzmaAlone 174 CommandLine params = new CommandLine(); in main() 181 if (params.Command == CommandLine.kBenchmak) in main() 190 else if (params.Command == CommandLine.kEncode || params.Command == CommandLine.kDecode) in main() 201 if (params.Command == CommandLine.kEncode) in main()
|
/external/libmojo/mojo/edk/test/ |
D | multiprocess_test_helper.cc | 83 base::CommandLine command_line( in StartChildWithExtraSwitch() 94 base::CommandLine::ForCurrentProcess()->GetSwitches()) { in StartChildWithExtraSwitch() 202 CHECK(base::CommandLine::InitializedForCurrentProcess()); in ChildSetup() 205 base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII( in ChildSetup() 208 base::CommandLine::ForCurrentProcess()->GetSwitchValueNative( in ChildSetup() 220 *base::CommandLine::ForCurrentProcess())); in ChildSetup() 228 *base::CommandLine::ForCurrentProcess())); in ChildSetup()
|
/external/libmojo/mojo/edk/embedder/ |
D | named_platform_channel_pair.h | 18 class CommandLine; variable 52 const base::CommandLine& command_line); 59 base::CommandLine* command_line) const;
|
D | platform_channel_pair.h | 17 class CommandLine; variable 74 const base::CommandLine& command_line); 85 base::CommandLine* command_line,
|
/external/deqp/framework/platform/android/ |
D | tcuAndroidTestActivity.hpp | 42 TestThread (NativeActivity& activity, const CommandLine& cmdLine); 53 const CommandLine& m_cmdLine; 72 CommandLine m_cmdLine;
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkDeviceUtil.hpp | 34 class CommandLine; 51 const tcu::CommandLine& cmdLine); 55 const tcu::CommandLine& cmdLine);
|
/external/deqp/external/openglcts/modules/runner/ |
D | glcTestRunnerMain.cpp | 36 struct CommandLine struct 38 CommandLine(void) : runType(glu::ApiType::es(2, 0)), flags(0) in CommandLine() argument 47 static bool parseCommandLine(CommandLine& cmdLine, int argc, const char* const* argv) in parseCommandLine() argument 114 CommandLine cmdLine; in main()
|