Home
last modified time | relevance | path

Searched refs:z_err (Results 1 – 3 of 3) sorted by relevance

/external/qemu/distrib/zlib-1.2.3/
Dgzio.c58 int z_err; /* error code for last stream operation */ member
118 s->z_err = Z_OK;
248 s->z_err = Z_ERRNO;
270 if (ferror(s->file)) s->z_err = Z_ERRNO;
304 if (len == 0 && ferror(s->file)) s->z_err = Z_ERRNO;
326 s->z_err = Z_DATA_ERROR;
348 s->z_err = s->z_eof ? Z_DATA_ERROR : Z_OK;
381 if (s->z_err < 0) err = s->z_err;
405 if (s->z_err == Z_DATA_ERROR || s->z_err == Z_ERRNO) return -1;
406 if (s->z_err == Z_STREAM_END) return 0; /* EOF */
[all …]
/external/zlib/
Dgzio.c58 int z_err; /* error code for last stream operation */ member
118 s->z_err = Z_OK;
248 s->z_err = Z_ERRNO;
270 if (ferror(s->file)) s->z_err = Z_ERRNO;
304 if (len == 0 && ferror(s->file)) s->z_err = Z_ERRNO;
326 s->z_err = Z_DATA_ERROR;
348 s->z_err = s->z_eof ? Z_DATA_ERROR : Z_OK;
381 if (s->z_err < 0) err = s->z_err;
405 if (s->z_err == Z_DATA_ERROR || s->z_err == Z_ERRNO) return -1;
406 if (s->z_err == Z_STREAM_END) return 0; /* EOF */
[all …]
/external/libxml2/
DxmlIO.c1350 int z_err; in xmlFreeZMemBuff() local
1358 z_err = deflateEnd( &buff->zctrl ); in xmlFreeZMemBuff()
1359 if ( z_err != Z_OK ) in xmlFreeZMemBuff()
1362 z_err ); in xmlFreeZMemBuff()
1384 int z_err; in xmlCreateZMemBuff() local
1408 z_err = deflateInit2( &buff->zctrl, compression, Z_DEFLATED, in xmlCreateZMemBuff()
1410 if ( z_err != Z_OK ) { in xmlCreateZMemBuff()
1417 z_err ); in xmlCreateZMemBuff()
1506 int z_err; in xmlZMemBuffAppend() local
1525 z_err = deflate( &buff->zctrl, Z_NO_FLUSH ); in xmlZMemBuffAppend()
[all …]