line |
true |
false |
branch |
26
|
0 |
36 |
for (auto& f : end_cbs) f(); |
|
0 |
0 |
for (auto& f : end_cbs) f(); |
40
|
136 |
0 |
string module(strlen(rawmod) + bs.length() + 1); |
41
|
136 |
0 |
module.assign(rawmod); |
44
|
136 |
0 |
auto ptr = module.buf(); |
45
|
2278 |
136 |
for (size_t i = 0; i < len; ++i) { |
46
|
204 |
2074 |
if (ptr[i] != '_' || i >= len - 1 || ptr[i+1] != '_') continue; |
|
204 |
0 |
if (ptr[i] != '_' || i >= len - 1 || ptr[i+1] != '_') continue; |
|
0 |
204 |
if (ptr[i] != '_' || i >= len - 1 || ptr[i+1] != '_') continue; |
52
|
136 |
0 |
auto xsname = module + bs; |
54
|
136 |
0 |
Sub sub = newXS(xsname.c_str(), bootfunc, file); |
|
136 |
0 |
Sub sub = newXS(xsname.c_str(), bootfunc, file); |
|
136 |
0 |
Sub sub = newXS(xsname.c_str(), bootfunc, file); |
55
|
136 |
0 |
sub.call(Simple(module), Simple(version)); |
|
136 |
0 |
sub.call(Simple(module), Simple(version)); |
|
136 |
0 |
sub.call(Simple(module), Simple(version)); |
59
|
0 |
0 |
if (std::this_thread::get_id() == mt_id) return true; |
67
|
36 |
0 |
} |
|
36 |
0 |
} |