line |
true |
false |
branch |
77
|
0 |
0 |
if $enum->opened
|
80
|
0 |
0 |
if (fcread($flags) and not fctrunc($flags))
|
81
|
0 |
0 |
unless $enum->loadHeader
|
84
|
0 |
0 |
if $enum->{'hclass'} and not $enum->isa($enum->{'hclass'})
|
88
|
0 |
0 |
unless $enum->{'sxfh'} = fcopen("$base.fsx", $flags, $enum->{'perms'})
|
90
|
0 |
0 |
unless $enum->{'ixfh'} = fcopen("$base.fix", $flags, $enum->{'perms'})
|
152
|
0 |
0 |
unless $enum->opened and fcwrite($enum->{'flags'})
|
153
|
0 |
0 |
unless $force or $enum->dirty
|
156
|
0 |
0 |
unless $enum->saveHeader
|
170
|
0 |
0 |
unless $ixfh->print($_)
|
178
|
0 |
0 |
unless $sxfh->print($i2s->[$i], pack($pack_i, $i))
|
188
|
0 |
0 |
unless (caller 1)[3] =~ /::close$/
|
199
|
0 |
0 |
if $enum->loaded or not $enum->opened
|
205
|
0 |
0 |
unless seek $ixfh, 0, 0
|
207
|
0 |
0 |
unless read($ixfh, $ixbuf, $ixlen) == $ixlen
|
211
|
0 |
0 |
if $enum->dirty
|
267
|
0 |
0 |
if $i >= $enum->{'size'}
|
270
|
0 |
0 |
if defined($buf = $enum->{'i2s'}[$i])
|
272
|
0 |
0 |
unless seek $enum->{'ixfh'}, $i * $enum->{'len_s'}, 0
|
275
|
0 |
0 |
unless read($enum->{'ixfh'}, $buf, $enum->{'len_s'}) == $enum->{'len_s'}
|
288
|
0 |
0 |
$enum->{'dirty'} ? :
|
291
|
0 |
0 |
if defined($buf = $enum->{'s2i'}{$key})
|
297
|
0 |
0 |
unless seek $sxfh, $imid * $len_sx, 0
|
299
|
0 |
0 |
unless read($sxfh, $buf, $len_s) == $len_s
|
302
|
0 |
0 |
if ($buf lt $key) { }
|
310
|
0 |
0 |
if ($ilo == $ihi)
|
312
|
0 |
0 |
unless seek $sxfh, $ilo * $len_sx, 0
|
314
|
0 |
0 |
unless read($sxfh, $buf, $len_sx) == $len_sx
|
318
|
0 |
0 |
if $buf eq $key
|
331
|
0 |
0 |
unless ref $re
|
336
|
0 |
0 |
if ($enum->loaded or not $enum->opened)
|
338
|
0 |
0 |
if ($pack_s) { }
|
352
|
0 |
0 |
unless read($ixfh, $buf, $len_s) == $len_s
|
354
|
0 |
0 |
if $pack_s
|
355
|
0 |
0 |
if $buf =~ /$re/
|
359
|
0 |
0 |
if ($enum->dirty)
|
360
|
0 |
0 |
if ($pack_s) { }
|