Home
last modified time | relevance | path

Searched refs:strategy (Results 1 – 25 of 159) sorted by relevance

1234567

/external/squashfs-tools/squashfs-tools/
Dgzip_wrapper.c33 static struct strategy strategy[] = { variable
112 for(i = 0; strategy[i].name; i++) { in gzip_options()
113 int n = strlen(strategy[i].name); in gzip_options()
114 if((strncmp(name, strategy[i].name, n) == 0) && in gzip_options()
117 if(strategy[i].selected == 0) { in gzip_options()
118 strategy[i].selected = 1; in gzip_options()
125 if(strategy[i].name == NULL) { in gzip_options()
152 if(strategy_count == 1 && strategy[0].selected) { in gzip_options_post()
154 strategy[0].selected = 0; in gzip_options_post()
190 for(i = 0; strategy[i].name; i++) in gzip_dump_options()
[all …]
Dgzip_wrapper.h42 (s)->strategy = inswap_le16((s)->strategy); \
55 short strategy; member
58 struct strategy { struct
60 int strategy; argument
65 int strategy; member
73 struct gzip_strategy strategy[0]; member
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
DLruBitmapPool.java24 private final LruPoolStrategy strategy; field in LruBitmapPool
36 LruBitmapPool(int maxSize, LruPoolStrategy strategy) { in LruBitmapPool() argument
39 this.strategy = strategy; in LruBitmapPool()
65 if (!bitmap.isMutable() || strategy.getSize(bitmap) > maxSize) { in put()
67 Log.v(TAG, "Reject bitmap from pool=" + strategy.logBitmap(bitmap) + " is mutable=" in put()
73 final int size = strategy.getSize(bitmap); in put()
74 strategy.put(bitmap); in put()
81 Log.v(TAG, "Put bitmap in pool=" + strategy.logBitmap(bitmap)); in put()
111 final Bitmap result = strategy.get(width, height, config != null ? config : DEFAULT_CONFIG); in getDirty()
114 Log.d(TAG, "Missing bitmap=" + strategy.logBitmap(width, height, config)); in getDirty()
[all …]
/external/guava/guava/src/com/google/common/hash/
DBloomFilter.java98 private final Strategy strategy; field in BloomFilter
104 Strategy strategy) { in BloomFilter() argument
112 this.strategy = checkNotNull(strategy); in BloomFilter()
122 return new BloomFilter<T>(bits.copy(), numHashFunctions, funnel, strategy); in copy()
130 return strategy.mightContain(object, funnel, numHashFunctions, bits); in mightContain()
156 return strategy.put(object, funnel, numHashFunctions, bits); in put()
202 (this.strategy.equals(that.strategy)) && in isCompatible()
225 checkArgument(this.strategy.equals(that.strategy), in putAll()
227 this.strategy, that.strategy); in putAll()
244 && this.strategy.equals(that.strategy); in equals()
[all …]
/external/objenesis/main/src/org/objenesis/
DObjenesisBase.java22 import org.objenesis.strategy.InstantiatorStrategy;
33 protected final InstantiatorStrategy strategy; field in ObjenesisBase
43 public ObjenesisBase(InstantiatorStrategy strategy) { in ObjenesisBase() argument
44 this(strategy, true); in ObjenesisBase()
53 public ObjenesisBase(InstantiatorStrategy strategy, boolean useCache) { in ObjenesisBase() argument
54 if(strategy == null) { in ObjenesisBase()
57 this.strategy = strategy; in ObjenesisBase()
62 return getClass().getName() + " using " + strategy.getClass().getName() in toString()
86 return strategy.newInstantiatorOf(clazz); in getInstantiatorOf()
90 instantiator = strategy.newInstantiatorOf(clazz); in getInstantiatorOf()
/external/ceres-solver/internal/ceres/
Ddogleg_strategy_test.cc139 DoglegStrategy strategy(options_); in TEST_F() local
142 TrustRegionStrategy::Summary summary = strategy.ComputeStep(pso, in TEST_F()
159 DoglegStrategy strategy(options_); in TEST_F() local
162 TrustRegionStrategy::Summary summary = strategy.ComputeStep(pso, in TEST_F()
179 DoglegStrategy strategy(options_); in TEST_F() local
182 TrustRegionStrategy::Summary summary = strategy.ComputeStep(pso, in TEST_F()
206 DoglegStrategy strategy(options_); in TEST_F() local
209 strategy.ComputeStep(pso, jacobian_.get(), residual_.data(), x_.data()); in TEST_F()
212 const Matrix basis = strategy.subspace_basis(); in TEST_F()
218 const Vector gradient = strategy.gradient(); in TEST_F()
[all …]
Dtrust_region_minimizer.cc133 TrustRegionStrategy* strategy = CHECK_NOTNULL(options_.trust_region_strategy); in Minimize() local
173 iteration_summary.trust_region_radius = strategy->Radius(); in Minimize()
299 strategy->ComputeStep(per_solve_options, in Minimize()
568 strategy->StepAccepted(iteration_summary.relative_decrease); in Minimize()
660 strategy->StepRejected(iteration_summary.relative_decrease); in Minimize()
662 strategy->StepIsInvalid(); in Minimize()
667 iteration_summary.trust_region_radius = strategy->Radius(); in Minimize()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DAbstractClassGenerator.java39 private GeneratorStrategy strategy = DefaultGeneratorStrategy.INSTANCE; field in AbstractClassGenerator
147 public void setStrategy(GeneratorStrategy strategy) {
148 if (strategy == null)
149 strategy = DefaultGeneratorStrategy.INSTANCE;
150 this.strategy = strategy;
157 return strategy;
217 byte[] b = strategy.generate(this);
/external/zopfli/src/zopflipng/
Dzopflipng_bin.cc198 ZopfliPNGFilterStrategy strategy = kStrategyZero; in main() local
201 case '0': strategy = kStrategyZero; break; in main()
202 case '1': strategy = kStrategyOne; break; in main()
203 case '2': strategy = kStrategyTwo; break; in main()
204 case '3': strategy = kStrategyThree; break; in main()
205 case '4': strategy = kStrategyFour; break; in main()
206 case 'm': strategy = kStrategyMinSum; break; in main()
207 case 'e': strategy = kStrategyEntropy; break; in main()
208 case 'p': strategy = kStrategyPredefined; break; in main()
209 case 'b': strategy = kStrategyBruteForce; break; in main()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DSplitter.java103 private final Strategy strategy; field in Splitter
106 private Splitter(Strategy strategy) { in Splitter() argument
107 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE); in Splitter()
110 private Splitter(Strategy strategy, boolean omitEmptyStrings, in Splitter() argument
112 this.strategy = strategy; in Splitter()
258 return new Splitter(strategy, true, trimmer, limit);
283 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
316 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
344 return strategy.iterator(this, sequence);
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
DAwtPanel.java37 private BufferStrategy strategy; field in AwtPanel
105 if (strategy != null){ in checkVisibilityState()
107 strategy = null; in checkVisibilityState()
145 if (strategy == null){ in drawFrameInThread()
156 strategy = getBufferStrategy(); in drawFrameInThread()
163 Graphics2D g2d = (Graphics2D) strategy.getDrawGraphics(); in drawFrameInThread()
174 strategy.show(); in drawFrameInThread()
175 } while (strategy.contentsRestored()); in drawFrameInThread()
176 } while (strategy.contentsLost()); in drawFrameInThread()
/external/guava/guava/src/com/google/common/base/
DSplitter.java106 private final Strategy strategy; field in Splitter
109 private Splitter(Strategy strategy) { in Splitter() argument
110 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE); in Splitter()
113 private Splitter(Strategy strategy, boolean omitEmptyStrings, in Splitter() argument
115 this.strategy = strategy; in Splitter()
316 return new Splitter(strategy, true, trimmer, limit);
341 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
374 return new Splitter(strategy, omitEmptyStrings, trimmer, limit);
402 return strategy.iterator(this, sequence);
/external/mockito/src/org/mockito/internal/configuration/injection/
DMockInjectionStrategy.java40 public MockInjectionStrategy thenTry(MockInjectionStrategy strategy) {
42 nextStrategy.thenTry(strategy);
44 nextStrategy = strategy;
46 return strategy;
/external/emma/core/java12/com/vladium/util/
DClassLoaderResolver.java125 public static synchronized IClassLoadStrategy setStrategy (final IClassLoadStrategy strategy) in setStrategy() argument
127 if (strategy == null) throw new IllegalArgumentException ("null input: strategy"); in setStrategy()
130 s_strategy = strategy; in setStrategy()
/external/zlib/src/contrib/minizip/
Dzip.h229 int strategy,
246 int strategy,
272 int strategy,
293 int strategy,
/external/zlib/src/
Dgzwrite.c43 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy);
497 int ZEXPORT gzsetparams(file, level, strategy) in gzsetparams() argument
500 int strategy;
516 if (level == state->level && strategy == state->strategy)
531 deflateParams(strm, level, strategy);
534 state->strategy = strategy;
Ddeflate.c213 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy, in deflateInit2_() argument
220 int strategy;
273 strategy < 0 || strategy > Z_FIXED) {
316 s->strategy = strategy;
490 int ZEXPORT deflateParams(strm, level, strategy) in deflateParams() argument
493 int strategy;
507 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {
512 if ((strategy != s->strategy || func != configuration_table[level].func) &&
526 s->strategy = strategy;
704 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ?
[all …]
/external/zlib/src/contrib/pascal/
Dzlibpas.pas115 memLevel, strategy: Integer): Integer;
120 function deflateParams(var strm: z_stream; level, strategy: Integer): Integer; in deflateParams()
165 level, method, windowBits, memLevel, strategy: Integer;
233 strategy: Integer): Integer;
235 Result := deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
Dgzwrite.c43 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy); in gz_init()
499 int strategy) in gzsetparams() argument
515 if (level == state->level && strategy == state->strategy) in gzsetparams()
530 deflateParams(strm, level, strategy); in gzsetparams()
533 state->strategy = strategy; in gzsetparams()
Dfx_zlib_deflate.c219 int strategy, in deflateInit2_() argument
272 strategy < 0 || strategy > Z_FIXED) { in deflateInit2_()
315 s->strategy = strategy; in deflateInit2_()
492 int strategy) in deflateParams() argument
506 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) { in deflateParams()
511 if ((strategy != s->strategy || func != configuration_table[level].func) && in deflateParams()
525 s->strategy = strategy; in deflateParams()
703 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? in deflate()
720 (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2 ? in deflate()
740 if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2) in deflate()
[all …]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
DMethodProxy.java98 GeneratorStrategy strategy; field in MethodProxy.CreateInfo
108 strategy = fromEnhancer.getStrategy(); in CreateInfo()
119 g.setStrategy(ci.strategy); in helper()
/external/iptables/extensions/
Dlibxt_string.man1 This modules matches a given string by using some pattern matching strategy. It requires a linux ke…
4 Select the pattern matching strategy. (bm = Boyer-Moore, kmp = Knuth-Pratt-Morris)
/external/zlib/src/contrib/ada/
Dzlib-thin.adb45 strategy : Int)
54 strategy,
/external/freetype/src/gzip/
Dzlib.h819 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
821 (strategy), ZLIB_VERSION, sizeof(z_stream))
/external/zlib/src/contrib/delphi/
Dreadme.txt25 - The new Z_RLE strategy has its corresponding symbolic constant.
57 - The ability to select a different compression strategy, useful
68 there could be a compression strategy

1234567