/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype.byname/ |
H A D | tolower_many.pass.cpp | 32 std::string in("\xDA A\x07.a1"); 34 assert(f.tolower(&in[0], in.data() + in.size()) == in.data() + in.size()); 35 assert(in[0] == '\xFA'); 36 assert(in[1] == ' '); 37 assert(in[2] == 'a'); 38 assert(in[ [all...] |
H A D | toupper_many.pass.cpp | 32 std::string in("\xFA A\x07.a1"); 34 assert(f.toupper(&in[0], in.data() + in.size()) == in.data() + in.size()); 35 assert(in[0] == '\xDA'); 36 assert(in[1] == ' '); 37 assert(in[2] == 'A'); 38 assert(in[ [all...] |
H A D | scan_is.pass.cpp | 32 const std::wstring in(L"\x00DA A\x07.a1"); 33 std::vector<F::mask> m(in.size()); 34 assert(f.scan_is(F::space, in.data(), in.data() + in.size()) - in.data() == 1); 35 assert(f.scan_is(F::print, in.data(), in.data() + in.size()) - in [all...] |
H A D | scan_not.pass.cpp | 32 const std::wstring in(L"\x00DA A\x07.a1"); 33 std::vector<F::mask> m(in.size()); 34 assert(f.scan_not(F::space, in.data(), in.data() + in.size()) - in.data() == 0); 35 assert(f.scan_not(F::print, in.data(), in.data() + in.size()) - in [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/ |
H A D | scan_is.pass.cpp | 29 const std::string in(" A\x07.a1"); 30 std::vector<F::mask> m(in.size()); 31 assert(f.scan_is(F::space, in.data(), in.data() + in.size()) - in.data() == 0); 32 assert(f.scan_is(F::print, in.data(), in.data() + in.size()) - in [all...] |
H A D | scan_not.pass.cpp | 29 const std::string in(" A\x07.a1"); 30 std::vector<F::mask> m(in.size()); 31 assert(f.scan_not(F::space, in.data(), in.data() + in.size()) - in.data() == 1); 32 assert(f.scan_not(F::print, in.data(), in.data() + in.size()) - in [all...] |
H A D | tolower_many.pass.cpp | 26 std::string in(" A\x07.a1"); 28 assert(f.tolower(&in[0], in.data() + in.size()) == in.data() + in.size()); 29 assert(in[0] == ' '); 30 assert(in[1] == 'a'); 31 assert(in[2] == '\x07'); 32 assert(in[ [all...] |
H A D | toupper_many.pass.cpp | 26 std::string in(" A\x07.a1"); 28 assert(f.toupper(&in[0], in.data() + in.size()) == in.data() + in.size()); 29 assert(in[0] == ' '); 30 assert(in[1] == 'A'); 31 assert(in[2] == '\x07'); 32 assert(in[ [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/ |
H A D | scan_is.pass.cpp | 29 const std::wstring in(L" A\x07.a1"); 30 std::vector<F::mask> m(in.size()); 31 assert(f.scan_is(F::space, in.data(), in.data() + in.size()) - in.data() == 0); 32 assert(f.scan_is(F::print, in.data(), in.data() + in.size()) - in [all...] |
H A D | scan_not.pass.cpp | 29 const std::wstring in(L" A\x07.a1"); 30 std::vector<F::mask> m(in.size()); 31 assert(f.scan_not(F::space, in.data(), in.data() + in.size()) - in.data() == 1); 32 assert(f.scan_not(F::print, in.data(), in.data() + in.size()) - in [all...] |
H A D | tolower_many.pass.cpp | 26 std::wstring in(L" A\x07.a1"); 28 assert(f.tolower(&in[0], in.data() + in.size()) == in.data() + in.size()); 29 assert(in[0] == L' '); 30 assert(in[1] == L'a'); 31 assert(in[2] == L'\x07'); 32 assert(in[ [all...] |
H A D | toupper_many.pass.cpp | 26 std::wstring in(L" A\x07.a1"); 28 assert(f.toupper(&in[0], in.data() + in.size()) == in.data() + in.size()); 29 assert(in[0] == L' '); 30 assert(in[1] == L'A'); 31 assert(in[2] == L'\x07'); 32 assert(in[ [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.cons/ |
H A D | ccp.pass.cpp | 23 std::istrstream in(buf); 25 in >> i; 28 in >> d; 31 in >> s; 33 assert(in.eof()); 34 assert(!in.fail()); 35 in.clear(); 36 in.putback('g'); 37 assert(!in.fail()); 38 in [all...] |
H A D | ccp_size.pass.cpp | 23 std::istrstream in(buf, 7); 25 in >> i; 28 in >> d; 31 in >> s; 33 assert(in.eof()); 34 assert(in.fail()); 35 in.clear(); 36 in.putback('5'); 37 assert(!in.fail()); 38 in [all...] |
H A D | cp.pass.cpp | 23 std::istrstream in(buf); 25 in >> i; 28 in >> d; 31 in >> s; 33 assert(in.eof()); 34 assert(!in.fail()); 35 in.clear(); 36 in.putback('g'); 37 assert(!in.fail()); 38 in [all...] |
H A D | cp_size.pass.cpp | 23 std::istrstream in(buf, 7); 25 in >> i; 28 in >> d; 31 in >> s; 33 assert(in.eof()); 34 assert(in.fail()); 35 in.clear(); 36 in.putback('5'); 37 assert(!in.fail()); 38 in [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.nonmembers/string.io/ |
H A D | stream_extract.pass.cpp | 26 std::istringstream in("a bc defghij"); 28 in >> s; 29 assert(in.good()); 31 assert(in.peek() == ' '); 32 in >> s; 33 assert(in.good()); 35 assert(in.peek() == ' '); 36 in.width(3); 37 in >> s; 38 assert(in [all...] |
H A D | get_line.pass.cpp | 26 std::istringstream in(" abc\n def\n ghij"); 28 getline(in, s); 29 assert(in.good()); 31 getline(in, s); 32 assert(in.good()); 34 getline(in, s); 35 assert(in.eof()); 39 std::wistringstream in(L" abc\n def\n ghij"); 41 getline(in, s); 42 assert(in [all...] |
H A D | get_line_delim.pass.cpp | 26 std::istringstream in(" abc* def** ghij"); 28 getline(in, s, '*'); 29 assert(in.good()); 31 getline(in, s, '*'); 32 assert(in.good()); 34 getline(in, s, '*'); 35 assert(in.good()); 37 getline(in, s, '*'); 38 assert(in.eof()); 42 std::wistringstream in( [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/ |
H A D | setp.pass.cpp | 41 char in[] = "ABC"; local 42 t.setp(in, in+sizeof(in)/sizeof(in[0])); 46 wchar_t in[] = L"ABC"; local 47 t.setp(in, in+sizeof(in)/sizeof(in[ [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
H A D | get_monthname_wide.pass.cpp | 41 const wchar_t in[] = L"Jan"; local 44 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeof(in[0])-1), ios, err, &t); 45 assert(i.base() == in+3); 50 const wchar_t in[] = L"Feb"; local 53 I i = f.get_monthname(I(in), I(in+sizeof(in)/sizeo 59 const wchar_t in[] = L"Mar"; local 68 const wchar_t in[] = L"Apr"; local 77 const wchar_t in[] = L"May"; local 86 const wchar_t in[] = L"Jun"; local 95 const wchar_t in[] = L"Jul"; local 104 const wchar_t in[] = L"Aug"; local 113 const wchar_t in[] = L"Sep"; local 122 const wchar_t in[] = L"Oct"; local 131 const wchar_t in[] = L"Nov"; local 140 const wchar_t in[] = L"Dec"; local 149 const wchar_t in[] = L"January"; local 158 const wchar_t in[] = L"February"; local 167 const wchar_t in[] = L"March"; local 176 const wchar_t in[] = L"April"; local 185 const wchar_t in[] = L"May"; local 194 const wchar_t in[] = L"June"; local 203 const wchar_t in[] = L"July"; local 212 const wchar_t in[] = L"August"; local 221 const wchar_t in[] = L"September"; local 230 const wchar_t in[] = L"October"; local 239 const wchar_t in[] = L"November"; local 248 const wchar_t in[] = L"December"; local 257 const wchar_t in[] = L"Decemper"; local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.get.area/ |
H A D | gbump.pass.cpp | 49 char in[] = "ABCDE"; local 50 t.setg(in, in+1, in+sizeof(in)/sizeof(in[0])); 55 wchar_t in[] = L"ABCDE"; local 56 t.setg(in, in+1, in [all...] |
H A D | setg.pass.cpp | 41 char in[] = "ABC"; local 42 t.setg(in, in+1, in+sizeof(in)/sizeof(in[0])); 46 wchar_t in[] = L"ABC"; local 47 t.setg(in, in+1, in [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.str.strstreams/depr.istrstream/depr.istrstream.members/ |
H A D | str.pass.cpp | 23 std::istrstream in(buf); 24 assert(in.str() == std::string("123 4.5 dog"));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/stream.buffers/streambuf/streambuf.virtuals/streambuf.virt.put/ |
H A D | xsputn.pass.cpp | 37 char in[] = "123456"; local 38 assert(t.sputn(in, sizeof(in)) == 0); 39 char out[sizeof(in)] = {0}; 41 assert(t.sputn(in, sizeof(in)) == sizeof(in)); 42 assert(strcmp(in, out) == 0);
|