Home
last modified time | relevance | path

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

123456

/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/android/support/src/msun/
Dk_log.h90 double hfsq,s,z,R,w,t1,t2; in k_log1p() local
94 w = z*z; in k_log1p()
95 t1= w*(Lg2+w*(Lg4+w*Lg6)); in k_log1p()
96 t2= z*(Lg1+w*(Lg3+w*(Lg5+w*Lg7))); in k_log1p()
Dk_logf.h29 float hfsq,s,z,R,w,t1,t2; in k_log1pf() local
33 w = z*z; in k_log1pf()
34 t1= w*(Lg2+w*Lg4); in k_log1pf()
35 t2= z*(Lg1+w*Lg3); in k_log1pf()
De_log2.c44 double f,hfsq,hi,lo,r,val_hi,val_lo,w,y; in __ieee754_log2() local
108 w = y + val_hi; in __ieee754_log2()
109 val_lo += (y - w) + val_hi; in __ieee754_log2()
110 val_hi = w; in __ieee754_log2()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
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.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_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()
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()
/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/stdio/
Dvfwprintf.c203 int w, p; in wprintf_core() local
251 w = nl_arg[s[1]-'0'].i; in wprintf_core()
254 w = f ? va_arg(*ap, int) : 0; in wprintf_core()
257 if (w<0) fl|=LEFT_ADJ, w=-w; in wprintf_core()
258 } else if ((w=getint(&s))<0) return -1; in wprintf_core()
326 if (w<p) w=p; in wprintf_core()
327 if (!(fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, ""); in wprintf_core()
329 if ((fl&LEFT_ADJ)) fprintf(f, "%.*s", w-p, ""); in wprintf_core()
330 l=w; in wprintf_core()
338 if (w<p) w=p; in wprintf_core()
[all …]
Dvfprintf.c196 static void pad(FILE *f, char c, int w, int l, int fl) in pad() argument
199 if (fl & (LEFT_ADJ | ZERO_PAD) || l >= w) return; in pad()
200 l = w - l; in pad()
231 static int fmt_fp(FILE *f, long double y, int w, int p, int fl, int t) in fmt_fp() argument
253 pad(f, ' ', w, 3+pl, fl&~ZERO_PAD); in fmt_fp()
256 pad(f, ' ', w, 3+pl, fl^LEFT_ADJ); in fmt_fp()
257 return MAX(w, 3+pl); in fmt_fp()
304 pad(f, ' ', w, pl+l, fl); in fmt_fp()
306 pad(f, '0', w, pl+l, fl^ZERO_PAD); in fmt_fp()
310 pad(f, ' ', w, pl+l, fl^LEFT_ADJ); in fmt_fp()
[all …]
/ndk/sources/android/support/src/musl-locale/
Dstrfmon.c12 int lp, rp, w, fw; in vstrfmon_l() local
62 w = lp + 1 + rp; in vstrfmon_l()
63 if (!left && fw>w) w = fw; in vstrfmon_l()
66 l = snprintf(s, n, "%*.*f", w, rp, x); in vstrfmon_l()
/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()

123456