• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/libxml2-26/libxml2/

Lines Matching +defs:compression +defs:info

653  * @info:  structure that stores results
659 xmlWrapStatUtf8(const char *path,struct stat *info)
668 retval = _wstat(wPath,info);
673 retval = stat(path,info);
697 * @info: structure that stores results
703 xmlWrapStatNative(const char *path,struct stat *info)
706 return stat(path,info);
1221 * @compression: the compression factor (0 - 9 included)
1229 xmlGzfileOpenW (const char *filename, int compression) {
1234 snprintf(mode, sizeof(mode), "wb%d", compression);
1452 int compression;
1551 *@compression: Compression value to use
1557 * the compression is plagiarized from the zlib source files.
1560 xmlCreateZMemBuff( int compression ) {
1566 if ( ( compression < 1 ) || ( compression > 9 ) )
1586 z_err = deflateInit2( &buff->zctrl, compression, Z_DEFLATED,
1594 "Error initializing compression context. ZLIB error:",
1725 * Flushes the compression buffers, appends gzip file trailers and
1740 /* Need to loop until compression output buffers are flushed */
1754 /* If the compression state is not Z_STREAM_END, some error occurred */
1808 if ( ctxt->compression > 0 ) {
1856 * @compression: The compression desired for the document.
1865 xmlIOHTTPOpenW(const char *post_uri, int compression)
1895 if ((compression > 0) && (compression <= 9)) {
1897 ctxt->compression = compression;
1898 ctxt->doc_buff = xmlCreateZMemBuff(compression);
1921 * Calls xmlIOHTTPOpenW with no compression to set up for a subsequent
1975 if ( ctxt->compression > 0 )
2040 if ( ctxt->compression > 0 ) {
2360 and saving with same compression ratio ... a pain.
2704 int compression ATTRIBUTE_UNUSED) {
2742 if ((compression > 0) && (compression <= 9) && (is_file_uri == 1)) {
2743 context = xmlGzfileOpenW(unescaped, compression);
2760 /* Need to pass compression parameter into HTTP open calls */
2762 context = xmlIOHTTPOpenW(unescaped, compression);
2779 if ((compression > 0) && (compression <= 9) && (is_file_uri == 1)) {
2780 context = xmlGzfileOpenW(URI, compression);
2796 /* Need to pass compression parameter into HTTP open calls */
2798 context = xmlIOHTTPOpenW(URI, compression);
2828 * @compression: the compression ration (0 none, 9 max).
2834 * TODO: currently if compression is set, the library only support
2842 int compression ATTRIBUTE_UNUSED) {
2844 return xmlOutputBufferCreateFilenameValue(URI, encoder, compression);
2846 return __xmlOutputBufferCreateFilename(URI, encoder, compression);