/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...] |
/external/libchrome/base/ |
bind_helpers.h | 26 template <typename R, typename... Args> 27 operator RepeatingCallback<R(Args...)>() const { 28 return RepeatingCallback<R(Args...)>(); 30 template <typename R, typename... Args> 31 operator OnceCallback<R(Args...)>() const { 32 return OnceCallback<R(Args...)>(); 39 template <typename... Args> 40 operator RepeatingCallback<void(Args...)>() const { 41 return Repeatedly<Args...>(); 43 template <typename... 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/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
ir_builder_mixin.h | 37 template <class... Args> 38 llvm::Value* Add(Args&&... args) { 39 return mixin_builder()->CreateAdd(std::forward<Args>(args)...); 42 template <class... Args> 43 llvm::LoadInst* AlignedLoad(Args&&... args) { 44 return mixin_builder()->CreateAlignedLoad(std::forward<Args>(args)...) [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));
|
/external/libcxx/test/support/ |
test_convertible.hpp | 13 // "test_convertible<Tp, Args...>()" is a metafunction used to check if 'Tp' 14 // is implicitly convertible from 'Args...' for any number of arguments, 29 template <class Tp, class ...Args> 31 -> decltype(eat_type<Tp>({std::declval<Args>()...}), true) 34 template <class Tp, class ...Args> 38 template <class Tp, class ...Args> 40 { return detail::test_convertible_imp<Tp, Args...>(0); }
|
uses_alloc_types.hpp | 22 // (1) UA_AllocArg: 'T(allocator_arg_t, Alloc const&, Args&&...)' 23 // (2) UA_AllocLast: 'T(Args&&..., Alloc const&)' 116 template <bool IsZero, size_t N, class ArgList, class ...Args> 119 template <class ArgList, class ...Args> 120 struct TakeNImp<true, 0, ArgList, Args...> { 128 template <size_t N, class ...Args> 129 struct TakeNArgs : TakeNImp<N == 0, N, ArgumentListID<>, Args...> {}; 231 template <class ...Args> 232 UsesAllocatorTestBase(std::allocator_arg_t, CtorAlloc const& a, Args&&...) 233 : args_id(&makeArgumentID<Args&&...>()) [all...] |
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
construct_types.pass.cpp | 17 // template <class U, class ...Args> 18 // void polymorphic_allocator<T>::construct(U *, Args &&...) 42 template <class ...Args> 43 void construct(Args&&... args) { 44 A.construct(ptr, std::forward<Args>(args)...); 54 template <class T, class ...Args> 55 bool doTest(UsesAllocatorType UAExpect, Args&&... 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/google-fruit/include/fruit/impl/util/ |
hash_codes.defn.h | 42 template <typename... Args> 43 struct HashTupleHelper<std::tuple<Args...>, 1> { 44 std::size_t operator()(const std::tuple<Args...>& x) { 45 return hashTupleElement<std::tuple<Args...>, 0>(x); 49 template <typename... Args, int last_index> 50 struct HashTupleHelper<std::tuple<Args...>, last_index> { 51 std::size_t operator()(const std::tuple<Args...>& x) { 52 return combineHashes(hashTupleElement<std::tuple<Args...>, last_index - 1>(x), 53 HashTupleHelper<std::tuple<Args...>, last_index - 1>()(x)); 57 template <typename... Args> [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
VectorExtras.h | 29 va_list Args; 30 va_start(Args, A); 33 while (T Val = va_arg(Args, T)) 35 va_end(Args);
|
/external/v8/tools/clang/base_bind_rewriters/tests/ |
callback.h | 47 template <typename R, typename... Args> 48 class OnceCallback<R(Args...)> { 58 OnceCallback(RepeatingCallback<R(Args...)> other) {} 59 OnceCallback& operator=(RepeatingCallback<R(Args...)> other) { return *this; } 61 R Run(Args... args) const & { 65 R Run(Args... args) && { return R(); } 68 template <typename R, typename... Args> 69 class RepeatingCallback<R(Args...)> [all...] |
/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/deqp-deps/SPIRV-Tools/source/util/ |
make_unique.h | 23 template <typename T, typename... Args> 24 std::unique_ptr<T> MakeUnique(Args&&... args) { 25 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
|
/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
make_unique.h | 23 template <typename T, typename... Args> 24 std::unique_ptr<T> MakeUnique(Args&&... args) { 25 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
thread.h | 39 template <class Function, class... Args> 40 explicit thread(Function &&f, Args &&... args) { 41 f(std::forward<Args>(args)...);
|
/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/swiftshader/third_party/LLVM/tools/llvm-stub/ |
llvm-stub.c | 40 const char **Args;
44 Args = (const char**)malloc(sizeof(char*) * (argc+2));
46 Args[0] = Interp;
61 Args[1] = strcat(strcpy((char*)malloc(strlen(argv[0])+4), argv[0]), ".bc");
63 /* The rest of the args are as before. */
64 memcpy((char **)Args+2, argv+1, sizeof(char*)*argc);
68 execvp(Interp, (char **)Args); /* POSIX execvp takes a char *const[]. */
70 execvp(Interp, Args); /* windows execvp takes a const char *const *. */
|
/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/swiftshader/third_party/llvm-7.0/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/grpc-grpc/src/core/lib/transport/ |
pid_controller.h | 37 class Args { 47 Args& set_gain_p(double gain_p) { 51 Args& set_gain_i(double gain_i) { 55 Args& set_gain_d(double gain_d) { 59 Args& set_initial_control_value(double initial_control_value) { 63 Args& set_min_control_value(double min_control_value) { 67 Args& set_max_control_value(double max_control_value) { 71 Args& set_integral_range(double integral_range) { 86 explicit PidController(const Args& args); [all...] |