Home
last modified time | relevance | path

Searched refs:Become (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dvariant_tests.cpp673 TEST(Variant, Become) { in TEST() argument
677 v.Become(0); in TEST()
680 v.Become(1); in TEST()
683 v.Become(2); in TEST()
686 v.Become(3); in TEST()
689 v.Become(-1); in TEST()
692 v.Become(-2); in TEST()
699 v.Become(0, 10); in TEST()
703 v.Become(1, true); in TEST()
707 v.Become(2, 2.0f); in TEST()
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dvariant.h193 bool Become(std::int32_t target_index, Args&&... args) {
338 bool Become(std::int32_t target_index, Args&&... args) {
343 return rest_.Become(target_index - 1, std::forward<Args>(args)...);
456 void Become(std::int32_t target_index, Args&&... args) {
459 index_ = value_.Become(target_index, std::forward<Args>(args)...)
Dserialization.h1785 variant->Become(type);