Home
last modified time | relevance | path

Searched refs:w1 (Results 1 – 11 of 11) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
Downer_less.pass.cpp42 const std::weak_ptr<int> w1(p1); in main() local
56 assert(!cs(p2, w1)); in main()
57 assert(cs(p1, w3) || cs(p3, w1)); in main()
58 assert(cs(p3, w1) == cs(p3, w2)); in main()
64 assert(!cs(w1, w2)); in main()
65 assert(!cs(w2, w1)); in main()
66 assert(cs(w1, w3) || cs(w3, w1)); in main()
67 assert(cs(w3, w1) == cs(w3, w2)); in main()
69 assert(!cs(w1, p2)); in main()
71 assert(cs(w1, p3) || cs(w3, p1)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
Downer_before_weak_ptr.pass.cpp24 const std::weak_ptr<int> w1(p1); in main() local
27 assert(!w1.owner_before(w2)); in main()
28 assert(!w2.owner_before(w1)); in main()
29 assert(w1.owner_before(w3) || w3.owner_before(w1)); in main()
30 assert(w3.owner_before(w1) == w3.owner_before(w2)); in main()
Downer_before_shared_ptr.pass.cpp24 const std::weak_ptr<int> w1(p1); in main() local
27 assert(!w1.owner_before(p2)); in main()
29 assert(w1.owner_before(p3) || w3.owner_before(p1)); in main()
Dnot_less_than.fail.cpp23 const std::weak_ptr<int> w1(p1); in main() local
26 bool b = w1 < w2; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
Dreset.pass.cpp34 std::weak_ptr<A> w1(p1); in main() local
35 assert(w1.use_count() == 1); in main()
36 w1.reset(); in main()
37 assert(w1.use_count() == 0); in main()
Dswap.pass.cpp36 std::weak_ptr<A> w1(p1); in main() local
40 w1.swap(w2); in main()
41 assert(w1.use_count() == 1); in main()
42 assert(w1.lock().get() == ptr2); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
Downer_before_weak_ptr.pass.cpp24 const std::weak_ptr<int> w1(p1); in main() local
28 assert(!p2.owner_before(w1)); in main()
29 assert(p1.owner_before(w3) || p3.owner_before(w1)); in main()
30 assert(p3.owner_before(w1) == p3.owner_before(w2)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/
Dswap.pass.cpp36 std::weak_ptr<A> w1(p1); in main() local
40 swap(w1, w2); in main()
41 assert(w1.use_count() == 1); in main()
42 assert(w1.lock().get() == ptr2); in main()
/ndk/tests/device/test-stlport_static-exception/jni/
Deh2.cpp17 test w1; in x1() local
/ndk/tests/device/test-stlport_shared-exception/jni/
Deh2.cpp17 test w1; in x1() local
/ndk/sources/cxx-stl/stlport/src/
Dnum_get_float.cpp131 uint64 w1 = t & low_mask; in _Stl_mult64() local
134 uint64 x = u0 * v1 + w1; in _Stl_mult64()