| /freebsd/crypto/openssh/regress/unittests/test_helper/ |
| H A D | fuzz.c | 59 int strategy; member 106 switch (fuzz->strategy) { in fuzz_fmt() 109 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 114 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 121 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 126 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 133 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 138 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 144 fuzz_ntop(fuzz->strategy), in fuzz_fmt() 261 fuzz, fuzz_ntop(fuzz->strategy), fuzz->o1, fuzz->o2, fuzz->slen)); in fuzz_strategy_done() [all …]
|
| /freebsd/sys/contrib/zstd/lib/compress/ |
| H A D | zstd_compress_literals.c | 115 ZSTD_minLiteralsToCompress(ZSTD_strategy strategy, HUF_repeat huf_repeat) in ZSTD_minLiteralsToCompress() argument 117 assert((int)strategy >= 0); in ZSTD_minLiteralsToCompress() 118 assert((int)strategy <= 9); in ZSTD_minLiteralsToCompress() 122 { int const shift = MIN(9-(int)strategy, 3); in ZSTD_minLiteralsToCompress() 135 ZSTD_strategy strategy, in ZSTD_compressLiterals() argument 158 if (srcSize < ZSTD_minLiteralsToCompress(strategy, prevHuf->repeatMode)) in ZSTD_compressLiterals() 165 | (strategy < ZSTD_lazy && srcSize <= 1024 ? HUF_flags_preferRepeat : 0) in ZSTD_compressLiterals() 166 | (strategy >= HUF_OPTIMAL_DEPTH_THRESHOLD ? HUF_flags_optimalDepth : 0) in ZSTD_compressLiterals() 187 { size_t const minGain = ZSTD_minGain(srcSize, strategy); in ZSTD_compressLiterals()
|
| H A D | zstd_ldm.c | 149 assert(1 <= (int)cParams->strategy && (int)cParams->strategy <= 9); in ZSTD_ldm_adjustParameters() 151 params->hashRateLog = 7 - (cParams->strategy/3); in ZSTD_ldm_adjustParameters() 159 if (cParams->strategy >= ZSTD_btultra) in ZSTD_ldm_adjustParameters() 163 assert(1 <= (int)cParams->strategy && (int)cParams->strategy <= 9); in ZSTD_ldm_adjustParameters() 164 …params->bucketSizeLog = BOUNDED(LDM_BUCKET_SIZE_LOG, (U32)cParams->strategy, ZSTD_LDM_BUCKETSIZELO… in ZSTD_ldm_adjustParameters() 256 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables() 689 … ZSTD_selectBlockCompressor(cParams->strategy, useRowMatchFinder, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress() 698 if (cParams->strategy >= ZSTD_btopt) { in ZSTD_ldm_blockCompress()
|
| H A D | zstd_compress.c | 225 static int ZSTD_rowMatchFinderSupported(const ZSTD_strategy strategy) { in ZSTD_rowMatchFinderSupported() argument 226 return (strategy >= ZSTD_greedy && strategy <= ZSTD_lazy2); in ZSTD_rowMatchFinderSupported() 232 static int ZSTD_rowMatchFinderUsed(const ZSTD_strategy strategy, const ZSTD_ParamSwitch_e mode) { in ZSTD_rowMatchFinderUsed() argument 234 return ZSTD_rowMatchFinderSupported(strategy) && (mode == ZSTD_ps_enable); in ZSTD_rowMatchFinderUsed() 242 if (!ZSTD_rowMatchFinderSupported(cParams->strategy)) return mode; in ZSTD_resolveRowMatchFinderMode() 251 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveBlockSplitterMode() 255 static int ZSTD_allocateChainTable(const ZSTD_strategy strategy, in ZSTD_allocateChainTable() argument 262 …return forDDSDict || ((strategy != ZSTD_fast) && !ZSTD_rowMatchFinderUsed(strategy, useRowMatchFin… in ZSTD_allocateChainTable() 272 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveEnableLdm() 300 return cParams->strategy == ZSTD_fast || cParams->strategy == ZSTD_dfast; in ZSTD_CDictIndicesAreTagged() [all …]
|
| H A D | zstd_compress_literals.h | 35 ZSTD_strategy strategy, int disableLiteralCompression,
|
| H A D | zstd_compress_sequences.h | 30 ZSTD_strategy const strategy);
|
| /freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
| H A D | zstd_compress_literals.c | 116 ZSTD_minLiteralsToCompress(ZSTD_strategy strategy, HUF_repeat huf_repeat) in ZSTD_minLiteralsToCompress() argument 118 assert((int)strategy >= 0); in ZSTD_minLiteralsToCompress() 119 assert((int)strategy <= 9); in ZSTD_minLiteralsToCompress() 123 { int const shift = MIN(9-(int)strategy, 3); in ZSTD_minLiteralsToCompress() 136 ZSTD_strategy strategy, in ZSTD_compressLiterals() argument 159 if (srcSize < ZSTD_minLiteralsToCompress(strategy, prevHuf->repeatMode)) in ZSTD_compressLiterals() 166 | (strategy < ZSTD_lazy && srcSize <= 1024 ? HUF_flags_preferRepeat : 0) in ZSTD_compressLiterals() 167 | (strategy >= HUF_OPTIMAL_DEPTH_THRESHOLD ? HUF_flags_optimalDepth : 0) in ZSTD_compressLiterals() 188 { size_t const minGain = ZSTD_minGain(srcSize, strategy); in ZSTD_compressLiterals()
|
| H A D | zstd_ldm.c | 150 assert(1 <= (int)cParams->strategy && (int)cParams->strategy <= 9); in ZSTD_ldm_adjustParameters() 152 params->hashRateLog = 7 - (cParams->strategy/3); in ZSTD_ldm_adjustParameters() 160 if (cParams->strategy >= ZSTD_btultra) in ZSTD_ldm_adjustParameters() 164 assert(1 <= (int)cParams->strategy && (int)cParams->strategy <= 9); in ZSTD_ldm_adjustParameters() 165 …params->bucketSizeLog = BOUNDED(LDM_BUCKET_SIZE_LOG, (U32)cParams->strategy, ZSTD_LDM_BUCKETSIZELO… in ZSTD_ldm_adjustParameters() 257 switch(ms->cParams.strategy) in ZSTD_ldm_fillFastTables() 690 … ZSTD_selectBlockCompressor(cParams->strategy, useRowMatchFinder, ZSTD_matchState_dictMode(ms)); in ZSTD_ldm_blockCompress() 699 if (cParams->strategy >= ZSTD_btopt) { in ZSTD_ldm_blockCompress()
|
| H A D | zstd_compress.c | 226 static int ZSTD_rowMatchFinderSupported(const ZSTD_strategy strategy) { in ZSTD_rowMatchFinderSupported() argument 227 return (strategy >= ZSTD_greedy && strategy <= ZSTD_lazy2); in ZSTD_rowMatchFinderSupported() 233 static int ZSTD_rowMatchFinderUsed(const ZSTD_strategy strategy, const ZSTD_ParamSwitch_e mode) { in ZSTD_rowMatchFinderUsed() argument 235 return ZSTD_rowMatchFinderSupported(strategy) && (mode == ZSTD_ps_enable); in ZSTD_rowMatchFinderUsed() 243 if (!ZSTD_rowMatchFinderSupported(cParams->strategy)) return mode; in ZSTD_resolveRowMatchFinderMode() 252 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 17) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveBlockSplitterMode() 256 static int ZSTD_allocateChainTable(const ZSTD_strategy strategy, in ZSTD_allocateChainTable() argument 263 …return forDDSDict || ((strategy != ZSTD_fast) && !ZSTD_rowMatchFinderUsed(strategy, useRowMatchFin… in ZSTD_allocateChainTable() 273 …return (cParams->strategy >= ZSTD_btopt && cParams->windowLog >= 27) ? ZSTD_ps_enable : ZSTD_ps_di… in ZSTD_resolveEnableLdm() 301 return cParams->strategy == ZSTD_fast || cParams->strategy == ZSTD_dfast; in ZSTD_CDictIndicesAreTagged() [all …]
|
| H A D | zstd_compress_literals.h | 36 ZSTD_strategy strategy, int disableLiteralCompression,
|
| H A D | zstd_compress_sequences.h | 31 ZSTD_strategy const strategy);
|
| /freebsd/contrib/libarchive/libarchive/ |
| H A D | archive_entry_link_resolver.c | 84 int strategy; member 131 res->strategy = ARCHIVE_ENTRY_LINKIFY_LIKE_OLD_CPIO; in archive_entry_linkresolver_set_strategy() 137 res->strategy = ARCHIVE_ENTRY_LINKIFY_LIKE_NEW_CPIO; in archive_entry_linkresolver_set_strategy() 140 res->strategy = ARCHIVE_ENTRY_LINKIFY_LIKE_OLD_CPIO; in archive_entry_linkresolver_set_strategy() 145 res->strategy = ARCHIVE_ENTRY_LINKIFY_LIKE_MTREE; in archive_entry_linkresolver_set_strategy() 151 res->strategy = ARCHIVE_ENTRY_LINKIFY_LIKE_TAR; in archive_entry_linkresolver_set_strategy() 154 res->strategy = ARCHIVE_ENTRY_LINKIFY_LIKE_OLD_CPIO; in archive_entry_linkresolver_set_strategy() 199 switch (res->strategy) { in archive_entry_linkify()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | Parallel.cpp | 19 llvm::ThreadPoolStrategy llvm::parallel::strategy; member in llvm::parallel 94 static void *call() { return new ThreadPoolExecutor(strategy); } in call() 165 static ThreadPoolExecutor Exec(strategy); in getDefaultExecutor() 183 : Parallel((parallel::strategy.ThreadsRequested != 1) && in TaskGroup() 214 if (parallel::strategy.ThreadsRequested != 1) { in parallelFor()
|
| /freebsd/sys/ddb/ |
| H A D | db_sym.c | 369 db_search_symbol(db_addr_t val, db_strategy_t strategy, db_expr_t *offp) in db_search_symbol() argument 391 sym = X_db_search_symbol(&db_symtabs[i], val, strategy, &newdiff); in db_search_symbol() 442 db_printsym(db_expr_t off, db_strategy_t strategy) in db_printsym() argument 454 cursym = db_search_symbol(off, strategy, &d); in db_printsym() 467 if (strategy == DB_STGY_PROC) { in db_printsym()
|
| H A D | db_sym.h | 101 db_strategy_t strategy, db_expr_t *diffp);
|
| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | sendto_kdc.c | 454 k5_transport_strategy strategy; in k5_sendto_kdc() local 492 strategy = NO_UDP; in k5_sendto_kdc() 494 strategy = UDP_FIRST; in k5_sendto_kdc() 496 strategy = UDP_LAST; in k5_sendto_kdc() 520 retval = k5_sendto(context, message, realm, &servers, strategy, NULL, in k5_sendto_kdc() 807 k5_transport_strategy strategy, const krb5_data *message, in resolve_server() argument 819 if (strategy == NO_UDP && entry->transport == UDP) in resolve_server() 821 if (strategy == ONLY_UDP && entry->transport != UDP && in resolve_server() 825 transport = (strategy == UDP_FIRST || strategy == ONLY_UDP) ? UDP : TCP; in resolve_server() 831 defer = (entry->transport == TCP && strategy == UDP_FIRST) || in resolve_server() [all …]
|
| /freebsd/sys/contrib/zlib/ |
| H A D | zlib.h | 715 int strategy); 1448 ZEXTERN int ZEXPORT gzsetparams(gzFile file, int level, int strategy); 1914 int strategy, const char *version, 1927 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument 1929 (strategy), ZLIB_VERSION, (int)sizeof(z_stream)) 1941 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument 1943 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
|
| H A D | gzwrite.c | 38 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy); in gz_init() 631 int ZEXPORT gzsetparams(gzFile file, int level, int strategy) { in gzsetparams() argument 648 if (level == state->level && strategy == state->strategy) in gzsetparams() 660 deflateParams(strm, level, strategy); in gzsetparams() 663 state->strategy = strategy; in gzsetparams()
|
| H A D | gzlib.c | 113 state->strategy = Z_DEFAULT_STRATEGY; in gz_open() 147 state->strategy = Z_FILTERED; in gz_open() 150 state->strategy = Z_HUFFMAN_ONLY; in gz_open() 153 state->strategy = Z_RLE; in gz_open() 156 state->strategy = Z_FIXED; in gz_open()
|
| H A D | deflate.c | 388 int windowBits, int memLevel, int strategy, in deflateInit2_() argument 436 strategy < 0 || strategy > Z_FIXED || (windowBits == 8 && wrap != 1)) { in deflateInit2_() 529 s->strategy = strategy; in deflateInit2_() 774 int ZEXPORT deflateParams(z_streamp strm, int level, int strategy) { in deflateParams() argument 786 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) { in deflateParams() 791 if ((strategy != s->strategy || func != configuration_table[level].func) && in deflateParams() 814 s->strategy = strategy; in deflateParams() 1036 if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2) in deflate() 1079 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? in deflate() 1103 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? in deflate() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | Parallel.h | 31 LLVM_ABI extern ThreadPoolStrategy strategy; 35 if (parallel::strategy.ThreadsRequested == 1) \ 221 if (parallel::strategy.ThreadsRequested != 1) { 243 if (parallel::strategy.ThreadsRequested != 1) { in parallelTransformReduce()
|
| /freebsd/sys/contrib/zstd/zlibWrapper/ |
| H A D | gzwrite.c | 48 MAX_WBITS + 16, DEF_MEM_LEVEL, state.state->strategy); in gz_init() 558 int ZEXPORT gzsetparams(gzFile file, int level, int strategy) { in gzsetparams() argument 573 if (level == state.state->level && strategy == state.state->strategy) in gzsetparams() 588 deflateParams(strm, level, strategy); in gzsetparams() 591 state.state->strategy = strategy; in gzsetparams()
|
| H A D | gzlib.c | 116 state.state->strategy = Z_DEFAULT_STRATEGY; in gz_open() 150 state.state->strategy = Z_FILTERED; in gz_open() 153 state.state->strategy = Z_HUFFMAN_ONLY; in gz_open() 156 state.state->strategy = Z_RLE; in gz_open() 159 state.state->strategy = Z_FIXED; in gz_open()
|
| /freebsd/sys/contrib/zstd/programs/ |
| H A D | zstdcli.c | 628 …ngPtr, "strategy=") || longCommandWArg(&stringPtr, "strat=")) { params->strategy = (ZSTD_strategy)… in parseCompressionParameters() 650 params->strategy = ZSTD_STRATEGY_MAX; in setMaxCompression() 720 assert(cParams.strategy < ZSTD_NB_STRATEGIES + 1); in printDefaultCParams() 721 …- strategy : %s (%u)\n", ZSTD_strategyMap[(int)cParams.strategy], (unsigned)cParams.strategy); in printDefaultCParams() 735 actualCParams.strategy = cParams->strategy == 0 ? actualCParams.strategy : cParams->strategy; in printActualCParams() 738 actualCParams.minMatch, actualCParams.targetLength, actualCParams.strategy); in printActualCParams()
|
| /freebsd/usr.sbin/bhyve/amd64/ |
| H A D | e820.h | 42 const enum e820_allocation_strategy strategy);
|