/external/squashfs-tools/squashfs-tools/ |
D | gzip_wrapper.c | 33 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 …]
|
D | gzip_wrapper.h | 42 (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/ |
D | LruBitmapPool.java | 24 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/ |
D | BloomFilter.java | 106 private final Strategy strategy; field in BloomFilter 112 Strategy strategy) { in BloomFilter() argument 120 this.strategy = checkNotNull(strategy); in BloomFilter() 130 return new BloomFilter<T>(bits.copy(), numHashFunctions, funnel, strategy); in copy() 138 return strategy.mightContain(object, funnel, numHashFunctions, bits); in mightContain() 164 return strategy.put(object, funnel, numHashFunctions, bits); in put() 210 (this.strategy.equals(that.strategy)) && in isCompatible() 233 checkArgument(this.strategy.equals(that.strategy), in putAll() 235 this.strategy, that.strategy); in putAll() 252 && this.strategy.equals(that.strategy); in equals() [all …]
|
/external/objenesis/main/src/org/objenesis/ |
D | ObjenesisBase.java | 22 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/ |
D | dogleg_strategy_test.cc | 139 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 …]
|
/external/curl/lib/ |
D | dict.c | 132 char *strategy = NULL; in dict_do() local 158 strategy = strchr(database, ':'); in dict_do() 159 if(strategy) { in dict_do() 160 *strategy++ = (char)0; in dict_do() 161 nthdef = strchr(strategy, ':'); in dict_do() 176 if((strategy == NULL) || (*strategy == (char)0)) { in dict_do() 177 strategy = (char *)"."; in dict_do() 193 strategy, in dict_do()
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
D | AbstractClassGenerator.java | 39 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/ |
D | zopflipng_bin.cc | 198 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/ |
D | Splitter.java | 103 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/guava/guava/src/com/google/common/base/ |
D | Splitter.java | 106 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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
D | placementgroup.py | 30 def __init__(self, connection=None, name=None, strategy=None, state=None): argument 33 self.strategy = strategy 43 self.strategy = value
|
/external/mockito/src/org/mockito/internal/configuration/injection/ |
D | MockInjectionStrategy.java | 40 public MockInjectionStrategy thenTry(MockInjectionStrategy strategy) { 42 nextStrategy.thenTry(strategy); 44 nextStrategy = strategy; 46 return strategy;
|
/external/skia/src/android/ |
D | SkBitmapRegionDecoder.cpp | 17 SkData* data, Strategy strategy) { in Create() argument 19 strategy); in Create() 23 SkStreamRewindable* stream, Strategy strategy) { in Create() argument 25 switch (strategy) { in Create()
|
/external/caliper/examples/src/main/java/examples/ |
D | CopyArrayBenchmark.java | 241 @Param Strategy strategy; field in CopyArrayBenchmark 284 dummy += System.identityHashCode(strategy.copy(objectArray)); in objects() 292 dummy += System.identityHashCode(strategy.copy(booleanArray)); in booleans() 300 dummy += System.identityHashCode(strategy.copy(byteArray)); in bytes() 308 dummy += System.identityHashCode(strategy.copy(charArray)); in chars() 316 dummy += System.identityHashCode(strategy.copy(doubleArray)); in doubles() 324 dummy += System.identityHashCode(strategy.copy(floatArray)); in floats() 332 dummy += System.identityHashCode(strategy.copy(intArray)); in ints() 340 dummy += System.identityHashCode(strategy.copy(longArray)); in longs() 348 dummy += System.identityHashCode(strategy.copy(shortArray)); in shorts()
|
D | VarargsBenchmark.java | 128 @Param private Strategy strategy; field in VarargsBenchmark 164 dummy += strategy.one(data[i % dataLength]); in oneArgument() 174 dummy += strategy.two(data[i % dataLength], data[(i + 1) % dataLength]); in twoArguments() 184 dummy += strategy.three( in threeArguments() 197 dummy += strategy.four( in fourArguments() 211 dummy += strategy.five( in fiveArguments() 226 dummy += strategy.six( in sixArguments()
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
D | transfer.py | 603 upload.strategy = RESUMABLE_UPLOAD 615 if self.strategy != RESUMABLE_UPLOAD: 641 def strategy(self): member in Upload 644 @strategy.setter 645 def strategy(self, value): member in Upload 677 self.strategy = SIMPLE_UPLOAD 678 if self.strategy is not None: 680 strategy = SIMPLE_UPLOAD 683 strategy = RESUMABLE_UPLOAD 685 strategy = RESUMABLE_UPLOAD [all …]
|
/external/skia/bench/ |
D | BitmapRegionDecoderBench.cpp | 14 SkBitmapRegionDecoder::Strategy strategy, SkColorType colorType, in BitmapRegionDecoderBench() argument 18 , fStrategy(strategy) in BitmapRegionDecoderBench() 25 switch (strategy) { in BitmapRegionDecoderBench()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/instr/ |
D | ProbeArrayStrategyFactoryTest.java | 116 IProbeArrayStrategy strategy = test(Opcodes.V1_7, in testEmptyInterface7StoreInstance() local 118 strategy.storeInstance(null, 0); in testEmptyInterface7StoreInstance() 164 final IProbeArrayStrategy strategy = ProbeArrayStrategyFactory in test() local 167 strategy.addMembers(cv, 123); in test() 168 return strategy; in test()
|
/external/emma/core/java12/com/vladium/util/ |
D | ClassLoaderResolver.java | 125 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/ |
D | zip.h | 229 int strategy, 246 int strategy, 272 int strategy, 293 int strategy,
|
/external/zlib/src/ |
D | gzwrite.c | 43 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;
|
/external/opencv3/3rdparty/zlib/ |
D | gzwrite.c | 43 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;
|
/external/testng/src/test/java/test/distributed/ |
D | DistributedTest.java | 44 private File createMasterProperties(String strategy) in createMasterProperties() argument 53 p.setProperty("testng.master.strategy", strategy); in createMasterProperties() 109 public TestListenerAdapter twoHosts(String strategy) throws IOException { in twoHosts() argument 113 File masterFile = createMasterProperties(strategy); in twoHosts()
|
/external/zlib/src/contrib/pascal/ |
D | zlibpas.pas | 115 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,
|