Searched refs:bzerror (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Modules/ |
D | bz2module.c | 149 Util_CatchBZ2Error(int bzerror) in Util_CatchBZ2Error() argument 152 switch(bzerror) { in Util_CatchBZ2Error() 246 int bzerror; in Util_GetLine() local 263 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1); in Util_GetLine() 274 if (bzerror != BZ_OK) break; in Util_GetLine() 275 bytes_read = BZ2_bzRead(&bzerror, f->fp, &c, 1); in Util_GetLine() 289 if (bzerror != BZ_OK || c == '\n') break; in Util_GetLine() 291 if (univ_newline && bzerror == BZ_STREAM_END && skipnextlf) in Util_GetLine() 296 if (bzerror == BZ_STREAM_END) { in Util_GetLine() 300 } else if (bzerror != BZ_OK) { in Util_GetLine() [all …]
|
/external/bzip2/ |
D | bzlib.h | 140 int* bzerror, 149 int* bzerror, 154 int* bzerror, 161 int* bzerror, 168 int* bzerror, 176 int* bzerror, 183 int* bzerror, 191 int* bzerror,
|
D | bzlib.c | 888 if (bzerror != NULL) *bzerror = eee; \ 917 ( int* bzerror, in BZ_API() 965 ( int* bzerror, in BZ_API() 1010 ( int* bzerror, in BZ_API() 1016 BZ2_bzWriteClose64 ( bzerror, b, abandon, in BZ_API() 1022 ( int* bzerror, in BZ_API() 1088 ( int* bzerror, in BZ_API() 1143 void BZ_API(BZ2_bzReadClose) ( int *bzerror, BZFILE *b ) in BZ_API() 1162 ( int* bzerror, in BZ_API() 1222 ( int* bzerror, in BZ_API()
|
/external/python/cpython3/Modules/ |
D | _bz2module.c | 60 catch_bz2_error(int bzerror) in catch_bz2_error() argument 62 switch(bzerror) { in catch_bz2_error() 103 "Unrecognized error from libbzip2: %d", bzerror); in catch_bz2_error() 154 int bzerror; in compress() local 180 bzerror = BZ2_bzCompress(&c->bzs, action); in compress() 183 if (catch_bz2_error(bzerror)) in compress() 187 if (action == BZ_FINISH && bzerror == BZ_STREAM_END) in compress() 299 int bzerror; in _bz2_BZ2Compressor___init___impl() local 316 bzerror = BZ2_bzCompressInit(&self->bzs, compresslevel, 0, 0); in _bz2_BZ2Compressor___init___impl() 317 if (catch_bz2_error(bzerror)) in _bz2_BZ2Compressor___init___impl() [all …]
|
/external/selinux/libsemanage/src/ |
D | direct_api.c | 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 [all …]
|