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

123456

/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;
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/
H A Dplacementgroup.py30 def __init__(self, connection=None, name=None, strategy=None, state=None):
33 self.strategy = strategy
42 elif name == 'strategy':
43 self.strategy = value
/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/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/guava/guava/src/com/google/common/hash/
H A DBloomFilter.java64 * A strategy to translate T instances, to {@code numHashFunctions} bit indexes.
85 * Identifier used to encode this strategy, when marshalled as part of a BloomFilter.
88 * negative values are reserved for any custom, stateful strategy we may define
89 * (e.g. any kind of strategy that would depend on user input).
104 * The strategy we employ to map an element T to {@code numHashFunctions} bit indexes.
106 private final Strategy strategy; field in class:BloomFilter
112 Strategy strategy) {
120 this.strategy = checkNotNull(strategy);
130 return new BloomFilter<T>(bits.copy(), numHashFunctions, funnel, strategy);
111 BloomFilter(BitArray bits, int numHashFunctions, Funnel<? super T> funnel, Strategy strategy) argument
292 create( Funnel<? super T> funnel, int expectedInsertions , double fpp, Strategy strategy) argument
394 final Strategy strategy; field in class:BloomFilter.SerialForm
[all...]
/external/skia/include/android/
H A DSkBitmapRegionDecoder.h30 * @param strategy Strategy used for scaling and subsetting
34 SkData* data, Strategy strategy);
38 * @param strategy Strategy used for scaling and subsetting
42 SkStreamRewindable* stream, Strategy strategy);
/external/skia/src/android/
H A DSkBitmapRegionDecoder.cpp17 SkData* data, Strategy strategy) {
19 strategy);
23 SkStreamRewindable* stream, Strategy strategy) {
25 switch (strategy) {
16 Create( SkData* data, Strategy strategy) argument
22 Create( SkStreamRewindable* stream, Strategy strategy) argument
/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/skia/bench/
H A DBitmapRegionDecoderBench.cpp14 SkBitmapRegionDecoder::Strategy strategy, SkColorType colorType,
18 , fStrategy(strategy)
23 // Choose a useful name for the region decoding strategy
25 switch (strategy) {
13 BitmapRegionDecoderBench(const char* baseName, SkData* encoded, SkBitmapRegionDecoder::Strategy strategy, SkColorType colorType, uint32_t sampleSize, const SkIRect& subset) argument
H A DBitmapRegionDecoderBench.h30 SkBitmapRegionDecoder::Strategy strategy, SkColorType colorType,
/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/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/caliper/examples/src/main/java/examples/
H A DCopyArrayBenchmark.java241 @Param Strategy strategy; field in class:CopyArrayBenchmark
284 dummy += System.identityHashCode(strategy.copy(objectArray));
292 dummy += System.identityHashCode(strategy.copy(booleanArray));
300 dummy += System.identityHashCode(strategy.copy(byteArray));
308 dummy += System.identityHashCode(strategy.copy(charArray));
316 dummy += System.identityHashCode(strategy.copy(doubleArray));
324 dummy += System.identityHashCode(strategy.copy(floatArray));
332 dummy += System.identityHashCode(strategy.copy(intArray));
340 dummy += System.identityHashCode(strategy.copy(longArray));
348 dummy += System.identityHashCode(strategy
[all...]
H A DVarargsBenchmark.java128 @Param private Strategy strategy; field in class:VarargsBenchmark
164 dummy += strategy.one(data[i % dataLength]);
174 dummy += strategy.two(data[i % dataLength], data[(i + 1) % dataLength]);
184 dummy += strategy.three(
197 dummy += strategy.four(
211 dummy += strategy.five(
226 dummy += strategy.six(
/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,

Completed in 881 milliseconds

123456