Lines Matching refs:bzerror
379 int bzerror; in bzip() local
397 b = BZ2_bzWriteOpen( &bzerror, f, sh->conf->bzip_blocksize, 0, 0); in bzip()
398 if (bzerror != BZ_OK) { in bzip()
399 BZ2_bzWriteClose ( &bzerror, b, 1, 0, 0 ); in bzip()
409 BZ2_bzWrite ( &bzerror, b, &data[total], len ); in bzip()
410 if (bzerror == BZ_IO_ERROR) { in bzip()
411 BZ2_bzWriteClose ( &bzerror, b, 1, 0, 0 ); in bzip()
417 BZ2_bzWriteClose ( &bzerror, b, 0, 0, 0 ); in bzip()
419 if (bzerror == BZ_IO_ERROR) { in bzip()
437 int bzerror; in bunzip() local
450 bzerror = fread(buf, 1, BZ2_MAGICLEN, f); in bunzip()
452 if ((bzerror != BZ2_MAGICLEN) || memcmp(buf, BZ2_MAGICSTR, BZ2_MAGICLEN)) { in bunzip()
456 b = BZ2_bzReadOpen ( &bzerror, f, 0, sh->conf->bzip_small, NULL, 0 ); in bunzip()
457 if ( bzerror != BZ_OK ) { in bunzip()
468 while ( bzerror == BZ_OK) { in bunzip()
469 nBuf = BZ2_bzRead ( &bzerror, b, buf, bufsize); in bunzip()
470 if (( bzerror == BZ_OK ) || ( bzerror == BZ_STREAM_END )) { in bunzip()
484 if ( bzerror != BZ_STREAM_END ) { in bunzip()
493 BZ2_bzReadClose ( &bzerror, b ); in bunzip()