Lines Matching refs:bzerror
442 int bzerror; in bzip() local
460 b = BZ2_bzWriteOpen( &bzerror, f, sh->conf->bzip_blocksize, 0, 0); in bzip()
461 if (bzerror != BZ_OK) { in bzip()
462 BZ2_bzWriteClose ( &bzerror, b, 1, 0, 0 ); in bzip()
472 BZ2_bzWrite ( &bzerror, b, &data[total], len ); in bzip()
473 if (bzerror == BZ_IO_ERROR) { in bzip()
474 BZ2_bzWriteClose ( &bzerror, b, 1, 0, 0 ); in bzip()
480 BZ2_bzWriteClose ( &bzerror, b, 0, 0, 0 ); in bzip()
482 if (bzerror == BZ_IO_ERROR) { in bzip()
500 int bzerror; in bunzip() local
513 bzerror = fread(buf, 1, BZ2_MAGICLEN, f); in bunzip()
515 if ((bzerror != BZ2_MAGICLEN) || memcmp(buf, BZ2_MAGICSTR, BZ2_MAGICLEN)) { in bunzip()
519 b = BZ2_bzReadOpen ( &bzerror, f, 0, sh->conf->bzip_small, NULL, 0 ); in bunzip()
520 if ( bzerror != BZ_OK ) { in bunzip()
531 while ( bzerror == BZ_OK) { in bunzip()
532 nBuf = BZ2_bzRead ( &bzerror, b, buf, bufsize); in bunzip()
533 if (( bzerror == BZ_OK ) || ( bzerror == BZ_STREAM_END )) { in bunzip()
547 if ( bzerror != BZ_STREAM_END ) { in bunzip()
556 BZ2_bzReadClose ( &bzerror, b ); in bunzip()