Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 115) sorted by relevance

12345

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.stdcvt/
Dcodecvt_utf16_in.pass.cpp33 wchar_t w = 0; 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()
42 assert(w == 0x40003); in main()
46 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
48 assert(wp == &w+1); in main()
50 assert(w == 0x1005); in main()
54 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
56 assert(wp == &w+1); in main()
58 assert(w == 0x453); in main()
[all …]
Dcodecvt_utf8_in.pass.cpp33 wchar_t w = 0; 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()
42 assert(w == 0x40003); in main()
47 r = c.in(m, n, n+3, np, &w, &w+1, wp); in main()
49 assert(wp == &w+1); in main()
51 assert(w == 0x1005); in main()
55 r = c.in(m, n, n+2, np, &w, &w+1, wp); in main()
57 assert(wp == &w+1); in main()
59 assert(w == 0x453); in main()
[all …]
Dcodecvt_utf8_utf16_in.pass.cpp33 wchar_t w[2] = {0}; 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()
42 assert(w[0] == 0xD8C0); in main()
43 assert(w[1] == 0xDC03); in main()
48 r = c.in(m, n, n+3, np, w, w+2, wp); in main()
50 assert(wp == w+1); in main()
52 assert(w[0] == 0x1005); in main()
56 r = c.in(m, n, n+2, np, w, w+2, wp); in main()
58 assert(wp == w+1); in main()
[all …]
Dcodecvt_utf8_utf16_out.pass.cpp33 wchar_t w[2] = {0xD8C0, 0xDC03}; 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()
47 w[0] = 0x1005; in main()
48 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
50 assert(wp == w+1); in main()
56 w[0] = 0x453; in main()
57 r = c.out(m, w, w+1, wp, n, n+4, np); in main()
59 assert(wp == w+1); in main()
64 w[0] = 0x56; in main()
[all …]
Dcodecvt_utf8_out.pass.cpp33 wchar_t w = 0x40003; 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()
47 w = 0x1005; 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 w = 0x453; in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
60 assert(wp == &w+1); in main()
67 w = 0x56; in main()
[all …]
Dcodecvt_utf16_out.pass.cpp33 wchar_t w = 0x40003; 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()
47 w = 0x1005; 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 w = 0x453; in main()
58 r = c.out(m, &w, &w+1, wp, n, n+4, np); in main()
60 assert(wp == &w+1); in main()
67 w = 0x56; in main()
[all …]
/ndk/sources/host-tools/sed-4.2.1/sed/
Dfmt.c145 static void check_punctuation P_ ((WORD *w));
149 static void put_line P_ ((WORD *w, int indent));
150 static void put_word P_ ((WORD *w));
375 check_punctuation (register WORD *w) in check_punctuation() argument
379 start = w->text; in check_punctuation()
380 finish = start + (w->length - 1); in check_punctuation()
381 w->paren = isopen (*start); in check_punctuation()
382 w->punct = ISPUNCT (*finish); in check_punctuation()
385 w->period = isperiod (*finish); in check_punctuation()
395 register WORD *w; in flush_paragraph() local
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.c.headers/
Dwctype_h.pass.cpp93 wint_t w = 0; in main() local
96 static_assert((std::is_same<decltype(iswalnum(w)), int>::value), ""); in main()
97 static_assert((std::is_same<decltype(iswalpha(w)), int>::value), ""); in main()
98 static_assert((std::is_same<decltype(iswblank(w)), int>::value), ""); in main()
99 static_assert((std::is_same<decltype(iswcntrl(w)), int>::value), ""); in main()
100 static_assert((std::is_same<decltype(iswdigit(w)), int>::value), ""); in main()
101 static_assert((std::is_same<decltype(iswgraph(w)), int>::value), ""); in main()
102 static_assert((std::is_same<decltype(iswlower(w)), int>::value), ""); in main()
103 static_assert((std::is_same<decltype(iswprint(w)), int>::value), ""); in main()
104 static_assert((std::is_same<decltype(iswpunct(w)), int>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/c.strings/
Dcwctype.pass.cpp93 std::wint_t w = 0; in main() local
96 static_assert((std::is_same<decltype(std::iswalnum(w)), int>::value), ""); in main()
97 static_assert((std::is_same<decltype(std::iswalpha(w)), int>::value), ""); in main()
98 static_assert((std::is_same<decltype(std::iswblank(w)), int>::value), ""); in main()
99 static_assert((std::is_same<decltype(std::iswcntrl(w)), int>::value), ""); in main()
100 static_assert((std::is_same<decltype(std::iswdigit(w)), int>::value), ""); in main()
101 static_assert((std::is_same<decltype(std::iswgraph(w)), int>::value), ""); in main()
102 static_assert((std::is_same<decltype(std::iswlower(w)), int>::value), ""); in main()
103 static_assert((std::is_same<decltype(std::iswprint(w)), int>::value), ""); in main()
104 static_assert((std::is_same<decltype(std::iswpunct(w)), int>::value), ""); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
Datomic_compare_exchange_weak.pass.cpp33 std::shared_ptr<int> w(new int(2)); in main() local
34 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
38 assert(*w == 2); in main()
43 std::shared_ptr<int> w(new int(2)); in main() local
44 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
48 assert(*w == 2); in main()
Datomic_compare_exchange_strong.pass.cpp33 std::shared_ptr<int> w(new int(2)); in main() local
34 bool b = std::atomic_compare_exchange_strong(&p, &v, w); in main()
38 assert(*w == 2); in main()
43 std::shared_ptr<int> w(new int(2)); in main() local
44 bool b = std::atomic_compare_exchange_strong(&p, &v, w); in main()
48 assert(*w == 2); in main()
Datomic_compare_exchange_weak_explicit.pass.cpp34 std::shared_ptr<int> w(new int(2)); in main() local
35 bool b = std::atomic_compare_exchange_weak_explicit(&p, &v, w, in main()
41 assert(*w == 2); in main()
46 std::shared_ptr<int> w(new int(2)); in main() local
47 bool b = std::atomic_compare_exchange_weak_explicit(&p, &v, w, in main()
53 assert(*w == 2); in main()
Datomic_compare_exchange_strong_explicit.pass.cpp34 std::shared_ptr<int> w(new int(2)); in main() local
35 bool b = std::atomic_compare_exchange_strong_explicit(&p, &v, w, in main()
41 assert(*w == 2); in main()
46 std::shared_ptr<int> w(new int(2)); in main() local
47 bool b = std::atomic_compare_exchange_strong_explicit(&p, &v, w, in main()
53 assert(*w == 2); in main()
/ndk/sources/cxx-stl/stlport/stlport/stl/config/
D_warnings_off.h45 # pragma option -w-ccc // -w-8008 Condition is always true OR Condition is always false
46 # pragma option -w-inl // -w-8027 Functions containing reserved words are not expanded inline
47 # pragma option -w-ngu // -w-8041 Negating unsigned value
48 # pragma option -w-pow // -w-8062 Previous options and warnings not restored
49 # pragma option -w-rch // -w-8066 Unreachable code
50 # pragma option -w-par // -w-8057 Parameter 'parameter' is never used
/ndk/sources/host-tools/sed-4.2.1/lib/
Dunlocked-io.h87 # define fread(w,x,y,z) fread_unlocked (w,x,y,z) argument
89 # define fread_unlocked(w,x,y,z) fread (w,x,y,z) argument
94 # define fwrite(w,x,y,z) fwrite_unlocked (w,x,y,z) argument
96 # define fwrite_unlocked(w,x,y,z) fwrite (w,x,y,z) argument
Dwchar.in.h134 # define wctob(w) \
137 wctob (w))
170 # define mbrtowc(w,s,n,p) \
173 mbrtowc (w, s, n, p))
242 # define wcrtomb(s,w,p) \
245 wcrtomb (s, w, p))
299 # define wcwidth(w) \
302 wcwidth (w))
Dverify.h125 template <int w>
126 struct verify_type__ { unsigned int verify_error_if_negative_size__: w; };
/ndk/sources/host-tools/sed-4.2.1/testsuite/
Dnoeolw.sed1 w noeolw.1out
4 w noeolw.1out
8 1,3w noeolw.2out
/ndk/sources/android/support/src/musl-locale/
Dstrfmon.c13 int lp, rp, w, fw; in vstrfmon_l() local
63 w = lp + 1 + rp; in vstrfmon_l()
64 if (!left && fw>w) w = fw; in vstrfmon_l()
67 l = snprintf(s, n, "%*.*f", w, rp, x); in vstrfmon_l()
/ndk/sources/android/support/src/stdio/
Dvfwprintf.c282 int w, p; in wprintf_core() local
330 w = nl_arg[s[1]-'0'].i; in wprintf_core()
333 w = out ? va_arg(*ap, int) : 0; in wprintf_core()
336 if (w<0) fl|=LEFT_ADJ, w=-w; in wprintf_core()
337 } else if ((w=getint(&s))<0) return -1; in wprintf_core()
403 if (w<p) w=p; in wprintf_core()
404 if (!(fl&LEFT_ADJ)) out_printf(out, "%.*s", w-p, ""); in wprintf_core()
406 if ((fl&LEFT_ADJ)) out_printf(out, "%.*s", w-p, ""); in wprintf_core()
407 l=w; in wprintf_core()
415 if (w<p) w=p; in wprintf_core()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.exception/exception/
Dexception.pass.cpp23 const char* w = b2.what(); in main() local
24 assert(w); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/fmtflags.state/
Dwidth_streamsize.pass.cpp33 std::streamsize w = t.width(4); in main() local
34 assert(w == 0); in main()
/ndk/tests/device/issue22165-typeinfo/jni/
Dmyexception.h11 my_exception(std::string const& w) in my_exception() argument
12 : std::runtime_error(w) in my_exception()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.rtti/bad.cast/
Dbad_cast.pass.cpp25 const char* w = b2.what(); in main() local
26 assert(w); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/language.support/support.rtti/bad.typeid/
Dbad_typeid.pass.cpp25 const char* w = b2.what(); in main() local
26 assert(w); in main()

12345