/external/chromium_org/tools/gn/ |
args.h | 23 class Args { 25 Args(); 26 Args(const Args& other); 27 ~Args(); 42 // If the values specified in the args are not already set, the values in 43 // the args list will be used (which are assumed to be the defaults), but 46 // All args specified in the input will be marked as "used". 49 bool DeclareArgs(const Scope::KeyValueMap& args, 58 // single-threaded. It's used to implement the "args" command [all...] |
args.cc | 5 #include "tools/gn/args.h" 29 " Second, arguments specified on the command-line via \"--args\" are\n" 33 " gn --args=\"enable_doom_melon=false\" os=\\\"beos\\\"\n" 54 " to specify build args in an \"import\"-ed file if you want such\n" 57 Args::Args() { 60 Args::Args(const Args& other) 66 Args::~Args() [all...] |
/external/clang/lib/Frontend/ |
CreateInvocationFromCommandLine.cpp | 1 //===--- CreateInvocationFromCommandLine.cpp - CompilerInvocation from Args ==// 41 SmallVector<const char *, 16> Args; 42 Args.push_back("<clang>"); // FIXME: Remove dummy argument. 43 Args.insert(Args.end(), ArgList.begin(), ArgList.end()); 46 Args.push_back("-fsyntax-only"); 55 OwningPtr<driver::Compilation> C(TheDriver.BuildCompilation(Args));
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXUtilities.h | 67 va_list Args; 68 va_start(Args, A); 71 while (T Val = va_arg(Args, T)) 73 va_end(Args);
|
/external/clang/lib/FrontendTool/ |
ExecuteCompilerInvocation.cpp | 213 const char **Args = new const char*[NumArgs + 2]; 214 Args[0] = "clang (LLVM option parsing)"; 216 Args[i + 1] = Clang->getFrontendOpts().LLVMArgs[i].c_str(); 217 Args[NumArgs + 1] = 0; 218 llvm::cl::ParseCommandLineOptions(NumArgs + 1, Args);
|
/external/clang/unittests/AST/ |
SourceLocationTest.cpp | 217 std::vector<std::string> Args; 218 Args.push_back("-fno-delayed-template-parsing"); 224 unresolvedConstructExpr(), Args, Lang_CXX11));
|
StmtPrinterTest.cpp | 69 const std::vector<std::string> &Args, 78 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args)) 102 std::vector<std::string> Args; 103 Args.push_back("-std=c++98"); 104 Args.push_back("-Wno-unused-value"); 106 Args, 116 std::vector<std::string> Args; 117 Args.push_back("-std=c++98"); 118 Args.push_back("-fms-extensions"); 119 Args.push_back("-Wno-unused-value") [all...] |
/sdk/eclipse/scripts/ |
gen_icon.py | 14 class Args(object): 24 def main(args): 25 data = process_args(args) 29 def process_args(args): 30 if not args or len(args) != 6: 32 return Args(*args)
|
/dalvik/dx/src/com/android/dx/command/dump/ |
Args.java | 22 class Args {
|
/external/clang/examples/clang-interpreter/ |
main.cpp | 63 std::vector<std::string> Args; 64 Args.push_back(Mod->getModuleIdentifier()); 66 return EE->runFunctionAsMain(EntryFn, Args, envp); 84 SmallVector<const char *, 16> Args(argv, argv + argc); 85 Args.push_back("-fsyntax-only"); 86 OwningPtr<Compilation> C(TheDriver.BuildCompilation(Args));
|
/external/openfst/src/include/fst/script/ |
script-impl.h | 40 // 1) A way to bundle the args that your new Foo operation will take, as 44 // typedef args::Package<const FstClass &, 47 // Note: this package of args is going to be passed by non-const pointer. 49 // 2) A function template that is able to perform Foo, given the args and 53 // void Foo(FooArgs *args) { 55 // const Fst<Arc> &ifst = args->arg1.GetFst<Arc>(); 56 // MutableFst<Arc> *ofst = args->arg2->GetMutableFst<Arc>(); 67 // // package the args 68 // FooArgs args(ifst, ofst); 70 // Apply<Operation<FooArgs> >("Foo", ifst->ArcType(), &args); [all...] |
/external/chromium_org/third_party/tlslite/scripts/ |
tlsdb.py | 63 class Args: 75 args = Args(sys.argv) variable 86 command = args.getLast(2).lower() 93 dbName = args.get(2) 99 dbName = args.getLast(2) 105 dbName = args.get(2) 106 username = args.get(3) 107 password = args.get(4) 115 bits = int(args.getLast(5) [all...] |
tls.py | 792 class Args: 804 args = Args(sys.argv) variable 815 address = args.get(2) 816 dir = args.getLast(3) 821 address = args.get(2) 841 username = args.get(3) 842 password = args.getLast(4) 847 username = args.get(3) 848 password = args.getLast(4 [all...] |
/external/clang/lib/CodeGen/ |
CGCUDANV.cpp | 42 void EmitDeviceStubBody(CodeGenFunction &CGF, FunctionArgList &Args); 79 FunctionArgList &Args) { 83 for (FunctionArgList::const_iterator I = Args.begin(), E = Args.end(); 97 for (unsigned I = 0, E = Args.size(); I != E; ++I) { 98 llvm::Value *Args[3]; 100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); 101 Args[1] = CGF.Builder.CreateIntCast( 104 Args[2] = CGF.Builder.CreateIntCast( 107 llvm::CallSite CS = CGF.EmitRuntimeCallOrInvoke(cudaSetupArgFn, Args); [all...] |
/external/llvm/lib/Target/ARM/ |
ARMSelectionDAGInfo.cpp | 154 TargetLowering::ArgListTy Args; 161 Args.push_back(Entry); 167 Args.push_back(Entry); 179 Args.push_back(Entry); 195 Args, DAG, dl);
|
/external/llvm/tools/bugpoint/ |
OptimizerDriver.cpp | 110 static cl::list<std::string> OptArgs("opt-args", cl::Positional, 170 SmallVector<const char*, 8> Args; 172 Args.push_back("valgrind"); 173 Args.push_back("--error-exitcode=1"); 174 Args.push_back("-q"); 175 Args.push_back(tool.c_str()); 177 Args.push_back(tool.c_str()); 179 Args.push_back("-o"); 180 Args.push_back(OutputFilename.c_str()); 182 Args.push_back(OptArgs[i].c_str()) [all...] |
/external/llvm/unittests/Option/ |
OptionParsingTest.cpp | 56 const char *Args[] = { 71 OwningPtr<InputArgList> AL(T.ParseArgs(Args, array_endof(Args), MAI, MAC)); 117 AL.reset(T.ParseArgs(Args, array_endof(Args), MAI, MAC, 125 AL.reset(T.ParseArgs(Args, array_endof(Args), MAI, MAC,
|
/external/clang/include/clang/Driver/ |
Compilation.h | 42 llvm::opt::InputArgList *Args; 74 llvm::opt::InputArgList *Args, 82 const llvm::opt::InputArgList &getInputArgs() const { return *Args; }
|
/external/clang/lib/ASTMatchers/Dynamic/ |
Diagnostics.cpp | 22 return ArgStream(&data.Args); 75 return ArgStream(&Last.Messages.back().Args); 131 void formatErrorString(StringRef FormatString, ArrayRef<std::string> Args, 142 if (Index < Args.size()) { 143 OS << Args[Index]; 161 formatErrorString(contextTypeToFormatString(Frame.Type), Frame.Args, OS); 169 formatErrorString(errorTypeToFormatString(Message.Type), Message.Args, OS);
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
RegistryTest.cpp | 25 std::vector<ParserValue> Args() { return std::vector<ParserValue>(); } 26 std::vector<ParserValue> Args(const VariantValue &Arg1) { 31 std::vector<ParserValue> Args(const VariantValue &Arg1, 44 Registry::constructMatcher(MatcherName, SourceRange(), Args(), Error); 54 MatcherName, SourceRange(), Args(Arg1), Error); 65 MatcherName, SourceRange(), Args(Arg1, Arg2), Error);
|
/external/clang/unittests/Tooling/ |
CompilationDatabaseTest.cpp | 395 std::vector<std::string> Args = unescapeJsonCommandLine("a'\\\\b \\\"c\\\"'"); 396 ASSERT_EQ(1ul, Args.size()); 397 EXPECT_EQ("a\\b \"c\"", Args[0]);
|
ToolingTest.cpp | 123 std::vector<std::string> Args; 124 Args.push_back("tool-executable"); 125 Args.push_back("-Idef"); 126 Args.push_back("-fsyntax-only"); 127 Args.push_back("test.cpp"); 128 clang::tooling::ToolInvocation Invocation(Args, new SyntaxOnlyAction, &Files); 203 Adjust(const CommandLineArguments &Args) LLVM_OVERRIDE { 205 for (unsigned I = 0, E = Args.size(); I != E; ++I) { 206 if (Args[I] == "-fsyntax-only") { 211 return Args; [all...] |
/external/llvm/lib/Target/X86/ |
X86SelectionDAGInfo.cpp | 58 TargetLowering::ArgListTy Args; 62 Args.push_back(Entry); 64 Args.push_back(Entry); 70 DAG.getExternalSymbol(bzeroEntry, IntPtr), Args,
|
/external/llvm/tools/lli/ |
lli.cpp | 439 // using the contents of Args to determine argc & argv, and the contents of 530 std::vector<GenericValue> Args; 533 Args.push_back(ResultGV); 534 EE->runFunction(ExitF, Args);
|
/external/clang/include/clang/ASTMatchers/Dynamic/ |
Diagnostics.h | 146 std::vector<std::string> Args; 155 std::vector<std::string> Args;
|