| line |
true |
false |
branch |
|
58
|
0 |
0 |
if ( (listLen = bpc_attrib_xattrList(file, NULL, 0, 0)) > 0 ) { |
|
61
|
0 |
0 |
if ( keys && bpc_attrib_xattrList(file, keys, listLen, 0) > 0 ) { |
|
|
0 |
0 |
if ( keys && bpc_attrib_xattrList(file, keys, listLen, 0) > 0 ) { |
|
63
|
0 |
0 |
for ( i = 0, p = keys ; i < listLen ; ) { |
|
72
|
0 |
0 |
if ( !xattr ) continue; |
|
77
|
0 |
0 |
if ( keys ) free(keys); |
|
88
|
0 |
0 |
hv_get_uint(hv, "uid", file->uid); |
|
|
0 |
0 |
hv_get_uint(hv, "uid", file->uid); |
|
|
0 |
0 |
hv_get_uint(hv, "uid", file->uid); |
|
89
|
0 |
0 |
hv_get_uint(hv, "gid", file->gid); |
|
|
0 |
0 |
hv_get_uint(hv, "gid", file->gid); |
|
|
0 |
0 |
hv_get_uint(hv, "gid", file->gid); |
|
90
|
0 |
0 |
hv_get_uint(hv, "type", file->type); |
|
|
0 |
0 |
hv_get_uint(hv, "type", file->type); |
|
|
0 |
0 |
hv_get_uint(hv, "type", file->type); |
|
91
|
0 |
0 |
hv_get_uint(hv, "mode", file->mode); |
|
|
0 |
0 |
hv_get_uint(hv, "mode", file->mode); |
|
|
0 |
0 |
hv_get_uint(hv, "mode", file->mode); |
|
92
|
0 |
0 |
hv_get_uint(hv, "size", file->size); |
|
|
0 |
0 |
hv_get_uint(hv, "size", file->size); |
|
|
0 |
0 |
hv_get_uint(hv, "size", file->size); |
|
93
|
0 |
0 |
hv_get_int(hv, "mtime", file->mtime); |
|
|
0 |
0 |
hv_get_int(hv, "mtime", file->mtime); |
|
|
0 |
0 |
hv_get_int(hv, "mtime", file->mtime); |
|
94
|
0 |
0 |
hv_get_uint(hv, "inode", file->inode); |
|
|
0 |
0 |
hv_get_uint(hv, "inode", file->inode); |
|
|
0 |
0 |
hv_get_uint(hv, "inode", file->inode); |
|
95
|
0 |
0 |
hv_get_uint(hv, "nlinks", file->nlinks); |
|
|
0 |
0 |
hv_get_uint(hv, "nlinks", file->nlinks); |
|
|
0 |
0 |
hv_get_uint(hv, "nlinks", file->nlinks); |
|
96
|
0 |
0 |
hv_get_uint(hv, "compress", file->compress); |
|
|
0 |
0 |
hv_get_uint(hv, "compress", file->compress); |
|
|
0 |
0 |
hv_get_uint(hv, "compress", file->compress); |
|
97
|
0 |
0 |
hv_get_str(hv, "digest", digestStr, digestLen); |
|
|
0 |
0 |
hv_get_str(hv, "digest", digestStr, digestLen); |
|
|
0 |
0 |
hv_get_str(hv, "digest", digestStr, digestLen); |
|
98
|
0 |
0 |
if ( 0 < digestLen && digestLen <= sizeof(file->digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < digestLen && digestLen <= sizeof(file->digest.digest) ) { |
|
104
|
0 |
0 |
if ( (svp = hv_fetch(hv, "xattr", 5, 0)) && *svp ) { |
|
|
0 |
0 |
if ( (svp = hv_fetch(hv, "xattr", 5, 0)) && *svp ) { |
|
112
|
0 |
0 |
while ( (he = hv_iternext(hvXattr)) ) { |
|
118
|
0 |
0 |
value = SvPV(valSV, valueLen); |
|
136
|
0 |
0 |
if ( bpc_fileZIO_open(RETVAL, fileName, writeFile, compressLevel) < 0 ) { |
|
152
|
0 |
0 |
if ( bpc_fileZIO_fdopen(RETVAL, stream, writeFile, compressLevel) < 0 ) { |
|
194
|
0 |
0 |
if ( SvROK(data) ) { |
|
195
|
0 |
0 |
str = SvPV(SvRV(data), len); |
|
215
|
0 |
0 |
if ( SvROK(data) ) { |
|
217
|
0 |
0 |
if (! SvOK(d)) |
|
|
0 |
0 |
if (! SvOK(d)) |
|
|
0 |
0 |
if (! SvOK(d)) |
|
219
|
0 |
0 |
SvGROW(d, len); |
|
|
0 |
0 |
SvGROW(d, len); |
|
220
|
0 |
0 |
str = SvPV(d, dLen); |
|
222
|
0 |
0 |
if ( RETVAL >= 0 ) { |
|
241
|
0 |
0 |
if ( bpc_fileZIO_readLine(fd, &str, &strLen) || !str ) XSRETURN_UNDEF; |
|
|
0 |
0 |
if ( bpc_fileZIO_readLine(fd, &str, &strLen) || !str ) XSRETURN_UNDEF; |
|
287
|
0 |
0 |
if ( !SvPOK(d) ) { |
|
290
|
0 |
0 |
str = SvPV(d, len); |
|
291
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
294
|
0 |
0 |
if ( bpc_poolRefGet(info, &digest, &count) ) XSRETURN_UNDEF; |
|
314
|
0 |
0 |
if ( !SvPOK(d) ) { |
|
317
|
0 |
0 |
str = SvPV(d, len); |
|
318
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
340
|
0 |
0 |
if ( !SvPOK(d) ) { |
|
343
|
0 |
0 |
str = SvPV(d, len); |
|
344
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
347
|
0 |
0 |
if ( bpc_poolRefDelete(info, &digest) ) XSRETURN_UNDEF; |
|
367
|
0 |
0 |
if ( !SvPOK(d) ) { |
|
370
|
0 |
0 |
str = SvPV(d, len); |
|
371
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
391
|
0 |
0 |
if ( !bpc_poolRefIterate(info, &digest, &count, &idx) ) { |
|
392
|
0 |
0 |
EXTEND(SP, 3); |
|
447
|
0 |
0 |
if ( SvPOK(d) ) { |
|
448
|
0 |
0 |
str = SvPV(d, len); |
|
449
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
504
|
0 |
0 |
if ( SvPOK(d) ) { |
|
505
|
0 |
0 |
str = SvPV(d, len); |
|
506
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
531
|
0 |
0 |
if ( d && SvPOK(d) ) { |
|
|
0 |
0 |
if ( d && SvPOK(d) ) { |
|
536
|
0 |
0 |
str = SvPV(d, len); |
|
537
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
547
|
0 |
0 |
if ( ret ) { |
|
576
|
0 |
0 |
EXTEND(SP, 4); |
|
592
|
0 |
0 |
if ( SvROK(data) ) { |
|
593
|
0 |
0 |
str = SvPV(SvRV(data), len); |
|
638
|
0 |
0 |
if ( fileName ) { |
|
640
|
0 |
0 |
if ( !file ) XSRETURN_UNDEF; |
|
646
|
0 |
0 |
if ( (entrySize = bpc_attrib_getEntries(dir, NULL, 0)) > 0 ) { |
|
649
|
0 |
0 |
if ( entries && bpc_attrib_getEntries(dir, entries, entrySize) > 0 ) { |
|
|
0 |
0 |
if ( entries && bpc_attrib_getEntries(dir, entries, entrySize) > 0 ) { |
|
651
|
0 |
0 |
for ( i = 0, p = entries ; i < entrySize ; ) { |
|
658
|
0 |
0 |
if ( !file ) continue; |
|
663
|
0 |
0 |
if ( entries ) free(entries); |
|
665
|
0 |
0 |
if ( !RETVAL ) XSRETURN_UNDEF; |
|
681
|
0 |
0 |
if ( !file ) { |
|
697
|
0 |
0 |
if ( digest && digest->len > 0 ) { |
|
|
0 |
0 |
if ( digest && digest->len > 0 ) { |
|
698
|
0 |
0 |
EXTEND(SP, 1); |
|
711
|
0 |
0 |
if ( !bpc_attrib_fileIterate(dir, &file, &idx) && file ) { |
|
|
0 |
0 |
if ( !bpc_attrib_fileIterate(dir, &file, &idx) && file ) { |
|
712
|
0 |
0 |
EXTEND(SP, 2); |
|
746
|
0 |
0 |
if ( !*dirPath ) dirPath = NULL; |
|
759
|
0 |
0 |
if ( !*dirPath ) dirPath = NULL; |
|
760
|
0 |
0 |
if ( d && SvPOK(d) ) { |
|
|
0 |
0 |
if ( d && SvPOK(d) ) { |
|
765
|
0 |
0 |
str = SvPV(d, len); |
|
766
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
|
0 |
0 |
if ( 0 < len && len < sizeof(digest.digest) ) { |
|
838
|
0 |
0 |
if ( !file ) XSRETURN_UNDEF; |
|
879
|
0 |
0 |
if ( !file ) XSRETURN_UNDEF; |
|
931
|
0 |
0 |
if ( (entrySize = bpc_attribCache_getDirEntries(ac, pathCopy, NULL, 0)) > 0 ) { |
|
934
|
0 |
0 |
if ( entries && bpc_attribCache_getDirEntries(ac, pathCopy, entries, entrySize) > 0 ) { |
|
|
0 |
0 |
if ( entries && bpc_attribCache_getDirEntries(ac, pathCopy, entries, entrySize) > 0 ) { |
|
936
|
0 |
0 |
for ( i = 0, p = entries ; i < entrySize ; ) { |
|
946
|
0 |
0 |
if ( !file ) continue; |
|
952
|
0 |
0 |
if ( entries ) free(entries); |
|
954
|
0 |
0 |
if ( !RETVAL ) XSRETURN_UNDEF; |
|
1023
|
0 |
0 |
EXTEND(SP, 2); |
|
1087
|
0 |
0 |
if ( mesgLen == 0 ) XSRETURN_UNDEF; |
|
1090
|
0 |
0 |
for ( i = 0, p = mesg ; i < mesgLen ; ) { |