Home
last modified time | relevance | path

Searched refs:forward (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dvariant.h141 : 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 …]
Dremote_method.h113 std::get<Index>(std::forward<ArgsTupleType>(parameters_))...));
341 std::forward<Args>(args)...);
352 .EncodeArguments(std::forward<Args>(args)...);
395 .EncodeArguments(std::forward<Args>(args)...);
416 .EncodeArguments(std::forward<Args>(args)...);
458 *this, std::forward<Args>(args)...);
467 template InvokeInPlace(*this, return_value, std::forward<Args>(args)...);
Ddefault_initialization_allocator.h39 std::forward<Args>(args)...); in construct()
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h44 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()
DRingBuffer.h279 mBuffer.push_back(std::forward<T>(item)); in add()
285 mBuffer[mFrontIdx] = std::forward<T>(item); in add()
293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace()
299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
/frameworks/native/libs/ui/include_vndk/ui/
DSize.h50 : width(Size::clamp<int32_t, T>(std::forward<T>(w))), in Size()
51 height(Size::clamp<int32_t, T>(std::forward<T>(h))) {} in Size()
62 width = Size::clamp<int32_t, T>(std::forward<T>(v)); in setWidth()
66 height = Size::clamp<int32_t, T>(std::forward<T>(v)); in setHeight()
76 set(Size(std::forward<T>(w), std::forward<T>(h))); in set()
/frameworks/native/libs/ui/include/ui/
DSize.h50 : width(Size::clamp<int32_t, T>(std::forward<T>(w))), in Size()
51 height(Size::clamp<int32_t, T>(std::forward<T>(h))) {} in Size()
62 width = Size::clamp<int32_t, T>(std::forward<T>(v)); in setWidth()
66 height = Size::clamp<int32_t, T>(std::forward<T>(v)); in setHeight()
76 set(Size(std::forward<T>(w), std::forward<T>(h))); in set()
/frameworks/base/libs/hwui/utils/
DResult.h32 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()
DLinearAllocator.h72 T* ret = new (allocImpl(sizeof(T))) T(std::forward<Params>(params)...); in create()
84 return new (allocImpl(sizeof(T))) T(std::forward<Params>(params)...); in create_trivial()
/frameworks/base/libs/hwui/thread/
DWorkQueue.h84 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)};
DCommonPool.h88 auto task = std::make_shared<task_t>(std::forward<F>(func));
95 std::packaged_task<decltype(func())()> task{std::forward<F>(func)};
/frameworks/native/cmds/lshal/
DTimeout.h35 : mFunc(std::forward<decltype(func)>(func)) {} in BackgroundTaskState()
68 BackgroundTaskState state{std::forward<decltype(func)>(func)}; in timeout()
88 auto boundFunc = std::bind(std::forward<Function>(func), in timeoutIPC()
89 interfaceObject.get(), std::forward<Args>(args)...); in timeoutIPC()
/frameworks/base/core/jni/
Dandroid_os_SystemProperties.cpp54 std::forward<Functor>(*static_cast<Functor*>(cookie))(value); in ReadProperty()
74 ReadProperty(prop, std::forward<Functor>(functor)); in ReadProperty()
76 std::forward<Functor>(functor)( in ReadProperty()
/frameworks/base/tools/aapt2/util/
DMaybe.h197 return move(std::forward<Maybe<T>>(rhs));
203 return move(std::forward<Maybe<U>>(rhs));
241 new (&storage_) T(std::forward<T>(value)); in Maybe()
276 return Maybe<typename std::remove_reference<T>::type>(std::forward<T>(value)); in make_value()
/frameworks/native/services/sensorservice/
DRingBuffer.h279 mBuffer.push_back(std::forward<T>(item)); in add()
285 mBuffer[mFrontIdx] = std::forward<T>(item); in add()
293 mBuffer.emplace_back(std::forward<Args>(args)...); in emplace()
299 mBuffer[mFrontIdx] = T(std::forward<Args>(args)...); in emplace()
/frameworks/native/cmds/idlcli/
Dvibrator.h73 return (*mHal.*fn)(std::forward<Args1>(args1)...); in call()
92 return hal ? hal->call(fn, std::forward<Args1>(args1)...) : NullptrStatus<R>(); in halCall()
/frameworks/native/libs/binder/include/binder/
DSafeInterface.h267 status_t error = writeInputs(&data, std::forward<Args>(args)...);
285 error = readOutputs(reply, std::forward<Args>(args)...);
317 status_t error = writeInputs(&data, std::forward<Args>(args)...);
396 return SafeInterface::ParcelHandler{mLogTag}.write(data, std::forward<T>(t));
408 status_t error = writeIfInput(data, std::forward<T>(t));
413 return writeInputs(data, std::forward<Remaining>(remaining)...);
420 return SafeInterface::ParcelHandler{mLogTag}.read(reply, std::forward<T>(t));
431 status_t error = readIfOutput(reply, std::forward<T>(t));
436 return readOutputs(reply, std::forward<Remaining>(remaining)...);
/frameworks/base/cmds/idmap2/include/idmap2/
DResult.h85 Result<T>::Result(T&& value) noexcept : data_(std::in_place_type<T>, std::forward<T>(value)) { in Result()
94 : data_(std::in_place_type<Error>, std::forward<Error>(error)) { in Result()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dtrace.h27 std::forward<Args>(args)...);
/frameworks/base/services/robotests/backup/src/android/app/backup/
DForwardingBackupAgent.java35 public static BackupAgent forward(BackupAgent backupAgent) { in forward() method in ForwardingBackupAgent
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DDisplayModifier.java439 private static boolean stepInternal(boolean forward) { in stepInternal() argument
443 mIndices[modifierMapIndex] += (forward ? 1 : -1); in stepInternal()
449 mIndices[modifierMapIndex] = (forward ? 0 : map.size() - 1); in stepInternal()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.h73 return allocator.create<T>(std::forward<Params>(params)...); in allocateDrawable()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DFlagged.h406 : mValue(std::forward<Args>(args)...),
485 : T(std::forward<Args>(args)...) {
DAData.h97 new(addr)T(std::forward<Args>(args)...); in emplace()
165 sizeof(_type), reinterpret_cast<T*>(&mValue), std::forward<Args>(args)...); in emplace()
945 _AData_mover<B>::assign(&this->get().template get<B>(), std::forward<T&&>(data));
953 this->get().template emplace<B>(std::forward<T&&>(data));
/frameworks/base/libs/androidfw/include/androidfw/
DUtil.h38 return std::unique_ptr<T>(new T{std::forward<Args>(args)...}); in make_unique()

123