Home
last modified time | relevance | path

Searched refs:bzerror (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Modules/
Dbz2module.c149 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/
Dbzlib.h140 int* bzerror,
149 int* bzerror,
154 int* bzerror,
161 int* bzerror,
168 int* bzerror,
176 int* bzerror,
183 int* bzerror,
191 int* bzerror,
Dbzlib.c888 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/u-boot/include/
Dbzlib.h189 int* bzerror,
198 int* bzerror,
203 int* bzerror,
210 int* bzerror,
217 int* bzerror,
225 int* bzerror,
232 int* bzerror,
240 int* bzerror,
/external/python/cpython3/Modules/
D_bz2module.c62 catch_bz2_error(int bzerror) in catch_bz2_error() argument
64 switch(bzerror) { in catch_bz2_error()
105 "Unrecognized error from libbzip2: %d", bzerror); in catch_bz2_error()
156 int bzerror; in compress() local
182 bzerror = BZ2_bzCompress(&c->bzs, action); in compress()
185 if (catch_bz2_error(bzerror)) in compress()
189 if (action == BZ_FINISH && bzerror == BZ_STREAM_END) in compress()
309 int bzerror; in _bz2_BZ2Compressor___init___impl() local
326 bzerror = BZ2_bzCompressInit(&self->bzs, compresslevel, 0, 0); in _bz2_BZ2Compressor___init___impl()
327 if (catch_bz2_error(bzerror)) in _bz2_BZ2Compressor___init___impl()
[all …]
/external/selinux/libsemanage/src/
Ddirect_api.c461 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 …]
/external/u-boot/lib/bzip2/
Dbzlib.c917 if (bzerror != NULL) *bzerror = eee; \
946 ( int* bzerror, in BZ_API()
993 ( int* bzerror, in BZ_API()
1038 ( int* bzerror, in BZ_API()
1044 BZ2_bzWriteClose64 ( bzerror, b, abandon, in BZ_API()
1050 ( int* bzerror, in BZ_API()
1116 ( int* bzerror, in BZ_API()
1171 void BZ_API(BZ2_bzReadClose) ( int *bzerror, BZFILE *b ) in BZ_API()
1190 ( int* bzerror, in BZ_API()
1250 ( int* bzerror, in BZ_API()