line |
true |
false |
branch |
14
|
0 |
1 |
RETVAL = std::error_code(ec, *category); |
26
|
2 |
0 |
RETVAL = ec.message(); |
|
2 |
0 |
RETVAL = ec.message(); |
30
|
0 |
0 |
RETVAL = ec.message(); |
|
0 |
0 |
RETVAL = ec.message(); |
31
|
0 |
0 |
RETVAL += " ("; |
32
|
0 |
0 |
RETVAL += std::to_string(ec.value()); |
|
0 |
0 |
RETVAL += std::to_string(ec.value()); |
33
|
0 |
0 |
RETVAL += ":"; |
34
|
0 |
0 |
RETVAL += ec.category().name(); |
35
|
0 |
0 |
RETVAL += ")"; |
43
|
62 |
3 |
if (sv_ec2.is_object_ref()) { |
44
|
62 |
0 |
Object ec2 = sv_ec2; |
45
|
62 |
0 |
auto class_name = ec2.stash().name(); |
46
|
62 |
0 |
if (class_name == "XS::ErrorCode") { |
|
0 |
62 |
if (class_name == "XS::ErrorCode") { |
47
|
0 |
0 |
RETVAL = ec1 & xs::in(sv_ec2); |
48
|
62 |
0 |
} else if (class_name == "XS::STL::ErrorCode") { |
|
62 |
0 |
} else if (class_name == "XS::STL::ErrorCode") { |
49
|
62 |
0 |
RETVAL = ec1 == xs::in(sv_ec2); |
53
|
2 |
1 |
} else if (SvIOK(sv_ec2)) { |
54
|
2 |
0 |
int code = Simple(sv_ec2); |
|
2 |
0 |
int code = Simple(sv_ec2); |
66
|
0 |
0 |
std::string std::error_category::message (int ec) : const |
|
0 |
0 |
std::string std::error_category::message (int ec) : const |
69
|
0 |
0 |
RETVAL = THIS->name(); |
81
|
0 |
0 |
else RETVAL = ErrorCode(c); |
93
|
1 |
0 |
RETVAL = ec.message(); |
|
1 |
0 |
RETVAL = ec.message(); |
105
|
0 |
0 |
if (!ec) XSRETURN_UNDEF; |
106
|
0 |
0 |
RETVAL = ec.what(); |
|
0 |
0 |
RETVAL = ec.what(); |
|
0 |
0 |
RETVAL = ec.what(); |
114
|
7 |
1 |
if (sv_ec2.is_object_ref()) { |
115
|
7 |
0 |
Object ec2 = sv_ec2; |
116
|
7 |
0 |
auto class_name = ec2.stash().name(); |
117
|
7 |
0 |
if (class_name == "XS::ErrorCode") { |
|
1 |
6 |
if (class_name == "XS::ErrorCode") { |
118
|
1 |
0 |
RETVAL = ec1 == xs::in(sv_ec2); |
119
|
6 |
0 |
} else if (class_name == "XS::STL::ErrorCode") { |
|
6 |
0 |
} else if (class_name == "XS::STL::ErrorCode") { |
120
|
6 |
0 |
RETVAL = ec1 & xs::in(sv_ec2); |
124
|
1 |
0 |
} else if (SvIOK(sv_ec2)) { |
125
|
1 |
0 |
int code = Simple(sv_ec2); |
|
1 |
0 |
int code = Simple(sv_ec2); |
133
|
1 |
0 |
RETVAL = ec.contains(c); |