/system/core/base/include/android-base/ |
D | collections.h | 40 template <typename CollectionType, typename T, typename... Args> 41 void Append(CollectionType& collection, T&& arg, Args&&... args) { in Append() 43 return Append(collection, std::forward<Args>(args)...); in Append() 48 template <typename T, typename Arg, typename... Args> 53 template <typename T, typename Arg, typename... Args> 54 void AssertType(Arg&&, Args&&... args) { in AssertType() 56 AssertType<T>(std::forward<Args>(args)...); in AssertType()
|
D | cmsg.h | 66 template <typename... Args> 67 ssize_t SendFileDescriptors(int sock, const void* data, size_t len, Args&&... sent_fds) { in SendFileDescriptors() 71 AssertType<int>(std::forward<Args>(sent_fds)...); in SendFileDescriptors() 73 Append(fds, std::forward<Args>(sent_fds)...); in SendFileDescriptors() 81 template <typename... Args> 82 ssize_t ReceiveFileDescriptors(int sock, void* data, size_t len, Args&&... received_fds) { in ReceiveFileDescriptors() 84 Append(fds, std::forward<Args>(received_fds)...); in ReceiveFileDescriptors()
|
/system/linkerconfig/include/linkerconfig/ |
D | link.h | 38 template <typename T, typename... Args> 39 void AddSharedLib(T&& lib_name, Args&&... lib_names); 49 template <typename T, typename... Args> 50 void Link::AddSharedLib(T&& lib_name, Args&&... lib_names) { in AddSharedLib() 58 if constexpr (sizeof...(Args) > 0) { in AddSharedLib() 59 AddSharedLib(std::forward<Args>(lib_names)...); in AddSharedLib()
|
D | section.h | 34 template <typename T, typename... Args> 35 void AddBinaryPath(T&& binary_path, Args&&... binary_paths); 49 template <typename T, typename... Args> 50 void Section::AddBinaryPath(T&& binary_path, Args&&... binary_paths) { in AddBinaryPath() 52 if constexpr (sizeof...(Args) > 0) { in AddBinaryPath() 53 AddBinaryPath(std::forward<Args>(binary_paths)...); in AddBinaryPath()
|
/system/bt/common/benchmark/ |
D | timer_performance_benchmark.cc | 195 ->Args({2000, 1, 5}) 196 ->Args({2000, 3, 5}) 197 ->Args({2000, 1, 7}) 198 ->Args({2000, 3, 7}) 199 ->Args({2000, 1, 20}) 200 ->Args({2000, 5, 20}) 201 ->Args({2000, 10, 20}) 202 ->Args({2000, 15, 20}) 260 ->Args({2000, 1, 5}) 261 ->Args({2000, 3, 5}) [all …]
|
/system/core/libmemunreachable/ |
D | Allocator.h | 78 template <class T, class... Args> 79 unique_ptr<T> make_unique(Args&&... args) { in make_unique() 81 return unique_ptr<T>(new (allocate<T>()) T(std::forward<Args>(args)...), [impl](void* ptr) { in make_unique() 92 template <class T, class... Args> 93 shared_ptr<T> make_shared(Args&&... args); 170 template <class... Args> 171 shared_ptr make_shared(Args&&... args) { in make_shared() 172 return heap_.template make_shared<T>(std::forward<Args>(args)...); in make_shared() 177 template <class... Args> 178 unique_ptr make_unique(Args&&... args) { in make_unique() [all …]
|
/system/security/keystore/ |
D | keymaster_worker.h | 71 template <typename Ret, typename... Args> class NonCopyableFunction<Ret(Args...)> { 77 virtual Ret operator()(Args... args) = 0; 90 Ret operator()(Args... args) override { return f_(std::move(args)...); } in operator() 107 Ret operator()(Args... args) { in operator() 125 template <typename... Args> struct MakeKeymasterWorkerCB; 127 template <typename ErrorType, typename... Args> 128 struct MakeKeymasterWorkerCB<ErrorType, std::function<void(Args...)>> { 129 using type = std::function<void(ErrorType, std::tuple<std::decay_t<Args>...>&&)>; 136 template <typename... Args> 137 using MakeKeymasterWorkerCB_t = typename MakeKeymasterWorkerCB<Args...>::type; [all …]
|
D | keystore_aidl_hidl_marshalling_utils.h | 29 template <typename Fn, typename... Args> 30 inline auto nullable(Fn fn, const android::Parcel& in, Args&&... args) 31 -> NullOr<decltype(fn(in, std::forward<Args>(args)...))> { 36 return fn(in, std::forward<Args>(args)...);
|
/system/iorap/src/binder/ |
D | iiorap_impl.cc | 41 template<typename ... Args> 42 Status Send(const char* function_name, Args&& ... args); 214 template <typename ... Args> 218 Args&&... /*rest*/) { in SendArgs() argument 228 template <typename ... Args> 229 Status SendArgs(const char* function_name, Impl* self, Args&&... rest) { in SendArgs() 232 self->SetTaskListener(std::forward<Args&&>(rest)...); in SendArgs() 237 template <typename ... Args> 262 template <typename ... Args> 263 Status Send(const char* function_name, Args&&... args) { in Send() [all …]
|
/system/update_engine/update_manager/ |
D | policy_test_utils.h | 57 template <typename T, typename R, typename... Args> 58 void ExpectStatus(EvalStatus expected, T method, R* result, Args... args) { in ExpectStatus() 70 template <typename T, typename R, typename... Args> 71 EvalStatus CallMethodWithContext(T method, R* result, Args... args) { in CallMethodWithContext() 79 template <typename T, typename R, typename... Args> 83 Args... args) { in ExpectPolicyStatus()
|
D | update_manager.h | 112 template <typename R, typename... Args> 116 EvaluationContext*, State*, std::string*, R*, Args...) const, 118 Args... args); 126 template <typename R, typename... Args> 131 EvaluationContext*, State*, std::string*, R*, Args...) const, 132 Args... args);
|
D | update_manager-inl.h | 31 template <typename R, typename... Args> 35 EvaluationContext*, State*, std::string*, R*, Args...) const, in EvaluatePolicy() 37 Args... args) { in EvaluatePolicy() 79 template <typename R, typename... Args> 84 EvaluationContext*, State*, std::string*, R*, Args...) const, in OnPolicyReadyToEvaluate() 85 Args... args) { in OnPolicyReadyToEvaluate() 98 base::Bind(&UpdateManager::OnPolicyReadyToEvaluate<R, Args...>, in OnPolicyReadyToEvaluate()
|
/system/bt/gd/os/ |
D | alarm_benchmark.cc | 122 ->Args({2000, 1, 5}) 123 ->Args({2000, 3, 5}) 124 ->Args({2000, 1, 7}) 125 ->Args({2000, 3, 7}) 126 ->Args({2000, 1, 20}) 127 ->Args({2000, 5, 20}) 128 ->Args({2000, 10, 20}) 129 ->Args({2000, 15, 20})
|
/system/bt/btif/include/ |
D | btif_common.h | 186 template <typename R, typename... Args> 187 base::Callback<R(Args...)> jni_thread_wrapper(const base::Location& from_here, in jni_thread_wrapper() 188 base::Callback<R(Args...)> cb) { in jni_thread_wrapper() 190 [](const base::Location& from_here, base::Callback<R(Args...)> cb, in jni_thread_wrapper() 191 Args... args) { in jni_thread_wrapper() 193 base::Bind(cb, std::forward<Args>(args)...)); in jni_thread_wrapper()
|
/system/chre/util/include/chre/util/ |
D | singleton_impl.h | 35 template<typename... Args> 36 void Singleton<ObjectType>::init(Args&&... args) { in init() 39 new (get()) ObjectType(std::forward<Args>(args)...); in init()
|
D | synchronized_memory_pool.h | 40 template<typename... Args> 41 ElementType *allocate(Args&&... args);
|
D | singleton.h | 46 template<typename... Args> 47 static void init(Args&&... args);
|
D | memory.h | 59 template<typename T, typename... Args> 60 T *memoryAlloc(Args&&... args);
|
D | memory_pool_impl.h | 38 template<typename... Args> 39 ElementType *MemoryPool<ElementType, kSize>::allocate(Args&&... args) { in allocate() 49 ElementType(std::forward<Args>(args)...); in allocate()
|
D | memory_pool.h | 65 template<typename... Args> 66 ElementType *allocate(Args&&... args);
|
D | synchronized_memory_pool_impl.h | 26 template<typename... Args> 28 Args&&... args) { in allocate()
|
/system/extras/libjsonpb/parse/include/jsonpb/ |
D | error_or.h | 30 template <class... Args> 31 explicit ErrorOr(Args&&... args) : data_(kIndex1, std::forward<Args>(args)...) {} in ErrorOr()
|
/system/apex/apexd/ |
D | status_or.h | 40 template <class... Args> 41 explicit StatusOr(Args&&... args) in StatusOr() 42 : data_(kIndex1, std::forward<Args>(args)...) {} in StatusOr()
|
/system/tools/xsdc/build/ |
D | xsdc.go | 79 Args *string member 91 Args *string member 141 Args: map[string]string{ 158 Args: map[string]string{ 192 Args: proptools.StringPtr(args),
|
/system/keymaster/ng/include/ |
D | keystore_hidl_support.h | 37 template <typename First, typename... Args> 38 inline static std::ostream& formatArgs(std::ostream& out, First&& first, Args&&... args) { in formatArgs() 43 template <typename... Args> inline static std::string argsToString(Args&&... args) { in argsToString()
|