OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Myconv
(Results
1 - 7
of
7
) sorted by null
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
ctor_codecvt.pass.cpp
26
typedef std::wstring_convert<Codecvt>
Myconv
;
27
Myconv
myconv
;
local
28
assert(
myconv
.converted() == 0);
32
typedef std::wstring_convert<Codecvt>
Myconv
;
33
Myconv
myconv
(new Codecvt);
34
assert(
myconv
.converted() == 0);
36
static_assert(!std::is_convertible<Codecvt*,
Myconv
>::value, "");
37
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_copy.pass.cpp
28
typedef std::wstring_convert<Codecvt>
Myconv
;
29
static_assert(!std::is_copy_constructible<
Myconv
>::value, "");
30
static_assert(!std::is_copy_assignable<
Myconv
>::value, "");
ctor_err_string.pass.cpp
26
typedef std::wstring_convert<Codecvt>
Myconv
;
28
static_assert(!std::is_convertible<std::string,
Myconv
>::value, "");
29
static_assert( std::is_constructible<
Myconv
, std::string>::value, "");
33
Myconv
myconv
;
local
36
TEST_IGNORE_NODISCARD
myconv
.to_bytes(L"\xDA83");
44
TEST_IGNORE_NODISCARD
myconv
.from_bytes('\xA5');
53
Myconv
myconv
("byte error");
54
std::string bs =
myconv
.to_bytes(L"\xDA83")
[
all
...]
converted.pass.cpp
36
typedef std::wstring_convert<Codecvt>
Myconv
;
37
Myconv
myconv
;
local
38
assert(
myconv
.converted() == 0);
39
std::string bs =
myconv
.to_bytes(L"\x1005");
40
assert(
myconv
.converted() == 1);
41
bs =
myconv
.to_bytes(L"\x1005\x65");
42
assert(
myconv
.converted() == 2);
43
std::wstring ws =
myconv
.from_bytes("\xE1\x80\x85");
44
assert(
myconv
.converted() == 3)
54
Myconv
myconv
;
local
[
all
...]
/external/libcxx/test/libcxx/localization/locales/locale.convenience/conversions/conversions.string/
ctor_move.pass.cpp
28
typedef std::wstring_convert<Codecvt>
Myconv
;
31
Myconv
myconv
;
local
32
myconv
.from_bytes("\xF1\x80\x80\x83");
33
const auto old_converted =
myconv
.converted();
34
assert(
myconv
.converted() == 4);
36
Myconv
myconv2(std::move(
myconv
));
Completed in 260 milliseconds