/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | variant.h | 141 : first_(std::forward<T>(value)) { 146 : first_(std::forward<T>(value)) { 169 new (&first_) Type(std::forward<Args>(args)...); 174 new (&first_) Type(std::forward<Args>(args)...); 187 first_ = std::forward<T>(value); 197 first_ = std::forward<T>(value); 212 return std::forward<Op>(op)(get(TypeTag<Type>{})); 214 return std::forward<Op>(op)(get(TypeTag<EmptyVariant>{})); 219 return std::forward<Op>(op)(get(TypeTag<Type>{})); 221 return std::forward<Op>(op)(get(TypeTag<EmptyVariant>{})); [all …]
|
/frameworks/native/include/ftl/ |
D | optional.h | 46 if (has_value()) return R(std::invoke(std::forward<F>(f), value())); in transform() 53 if (has_value()) return R(std::invoke(std::forward<F>(f), value())); in transform() 60 if (has_value()) return R(std::invoke(std::forward<F>(f), std::move(value()))); in transform() 67 if (has_value()) return R(std::invoke(std::forward<F>(f), std::move(value()))); in transform() 75 if (has_value()) return std::invoke(std::forward<F>(f), value()); in and_then() 82 if (has_value()) return std::invoke(std::forward<F>(f), value()); in and_then() 89 if (has_value()) return std::invoke(std::forward<F>(f), std::move(value())); in and_then() 96 if (has_value()) return std::invoke(std::forward<F>(f), std::move(value())); in and_then() 104 return std::forward<F>(f)(); 110 return std::forward<F>(f)(); [all …]
|
D | initializer_list.h | 60 return {std::tuple_cat(std::move(tuple), std::forward_as_tuple(std::forward<Args>(args)...))}; 84 std::forward_as_tuple(std::piecewise_construct, std::forward_as_tuple(std::forward<K>(k)), 85 std::forward_as_tuple(std::forward<Args>(args)...)))}; 95 return InitializerList<T>{}(std::forward<Args>(args)...); 100 return list<KeyValue<K, V, E>>(std::forward<Args>(args)...); 105 return list<KeyValue<K, V>>(std::forward<K>(k), std::forward<V>(v));
|
D | future.h | 81 std::move(*this), std::forward<F>(op)); 93 : future_(std::in_place_type<T>, std::forward<Args>(args)...) {} in Future() 121 return {details::ValueTag{}, std::forward<Args>(args)...}; in yield() 131 return Future(std::async(std::launch::deferred, std::forward<F>(f), std::forward<Args>(args)...)); in defer()
|
D | small_vector.h | 106 : vector_(std::in_place_type<Static>, std::forward<Arg>(arg), std::forward<Args>(args)...) {} in SmallVector() 171 return std::get<Dynamic>(vector_).replace(it, std::forward<Args>(args)...); in replace() 173 return std::get<Static>(vector_).replace(it, std::forward<Args>(args)...); in replace() 186 return *insert<kInsertStatic, kInsertDynamic>(std::forward<Args>(args)...); in emplace_back() 263 return (vector->*InsertDynamic)(std::forward<Args>(args)...); in insert() 268 return (promote(vector).*InsertDynamic)(std::forward<Args>(args)...); in insert() 270 return (vector.*InsertStatic)(std::forward<Args>(args)...); in insert() 371 return replace_at(it, std::forward<Args>(args)...); in replace() 376 return &Impl::emplace_back(std::forward<Args>(args)...); in emplace_back()
|
D | match.h | 47 const auto matcher = details::Matcher{std::forward<Ms>(matchers)...}; in decltype() 55 const auto matcher = details::Matcher{std::forward<Ms>(matchers)...}; in decltype()
|
D | unit.h | 52 return f(std::forward<Args>(args)...), unit; in operator() 58 return {std::forward<F>(f)};
|
D | algorithm.h | 48 std::forward<Predicate>(predicate)); 101 return [f = std::forward<F>(f)] { in static_ref()
|
D | static_vector.h | 186 : StaticVector(std::index_sequence<0>{}, std::forward<E>(element), in StaticVector() 187 std::forward<Es>(elements)...) { 268 return replace_at(it, std::forward<Args>(args)...); in replace() 279 const iterator it = construct_at(end(), std::forward<Args>(args)...); in emplace_back() 335 : StaticVector(std::index_sequence<I + 1>{}, std::forward<Es>(elements)...) { in StaticVector() 336 construct_at(begin() + I, std::forward<E>(element));
|
/frameworks/av/media/libmedia/include/media/ |
D | PatchBuilder.h | 44 sinks().add(std::forward<T>(t), std::forward<S>(s)...); in addSink() 50 sinks().add(std::forward<T>(t), update); in addSink() 55 sources().add(std::forward<T>(t), std::forward<S>(s)...); in addSource() 61 sources().add(std::forward<T>(t), update); in addSource()
|
/frameworks/av/media/utils/include/mediautils/ |
D | Synchronization.h | 53 LockItem(Args&&... args) : mT(std::forward<Args>(args)...) { in LockItem() 65 store(std::forward<U>(u)); 80 mT = std::forward<U>(u); in store() 84 mT = std::forward<U>(u); in store() 125 explicit Defer(U &&f) : mThunk(std::forward<U>(f)) {} in Defer()
|
D | InPlaceFunction.h | 119 std::invoke(getRef(storage), std::forward<Args>(args)...); 121 return std::invoke(getRef(storage), std::forward<Args>(args)...); 235 ::new (std::addressof(storage_)) Target(std::forward<T>(t)); 256 genericInit(std::forward<T>(t)); 262 convertingInit(std::forward<T>(t)); 288 vptr_->invoke(std::addressof(storage_), std::forward<Args>(args)...); 290 return vptr_->invoke(std::addressof(storage_), std::forward<Args>(args)...); 312 genericInit(std::forward<T>(t)); 321 convertingInit(std::forward<T>(t));
|
D | FixedString.h | 85 append(std::forward<Types>(args)...); in FixedString() 96 return append(std::forward<Types>(args)...); 122 return append(std::forward<Types>(args)...); 268 return fs.append(std::forward<Types>(args)...);
|
/frameworks/base/libs/hwui/utils/ |
D | Result.h | 32 Result(const R& r) : result(std::forward<R>(r)) {} in Result() 33 Result(R&& r) : result(std::forward<R>(r)) {} in Result() 34 Result(Error<E>&& error) : result(std::forward<Error<E>>(error)) {} in Result()
|
/frameworks/base/libs/hwui/thread/ |
D | WorkQueue.h | 84 enqueue(WorkItem{time, std::function<void()>(std::forward<F>(func))}); in postAt() 89 enqueue(WorkItem{clock::now() + delay, std::function<void()>(std::forward<F>(func))}); in postDelayed() 94 postAt(0, std::forward<F>(func)); in post() 100 auto task = std::make_shared<task_t>(std::forward<F>(func)); 107 std::packaged_task<decltype(func())()> task{std::forward<F>(func)};
|
/frameworks/native/cmds/dumpstate/ |
D | DumpPool.h | 113 std::function<void(void)> func = std::bind(std::forward<F>(f), in enqueueTask() 114 std::forward<Args>(args)...); in enqueueTask() 133 std::function<void(int)> func = std::bind(std::forward<F>(f), in enqueueTaskWithFd() 134 std::forward<Args>(args)...); in enqueueTaskWithFd()
|
D | TaskQueue.h | 49 auto func = std::bind(std::forward<F>(f), std::forward<Args>(args)...); in add()
|
/frameworks/av/services/mediametrics/include/mediametricsservice/ |
D | AnalyticsActions.h | 81 mFilters.emplace(Trigger{ std::forward<T>(url), std::forward<U>(value) }, in addAction() 82 std::forward<A>(action)); in addAction()
|
D | Wrap.h | 51 : mPtr(std::make_shared<T>(std::forward<Args>(args)...)) in SharedPtrWrap() 189 explicit LockWrap(Args&&... args) : mT(std::forward<Args>(args)...) {} in LockWrap()
|
/frameworks/native/include/powermanager/ |
D | HalResult.h | 42 static HalResult<T> ok(T&& value) { return HalResult(std::forward<T>(value)); } in ok() 52 return HalResult<T>::ok(std::forward<T>(data)); in fromStatus() 66 return HalResult<T>::ok(std::forward<T>(data)); in fromStatus() 77 return ret.isOk() ? HalResult<T>::ok(std::forward<T>(data)) in fromReturn() 89 return ret.isOk() ? HalResult<T>::fromStatus(status, std::forward<T>(data)) in fromReturn()
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalControllerBenchmarks.cpp | 48 HalResult<T> ret = (controller.*fn)(std::forward<Args1>(args1)...); in runBenchmark() 60 (controller.*fn)(std::forward<Args1>(args1)...); in runCachedBenchmark() 63 HalResult<T> ret = (controller.*fn)(std::forward<Args1>(args1)...); in runCachedBenchmark()
|
D | PowerHalAidlBenchmarks.cpp | 77 ndk::ScopedAStatus ret = (*hal.*fn)(std::forward<Args1>(args1)...); in runBenchmark() 85 ret = (*hal.*fn)(std::forward<Args1>(args1)...); in runBenchmark() 119 ndk::ScopedAStatus ret = (*session.*fn)(std::forward<Args1>(args1)...); in runSessionBenchmark() 127 ret = (*session.*fn)(std::forward<Args1>(args1)...); in runSessionBenchmark()
|
/frameworks/native/include/ftl/details/ |
D | function.h | 65 return std::invoke(*static_cast<F*>(opaque), std::forward<Args>(args)...); 72 return std::invoke(MemberFunction, instance, std::forward<Args>(args)...); 78 return [](Args... args) -> Ret { return std::invoke(FreeFunction, std::forward<Args>(args)...); };
|
/frameworks/base/services/incremental/ |
D | path.h | 99 details::append_next_path(result, std::forward<Paths>(paths))); in join() 105 return path::join(std::string(), first, second, std::forward<Paths>(paths)...); in join() 110 return path::join(std::string_view(first), second, std::forward<Paths>(paths)...); in join()
|
/frameworks/native/libs/binder/ |
D | ServiceManagerHost.cpp | 52 static std::optional<AdbForwarder> forward(unsigned int devicePort); 64 std::optional<AdbForwarder> AdbForwarder::forward(unsigned int devicePort) { in forward() function in android::__anonf8a568f00111::AdbForwarder 153 auto forwardResult = AdbForwarder::forward(devicePort); in getDeviceService()
|