Home
last modified time | relevance | path

Searched refs:ios (Results 1 – 25 of 559) sorted by relevance

12345678910>>...23

/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/
Dput_double.pass.cpp54 std::ios ios(0); in test1() local
57 ios.precision(0); in test1()
59 nouppercase(ios); in test1()
61 noshowpos(ios); in test1()
63 noshowpoint(ios); in test1()
65 ios.imbue(lc); in test1()
67 ios.width(0); in test1()
69 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
72 assert(ios.width() == 0); in test1()
74 ios.width(25); in test1()
[all …]
Dput_long_double.pass.cpp59 std::ios ios(0); in test1() local
62 ios.precision(0); in test1()
64 nouppercase(ios); in test1()
66 noshowpos(ios); in test1()
68 noshowpoint(ios); in test1()
70 ios.imbue(lc); in test1()
72 ios.width(0); in test1()
74 iter = f.put(output_iterator<char*>(str), ios, '*', v); in test1()
77 assert(ios.width() == 0); in test1()
79 ios.width(25); in test1()
[all …]
Dput_long.pass.cpp47 std::ios ios(0); in main() local
50 std::ios_base::iostate err = ios.goodbit; in main()
51 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
56 std::ios ios(0); in main() local
59 std::ios_base::iostate err = ios.goodbit; in main()
60 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
65 std::ios ios(0); in main() local
68 std::ios_base::iostate err = ios.goodbit; in main()
69 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
74 std::ios ios(0); in main() local
[all …]
Dput_unsigned_long.pass.cpp47 std::ios ios(0); in main() local
50 std::ios_base::iostate err = ios.goodbit; in main()
51 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
56 std::ios ios(0); in main() local
59 std::ios_base::iostate err = ios.goodbit; in main()
60 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
65 std::ios ios(0); in main() local
68 std::ios_base::iostate err = ios.goodbit; in main()
69 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
74 std::ios ios(0); in main() local
[all …]
Dput_unsigned_long_long.pass.cpp47 std::ios ios(0); in main() local
50 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
55 std::ios ios(0); in main() local
58 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
63 std::ios ios(0); in main() local
66 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
71 std::ios ios(0); in main() local
74 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
79 std::ios ios(0); in main() local
82 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
[all …]
Dput_long_long.pass.cpp47 std::ios ios(0); in main() local
50 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
55 std::ios ios(0); in main() local
58 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
63 std::ios ios(0); in main() local
66 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
71 std::ios ios(0); in main() local
74 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
79 std::ios ios(0); in main() local
82 output_iterator<char*> iter = f.put(output_iterator<char*>(str), ios, '*', v); in main()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.monetary/locale.money.put/locale.money.put.members/
Dput_long_double_fr_FR.pass.cpp51 std::ios ios(0); in main() local
53 ios.imbue(std::locale(ios.getloc(), in main()
55 ios.imbue(std::locale(ios.getloc(), in main()
57 ios.imbue(std::locale(ios.getloc(), in main()
59 ios.imbue(std::locale(ios.getloc(), in main()
68 false, ios, '*', v); in main()
76 false, ios, '*', v); in main()
84 false, ios, '*', v); in main()
92 false, ios, '*', v); in main()
98 showbase(ios); in main()
[all …]
Dput_long_double_en_US.pass.cpp49 std::ios ios(0); in main() local
51 ios.imbue(std::locale(ios.getloc(), in main()
53 ios.imbue(std::locale(ios.getloc(), in main()
55 ios.imbue(std::locale(ios.getloc(), in main()
57 ios.imbue(std::locale(ios.getloc(), in main()
66 false, ios, '*', v); in main()
74 false, ios, '*', v); in main()
82 false, ios, '*', v); in main()
90 false, ios, '*', v); in main()
96 showbase(ios); in main()
[all …]
Dput_long_double_zh_CN.pass.cpp52 std::ios ios(0); in main() local
54 ios.imbue(std::locale(ios.getloc(), in main()
56 ios.imbue(std::locale(ios.getloc(), in main()
58 ios.imbue(std::locale(ios.getloc(), in main()
60 ios.imbue(std::locale(ios.getloc(), in main()
69 false, ios, '*', v); in main()
77 false, ios, '*', v); in main()
85 false, ios, '*', v); in main()
93 false, ios, '*', v); in main()
99 showbase(ios); in main()
[all …]
Dput_long_double_ru_RU.pass.cpp57 std::ios ios(0); in main() local
59 ios.imbue(std::locale(ios.getloc(), in main()
61 ios.imbue(std::locale(ios.getloc(), in main()
63 ios.imbue(std::locale(ios.getloc(), in main()
65 ios.imbue(std::locale(ios.getloc(), in main()
74 false, ios, '*', v); in main()
82 false, ios, '*', v); in main()
90 false, ios, '*', v); in main()
98 false, ios, '*', v); in main()
104 showbase(ios); in main()
[all …]
Dput_string_en_US.pass.cpp49 std::ios ios(0); in main() local
51 ios.imbue(std::locale(ios.getloc(), in main()
53 ios.imbue(std::locale(ios.getloc(), in main()
55 ios.imbue(std::locale(ios.getloc(), in main()
57 ios.imbue(std::locale(ios.getloc(), in main()
66 false, ios, '*', v); in main()
74 false, ios, '*', v); in main()
82 false, ios, '*', v); in main()
90 false, ios, '*', v); in main()
96 showbase(ios); in main()
[all …]
/external/libcxx/test/std/input.output/iostreams.base/ios/iostate.flags/
Dsetstate.pass.cpp25 std::ios ios(0); in main() local
26 ios.setstate(std::ios::goodbit); in main()
27 assert(ios.rdstate() == std::ios::badbit); in main()
30 ios.exceptions(std::ios::badbit); in main()
37 ios.setstate(std::ios::goodbit); in main()
40 catch (std::ios::failure&) in main()
42 assert(ios.rdstate() == std::ios::badbit); in main()
46 ios.setstate(std::ios::eofbit); in main()
49 catch (std::ios::failure&) in main()
51 assert(ios.rdstate() == (std::ios::eofbit | std::ios::badbit)); in main()
[all …]
Dclear.pass.cpp25 std::ios ios(0); in main() local
26 ios.clear(); in main()
27 assert(ios.rdstate() == std::ios::badbit); in main()
30 ios.exceptions(std::ios::badbit); in main()
37 ios.clear(); in main()
40 catch (std::ios::failure&) in main()
42 assert(ios.rdstate() == std::ios::badbit); in main()
46 ios.clear(std::ios::eofbit); in main()
49 catch (std::ios::failure&) in main()
51 assert(ios.rdstate() == (std::ios::eofbit | std::ios::badbit)); in main()
[all …]
Dexceptions_iostate.pass.cpp25 std::ios ios(0); in main() local
26 assert(ios.exceptions() == std::ios::goodbit); in main()
27 ios.exceptions(std::ios::eofbit); in main()
28 assert(ios.exceptions() == std::ios::eofbit); in main()
31 ios.exceptions(std::ios::badbit); in main()
34 catch (std::ios::failure&) in main()
37 assert(ios.exceptions() == std::ios::badbit); in main()
41 std::ios ios(&sb); in main() local
42 assert(ios.exceptions() == std::ios::goodbit); in main()
43 ios.exceptions(std::ios::eofbit); in main()
[all …]
Dfail.pass.cpp25 std::ios ios(0); in main() local
26 assert(ios.fail()); in main()
27 ios.setstate(std::ios::eofbit); in main()
28 assert(ios.fail()); in main()
32 std::ios ios(&sb); in main() local
33 assert(!ios.fail()); in main()
34 ios.setstate(std::ios::eofbit); in main()
35 assert(!ios.fail()); in main()
36 ios.setstate(std::ios::badbit); in main()
37 assert(ios.fail()); in main()
[all …]
Dbad.pass.cpp25 std::ios ios(0); in main() local
26 assert(ios.bad()); in main()
27 ios.setstate(std::ios::eofbit); in main()
28 assert(ios.bad()); in main()
32 std::ios ios(&sb); in main() local
33 assert(!ios.bad()); in main()
34 ios.setstate(std::ios::eofbit); in main()
35 assert(!ios.bad()); in main()
36 ios.setstate(std::ios::failbit); in main()
37 assert(!ios.bad()); in main()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_long.pass.cpp47 std::ios ios(0); in main() local
51 assert((ios.flags() & ios.basefield) == ios.dec); in main()
52 assert(ios.getloc().name() == "C"); in main()
53 std::ios_base::iostate err = ios.goodbit; in main()
57 ios, err, v); in main()
59 assert(err == ios.goodbit); in main()
64 assert((ios.flags() & ios.basefield) == ios.dec); in main()
65 assert(ios.getloc().name() == "C"); in main()
66 std::ios_base::iostate err = ios.goodbit; in main()
70 ios, err, v); in main()
[all …]
Dget_double.pass.cpp53 std::ios ios(0); in main() local
57 assert((ios.flags() & ios.basefield) == ios.dec); in main()
58 assert(ios.getloc().name() == "C"); in main()
59 std::ios_base::iostate err = ios.goodbit; in main()
63 ios, err, v); in main()
65 assert(err == ios.goodbit); in main()
70 std::ios_base::iostate err = ios.goodbit; in main()
74 ios, err, v); in main()
76 assert(err == ios.goodbit); in main()
81 std::ios_base::iostate err = ios.goodbit; in main()
[all …]
Dget_long_double.pass.cpp38 std::ios ios(0); in main() local
42 assert((ios.flags() & ios.basefield) == ios.dec); in main()
43 assert(ios.getloc().name() == "C"); in main()
44 std::ios_base::iostate err = ios.goodbit; in main()
48 ios, err, v); in main()
50 assert(err == ios.goodbit); in main()
55 std::ios_base::iostate err = ios.goodbit; in main()
59 ios, err, v); in main()
61 assert(err == ios.goodbit); in main()
66 std::ios_base::iostate err = ios.goodbit; in main()
[all …]
Dget_float.pass.cpp38 std::ios ios(0); in main() local
42 assert((ios.flags() & ios.basefield) == ios.dec); in main()
43 assert(ios.getloc().name() == "C"); in main()
44 std::ios_base::iostate err = ios.goodbit; in main()
48 ios, err, v); in main()
50 assert(err == ios.goodbit); in main()
55 std::ios_base::iostate err = ios.goodbit; in main()
59 ios, err, v); in main()
61 assert(err == ios.goodbit); in main()
66 std::ios_base::iostate err = ios.goodbit; in main()
[all …]
Dget_bool.pass.cpp58 std::ios ios(0); in main() local
61 std::ios_base::iostate err = ios.goodbit; in main()
66 ios, err, b); in main()
68 assert(err == ios.goodbit); in main()
73 std::ios_base::iostate err = ios.goodbit; in main()
78 ios, err, b); in main()
80 assert(err == ios.goodbit); in main()
85 std::ios_base::iostate err = ios.goodbit; in main()
90 ios, err, b); in main()
92 assert(err == ios.failbit); in main()
[all …]
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.cons/
Dctor_streambuf.pass.cpp24 std::basic_ios<char> ios(sb); in main() local
25 assert(ios.rdbuf() == sb); in main()
26 assert(ios.tie() == 0); in main()
27 assert(ios.rdstate() == std::ios::badbit); in main()
28 assert(ios.exceptions() == std::ios::goodbit); in main()
29 assert(ios.flags() == (std::ios::skipws | std::ios::dec)); in main()
30 assert(ios.width() == 0); in main()
31 assert(ios.precision() == 6); in main()
32 assert(ios.fill() == ' '); in main()
33 assert(ios.getloc() == std::locale()); in main()
[all …]
/external/zlib/src/contrib/iostream/
Dzfstream.cpp27 if ( io_mode & ios::in ) { in open()
28 mode = ios::in; in open()
30 } else if ( io_mode & ios::app ) { in open()
31 mode = ios::app; in open()
34 mode = ios::out; in open()
38 if ( io_mode & ios::binary ) { in open()
39 mode |= ios::binary; in open()
44 if ( io_mode & (ios::out|ios::app )) { in open()
69 if ( io_mode & ios::in ) { in attach()
70 mode = ios::in; in attach()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
Dput2.pass.cpp48 std::ios ios(0); in main() local
50 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'A'); in main()
55 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'a'); in main()
60 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'B'); in main()
65 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'b'); in main()
70 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'C'); in main()
75 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'c'); in main()
80 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'D'); in main()
85 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'd'); in main()
90 iter = f.put(output_iterator<char*>(str), ios, '*', &t, 'c', 'E'); in main()
[all …]
/external/libcxx/test/std/input.output/iostreams.base/ios/basic.ios.members/
Dset_rdbuf.pass.cpp26 : public std::ios
28 testios(std::streambuf* p) : std::ios(p) {} in testios()
29 void set_rdbuf(std::streambuf* x) {std::ios::set_rdbuf(x);} in set_rdbuf()
36 testios ios(&sb1); in main() local
39 ios.setstate(std::ios::badbit); in main()
40 ios.exceptions(std::ios::badbit); in main()
45 ios.set_rdbuf(&sb2); in main()
46 assert(ios.rdbuf() == &sb2); in main()
49 ios.setstate(std::ios::badbit); in main()
50 ios.exceptions(std::ios::badbit); in main()
[all …]

12345678910>>...23