• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/xz/src/liblzma/api/lzma/

Lines Matching defs:lzma_stream

323 		 * With a lzma_stream initialized with the single-threaded
351 * A pointer to lzma_allocator may be passed via lzma_stream structure
365 * lzma_allocator given via the lzma_stream structure. The application
366 * must not change the allocator pointer in lzma_stream or the contents
368 * to free the memory associated with that lzma_stream. The allocation
448 * The lzma_stream structure is used for
455 * - After allocating lzma_stream (on stack or with malloc()), it must be
458 * - Initialize a coder to the lzma_stream, for example by using
467 * associated with the lzma_stream structure when the initialization
472 * - Once the coding has been finished, the existing lzma_stream can be
473 * reused. It is OK to reuse lzma_stream with different initialization
478 * frees the lzma_stream structure itself.
524 } lzma_stream;
528 * \brief Initialization for lzma_stream
530 * When you declare an instance of lzma_stream, you can immediately
534 * lzma_stream strm = LZMA_STREAM_INIT;
536 * If you need to initialize a dynamically allocated lzma_stream, you can use
537 * memset(strm_pointer, 0, sizeof(lzma_stream)). Strictly speaking, this
542 * lzma_stream tmp = LZMA_STREAM_INIT;
554 * Once the lzma_stream has been successfully initialized (e.g. with
563 extern LZMA_API(lzma_ret) lzma_code(lzma_stream *strm, lzma_action action)
570 * \param strm Pointer to lzma_stream that is at least initialized
574 * members of the lzma_stream structure are touched.
580 extern LZMA_API(void) lzma_end(lzma_stream *strm) lzma_nothrow;
598 extern LZMA_API(void) lzma_get_progress(lzma_stream *strm,
624 extern LZMA_API(uint64_t) lzma_memusage(const lzma_stream *strm)
637 extern LZMA_API(uint64_t) lzma_memlimit_get(const lzma_stream *strm)
659 lzma_stream *strm, uint64_t memlimit) lzma_nothrow;