Searched refs:new_memlimit (Results 1 - 8 of 8) sorted by relevance

/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/xz/
H A Dhardware.c55 hardware_memlimit_set(uint64_t new_memlimit, argument
59 assert(new_memlimit > 0);
60 assert(new_memlimit <= 100);
61 new_memlimit = (uint32_t)new_memlimit * total_ram / 100;
65 memlimit_compress = new_memlimit;
68 memlimit_decompress = new_memlimit;
H A Dhardware.h31 extern void hardware_memlimit_set(uint64_t new_memlimit,
/netbsd-6-1-5-RELEASE/external/public-domain/xz/dist/src/liblzma/common/
H A Dalone_decoder.c174 uint64_t *old_memlimit, uint64_t new_memlimit)
179 if (new_memlimit != 0) {
180 if (new_memlimit < coder->memusage)
183 coder->memlimit = new_memlimit;
173 alone_decoder_memconfig(lzma_coder *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) argument
H A Dauto_decoder.c122 uint64_t *old_memlimit, uint64_t new_memlimit)
128 memusage, old_memlimit, new_memlimit);
138 if (ret == LZMA_OK && new_memlimit != 0)
139 coder->memlimit = new_memlimit;
121 auto_decoder_memconfig(lzma_coder *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) argument
H A Dindex_decoder.c220 uint64_t *old_memlimit, uint64_t new_memlimit)
225 if (new_memlimit != 0) {
226 if (new_memlimit < *memusage)
229 coder->memlimit = new_memlimit;
219 index_decoder_memconfig(lzma_coder *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) argument
H A Dcommon.c373 lzma_memlimit_set(lzma_stream *strm, uint64_t new_memlimit)
383 if (new_memlimit != 0 && new_memlimit < LZMA_MEMUSAGE_BASE)
387 &memusage, &old_memlimit, new_memlimit);
H A Dstream_decoder.c387 uint64_t *old_memlimit, uint64_t new_memlimit)
392 if (new_memlimit != 0) {
393 if (new_memlimit < coder->memusage)
396 coder->memlimit = new_memlimit;
386 stream_decoder_memconfig(lzma_coder *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) argument
H A Dcommon.h147 /// If new_memlimit == 0, the limit is not changed.
149 uint64_t *old_memlimit, uint64_t new_memlimit);

Completed in 116 milliseconds