Lines Matching refs:bzerror
461 int bzerror; in bzip() local
479 b = BZ2_bzWriteOpen( &bzerror, f, sh->conf->bzip_blocksize, 0, 0); in bzip()
480 if (bzerror != BZ_OK) { in bzip()
481 BZ2_bzWriteClose ( &bzerror, b, 1, 0, 0 ); in bzip()
491 BZ2_bzWrite ( &bzerror, b, &data[total], len ); in bzip()
492 if (bzerror == BZ_IO_ERROR) { in bzip()
493 BZ2_bzWriteClose ( &bzerror, b, 1, 0, 0 ); in bzip()
499 BZ2_bzWriteClose ( &bzerror, b, 0, 0, 0 ); in bzip()
501 if (bzerror == BZ_IO_ERROR) { in bzip()
519 int bzerror; in bunzip() local
532 bzerror = fread(buf, 1, BZ2_MAGICLEN, f); in bunzip()
534 if ((bzerror != BZ2_MAGICLEN) || memcmp(buf, BZ2_MAGICSTR, BZ2_MAGICLEN)) { in bunzip()
538 b = BZ2_bzReadOpen ( &bzerror, f, 0, sh->conf->bzip_small, NULL, 0 ); in bunzip()
539 if ( bzerror != BZ_OK ) { in bunzip()
550 while ( bzerror == BZ_OK) { in bunzip()
551 nBuf = BZ2_bzRead ( &bzerror, b, buf, bufsize); in bunzip()
552 if (( bzerror == BZ_OK ) || ( bzerror == BZ_STREAM_END )) { in bunzip()
566 if ( bzerror != BZ_STREAM_END ) { in bunzip()
575 BZ2_bzReadClose ( &bzerror, b ); in bunzip()