Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/
Dcodecvt_utf16_in.pass.cpp35 wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
40 assert(wp == &w+1); in main()
46 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
48 assert(wp == &w+1); in main()
54 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
56 assert(wp == &w+1); in main()
63 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
65 assert(wp == &w+1); in main()
74 wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_in.pass.cpp35 wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, w, w+2, wp); in main()
40 assert(wp == w+2); in main()
48 r = c.in(m, n, n+3, np, w, w+2, wp); in main()
50 assert(wp == w+1); in main()
56 r = c.in(m, n, n+2, np, w, w+2, wp); in main()
58 assert(wp == w+1); in main()
63 r = c.in(m, n, n+1, np, w, w+2, wp); in main()
65 assert(wp == w+1); in main()
74 wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_utf16_out.pass.cpp35 const wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, w, w+2, wp, n, n+4, np); in main()
40 assert(wp == w+2); in main()
48 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
50 assert(wp == w+1); in main()
57 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
59 assert(wp == w+1); in main()
65 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
67 assert(wp == w+1); in main()
76 const wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_in.pass.cpp35 wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.in(m, n, n+4, np, &w, &w+1, wp); in main()
40 assert(wp == &w+1); in main()
47 r = c.in(m, n, n+3, np, &w, &w+1, wp); in main()
49 assert(wp == &w+1); in main()
55 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
57 assert(wp == &w+1); in main()
63 r = c.in(m, n, n+1, np, &w, &w+1, wp); in main()
65 assert(wp == &w+1); in main()
74 wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf8_out.pass.cpp35 const wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
40 assert(wp == &w+1); in main()
48 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
50 assert(wp == &w+1); in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
60 assert(wp == &w+1); in main()
68 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
70 assert(wp == &w+1); in main()
82 const wchar_t* wp = nullptr; in main() local
[all …]
Dcodecvt_utf16_out.pass.cpp35 const wchar_t* wp = nullptr; in main() local
38 std::codecvt_base::result r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
40 assert(wp == &w+1); in main()
48 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
50 assert(wp == &w+1); in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
60 assert(wp == &w+1); in main()
68 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
70 assert(wp == &w+1); in main()
82 const wchar_t* wp = nullptr; in main() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
Dexpired.pass.cpp33 std::weak_ptr<A> wp; in main() local
34 assert(wp.use_count() == 0); in main()
35 assert(wp.expired() == (wp.use_count() == 0)); in main()
39 std::weak_ptr<A> wp(sp0); in main() local
40 assert(wp.use_count() == 1); in main()
41 assert(wp.expired() == (wp.use_count() == 0)); in main()
43 assert(wp.use_count() == 0); in main()
44 assert(wp.expired() == (wp.use_count() == 0)); in main()
Dlock.pass.cpp33 std::weak_ptr<A> wp; in main() local
34 std::shared_ptr<A> sp = wp.lock(); in main()
41 std::weak_ptr<A> wp(sp0); in main() local
42 std::shared_ptr<A> sp = wp.lock(); in main()
50 std::weak_ptr<A> wp(sp0); in main() local
52 std::shared_ptr<A> sp = wp.lock(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
Dweak_ptr.pass.cpp45 std::weak_ptr<A> wp; in main() local
48 std::shared_ptr<A> sp(wp); in main()
58 std::weak_ptr<A> wp(sp0); in main() local
59 std::shared_ptr<A> sp(wp); in main()
67 std::weak_ptr<A> wp(sp0); in main() local
71 std::shared_ptr<A> sp(wp); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.general/
Dtuple.smartptr.pass.cpp20 std::tuple<std::weak_ptr <char>> wp; in main() local
26 std::tuple<std::weak_ptr <char[]>> wp; in main() local
32 std::tuple<std::weak_ptr <char[5]>> wp; in main() local
/ndk/sources/host-tools/make-3.81/
Dfunction.c924 struct a_word *wp; in func_filter_filterout() local
989 for (wp = wordhead; wp != 0; wp = wp->next) in func_filter_filterout()
991 struct a_word *owp = hash_insert (&a_word_table, wp); in func_filter_filterout()
993 wp->chain = owp; in func_filter_filterout()
1005 for (wp = wordhead; wp != 0; wp = wp->next) in func_filter_filterout()
1006 wp->matched |= pattern_matches (pp->str, pp->percent, wp->str); in func_filter_filterout()
1012 wp = (struct a_word *) hash_find_item (&a_word_table, &a_word_key); in func_filter_filterout()
1013 while (wp) in func_filter_filterout()
1015 wp->matched |= 1; in func_filter_filterout()
1016 wp = wp->chain; in func_filter_filterout()
[all …]