Searched defs:CommandLine (Results 1 - 16 of 16) sorted by relevance

/external/clang/include/clang/Tooling/
H A DCompilationDatabase.h45 CompileCommand(Twine Directory, ArrayRef<std::string> CommandLine) argument
46 : Directory(Directory.str()), CommandLine(CommandLine) {}
52 std::vector<std::string> CommandLine; member in struct:clang::tooling::CompileCommand
172 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine);
H A DTooling.h138 /// \param CommandLine The command line arguments to clang. Note that clang
139 /// uses its binary name (CommandLine[0]) to locate its builtin headers.
145 ToolInvocation(ArrayRef<std::string> CommandLine, FrontendAction *ToolAction,
166 std::vector<std::string> CommandLine; member in class:clang::tooling::ToolInvocation
/external/chromium_org/base/
H A Dcommand_line.h12 // There is a singleton read-only CommandLine that represents the command line
30 class BASE_EXPORT CommandLine { class
45 explicit CommandLine(NoProgram no_program);
48 explicit CommandLine(const base::FilePath& program);
51 CommandLine(int argc, const CharType* const* argv);
52 explicit CommandLine(const StringVector& argv);
54 ~CommandLine();
56 // Initialize the current process CommandLine singleton. On Windows, ignores
64 // Destroys the current process CommandLine singleton. This is necessary if
70 // Get the singleton CommandLine representin
[all...]
H A Dcommand_line.cc25 CommandLine* CommandLine::current_process_commandline_ = NULL;
28 const CommandLine::CharType kSwitchTerminator[] = FILE_PATH_LITERAL("--");
29 const CommandLine::CharType kSwitchValueSeparator[] = FILE_PATH_LITERAL("=");
33 const CommandLine::CharType* const kSwitchPrefixes[] = {L"--", L"-", L"/"};
36 const CommandLine::CharType* const kSwitchPrefixes[] = {"--", "-"};
39 size_t GetSwitchPrefixLength(const CommandLine::StringType& string) {
41 CommandLine::StringType prefix(kSwitchPrefixes[i]);
50 bool IsSwitch(const CommandLine::StringType& string,
51 CommandLine
146 CommandLine::CommandLine(NoProgram no_program) function in class:CommandLine
151 CommandLine::CommandLine(const FilePath& program) function in class:CommandLine
157 CommandLine::CommandLine(int argc, const CommandLine::CharType* const* argv) function in class:CommandLine
163 CommandLine::CommandLine(const StringVector& argv) function in class:CommandLine
[all...]
/external/chromium/base/
H A Dcommand_line.h11 // There is a singleton read-only CommandLine that represents the command line
28 class BASE_API CommandLine { class
43 explicit CommandLine(NoProgram no_program);
46 explicit CommandLine(const FilePath& program);
49 CommandLine(int argc, const char* const* argv);
50 explicit CommandLine(const StringVector& argv);
53 ~CommandLine();
55 // Initialize the current process CommandLine singleton. On Windows, ignores
61 // Destroys the current process CommandLine singleton. This is necessary if
67 // Get the singleton CommandLine representin
[all...]
H A Dcommand_line.cc23 CommandLine* CommandLine::current_process_commandline_ = NULL;
26 typedef CommandLine::StringType::value_type CharType;
93 bool IsSwitch(const CommandLine::StringType& parameter_string,
95 CommandLine::StringType* switch_value) {
100 CommandLine::StringType prefix(kSwitchPrefixes[i]);
107 CommandLine::StringType switch_native;
108 if (equals_position == CommandLine::StringType::npos) {
130 CommandLine::CommandLine(NoProgra function in class:CommandLine
137 CommandLine::CommandLine(const FilePath& program) { function in class:CommandLine
150 CommandLine::CommandLine(int argc, const char* const* argv) { function in class:CommandLine
154 CommandLine::CommandLine(const StringVector& argv) { function in class:CommandLine
482 CommandLine::CommandLine() { function in class:CommandLine
[all...]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
H A DCommandLine.java31 public class CommandLine { class
/external/lzma/Java/SevenZip/
H A DLzmaAlone.java5 static public class CommandLine class in class:LzmaAlone
174 CommandLine params = new CommandLine();
181 if (params.Command == CommandLine.kBenchmak)
190 else if (params.Command == CommandLine.kEncode || params.Command == CommandLine.kDecode)
201 if (params.Command == CommandLine.kEncode)
/external/chromium_org/tools/site_compare/
H A Dcommand_line.py496 class CommandLine(object): class in inherits:object
666 cmdline = CommandLine()
/external/clang/lib/Tooling/
H A DCompilationDatabase.cpp110 std::vector<std::string> CommandLine(DoubleDash + 1, Argv + Argc);
112 return new FixedCompilationDatabase(Directory, CommandLine);
116 FixedCompilationDatabase(Twine Directory, ArrayRef<std::string> CommandLine) { argument
119 CommandLine.begin(), CommandLine.end());
126 Result[0].CommandLine.push_back(FilePath);
H A DJSONCompilationDatabase.cpp33 CommandLineArgumentParser(StringRef CommandLine) argument
34 : Input(CommandLine), Position(Input.begin()-1) {}
41 CommandLine.push_back(Argument);
43 return CommandLine;
111 std::vector<std::string> CommandLine; member in class:clang::tooling::__anon15621::CommandLineArgumentParser
H A DTooling.cpp149 ArrayRef<std::string> CommandLine, FrontendAction *ToolAction,
151 : CommandLine(CommandLine.vec()), ToolAction(ToolAction), Files(Files) {
162 for (int I = 0, E = CommandLine.size(); I != E; ++I)
163 Argv.push_back(CommandLine[I].c_str());
309 std::vector<std::string> CommandLine = CompileCommands[I].second.CommandLine; local
311 CommandLine = ArgsAdjusters[I]->Adjust(CommandLine);
312 assert(!CommandLine
148 ToolInvocation( ArrayRef<std::string> CommandLine, FrontendAction *ToolAction, FileManager *Files) argument
[all...]
/external/clang/unittests/Tooling/
H A DCompilationDatabaseTest.cpp108 ASSERT_EQ(1u, Commands[0].CommandLine.size());
109 EXPECT_EQ(Command1, Commands[0].CommandLine[0]) << ErrorMessage;
111 ASSERT_EQ(1u, Commands[1].CommandLine.size());
112 EXPECT_EQ(Command2, Commands[1].CommandLine[0]) << ErrorMessage;
209 EXPECT_TRUE(NotFound.CommandLine.empty()) << ErrorMessage;
225 ASSERT_EQ(4u, FoundCommand.CommandLine.size()) << ErrorMessage;
227 FoundCommand.CommandLine[0]) << ErrorMessage;
228 EXPECT_EQ("and", FoundCommand.CommandLine[1]) << ErrorMessage;
229 EXPECT_EQ("some", FoundCommand.CommandLine[2]) << ErrorMessage;
230 EXPECT_EQ("arguments", FoundCommand.CommandLine[
401 std::vector<std::string> CommandLine; local
417 std::vector<std::string> CommandLine; local
426 std::vector<std::string> CommandLine; local
461 std::vector<std::string> CommandLine; local
480 std::vector<std::string> CommandLine; local
[all...]
/external/chromium_org/content/public/android/java/src/org/chromium/content/common/
H A DCommandLine.java22 * Java mirror of Chrome command-line utilities (e.g. class CommandLine from base/command_line.h).
26 public abstract class CommandLine { class
139 private static final AtomicReference<CommandLine> sCommandLine =
140 new AtomicReference<CommandLine>();
149 // Equivalent to CommandLine::ForCurrentProcess in C++.
150 public static CommandLine getInstance() {
151 CommandLine commandLine = sCommandLine.get();
229 private static final String TAG = "CommandLine";
237 // when this happens, all bets are off. (As per the native CommandLine).
242 CommandLine commandLin
299 private CommandLine() {} method in class:CommandLine
[all...]
/external/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp39 #include "llvm/Support/CommandLine.h"
313 std::string CommandLine(ProgramToRun);
318 errs() << ToolName << ": Failed to find program: '" << CommandLine
329 CommandLine.push_back(' ');
330 CommandLine.append(*i);
335 << ToolName << ": Command Line: " << CommandLine << '\n'; local
349 LPSTR(CommandLine.c_str()),
/external/llvm/tools/bugpoint/
H A DToolRunner.cpp17 #include "llvm/Support/CommandLine.h"
399 // Tokenize the CommandLine to the command and the args to allow
408 static void lexCommand(std::string &Message, const std::string &CommandLine, argument
414 std::string::size_type lastPos = CommandLine.find_first_not_of(delimiters, 0);
415 std::string::size_type pos = CommandLine.find_first_of(delimiters, lastPos);
418 std::string token = CommandLine.substr(lastPos, pos - lastPos);
424 lastPos = CommandLine.find_first_not_of(delimiters, pos);
426 pos = CommandLine.find_first_of(delimiters, lastPos);

Completed in 468 milliseconds