/external/chromium_org/webkit/browser/quota/ |
quota_callbacks.h | 37 template<typename CallbackType, typename Args> 39 const Args& args) { 40 DispatchToMethod(&callback, &CallbackType::Run, args); 44 template <typename CallbackType, typename Args> 58 void Run(const Args& args) { 62 DispatchToCallback(*iter, args); 83 template <typename CallbackType, typename Key, typename Args> 86 typedef CallbackQueue<CallbackType, Args> CallbackQueueType [all...] |
/external/clang/include/clang/Driver/ |
SanitizerArgs.h | 59 SanitizerArgs(const ToolChain &TC, const llvm::opt::ArgList &Args); 80 void addArgs(const llvm::opt::ArgList &Args, 99 static bool parse(const Driver &D, const llvm::opt::ArgList &Args, 103 /// Produce an argument string from ArgList \p Args, which shows how it 108 const llvm::opt::ArgList &Args, 115 static std::string describeSanitizeArg(const llvm::opt::ArgList &Args, 131 const llvm::opt::ArgList &Args, 141 const llvm::opt::ArgList &Args,
|
/external/clang/tools/driver/ |
driver.cpp | 93 /// \param Args - The vector of command line arguments. 97 SmallVectorImpl<const char*> &Args, 106 Args.insert(Args.begin() + 1, Str); 111 Args.push_back(Str); 118 for (unsigned i = 1, e = Args.size(); i != e; ++i) { 119 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]); 121 if (Repl != Args[i]) { 122 OS << "### Replacing '" << Args[i] << "' with '" << Repl << "'\n"; 123 Args[i] = SaveStringInSet(SavedStrings, Repl) [all...] |
/external/clang/lib/CodeGen/ |
CGCUDANV.cpp | 42 void EmitDeviceStubBody(CodeGenFunction &CGF, FunctionArgList &Args) override; 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...] |
CGLoopInfo.cpp | 27 SmallVector<Value *, 4> Args; 30 Args.push_back(TempNode); 37 Args.push_back(MDNode::get(Ctx, Vals)); 45 Args.push_back(MDNode::get(Ctx, Vals)); 54 Args.push_back(MDNode::get(Ctx, Vals)); 57 MDNode *LoopID = MDNode::get(Ctx, Args);
|
CGCUDARuntime.h | 44 FunctionArgList &Args) = 0;
|
/external/lldb/include/lldb/Interpreter/ |
CommandObjectMultiword.h | 68 HandleCompletion (Args &input, 76 virtual const char *GetRepeatCommand (Args ¤t_command_args, uint32_t index); 151 HandleCompletion (Args &input, 160 HandleArgumentCompletion (Args &input, 170 GetRepeatCommand (Args ¤t_command_args,
|
Args.h | 1 //===-- Args.h --------------------------------------------------*- C++ -*-===// 58 /// @class Args Args.h "lldb/Interpreter/Args.h" 61 /// The Args class is designed to be fed a command line. The 68 class Args 79 /// @see Args::SetCommandString(const char *) 81 Args (const char *command = NULL); 83 Args (const char *command, size_t len); 85 Args (const Args &rhs) [all...] |
/external/clang/lib/Driver/ |
ToolChain.cpp | 31 : D(D), Triple(T), Args(A) { 42 return Args.hasFlag(options::OPT_fintegrated_as, 49 SanitizerArguments.reset(new SanitizerArgs(*this, Args)); 152 if (Arg *A = Args.getLastArg(options::OPT_fuse_ld_EQ)) { 167 getDriver().Diag(diag::err_drv_invalid_linker_name) << A->getAsString(Args); 204 std::string ToolChain::ComputeLLVMTriple(const ArgList &Args, 215 if (Arg *A = Args.getLastArg(options::OPT_march_EQ)) { 235 if (Arg *A = Args.getLastArg(options::OPT_mlittle_endian, 247 ? tools::arm::getLLVMArchSuffixForARM(tools::arm::getARMCPUForMArch(Args, Triple)) 248 : tools::arm::getLLVMArchSuffixForARM(tools::arm::getARMTargetCPU(Args, Triple)) [all...] |
Driver.cpp | 81 void Driver::ParseDriverMode(ArrayRef<const char *> Args) { 85 for (size_t I = 0, E = Args.size(); I != E; ++I) { 86 const StringRef Arg = Args[I]; 114 InputArgList *Args = getOpts().ParseArgs(ArgList.begin(), ArgList.end(), 122 << Args->getArgString(MissingArgIndex) << MissingArgCount; 125 for (ArgList::const_iterator it = Args->begin(), ie = Args->end(); 129 Diag(clang::diag::err_drv_unsupported_opt) << A->getAsString(*Args); 137 A->getAsString(*Args); 141 for (arg_iterator it = Args->filtered_begin(options::OPT_UNKNOWN) [all...] |
ToolChains.cpp | 42 const ArgList &Args) 43 : ToolChain(D, Triple, Args) { 56 const ArgList & Args) 57 : MachO(D, Triple, Args), TargetInitialized(false) { 145 static bool isSoftFloatABI(const ArgList &Args) { 146 Arg *A = Args.getLastArg(options::OPT_msoft_float, options::OPT_mhard_float, 156 StringRef MachO::getMachOArchName(const ArgList &Args) const { 163 if (const Arg *A = Args.getLastArg(options::OPT_march_EQ)) 167 if (const Arg *A = Args.getLastArg(options::OPT_mcpu_EQ)) 183 std::string MachO::ComputeEffectiveClangTriple(const ArgList &Args, [all...] |
/external/clang/unittests/Tooling/ |
TestVisitor.h | 53 std::vector<std::string> Args; 55 case Lang_C: Args.push_back("-std=c99"); break; 56 case Lang_CXX98: Args.push_back("-std=c++98"); break; 57 case Lang_CXX11: Args.push_back("-std=c++11"); break; 58 case Lang_OBJC: Args.push_back("-ObjC"); break; 60 Args.push_back("-ObjC++"); 61 Args.push_back("-std=c++11"); 62 Args.push_back("-fblocks"); 65 return tooling::runToolOnCodeWithArgs(CreateTestAction(), Code, Args);
|
/external/clang/test/SemaCXX/ |
rval-references-examples.cpp | 55 template<typename T, typename ...Args> 56 unique_ptr<T> make_unique_ptr(Args &&...args) { 57 return unique_ptr<T>(new T(forward<Args>(args)...)); 99 template<typename F, typename ...Args> 100 void forward(F f, Args &&...args) { 101 f(static_cast<Args&&>(args)...); // expected-error{{no matching function for call to object of type 'perfect_forwarding::F0'} [all...] |
/external/clang/unittests/AST/ |
NamedDeclPrinterTest.cpp | 64 PrintedNamedDeclMatches(StringRef Code, const std::vector<std::string> &Args, 74 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args, FileName)) 98 std::vector<std::string> Args(1, "-std=c++98"); 100 Args, 110 std::vector<std::string> Args(1, "-std=c++11"); 112 Args,
|
/external/llvm/tools/bugpoint/ |
ToolRunner.cpp | 59 const char **Args, 71 for (unsigned i = 0; Args[i]; ++i) 72 errs() << " " << Args[i]; 77 return sys::ExecuteAndWait(ProgramPath, Args, nullptr, Redirects, 88 const char **Args, 99 for (unsigned i = 0; Args[i]; ++i) 100 errs() << " " << Args[i]; 106 int ReturnCode = sys::ExecuteAndWait(RemoteClientPath, Args, nullptr, 113 for (const char **Arg = Args; *Arg; ++Arg) 133 static std::string ProcessFailure(StringRef ProgPath, const char** Args, [all...] |
/external/clang/include/clang/ASTMatchers/Dynamic/ |
Registry.h | 91 /// \param Args The argument list for the matcher. The number and types of the 101 ArrayRef<ParserValue> Args, 113 ArrayRef<ParserValue> Args,
|
/external/lldb/include/lldb/Breakpoint/ |
BreakpointIDList.h | 71 FindAndReplaceIDRanges (Args &old_args, Target *target, CommandReturnObject &result, Args &new_args);
|
/external/lldb/source/Commands/ |
CommandObjectHelp.h | 36 HandleCompletion (Args &input, 109 DoExecute (Args& command,
|
CommandObjectArgs.h | 65 DoExecute ( Args& command,
|
/external/lldb/source/Interpreter/ |
Args.cpp | 1 //===-- Args.cpp ------------------------------------------------*- C++ -*-===// 18 #include "lldb/Interpreter/Args.h" 35 // Args constructor 37 Args::Args (const char *command) : 47 Args::Args (const char *command, size_t len) : 63 Args::Args (const Args &rhs) [all...] |
OptionValueArgs.cpp | 16 #include "lldb/Interpreter/Args.h" 22 OptionValueArgs::GetArgs (Args &args) 34 args.Clear(); 36 args.SetArguments(argv.size(), &argv[0]); 37 return args.GetArgumentCount();
|
/external/lldb/source/Plugins/Process/FreeBSD/ |
ProcessFreeBSD.h | 73 ExecutePluginCommand(lldb_private::Args &command, 78 lldb_private::Args &command);
|
/external/llvm/include/llvm/MC/ |
MCLinkerOptimizationHint.h | 104 SmallVector<MCSymbol *, 3> Args; 115 MCLOHDirective(MCLOHType Kind, const LOHArgs &Args) 116 : Kind(Kind), Args(Args.begin(), Args.end()) { 122 const LOHArgs &getArgs() const { return Args; } 171 /// @p Args to the container. 172 void addDirective(MCLOHType Kind, const MCLOHDirective::LOHArgs &Args) { 173 Directives.push_back(MCLOHDirective(Kind, Args));
|
/external/llvm/lib/Option/ |
Arg.cpp | 64 std::string Arg::getAsString(const ArgList &Args) const { 69 render(Args, ASL); 80 void Arg::renderAsInput(const ArgList &Args, ArgStringList &Output) const { 82 render(Args, Output); 90 void Arg::render(const ArgList &Args, ArgStringList &Output) const { 105 Output.push_back(Args.MakeArgString(OS.str())); 110 Output.push_back(Args.GetOrMakeJoinedArgString( 117 Output.push_back(Args.MakeArgString(getSpelling()));
|
/external/llvm/include/llvm/Option/ |
ArgList.h | 34 const ArgList &Args; 58 : Current(it), Args(_Args), Id0(_Id0), Id1(_Id1), Id2(_Id2) { 106 arglist_type Args; 124 arglist_type &getArgs() { return Args; } 125 const arglist_type &getArgs() const { return Args; } 127 unsigned size() const { return Args.size(); } 133 iterator begin() { return Args.begin(); } 134 iterator end() { return Args.end(); } 136 reverse_iterator rbegin() { return Args.rbegin(); } 137 reverse_iterator rend() { return Args.rend(); [all...] |