/external/grpc-grpc/test/cpp/microbenchmarks/ |
bm_fullstack_unary_ping_pong.cc | 35 b->Args({0, 0}); 37 b->Args({i, 0}); 38 b->Args({0, i}); 39 b->Args({i, i}); 48 ->Args({0, 0}); 50 ->Args({0, 0}); 56 ->Args({0, 0}); 58 ->Args({0, 0}); 66 ->Args({0, 0}); 69 ->Args({0, 0}) [all...] |
/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_(std::forward<Args>(args)...); } 41 template <typename Lambda, typename R, typename... Args> 42 class LambdaAdapter<Lambda, R(Lambda::*)(Args... args) const> [all...] |
/external/clang/lib/Frontend/ |
CompilerInvocation.cpp | 72 // Deserialization (from args) 81 static unsigned getOptimizationLevel(ArgList &Args, InputKind IK, 84 if (IK == IK_OpenCL && !Args.hasArg(OPT_cl_opt_disable)) 87 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { 100 return getLastArgIntValue(Args, OPT_O, DefaultOpt, Diags); 106 static unsigned getOptimizationLevelSize(ArgList &Args) { 107 if (Arg *A = Args.getLastArg(options::OPT_O_Group)) { 122 static void addDiagnosticArgs(ArgList &Args, OptSpecifier Group, 125 for (Arg *A : Args.filtered(Group)) { 141 static void getAllNoBuiltinFuncValues(ArgList &Args, [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/ |
source_map_util.h | 28 template <typename... Args> 30 const absl::FormatSpec<Args...>& format, 31 const Args&... args) { 32 string message = absl::StrFormat(format, args...); 47 template <typename... Args> 49 const absl::FormatSpec<Args...>& format, 50 const Args&... args) { 56 return InvalidParameterArgument(metadata, format, args...) [all...] |
/external/tensorflow/tensorflow/lite/toco/ |
format_port.h | 46 template <typename... Args> 48 Args&&... args) { 49 tensorflow::strings::Appendf(destination, fmt, args...); 57 // Append formatted string (with format fmt and args args) to the string 60 template <typename... Args> 61 inline void AppendF(string* destination, const char* fmt, Args&&... args) { 62 AppendFHelper(destination, fmt, IdentityOrConvertStringToRaw(args)...) [all...] |
/external/libchrome/base/ |
cancelable_callback.h | 104 template <typename... Args> 105 void MakeForwarder(RepeatingCallback<void(Args...)>* out) const { 106 using ForwarderType = void (CancelableCallbackImpl::*)(Args...); 111 template <typename... Args> 112 void MakeForwarder(OnceCallback<void(Args...)>* out) const { 113 using ForwarderType = void (CancelableCallbackImpl::*)(Args...); 118 template <typename... Args> 119 void ForwardRepeating(Args... args) { 120 callback_.Run(std::forward<Args>(args)...) [all...] |
callback_helpers.h | 34 template <typename... Args> 37 explicit AdaptCallbackForRepeatingHelper(OnceCallback<void(Args...)> callback) 42 void Run(Args... args) { 46 std::move(callback_).Run(std::forward<Args>(args)...); 51 base::OnceCallback<void(Args...)> callback_; 65 template <typename... Args> 66 RepeatingCallback<void(Args...)> AdaptCallbackForRepeating( 67 OnceCallback<void(Args...)> callback) [all...] |
callback.h | 55 template <typename R, typename... Args> 56 class OnceCallback<R(Args...)> : public internal::CallbackBase { 58 using RunType = R(Args...); 60 internal::PassingType<Args>...); 84 R Run(Args... args) const & { 91 R Run(Args... args) && { 99 return f(cb.bind_state_.get(), std::forward<Args>(args)...) [all...] |
/external/perfetto/src/perfetto_cmd/ |
rate_limiter.h | 27 struct Args { 38 bool ShouldTrace(const Args& args); 39 bool OnTraceDone(const Args& args, bool success, uint64_t bytes);
|
/external/skia/src/core/ |
SkMakeUnique.h | 16 template<typename T, typename... Args> 17 std::unique_ptr<T> make_unique(Args&&... args) { 18 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
|
/external/skia/src/utils/ |
SkCallableTraits.h | 13 template <typename R, typename... Args> struct sk_base_callable_traits { 15 static constexpr std::size_t arity = sizeof...(Args); 18 using type = typename std::tuple_element<N, std::tuple<Args...>>::type; 53 template <typename R, typename... Args> \ 54 struct SkCallableTraits<R(Args... varargs) quals> : sk_base_callable_traits<R, Args...> {}; 61 template <typename R, typename... Args> \ 62 struct SkCallableTraits<R(*)(Args... varargs) quals> : sk_base_callable_traits<R, Args...> {}; 69 template <typename T, typename R, typename... Args> \ [all...] |
/external/skqp/src/core/ |
SkMakeUnique.h | 16 template<typename T, typename... Args> 17 std::unique_ptr<T> make_unique(Args&&... args) { 18 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
|
/external/skqp/src/utils/ |
SkCallableTraits.h | 13 template <typename R, typename... Args> struct sk_base_callable_traits { 15 static constexpr std::size_t arity = sizeof...(Args); 18 using type = typename std::tuple_element<N, std::tuple<Args...>>::type; 53 template <typename R, typename... Args> \ 54 struct SkCallableTraits<R(Args... varargs) quals> : sk_base_callable_traits<R, Args...> {}; 61 template <typename R, typename... Args> \ 62 struct SkCallableTraits<R(*)(Args... varargs) quals> : sk_base_callable_traits<R, Args...> {}; 69 template <typename T, typename R, typename... Args> \ [all...] |
/external/wpa_supplicant_8/hostapd/hidl/1.1/ |
hidl_return_util.h | 28 template <typename ObjT, typename WorkFuncT, typename... Args> 31 const std::function<void(const HostapdStatus&)>& hidl_cb, Args&&... args) 33 hidl_cb((obj->*work)(std::forward<Args>(args)...));
|
/device/linaro/bootloader/edk2/ArmPkg/Library/ArmSmcLibNull/ |
ArmSmcLibNull.c | 19 IN OUT ARM_SMC_ARGS *Args
|
/external/libchrome/base/test/ |
bind_test_util.h | 16 template <typename F, typename R, typename... Args> 17 struct BindLambdaHelper<F, R(Args...)> { 18 static R Run(const std::decay_t<F>& f, Args... args) { 19 return f(std::forward<Args>(args)...);
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/ |
void_handle.pass.cpp | 29 template <class ...Args> 30 struct coroutine_traits<::B, Args...> { 39 template <class Expect, class T, class ...Args> 41 using P = typename coro::coroutine_traits<T, Args...>::promise_type ;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
InitLLVM.cpp | 41 ExitOnErr(errorCodeToError(windows::GetCommandLineArguments(Args, Alloc))); 45 Args.push_back(nullptr); 47 Argc = Args.size() - 1; 48 Argv = Args.data();
|
/device/google/wahoo/wifi_offload/ |
hidl_return_util.h | 28 template<typename ObjT, typename WorkFuncT, typename... Args> 31 Args&&... args) { 32 hidl_cb((obj->*work)(std::forward<Args>(args)...)); 38 template<typename ObjT, typename WorkFuncT, typename ReturnT, typename... Args> 41 Args&&... args) { 42 const auto& ret_pair = (obj->*work)(std::forward<Args>(args)...) [all...] |
/external/google-fruit/include/fruit/impl/util/ |
call_with_tuple.h | 28 template <typename... Ints, typename Result, typename... Args> 29 struct CallWithTupleHelper<fruit::impl::meta::Vector<Ints...>, Result, std::tuple<Args...>> { 30 Result operator()(Result (*fun)(Args...), std::tuple<Args...> args) { 32 (void)args; 33 return fun(std::get<fruit::impl::meta::getIntValue<Ints>()>(args)...); 37 template <typename Result, typename... Args> 38 inline Result callWithTuple(Result (*fun)(Args...), std::tuple<Args...> 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/CXX/temp/temp.decls/temp.variadic/ |
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/clang/unittests/AST/ |
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...] |
/device/google/cuttlefish_common/common/libs/threads/ |
thunkers.h | 25 template <typename HalType, typename Impl, typename R, typename... Args> 26 struct ThunkerImpl<HalType, R (Impl::*)(Args...)> { 27 template <R (Impl::*MemFn)(Args...)> 28 static R call(HalType* in, Args... args) { 29 return (reinterpret_cast<Impl*>(in)->*MemFn)(args...); 33 template <typename HalType, typename Impl, typename R, typename... Args> 34 struct ThunkerImpl<HalType, R (Impl::*)(Args...) const> { 35 template <R (Impl::*MemFn)(Args...) const> 36 static R call(const HalType* in, Args... args) [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}} \
|