/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | argument_encoder.h | 25 template <typename... Args> 26 class ArgumentEncoder<void(Args...)> { 31 void EncodeArguments(Args... args) { in EncodeArguments() 40 template <typename Return, typename... Args> 41 class ArgumentEncoder<Return(Args...)> { 49 void EncodeArguments(Args... args) { in EncodeArguments() 64 template <typename Return, typename... Args> 65 inline ArgumentEncoder<Return(Args...)> MakeArgumentEncoder( in MakeArgumentEncoder() 66 Return (*)(Args...), MessageWriter* writer) { in MakeArgumentEncoder() argument 67 return ArgumentEncoder<Return(Args...)>(writer); in MakeArgumentEncoder() [all …]
|
D | remote_method.h | 84 template <typename Class, typename Return, typename... Args> 85 class UnpackArguments<Class, Return(Args...)> { 87 using ArgsTupleType = std::tuple<typename std::decay<Args>::type...>; 88 using MethodType = Return (Class::*)(Message&, Args...); 99 constexpr auto Arity = sizeof...(Args); 178 template <typename RemoteMethodType, typename Class, typename... Args, 181 void (Class::*method)(Message&, Args...), 184 using Signature = typename RemoteMethodType::template RewriteArgs<Args...>; 214 typename... Args, typename = EnableIfNotVoidMethod<RemoteMethodType>> 216 Return (Class::*method)(Message&, Args...), [all …]
|
D | variant.h | 30 template <typename R, typename T, typename... Args> 32 typename std::enable_if<std::is_constructible<T, Args...>::value, R>::type; 34 template <typename R, typename T, typename... Args> 36 typename std::enable_if<!std::is_constructible<T, Args...>::value, R>::type; 135 template <typename... Args> 136 std::int32_t Construct(TypeTag<Type>, Args&&... args) { 137 new (&first_) Type(std::forward<Args>(args)...); 140 template <typename... Args> 141 EnableIfConstructible<std::int32_t, Type, Args...> Construct(Args&&... args) { 142 new (&first_) Type(std::forward<Args>(args)...); [all …]
|
D | default_initialization_allocator.h | 36 template <typename U, typename... Args> 37 void construct(U* pointer, Args&&... args) { in construct() 39 std::forward<Args>(args)...); in construct()
|
D | function_traits.h | 29 using Args = std::tuple<Args_...>; 35 using Arg = typename std::tuple_element<Index, Args>::type;
|
D | remote_method_type.h | 25 typedef typename Traits::Args Args; typedef
|
/frameworks/compile/slang/ |
D | rs_cc_options.cpp | 112 llvm::opt::InputArgList Args = in ParseArguments() local 118 << Args.getArgString(MissingArgIndex) << MissingArgCount; in ParseArguments() 122 for (llvm::opt::arg_iterator it = Args.filtered_begin(OPT_UNKNOWN), in ParseArguments() 123 ie = Args.filtered_end(); in ParseArguments() 126 << (*it)->getAsString(Args); in ParseArguments() 129 DiagOpts.IgnoreWarnings = Args.hasArg(OPT_w); in ParseArguments() 130 DiagOpts.Warnings = Args.getAllArgValues(OPT_W); in ParseArguments() 136 for (llvm::opt::ArgList::const_iterator it = Args.begin(), ie = Args.end(); in ParseArguments() 143 Opts.mIncludePaths = Args.getAllArgValues(OPT_I); in ParseArguments() 145 Opts.mBitcodeOutputDir = Args.getLastArgValue(OPT_o); in ParseArguments() [all …]
|
D | slang_rs_reflection.cpp | 762 ArgTy Args; in genExportFunction() local 768 Args.push_back( in genExportFunction() 787 Args); in genExportFunction() 858 ArgTy Args; in genExportForEach() local 867 Args.push_back(std::make_pair("Allocation", "ain")); in genExportForEach() 874 Args.push_back(std::make_pair("Allocation", in genExportForEach() 881 Args.push_back(std::make_pair("Allocation", "aout")); in genExportForEach() 889 Args.push_back( in genExportForEach() 908 startFunction(AM_Public, false, "void", "forEach_" + EF->getName(), Args); in genExportForEach() 929 mOut << Args.back().second << ", "; in genExportForEach() [all …]
|
/frameworks/av/media/libstagefright/codec2/include/ |
D | C2ParamDef.h | 242 template<typename ...Args> \ 243 inline static std::ptr##_ptr<_type> alloc_##ptr(size_t flexCount, const Args(&... args)) { \ 247 template<typename ...Args, typename U=typename S::flexType, unsigned N> \ 248 inline static std::ptr##_ptr<_type> alloc_##ptr(const Args(&... args), const U(&init)[N]) { \ 256 template<typename ...Args, typename U=typename S::flexType> \ 258 const Args(&... args), const std::initializer_list<U> &init) { \ 320 template<typename ...Args> 321 inline C2GlobalParam(const Args(&... args)) : T(sizeof(_type), _type::typeIndex), S(args...) { } 347 template<typename ...Args> 348 inline C2GlobalParam(size_t flexCount, const Args(&... args)) [all …]
|
D | C2Param.h | 467 template<typename ...Args> 468 inline C2Setting(const Args(&... args)) : C2Param(args...) { } in C2Setting() 478 template<typename ...Args> 479 inline C2Tuning(const Args(&... args)) : C2Setting(args...) { } in C2Tuning() 489 template<typename ...Args> 490 inline C2Info(const Args(&... args)) : C2Param(args...) { } in C2Info()
|
/frameworks/native/cmds/lshal/ |
D | Timeout.h | 80 template<class Function, class I, class... Args> 81 typename std::result_of<Function(I *, Args...)>::type 82 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC() 84 typename std::result_of<Function(I *, Args...)>::type ret{Status::ok()}; in timeoutIPC() 86 interfaceObject.get(), std::forward<Args>(args)...); in timeoutIPC()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | client.h | 79 template <typename RemoteMethodType, typename... Args> 80 Status<typename RemoteMethodType::Return> InvokeRemoteMethod(Args&&... args); 82 template <typename RemoteMethodType, typename ReturnType, typename... Args> 84 Args&&... args); 180 template <typename... Args> 181 static inline std::unique_ptr<T> Create(Args&&... args) { in Create() 182 std::unique_ptr<T> client(new T(std::forward<Args>(args)...)); in Create()
|
/frameworks/native/libs/binder/include/binder/ |
D | SafeInterface.h | 248 template <typename Method, typename TagType, typename... Args> 249 status_t callRemote(TagType tag, Args&&... args) const { 254 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value, 261 status_t error = writeInputs(&data, std::forward<Args>(args)...); 279 error = readOutputs(reply, std::forward<Args>(args)...); 299 template <typename Method, typename TagType, typename... Args> 300 void callRemoteAsync(TagType tag, Args&&... args) const { 305 static_assert(ArgsMatchParams<std::tuple<Args...>, ParamTuple>::value, 311 status_t error = writeInputs(&data, std::forward<Args>(args)...); 352 template <typename... Args, typename... Params> [all …]
|
/frameworks/native/libs/hwc2on1adapter/include/hwc2on1adapter/ |
D | HWC2On1Adapter.h | 465 template <typename ...Args> 467 hwc2_display_t displayId, HWC2::Error (Display::*member)(Args...), in callDisplayFunction() argument 468 Args... args) { in callDisplayFunction() 473 auto error = ((*display).*member)(std::forward<Args>(args)...); in callDisplayFunction() 477 template <typename MF, MF memFunc, typename ...Args> 479 Args... args) { in displayHook() 481 std::forward<Args>(args)...); in displayHook() 614 template <typename ...Args> 617 HWC2::Error (Layer::*member)(Args...), Args... args) { in callLayerFunction() argument 622 error = ((*layer).*member)(std::forward<Args>(args)...); in callLayerFunction() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | FuseAppLoop.java | 61 private final LinkedList<Args> mArgsPool = new LinkedList<>(); 145 final Args args = (Args) msg.obj; 233 final Args args; 235 args = new Args(); 294 private void recycleLocked(Args args) { 377 private static class Args {
|
/frameworks/av/media/libstagefright/include/foundation/ |
D | Flagged.h | 404 template<typename ...Args> 405 constexpr Flagged(Flag flags, Args... args) 406 : mValue(std::forward<Args>(args)...), 483 template<typename ...Args> 484 constexpr Flagged(Flag flags, Args... args) 485 : T(std::forward<Args>(args)...) {
|
D | Mutexed.h | 147 template<typename ...Args> 148 Mutexed(Args... args) : mTreasure(args...) { } in Mutexed()
|
D | AData.h | 92 template<typename T, typename ...Args> 93 inline static void emplace(size_t totalSize, T *addr, Args&&... args) { in emplace() 94 new(addr)T(std::forward<Args>(args)...); in emplace() 158 typename T, typename ...Args, 160 inline void emplace(Args&&... args) { in emplace() 162 sizeof(_type), reinterpret_cast<T*>(&mValue), std::forward<Args>(args)...); in emplace()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Util.h | 35 template <typename T, class... Args> 36 std::unique_ptr<T> make_unique(Args&&... args) { in make_unique() 37 return std::unique_ptr<T>(new T{std::forward<Args>(args)...}); in make_unique()
|
/frameworks/native/services/sensorservice/ |
D | RingBuffer.h | 121 template <class... Args> 122 void emplace(Args&&... args); 290 template <class... Args> 291 void RingBuffer<T>::emplace(Args&&... args) { in emplace() 293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace() 299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
|
/frameworks/av/media/libmedia/include/media/ |
D | RingBuffer.h | 121 template <class... Args> 122 void emplace(Args&&... args); 290 template <class... Args> 291 void RingBuffer<T>::emplace(Args&&... args) { in emplace() 293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace() 299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
|
/frameworks/av/include/media/ |
D | RingBuffer.h | 121 template <class... Args> 122 void emplace(Args&&... args); 290 template <class... Args> 291 void RingBuffer<T>::emplace(Args&&... args) { in emplace() 293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace() 299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 156 template <typename... Args> 157 explicit ValueBuilder(Args&&... args) in ValueBuilder() 158 : value_(new T{std::forward<Args>(args)...}) {} in ValueBuilder() 160 template <typename... Args> 161 ValueBuilder& SetSource(Args&&... args) { in SetSource() 162 value_->SetSource(Source{std::forward<Args>(args)...}); in SetSource()
|
/frameworks/base/tools/aapt2/util/ |
D | Util.h | 111 template <typename T, class... Args> 112 std::unique_ptr<T> make_unique(Args&&... args) { in make_unique() 113 return std::unique_ptr<T>(new T{std::forward<Args>(args)...}); in make_unique()
|
/frameworks/compile/libbcc/lib/ |
D | RSX86CallConvPass.cpp | 148 std::vector<llvm::Value *> Args(CS.arg_begin(), CS.arg_end()); in ReplaceCallInsn() local 149 auto NewCI = llvm::CallInst::Create(NewFn, Args, "", CI); in ReplaceCallInsn()
|