Searched refs:memlimit (Results 1 - 25 of 41) sorted by relevance

12

/freebsd-current/contrib/xz/src/liblzma/common/
H A Dalone_decoder.h20 uint64_t memlimit, bool picky);
H A Dindex_decoder.h21 lzma_index **i, uint64_t memlimit);
H A Dstream_decoder.h19 uint64_t memlimit, uint32_t flags);
H A Dlzip_decoder.h19 uint64_t memlimit, uint32_t flags);
H A Dauto_decoder.c23 uint64_t memlimit; member in struct:__anon35
60 coder->memlimit, coder->flags));
65 coder->memlimit, coder->flags));
69 allocator, coder->memlimit, true));
146 assert(*old_memlimit == coder->memlimit);
151 *old_memlimit = coder->memlimit;
159 coder->memlimit = new_memlimit;
167 uint64_t memlimit, uint32_t flags)
188 coder->memlimit = my_max(1, memlimit);
166 auto_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, uint32_t flags) argument
[all...]
H A Dindex_decoder.c29 uint64_t memlimit; member in struct:__anon56
100 if (lzma_index_memusage(1, coder->count) > coder->memlimit) {
237 *old_memlimit = coder->memlimit;
243 coder->memlimit = new_memlimit;
252 lzma_index **i, uint64_t memlimit)
268 coder->memlimit = my_max(1, memlimit);
279 lzma_index **i, uint64_t memlimit)
301 return index_decoder_reset(coder, allocator, i, memlimit);
306 lzma_index_decoder(lzma_stream *strm, lzma_index **i, uint64_t memlimit)
251 index_decoder_reset(lzma_index_coder *coder, const lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) argument
278 lzma_index_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, lzma_index **i, uint64_t memlimit) argument
[all...]
H A Dalone_decoder.c40 uint64_t memlimit; member in struct:__anon31
141 if (coder->memusage > coder->memlimit)
192 *old_memlimit = coder->memlimit;
198 coder->memlimit = new_memlimit;
207 uint64_t memlimit, bool picky)
232 coder->memlimit = my_max(1, memlimit);
240 lzma_alone_decoder(lzma_stream *strm, uint64_t memlimit)
242 lzma_next_strm_init(lzma_alone_decoder_init, strm, memlimit, false);
206 lzma_alone_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, bool picky) argument
H A Dstream_buffer_decoder.c16 lzma_stream_buffer_decode(uint64_t *memlimit, uint32_t flags,
37 &stream_decoder, allocator, *memlimit, flags);
79 memlimit, &memusage, 0);
H A Dlzip_decoder.c52 uint64_t memlimit; member in struct:__anon62
221 // the memlimit has been increased.
228 if (coder->memusage > coder->memlimit)
357 *old_memlimit = coder->memlimit;
363 coder->memlimit = new_memlimit;
373 uint64_t memlimit, uint32_t flags)
396 coder->memlimit = my_max(1, memlimit);
409 lzma_lzip_decoder(lzma_stream *strm, uint64_t memlimit, uint32_t flags)
411 lzma_next_strm_init(lzma_lzip_decoder_init, strm, memlimit, flag
371 lzma_lzip_decoder_init( lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, uint32_t flags) argument
[all...]
H A Dstream_decoder.c43 uint64_t memlimit; member in struct:__anon67
231 if (memusage > coder->memlimit) {
411 *old_memlimit = coder->memlimit;
417 coder->memlimit = new_memlimit;
427 uint64_t memlimit, uint32_t flags)
450 coder->memlimit = my_max(1, memlimit);
465 lzma_stream_decoder(lzma_stream *strm, uint64_t memlimit, uint32_t flags)
467 lzma_next_strm_init(lzma_stream_decoder_init, strm, memlimit, flags);
425 lzma_stream_decoder_init( lzma_next_coder *next, const lzma_allocator *allocator, uint64_t memlimit, uint32_t flags) argument
H A Dfile_info.c67 uint64_t memlimit; member in struct:__anon43
427 // Thus memlimit may need to be slightly higher than the final
434 assert(memused <= coder->memlimit);
435 if (memused > coder->memlimit) // Extra sanity check
443 coder->memlimit - memused));
733 *old_memlimit = coder->memlimit;
762 coder->memlimit = new_memlimit;
787 uint64_t memlimit, uint64_t file_size)
826 // If memlimit is 0, make it 1 to ensure that lzma_memlimit_get()
828 coder->memlimit
784 lzma_file_info_decoder_init(lzma_next_coder *next, const lzma_allocator *allocator, uint64_t *seek_pos, lzma_index **dest_index, uint64_t memlimit, uint64_t file_size) argument
[all...]
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_pwhash/
H A Dcrypto_pwhash.c132 unsigned long long opslimit, size_t memlimit, int alg)
137 opslimit, memlimit, alg);
140 opslimit, memlimit, alg);
150 unsigned long long opslimit, size_t memlimit)
153 opslimit, memlimit);
159 unsigned long long opslimit, size_t memlimit, int alg)
164 opslimit, memlimit);
167 opslimit, memlimit);
193 unsigned long long opslimit, size_t memlimit)
197 return crypto_pwhash_argon2id_str_needs_rehash(str, opslimit, memlimit);
129 crypto_pwhash(unsigned char * const out, unsigned long long outlen, const char * const passwd, unsigned long long passwdlen, const unsigned char * const salt, unsigned long long opslimit, size_t memlimit, int alg) argument
148 crypto_pwhash_str(char out[crypto_pwhash_STRBYTES], const char * const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument
157 crypto_pwhash_str_alg(char out[crypto_pwhash_STRBYTES], const char * const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit, int alg) argument
192 crypto_pwhash_str_needs_rehash(const char str[crypto_pwhash_STRBYTES], unsigned long long opslimit, size_t memlimit) argument
[all...]
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_pwhash/argon2/
H A Dpwhash_argon2i.c143 unsigned long long opslimit, size_t memlimit, int alg)
156 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) {
162 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) {
168 if (argon2i_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U),
185 unsigned long long opslimit, size_t memlimit)
192 memlimit > crypto_pwhash_argon2i_MEMLIMIT_MAX) {
198 memlimit < crypto_pwhash_argon2i_MEMLIMIT_MIN) {
203 if (argon2i_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U),
241 _needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit, argument
250 memlimit /
140 crypto_pwhash_argon2i(unsigned char *const out, unsigned long long outlen, const char *const passwd, unsigned long long passwdlen, const unsigned char *const salt, unsigned long long opslimit, size_t memlimit, int alg) argument
182 crypto_pwhash_argon2i_str(char out[crypto_pwhash_argon2i_STRBYTES], const char *const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument
279 crypto_pwhash_argon2i_str_needs_rehash(const char str[crypto_pwhash_argon2i_STRBYTES], unsigned long long opslimit, size_t memlimit) argument
286 crypto_pwhash_argon2id_str_needs_rehash(const char str[crypto_pwhash_argon2id_STRBYTES], unsigned long long opslimit, size_t memlimit) argument
[all...]
H A Dpwhash_argon2id.c139 unsigned long long opslimit, size_t memlimit, int alg)
152 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) {
158 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) {
164 if (argon2id_hash_raw((uint32_t) opslimit, (uint32_t) (memlimit / 1024U),
181 unsigned long long opslimit, size_t memlimit)
188 memlimit > crypto_pwhash_argon2id_MEMLIMIT_MAX) {
194 memlimit < crypto_pwhash_argon2id_MEMLIMIT_MIN) {
199 if (argon2id_hash_encoded((uint32_t) opslimit, (uint32_t) (memlimit / 1024U),
136 crypto_pwhash_argon2id(unsigned char *const out, unsigned long long outlen, const char *const passwd, unsigned long long passwdlen, const unsigned char *const salt, unsigned long long opslimit, size_t memlimit, int alg) argument
178 crypto_pwhash_argon2id_str(char out[crypto_pwhash_argon2id_STRBYTES], const char *const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument
/freebsd-current/sys/contrib/libsodium/src/libsodium/include/sodium/
H A Dcrypto_pwhash.h107 unsigned long long opslimit, size_t memlimit, int alg)
118 unsigned long long opslimit, size_t memlimit)
124 unsigned long long opslimit, size_t memlimit, int alg)
135 unsigned long long opslimit, size_t memlimit)
H A Dcrypto_pwhash_scryptsalsa208sha256.h86 size_t memlimit)
94 size_t memlimit)
113 size_t memlimit)
H A Dcrypto_pwhash_argon2id.h96 unsigned long long opslimit, size_t memlimit,
104 unsigned long long opslimit, size_t memlimit)
115 unsigned long long opslimit, size_t memlimit)
H A Dcrypto_pwhash_argon2i.h96 unsigned long long opslimit, size_t memlimit,
104 unsigned long long opslimit, size_t memlimit)
115 unsigned long long opslimit, size_t memlimit)
/freebsd-current/contrib/llvm-project/lldb/source/Host/common/
H A DLZMA.cpp95 uint64_t memlimit(UINT64_MAX);
98 &xzindex, &memlimit, nullptr,
128 uint64_t memlimit = UINT64_MAX;
132 &memlimit, 0, nullptr, InputBuffer.data(), &inpos, InputBuffer.size(),
/freebsd-current/sys/contrib/libsodium/src/libsodium/crypto_pwhash/scryptsalsa208sha256/
H A Dpwhash_scryptsalsa208sha256.c19 pickparams(unsigned long long opslimit, const size_t memlimit, argument
29 if (opslimit < memlimit / 32) {
38 maxN = memlimit / ((size_t) *r * 128);
162 unsigned long long opslimit, size_t memlimit)
175 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) {
189 unsigned long long opslimit, size_t memlimit)
204 pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) {
272 unsigned long long opslimit, size_t memlimit)
278 if (pickparams(opslimit, memlimit, &N_log2, &p, &r) != 0) {
157 crypto_pwhash_scryptsalsa208sha256(unsigned char *const out, unsigned long long outlen, const char *const passwd, unsigned long long passwdlen, const unsigned char *const salt, unsigned long long opslimit, size_t memlimit) argument
186 crypto_pwhash_scryptsalsa208sha256_str( char out[crypto_pwhash_scryptsalsa208sha256_STRBYTES], const char *const passwd, unsigned long long passwdlen, unsigned long long opslimit, size_t memlimit) argument
270 crypto_pwhash_scryptsalsa208sha256_str_needs_rehash( const char str[crypto_pwhash_scryptsalsa208sha256_STRBYTES], unsigned long long opslimit, size_t memlimit) argument
/freebsd-current/contrib/xz/src/liblzma/api/lzma/
H A Dcontainer.h726 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX
743 lzma_stream *strm, uint64_t memlimit, uint32_t flags)
797 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX
814 lzma_stream *strm, uint64_t memlimit, uint32_t flags)
827 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX
839 lzma_stream *strm, uint64_t memlimit)
881 * \param memlimit Memory usage limit as bytes. Use UINT64_MAX
899 lzma_stream *strm, uint64_t memlimit, uint32_t flags)
906 * \param memlimit Pointer to how much memory the decoder is allowed
939 * The minimum required memlimit valu
[all...]
H A Dindex.h735 * \param memlimit How much memory the resulting lzma_index is
754 lzma_stream *strm, lzma_index **i, uint64_t memlimit)
792 * \param[out] memlimit Pointer to how much memory the resulting
808 * The minimum required memlimit value was stored to *memlimit.
813 uint64_t *memlimit, const lzma_allocator *allocator,
869 * \param memlimit How much memory the resulting lzma_index is
881 uint64_t memlimit, uint64_t file_size)
/freebsd-current/contrib/xz/src/xz/
H A Dhardware.c23 /// If true, then try to use multi-threaded mode (if memlimit allows)
35 /// - Default value for --memlimit-compress when automatic number of threads
40 /// a memlimit that the user didn't explicitly set.
42 /// - Default value for --memlimit-mt-decompress
52 /// This can be set with --memlimit-mt-decompress. The default value for
183 const uint64_t memlimit = mode == MODE_COMPRESS local
185 return memlimit != 0 ? memlimit : UINT64_MAX;
/freebsd-current/sys/contrib/libsodium/test/default/
H A Dpwhash_scrypt.c18 size_t memlimit; member in struct:__anon9575
108 tests[i].opslimit, tests[i].memlimit) != 0) {
125 size_t memlimit; member in struct:__anon9576
157 tests[i].opslimit, tests[i].memlimit) != 0) {
H A Dpwhash_argon2i.c18 size_t memlimit; member in struct:__anon9569
95 tests[i].opslimit, tests[i].memlimit,
115 size_t memlimit; member in struct:__anon9570
147 tests[i].opslimit, tests[i].memlimit,

Completed in 236 milliseconds

12