| line |
true |
false |
branch |
|
18
|
1 |
0 |
int num_bytes = SvIV(num_bytes_SV); |
|
19
|
0 |
1 |
if(New(0,rand_bytes, num_bytes, unsigned char) == NULL) |
|
25
|
1 |
0 |
if(RAND_bytes(rand_bytes, num_bytes)) |
|
27
|
0 |
1 |
XPUSHs(sv_2mortal(newSVpv((const char*)rand_bytes, num_bytes))); |
|
43
|
1 |
0 |
int num_bytes = SvIV(num_bytes_SV); |
|
44
|
0 |
1 |
if(New(0,rand_bytes, num_bytes, unsigned char) == NULL) |
|
50
|
1 |
0 |
if(RAND_bytes(rand_bytes, num_bytes)) |
|
52
|
0 |
1 |
XPUSHs(sv_2mortal(newSVpv((const char*)rand_bytes, num_bytes))); |
|
72
|
1 |
0 |
random_bytes = SvPV(random_bytes_SV, random_bytes_length); |
|
74
|
0 |
1 |
XPUSHs( sv_2mortal( newSViv( RAND_status() ) ) ); |
|
90
|
0 |
0 |
char *egd = SvPV(egd_SV, egd_length); |
|
92
|
0 |
0 |
XPUSHs( sv_2mortal( newSViv( status ) ) ); |
|
103
|
0 |
1 |
XPUSHs( sv_2mortal( newSViv( RAND_status() ) ) ); |