/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
ext-blocks.cpp | 4 template<typename ...Args> 5 int f0(Args ...args) { 7 return sizeof...(Args); 9 return sizeof...(args); 13 template<typename ...Args> 14 int f1(Args ...args) { 16 return f0(args...); 23 template<typename ...Args> [all...] |
example-function.cpp | 9 template<typename R, typename... Args> class invoker_base { 12 virtual R invoke(Args...) = 0; 16 template<typename F, typename R, typename... Args> 17 class functor_invoker : public invoker_base<R, Args...> { 20 R invoke(Args... args) { return f(args...); } 27 template<typename R, typename... Args> 28 class function<R (Args...)> { 38 invoker = new functor_invoker<F, R, Args...>(f) [all...] |
/external/libchrome/base/mac/ |
bind_objc_block.h | 36 template<typename R, typename... Args> 37 R RunBlock(base::mac::ScopedBlock<R(^)(Args...)> block, Args... args) { 38 R(^extracted_block)(Args...) = block.get(); 39 return extracted_block(args...); 46 template<typename R, typename... Args> 47 base::Callback<R(Args...)> BindBlock(R(^block)(Args...)) { 48 return base::Bind(&base::internal::RunBlock<R, Args...> [all...] |
/external/clang/test/SemaCXX/ |
issue547.cpp | 9 template<typename R, typename ...Args> 10 struct classify_function<R(Args...)> { 14 template<typename R, typename ...Args> 15 struct classify_function<R(Args...) const> { 19 template<typename R, typename ...Args> 20 struct classify_function<R(Args...) volatile> { 24 template<typename R, typename ...Args> 25 struct classify_function<R(Args...) const volatile> { 29 template<typename R, typename ...Args> 30 struct classify_function<R(Args..., ...)> [all...] |
/external/libchrome/base/ |
bind_internal_win.h | 25 template <typename R, typename... Args> 26 class RunnableAdapter<R(__stdcall *)(Args...)> { 30 typedef R RunType(Args...); 32 explicit RunnableAdapter(R(__stdcall *function)(Args...)) 36 R Run(typename CallbackParamTraits<Args>::ForwardType... args) { 37 return function_(args...); 41 R (__stdcall *function_)(Args...); 45 template <typename R, typename... Args> 46 class RunnableAdapter<R(__fastcall *)(Args...)> [all...] |
bind_internal.h | 44 // (Bound)Args -- A set of types that stores the arguments. 76 template <typename T, typename... Args> 77 struct HasNonConstReferenceItem<TypeList<T, Args...>> 80 HasNonConstReferenceItem<TypeList<Args...>>>::type {}; 82 // HasRefCountedTypeAsRawPtr selects true_type when any of the |Args| is a raw 86 template <typename... Args> 92 template <typename T, typename... Args> 93 struct HasRefCountedTypeAsRawPtr<T, Args...> 96 HasRefCountedTypeAsRawPtr<Args...>>::type {}; 99 // item of |Args| is an array type [all...] |
/external/parameter-framework/upstream/utility/ |
Memory.hpp | 40 template <class T, class... Args> 41 std::unique_ptr<T> make_unique(Args &&... args) 43 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
|
/external/clang/test/CXX/special/class.conv/class.conv.ctor/ |
p1.cpp | 7 template <typename Arg0, typename... Args> 8 void_type(Arg0&&, Args&&...) { } 13 template <typename... Args> 14 void_type2(Args&&...) { }
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p22.cpp | 7 template<class ... Args> int& f(Args ... args); 8 template<class T1, class ... Args> float& f(T1 a1, Args ... args);
|
p8-0x.cpp | 11 template<class C, typename R, typename ...Args> 12 struct member_pointer_kind<R (C::*)(Args...)> { 16 template<class C, typename R, typename ...Args> 17 struct member_pointer_kind<R (C::*)(Args...) &> { 21 template<class C, typename R, typename ...Args> 22 struct member_pointer_kind<R (C::*)(Args...) &&> { 26 template<class C, typename R, typename ...Args> 27 struct member_pointer_kind<R (C::*)(Args...) const> { 31 template<class C, typename R, typename ...Args> 32 struct member_pointer_kind<R (C::*)(Args...) const &> [all...] |
/external/clang/unittests/AST/ |
DeclTest.cpp | 29 std::vector<std::string> Args(1, "-std=c++11"); 30 Args.push_back("-fno-ms-extensions"); 51 Args)); 58 Args));
|
StmtPrinterTest.cpp | 70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args, 79 if (!runToolOnCodeWithArgs(Factory->create(), Code, Args)) 103 std::vector<std::string> Args; 104 Args.push_back("-std=c++98"); 105 Args.push_back("-Wno-unused-value"); 106 return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted); 113 std::vector<std::string> Args; 114 Args.push_back("-std=c++98"); 115 Args.push_back("-Wno-unused-value"); 117 Args, [all...] |
/external/parameter-framework/upstream/test/functional-tests/include/ |
FailureWrapper.hpp | 59 template <class... Args> 60 FailureWrapper(Args &&... args) : Base(std::forward<Args>(args)...) 68 * @param[in] args parameters to call method call with. */ 69 template <class K, class... MArgs, class... Args> 70 void mayFailCall(bool (K::*method)(MArgs...) const, Args &&... args) const 72 wrapCall<bool>(*this, method, std::forward<Args>(args)...) [all...] |
/external/opencv3/modules/videoio/include/opencv2/videoio/ |
cap_winrt.hpp | 49 template <typename ...Args> 50 CV_EXPORTS void winrt_startMessageLoop(std::function<void(Args...)>&& callback, Args... args); 52 template <typename ...Args> 53 CV_EXPORTS void winrt_startMessageLoop(void callback(Args...), Args... args);
|
/external/clang/lib/Tooling/ |
ArgumentsAdjusters.cpp | 22 return [](const CommandLineArguments &Args, StringRef /*unused*/) { 24 for (size_t i = 0, e = Args.size(); i != e; ++i) { 25 StringRef Arg = Args[i]; 29 AdjustedArgs.push_back(Args[i]); 37 return [](const CommandLineArguments &Args, StringRef /*unused*/) { 39 for (size_t i = 0, e = Args.size(); i < e; ++i) { 40 StringRef Arg = Args[i]; 42 AdjustedArgs.push_back(Args[i]); 56 return [Extra, Pos](const CommandLineArguments &Args, StringRef /*unused*/) { 57 CommandLineArguments Return(Args); [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
p23.cpp | 46 template<class... Args> 47 void std_example(Args... args) { 48 auto lm = [&, args...] { return g(args...); }; 53 template<typename ...Args> 54 void variadic_lambda(Args... args) { 55 auto lambda = [](Args... inner_args) { return g(inner_args...); }; 56 lambda(args...) [all...] |
/external/llvm/unittests/ADT/ |
VariadicFunctionTest.cpp | 19 std::string StringCatImpl(ArrayRef<const std::string *> Args) { 21 for (unsigned i = 0, e = Args.size(); i < e; ++i) 22 S += *Args[i]; 42 long SumImpl(ArrayRef<const int *> Args) { 44 for (unsigned i = 0, e = Args.size(); i < e; ++i) 45 Result += *Args[i]; 59 int StringAppendImpl(std::string *Dest, ArrayRef<const std::string *> Args) { 61 for (unsigned i = 0, e = Args.size(); i < e; ++i) { 62 Chars += Args[i]->size(); 63 *Dest += *Args[i] [all...] |
/external/libweave/third_party/chromium/base/ |
bind_internal.h | 44 // (Bound)Args -- A set of types that stores the arguments. 76 template <typename T, typename... Args> 77 struct HasNonConstReferenceItem<TypeList<T, Args...>> 80 HasNonConstReferenceItem<TypeList<Args...>>>::type {}; 82 // HasRefCountedTypeAsRawPtr selects true_type when any of the |Args| is a raw 86 template <typename... Args> 92 template <typename T, typename... Args> 93 struct HasRefCountedTypeAsRawPtr<T, Args...> 96 HasRefCountedTypeAsRawPtr<Args...>>::type {}; 99 // item of |Args| is an array type [all...] |
/external/llvm/include/llvm/Support/ |
thread.h | 53 template <class Function, class... Args> 54 explicit thread(Function &&f, Args &&... args) { 55 f(std::forward<Args>(args)...);
|
/external/llvm/lib/MC/ |
MCLinkerOptimizationHint.cpp | 29 encodeULEB128(Args.size(), OutStream); 30 for (LOHArgs::const_iterator It = Args.begin(), EndIt = Args.end();
|
/toolchain/binutils/binutils-2.25/intl/ |
hash-string.h | 23 # define PARAMS(Args) Args 25 # define PARAMS(Args) ()
|
/external/clang/lib/Frontend/ |
CompilerInvocation.cpp | 69 // Deserialization (from args) 78 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK, 81 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable)) 84 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { 97 return getLastArgIntValue(Args, OPT_O, DefaultOpt, Diags); 103 static unsigned getOptimizationLevelSize(ArgList &Args) { 104 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { 119 static void addDiagnosticArgs(ArgList &Args, OptSpecifier Group, 122 for (Arg *A : Args.filtered(Group)) { 138 static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, [all...] |
/external/libbrillo/brillo/dbus/ |
dbus_object.h | 100 // R(Args... args) [IN only] 101 // void(Args... args) [IN/OUT] 103 // bool(ErrorPtr* error, Args... args) [IN/OUT] 105 // bool(ErrorPtr* error, dbus::Message* msg, Args... args) [IN/OUT] 108 // Args... args) [IN [all...] |
/external/clang/test/Parser/ |
cxx0x-in-cxx98.cpp | 5 template<typename ...Args> // expected-warning{{variadic templates are a C++11 extension}} 6 void f(Args &&...) &; // expected-warning{{rvalue references are a C++11 extension}} \
|
/external/libbrillo/brillo/ |
bind_lambda.h | 29 template <typename Lambda, typename R, typename... Args> 30 class LambdaAdapter<Lambda, R(Lambda::*)(Args... args)> { 32 typedef R(RunType)(Args...); 34 R Run(Args... args) { return lambda_(CallbackForward(args)...); } 41 template <typename Lambda, typename R, typename... Args> 42 class LambdaAdapter<Lambda, R(Lambda::*)(Args... args) const> [all...] |