Home
last modified time | relevance | path

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

/openbsd/src/gnu/usr.bin/perl/ext/XS-APItest/t/
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');
33 ok(SvIsBOOL($truevar), 'true var remains boolean after stringification and numification');
[all …]
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,
/openbsd/src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/todo/
D50350043 SvIsBOOL # U
/openbsd/src/gnu/usr.bin/perl/
Dbuiltin.c417 ST(0) = boolSV(SvPOK(arg) && !SvIsBOOL(arg)); in XS()
432 ST(0) = boolSV(SvNIOK(arg) && !SvPOK(arg) && !SvIsBOOL(arg)); in XS()
Dsv.h1190 #define SvIsBOOL(sv) Perl_sv_isbool(aTHX_ sv) macro
Ddump.c2081 if (SvIsBOOL(sv)) in Perl_do_sv_dump()
Dpp_sys.c2969 if (SvPOK(sv) && !SvIsBOOL(sv)) { /* sv is originally a string */
Dpp.c7869 rpp_replace_1_IMM_NN(boolSV(SvIsBOOL(arg))); in PP()
DMANIFEST5094 ext/XS-APItest/t/boolean.t test SvIsBOOL
5095 ext/XS-APItest/t/boolean-thr.t test SvIsBOOL on threads
/openbsd/src/gnu/usr.bin/perl/dist/Data-Dumper/
DDumper.xs1280 #ifdef SvIsBOOL in DD_dump()
1281 if (SvIsBOOL(val)) { in DD_dump()
/openbsd/src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/base/
D5035004297 SvIsBOOL # U
/openbsd/src/gnu/usr.bin/perl/dist/Storable/
DStorable.xs2460 #ifdef SvIsBOOL in store_scalar()
2461 } else if (SvIsBOOL(sv)) { in store_scalar()
/openbsd/src/gnu/usr.bin/perl/ext/B/
DB.xs1426 SvIsBOOL(sv)
/openbsd/src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/
Dapidoc.fnc865 Amd|bool|SvIsBOOL|SV* sv
/openbsd/src/gnu/usr.bin/perl/ext/XS-APItest/
DAPItest.xs4556 SvIsBOOL(SV *sv)
4558 RETVAL = SvIsBOOL(sv);
/openbsd/src/gnu/usr.bin/perl/pod/
Dperl5360delta.pod1217 SvIsBOOL
Dperlguts.pod325 if (SvIsBOOL(sv)) {