/external/libchrome/base/ |
callback_list.h | 206 template <typename... Args> 207 class CallbackList<void(Args...)> 208 : public internal::CallbackListBase<Callback<void(Args...)> > { 210 typedef Callback<void(Args...)> CallbackType; 215 typename internal::CallbackParamTraits<Args>::ForwardType... args) { 220 cb->Run(args...);
|
/external/libweave/third_party/chromium/base/ |
callback_list.h | 206 template <typename... Args> 207 class CallbackList<void(Args...)> 208 : public internal::CallbackListBase<Callback<void(Args...)> > { 210 typedef Callback<void(Args...)> CallbackType; 215 typename internal::CallbackParamTraits<Args>::ForwardType... args) { 220 cb->Run(args...);
|
/external/clang/unittests/AST/ |
MatchVerifier.h | 47 std::vector<std::string> Args; 48 return match(Code, AMatcher, Args, Lang_CXX); 55 std::vector<std::string> Args; 56 return match(Code, AMatcher, Args, L); 62 std::vector<std::string>& Args, 89 std::vector<std::string>& Args, Language L) { 98 Args.push_back("-std=c99"); 102 Args.push_back("-std=c89"); 106 Args.push_back("-std=c++98"); 110 Args.push_back("-std=c++11") [all...] |
/external/clang/include/clang/Frontend/ |
Utils.h | 183 createInvocationFromCommandLine(ArrayRef<const char *> Args, 189 int getLastArgIntValue(const llvm::opt::ArgList &Args, 193 inline int getLastArgIntValue(const llvm::opt::ArgList &Args, 196 return getLastArgIntValue(Args, Id, Default, &Diags); 199 uint64_t getLastArgUInt64Value(const llvm::opt::ArgList &Args, 203 inline uint64_t getLastArgUInt64Value(const llvm::opt::ArgList &Args, 207 return getLastArgUInt64Value(Args, Id, Default, &Diags);
|
/external/skia/experimental/fiddle/ |
fiddler.go | 120 if len(os.Args) < 2 { 121 glog.Fatalf("usage: %s SKIA_SRC_PATH [PATH_TO_DRAW.CPP]", os.Args[0]) 123 skiaSrc := os.Args[1] 124 if len(os.Args) < 3 { 144 if os.Args[2] == "-" { 149 inputFile, err := os.Open(os.Args[2]) 151 glog.Fatalf("unable to open \"%s\": %v", os.Args[2], err)
|
/system/update_engine/update_manager/ |
update_manager-inl.h | 31 template<typename R, typename... Args> 36 Args...) const, 37 R* result, Args... args) { 57 result, args...); 64 args...); 79 template<typename R, typename... Args> 85 Args...) const, 86 Args... args) { [all...] |
/external/clang/lib/Tooling/ |
CompilationDatabase.cpp | 188 /// \brief Strips any positional args and possible argv[0] from a command-line 202 /// \param[in] Args Args as provided by the user. 205 /// \li false if \c Args cannot be used for compilation jobs (e.g. 207 static bool stripPositionalArgs(std::vector<const char *> Args, 224 Args.insert(Args.begin(), "clang-tool"); 232 Args.push_back("-c"); 238 Args.push_back("placeholder.cpp"); 242 Args.erase(std::remove_if(Args.begin(), Args.end() [all...] |
/external/llvm/examples/Kaleidoscope/Chapter2/ |
toy.cpp | 12 template <class T, class... Args> 15 make_unique(Args &&... args) { 16 return std::unique_ptr<T>(new T(std::forward<Args>(args)...)); 132 std::vector<std::unique_ptr<ExprAST>> Args; 136 std::vector<std::unique_ptr<ExprAST>> Args) 137 : Callee(Callee), Args(std::move(Args)) {} 145 std::vector<std::string> Args; [all...] |
/external/clang/include/clang/AST/ |
TemplateBase.h | 70 /// in the Args struct. 98 const TemplateArgument *Args; 112 struct A Args; 201 explicit TemplateArgument(ArrayRef<TemplateArgument> Args) { 202 this->Args.Kind = Pack; 203 this->Args.Args = Args.data(); 204 this->Args.NumArgs = Args.size() [all...] |
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
example-bind.cpp | 236 : f(f), bound_args(bound_args...) { } template<typename... Args> 237 typename F::result_type operator()(Args&... args); 275 template<typename Bound, typename... Args> 277 tuple<Args...> >::type 278 mu(Bound& bound_arg, const tuple<Args&...>& args) { 279 return get<is_placeholder<Bound>::value-1>(args); 282 template<typename T, typename... Args> 283 inline T& mu(reference_wrapper<T>& bound_arg, const tuple<Args&...>&) [all...] |
/external/clang/include/clang/Driver/ |
Driver.h | 208 TranslateInputArgs(const llvm::opt::InputArgList &Args) const; 275 Compilation *BuildCompilation(ArrayRef<const char *> Args); 280 /// ParseDriverMode - Look for and handle the driver mode option in Args. 281 void ParseDriverMode(ArrayRef<const char *> Args); 285 llvm::opt::InputArgList ParseArgStrings(ArrayRef<const char *> Args); 291 /// \param Args - The input arguments. 294 void BuildInputs(const ToolChain &TC, llvm::opt::DerivedArgList &Args, 302 /// \param Args - The input arguments. 305 llvm::opt::DerivedArgList &Args, const InputList &Inputs, 379 ConstructPhaseAction(const ToolChain &TC, const llvm::opt::ArgList &Args, [all...] |
/external/clang/test/SemaTemplate/ |
alias-templates.cpp | 173 template <typename ... Args> struct tuple {}; 174 template <typename ... Args> using Zero = tuple<DefaultValue<Args> ...>; 175 template <typename ... Args> void f(const Zero<Args ...> &t); 184 template <typename ... Args> struct tuple {}; 185 template <template<int x> class... Args> using Zero = tuple<DefaultValue<Args> ...>; 186 template <template<int x> class... Args> void f(const Zero<Args ...> &t) [all...] |
/external/clang/unittests/Sema/ |
ExternalSemaSourceTest.cpp | 184 std::vector<std::string> Args(1, "-std=c++11"); 186 Installer.release(), "namespace AAA { } using namespace AAB;", Args)); 199 std::vector<std::string> Args(1, "-std=c++11"); 201 Installer.release(), "namespace AAA { } using namespace AAB;", Args)); 219 std::vector<std::string> Args(1, "-std=c++11"); 221 Installer.release(), "namespace AAA { } using namespace AAB;", Args)); 235 std::vector<std::string> Args(1, "-std=c++11"); 241 Args)); 256 std::vector<std::string> Args(1, "-std=c++11"); 259 Args)); [all...] |
/external/llvm/tools/bugpoint/ |
ToolRunner.h | 52 const std::vector<std::string> *Args); 62 const std::vector<std::string> &Args, 92 const std::vector<std::string> *Args = nullptr, 98 const std::vector<std::string> *Args = nullptr); 102 const std::vector<std::string> *Args = nullptr); 139 const std::vector<std::string> &Args, 156 std::vector<std::string> ToolArgs; // Extra args to pass to LLC. 161 const std::vector<std::string> *Args, 166 if (Args) ToolArgs = *Args; [all...] |
/prebuilts/go/darwin-x86/src/net/ |
interface_bsd_test.go | 22 Args: []string{"ifconfig", ti.name, "create"}, 26 Args: []string{"ifconfig", ti.name, "destroy"}, 39 Args: []string{"ifconfig", ti.name, "create"}, 43 Args: []string{"ifconfig", ti.name, "inet", ti.local, ti.remote}, 47 Args: []string{"ifconfig", ti.name, "destroy"},
|
/prebuilts/go/linux-x86/src/net/ |
interface_bsd_test.go | 22 Args: []string{"ifconfig", ti.name, "create"}, 26 Args: []string{"ifconfig", ti.name, "destroy"}, 39 Args: []string{"ifconfig", ti.name, "create"}, 43 Args: []string{"ifconfig", ti.name, "inet", ti.local, ti.remote}, 47 Args: []string{"ifconfig", ti.name, "destroy"},
|
/external/llvm/lib/IR/ |
IRBuilder.cpp | 256 std::vector<Value *> Args; 257 Args.push_back(B.getInt64(ID)); 258 Args.push_back(B.getInt32(NumPatchBytes)); 259 Args.push_back(ActualCallee); 260 Args.push_back(B.getInt32(CallArgs.size())); 261 Args.push_back(B.getInt32(Flags)); 262 Args.insert(Args.end(), CallArgs.begin(), CallArgs.end()); 263 Args.push_back(B.getInt32(TransitionArgs.size())); 264 Args.insert(Args.end(), TransitionArgs.begin(), TransitionArgs.end()) [all...] |
/external/clang/examples/clang-interpreter/ |
main.cpp | 73 std::vector<std::string> Args; 74 Args.push_back(M.getModuleIdentifier()); 77 return EE->runFunctionAsMain(EntryFn, Args, envp); 103 SmallVector<const char *, 16> Args(argv, argv + argc); 104 Args.push_back("-fsyntax-only"); 105 std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(Args));
|
/external/llvm/include/llvm/Support/ |
ThreadPool.h | 76 template <typename Function, typename... Args> 77 inline std::shared_future<VoidTy> async(Function &&F, Args &&... ArgList) { 79 std::bind(std::forward<Function>(F), std::forward<Args>(ArgList)...);
|
/external/skia/include/core/ |
SkTLazy.h | 45 * Return a pointer to an instance of the class initialized with 'args'. 50 template <typename... Args> T* init(Args&&... args) { 54 fPtr = new (SkTCast<T*>(fStorage.get())) T(std::forward<Args>(args)...);
|
/external/skia/src/core/ |
SkTLList.h | 20 SkNEW_INSERT_IN_LLIST_BEFORE(list, location, type_name, args) 21 SkNEW_INSERT_IN_LLIST_AFTER(list, location, type_name, args) 22 where list is a SkTLList<type_name>*, location is an iterator, and args is the paren-surrounded 70 template <typename... Args> T* addToHead(Args&&... args) { 75 return new (node->fObj) T(std::forward<Args>(args)...); 79 template <typename... Args> T* addToTail(Args&&... args) [all...] |
/external/clang/lib/CodeGen/ |
CGCUDARuntime.h | 48 virtual void emitDeviceStub(CodeGenFunction &CGF, FunctionArgList &Args) = 0;
|
/external/clang/tools/diagtool/ |
ShowEnabledWarnings.cpp | 67 SmallVector<const char *, 4> Args; 68 Args.push_back("diagtool"); 69 Args.append(argv, argv + argc); 71 createInvocationFromCommandLine(Args, InterimDiags));
|
/external/libbrillo/brillo/dbus/ |
dbus_object_test_helpers.h | 83 // |instance| and passes the |args| to it. The method's return value provided 90 template<class Class, typename... Params, typename... Args> 96 Args... args) { 105 (instance->*method)(std::move(method_response), args...); 118 template<class Class, typename... Params, typename... Args> 123 Args... args) { 132 (instance->*method)(std::move(method_response), args...);
|
/external/libchrome/base/strings/ |
safe_sprintf.h | 208 const Arg* args, size_t max_args); 220 template<typename... Args> 221 ssize_t SafeSNPrintf(char* buf, size_t N, const char* fmt, Args... args) { 224 const internal::Arg arg_array[] = { args... }; 225 return internal::SafeSNPrintf(buf, N, fmt, arg_array, sizeof...(args)); 228 template<size_t N, typename... Args> 229 ssize_t SafeSPrintf(char (&buf)[N], const char* fmt, Args... args) { 232 const internal::Arg arg_array[] = { args... } [all...] |