Home
last modified time | relevance | path

Searched refs:SvIsBOOL (Results 1 – 8 of 8) sorted by relevance

/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/ext/XS-APItest/t/
H A Dboolean.t11 ok(SvIsBOOL(!!0), 'false is boolean');
12 ok(SvIsBOOL(!!1), 'true is boolean');
14 ok(!SvIsBOOL(0), '0 is not boolean');
15 ok(!SvIsBOOL(1), '1 is not boolean');
16 ok(!SvIsBOOL(""), '"" is not boolean');
24 ok(SvIsBOOL($falsevar), 'false var is boolean');
25 ok(SvIsBOOL($truevar), 'true var is boolean');
30 ok(!SvIsBOOL($str), 'stringified true is not boolean');
31 ok(!SvIsBOOL($num), 'numified true is not boolean');
40 ok(SvIsBOOL($hash{false}), 'false HELEM is boolean');
[all …]
H A Dboolean-thr.t16 ok(threads->create( sub { SvIsBOOL($_[0]) }, !!0 )->join,
19 ok(SvIsBOOL(threads->create( sub { return !!0 } )->join),
24 ok(threads->create( sub { SvIsBOOL($var) } )->join,
31 ok(SvIsBOOL($sharedvar),
34 ok(threads->create( sub { SvIsBOOL($sharedvar) } )->join,
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Scalar-List-Utils/
H A DListUtil.xs1673 #ifdef SvIsBOOL
1675 ST(0) = boolSV(SvIsBOOL(sv));
2117 #if !defined(SvWEAKREF) || !defined(SvVOK) || !defined(SvIsBOOL)
2135 #ifndef SvIsBOOL
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/pod/
H A Dperl5354delta.pod297 SvIsBOOL
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/
H A Dsv.h1065 #define SvIsBOOL(sv) Perl_sv_isbool(aTHX_ sv) macro
H A Ddump.c1931 if (SvIsBOOL(sv)) in Perl_do_sv_dump()
H A DMANIFEST4519 ext/XS-APItest/t/boolean.t test SvIsBOOL
4520 ext/XS-APItest/t/boolean-thr.t test SvIsBOOL on threads
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/ext/XS-APItest/
H A DAPItest.xs4308 SvIsBOOL(SV *sv)
4310 RETVAL = SvIsBOOL(sv);