Searched refs:strategy (Results 1 - 25 of 87) sorted by relevance

1234

/external/squashfs-tools/squashfs-tools/
H A Dgzip_wrapper.h42 (s)->strategy = inswap_le16((s)->strategy); \
55 short strategy; member in struct:gzip_comp_opts
58 struct strategy { struct
60 int strategy; member in struct:strategy
65 int strategy; member in struct:gzip_strategy
73 struct gzip_strategy strategy[0]; member in struct:gzip_stream
H A Dgzip_wrapper.c33 static struct strategy strategy[] = { variable in typeref:struct:strategy
112 for(i = 0; strategy[i].name; i++) {
113 int n = strlen(strategy[i].name);
114 if((strncmp(name, strategy[i].name, n) == 0) &&
117 if(strategy[i].selected == 0) {
118 strategy[i].selected = 1;
125 if(strategy[i].name == NULL) {
127 "strategy\n");
152 if(strategy_count == 1 && strategy[
406 struct gzip_strategy *strategy = &stream->strategy[i]; local
[all...]
/external/objenesis/main/src/org/objenesis/
H A DObjenesisBase.java22 import org.objenesis.strategy.InstantiatorStrategy;
25 * Base class to extend if you want to have a class providing your own default strategy. Can also be
33 protected final InstantiatorStrategy strategy; field in class:ObjenesisBase
39 * Constructor allowing to pick a strategy and using cache
41 * @param strategy Strategy to use
43 public ObjenesisBase(InstantiatorStrategy strategy) { argument
44 this(strategy, true);
48 * Flexible constructor allowing to pick the strategy and if caching should be used
50 * @param strategy Strategy to use
53 public ObjenesisBase(InstantiatorStrategy strategy, boolea argument
[all...]
H A DObjenesisSerializer.java18 import org.objenesis.strategy.SerializingInstantiatorStrategy;
28 * Default constructor using the {@link org.objenesis.strategy.SerializingInstantiatorStrategy}
35 * Instance using the {@link org.objenesis.strategy.SerializingInstantiatorStrategy} with or without caching
H A DObjenesisStd.java18 import org.objenesis.strategy.StdInstantiatorStrategy;
21 * Objenesis implementation using the {@link org.objenesis.strategy.StdInstantiatorStrategy}.
28 * Default constructor using the {@link org.objenesis.strategy.StdInstantiatorStrategy}
35 * Instance using the {@link org.objenesis.strategy.StdInstantiatorStrategy} with or without
/external/objenesis/main/src/org/objenesis/strategy/
H A DInstantiatorStrategy.java16 package org.objenesis.strategy;
21 * Defines a strategy to determine the best instantiator for a class.
H A DBaseInstantiatorStrategy.java16 package org.objenesis.strategy;
H A DSerializingInstantiatorStrategy.java16 package org.objenesis.strategy;
H A DStdInstantiatorStrategy.java16 package org.objenesis.strategy;
/external/mockito/src/org/mockito/internal/configuration/injection/
H A DMockInjectionStrategy.java12 * Injector strategy contract
17 * NOP Strategy that will always try the next strategy.
31 * Enqueue next injection strategy.
37 * @param strategy Queued strategy.
38 * @return The passed strategy instance to allow chaining.
40 public MockInjectionStrategy thenTry(MockInjectionStrategy strategy) { argument
42 nextStrategy.thenTry(strategy);
44 nextStrategy = strategy;
46 return strategy;
[all...]
/external/guava/guava/src/com/google/common/hash/
H A DBloomFilter.java56 * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
77 * Identifier used to encode this strategy, when marshalled as part of a BloomFilter.
80 * negative values are reserved for any custom, stateful strategy we may define
81 * (e.g. any kind of strategy that would depend on user input).
96 * The strategy we employ to map an element T to {@code numHashFunctions} bit indexes.
98 private final Strategy strategy; field in class:BloomFilter
104 Strategy strategy) {
112 this.strategy = checkNotNull(strategy);
122 return new BloomFilter<T>(bits.copy(), numHashFunctions, funnel, strategy);
103 BloomFilter(BitArray bits, int numHashFunctions, Funnel<T> funnel, Strategy strategy) argument
294 create( Funnel<T> funnel, int expectedInsertions , double fpp, Strategy strategy) argument
394 final Strategy strategy; field in class:BloomFilter.SerialForm
[all...]
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/
H A DLruBitmapPool.java24 private final LruPoolStrategy strategy; field in class:LruBitmapPool
36 LruBitmapPool(int maxSize, LruPoolStrategy strategy) { argument
39 this.strategy = strategy;
65 if (!bitmap.isMutable() || strategy.getSize(bitmap) > maxSize) {
67 Log.v(TAG, "Reject bitmap from pool=" + strategy.logBitmap(bitmap) + " is mutable="
73 final int size = strategy.getSize(bitmap);
74 strategy.put(bitmap);
81 Log.v(TAG, "Put bitmap in pool=" + strategy.logBitmap(bitmap));
111 final Bitmap result = strategy
[all...]
/external/ceres-solver/internal/ceres/
H A Ddogleg_strategy_test.cc139 DoglegStrategy strategy(options_);
142 TrustRegionStrategy::Summary summary = strategy.ComputeStep(pso,
159 DoglegStrategy strategy(options_);
162 TrustRegionStrategy::Summary summary = strategy.ComputeStep(pso,
179 DoglegStrategy strategy(options_);
182 TrustRegionStrategy::Summary summary = strategy.ComputeStep(pso,
206 DoglegStrategy strategy(options_);
209 strategy.ComputeStep(pso, jacobian_.get(), residual_.data(), x_.data());
212 const Matrix basis = strategy.subspace_basis();
218 const Vector gradient = strategy
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
H A DAbstractClassGenerator.java39 private GeneratorStrategy strategy = DefaultGeneratorStrategy.INSTANCE; field in class:AbstractClassGenerator
144 * Set the strategy to use to create the bytecode from this generator.
147 public void setStrategy(GeneratorStrategy strategy) { argument
148 if (strategy == null)
149 strategy = DefaultGeneratorStrategy.INSTANCE;
150 this.strategy = strategy;
157 return strategy;
217 byte[] b = strategy.generate(this);
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
H A DSplitter.java103 private final Strategy strategy; field in class:Splitter
106 private Splitter(Strategy strategy) { argument
107 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
110 private Splitter(Strategy strategy, boolean omitEmptyStrings, argument
112 this.strategy = strategy;
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
[all...]
/external/emma/core/java12/com/vladium/util/
H A DClassLoaderResolver.java110 * Gets the current classloader selection strategy setting.
118 * Sets the classloader selection strategy to be used by subsequent calls
122 * @param strategy new strategy [may not be null]
125 public static synchronized IClassLoadStrategy setStrategy (final IClassLoadStrategy strategy) argument
127 if (strategy == null) throw new IllegalArgumentException ("null input: strategy");
130 s_strategy = strategy;
/external/jmonkeyengine/engine/src/desktop/com/jme3/system/awt/
H A DAwtPanel.java37 private BufferStrategy strategy; field in class:AwtPanel
105 if (strategy != null){
106 // strategy.dispose();
107 strategy = null;
108 System.out.println("OGL: Not visible. Destroy strategy.");
144 // All operations on strategy should be synchronized (?)
145 if (strategy == null){
156 strategy = getBufferStrategy();
157 System.out.println("OGL: Visible. Create strategy.");
163 Graphics2D g2d = (Graphics2D) strategy
[all...]
/external/zopfli/src/zopflipng/
H A Dzopflipng_bin.cc72 " use block split strategy 3\n"
96 "--splitting=[0-3]: block split strategy:"
103 " strategy)\n"
198 ZopfliPNGFilterStrategy strategy = kStrategyZero; local
201 case '0': strategy = kStrategyZero; break;
202 case '1': strategy = kStrategyOne; break;
203 case '2': strategy = kStrategyTwo; break;
204 case '3': strategy = kStrategyThree; break;
205 case '4': strategy = kStrategyFour; break;
206 case 'm': strategy
[all...]
/external/guava/guava/src/com/google/common/base/
H A DSplitter.java106 private final Strategy strategy; field in class:Splitter
109 private Splitter(Strategy strategy) { argument
110 this(strategy, false, CharMatcher.NONE, Integer.MAX_VALUE);
113 private Splitter(Strategy strategy, boolean omitEmptyStrings, argument
115 this.strategy = strategy;
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
[all...]
/external/zlib/src/contrib/minizip/
H A Dzip.h229 int strategy,
246 int strategy,
254 windowBits,memLevel,,strategy : see parameter strategy in deflateInit2
272 int strategy,
293 int strategy,
/external/freetype/src/gzip/
H A Dzlib.h154 /* compression strategy; see deflateInit2() below for details */
401 int strategy));
422 The strategy parameter is used to tune the compression algorithm. Use the
429 between Z_DEFAULT and Z_HUFFMAN_ONLY. The strategy parameter only affects
479 compression state which can be quite large, so this strategy is slow and
499 Dynamically update the compression level and compression strategy. The
500 interpretation of level and strategy is as in deflateInit2. This can be
503 strategy. If the compression level is changed, the input available so far
635 ("wb9") or a strategy: 'f' for filtered data as in "wb6f", 'h' for
637 of deflateInit2 for more information about the strategy paramete
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/
H A DMethodProxy.java98 GeneratorStrategy strategy; field in class:MethodProxy.CreateInfo
108 strategy = fromEnhancer.getStrategy();
119 g.setStrategy(ci.strategy);
/external/objenesis/main/test/org/objenesis/
H A DObjenesisTest.java21 import org.objenesis.strategy.InstantiatorStrategy;
31 "org.objenesis.ObjenesisStd using org.objenesis.strategy.StdInstantiatorStrategy with caching",
38 "org.objenesis.ObjenesisStd using org.objenesis.strategy.StdInstantiatorStrategy without caching",
63 "org.objenesis.ObjenesisTest$1 using org.objenesis.strategy.StdInstantiatorStrategy with caching",
/external/libxml2/os400/
H A Dwrappers.c158 int memLevel, int strategy, const char * version, int stream_size)
164 r = deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
157 _lx_deflateInit2_(z_streamp strm, int level, int method, int windowBits, int memLevel, int strategy, const char * version, int stream_size) argument
/external/zlib/src/
H A Dgzwrite.c43 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy);
497 int ZEXPORT gzsetparams(file, level, strategy)
500 int strategy;
516 if (level == state->level && strategy == state->strategy)
531 deflateParams(strm, level, strategy);
534 state->strategy = strategy;

Completed in 962 milliseconds

1234