HomeSort by relevance Sort by last modified time
    Searched refs:Myconv (Results 1 - 10 of 10) sorted by null

  /external/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/
ctor_codecvt.pass.cpp 24 typedef std::wstring_convert<Codecvt> Myconv;
25 Myconv myconv; local
26 assert(myconv.converted() == 0);
30 typedef std::wstring_convert<Codecvt> Myconv;
31 Myconv myconv(new Codecvt);
32 assert(myconv.converted() == 0);
34 static_assert(!std::is_convertible<Codecvt*, Myconv>::value, "");
35 static_assert( std::is_constructible<Myconv, Codecvt*>::value, "")
    [all...]
ctor_codecvt_state.pass.cpp 24 typedef std::wstring_convert<Codecvt> Myconv;
25 Myconv myconv(new Codecvt, std::mbstate_t());
26 assert(myconv.converted() == 0);
state.pass.cpp 22 typedef std::wstring_convert<Codecvt> Myconv;
23 Myconv myconv; local
24 std::mbstate_t s = myconv.state();
ctor_err_string.pass.cpp 24 typedef std::wstring_convert<Codecvt> Myconv;
26 static_assert(!std::is_convertible<std::string, Myconv>::value, "");
27 static_assert( std::is_constructible<Myconv, std::string>::value, "");
30 Myconv myconv; local
33 myconv.to_bytes(L"\xDA83");
41 myconv.from_bytes('\xA5');
49 Myconv myconv("byte error");
50 std::string bs = myconv.to_bytes(L"\xDA83")
    [all...]
converted.pass.cpp 23 typedef std::wstring_convert<Codecvt> Myconv;
24 Myconv myconv; local
25 assert(myconv.converted() == 0);
26 std::string bs = myconv.to_bytes(L"\x40003");
27 assert(myconv.converted() == 1);
28 bs = myconv.to_bytes(L"\x40003\x65");
29 assert(myconv.converted() == 2);
30 std::wstring ws = myconv.from_bytes("\xF1\x80\x80\x83");
31 assert(myconv.converted() == 4)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locales/locale.convenience/conversions/conversions.string/
ctor_codecvt.pass.cpp 24 typedef std::wstring_convert<Codecvt> Myconv;
25 Myconv myconv; local
26 assert(myconv.converted() == 0);
30 typedef std::wstring_convert<Codecvt> Myconv;
31 Myconv myconv(new Codecvt);
32 assert(myconv.converted() == 0);
34 static_assert(!std::is_convertible<Codecvt*, Myconv>::value, "");
35 static_assert( std::is_constructible<Myconv, Codecvt*>::value, "")
    [all...]
ctor_codecvt_state.pass.cpp 24 typedef std::wstring_convert<Codecvt> Myconv;
25 Myconv myconv(new Codecvt, std::mbstate_t());
26 assert(myconv.converted() == 0);
state.pass.cpp 22 typedef std::wstring_convert<Codecvt> Myconv;
23 Myconv myconv; local
24 std::mbstate_t s = myconv.state();
ctor_err_string.pass.cpp 24 typedef std::wstring_convert<Codecvt> Myconv;
26 static_assert(!std::is_convertible<std::string, Myconv>::value, "");
27 static_assert( std::is_constructible<Myconv, std::string>::value, "");
30 Myconv myconv; local
33 myconv.to_bytes(L"\xDA83");
41 myconv.from_bytes('\xA5');
49 Myconv myconv("byte error");
50 std::string bs = myconv.to_bytes(L"\xDA83")
    [all...]
converted.pass.cpp 23 typedef std::wstring_convert<Codecvt> Myconv;
24 Myconv myconv; local
25 assert(myconv.converted() == 0);
26 std::string bs = myconv.to_bytes(L"\x40003");
27 assert(myconv.converted() == 1);
28 bs = myconv.to_bytes(L"\x40003\x65");
29 assert(myconv.converted() == 2);
30 std::wstring ws = myconv.from_bytes("\xF1\x80\x80\x83");
31 assert(myconv.converted() == 4)
    [all...]

Completed in 276 milliseconds