/external/objenesis/main/src/main/java/org/objenesis/strategy/ |
H A D | BaseInstantiatorStrategy.java | 16 package org.objenesis.strategy;
|
H A D | InstantiatorStrategy.java | 16 package org.objenesis.strategy; 21 * Defines a strategy to determine the best instantiator for a class.
|
H A D | SerializingInstantiatorStrategy.java | 16 package org.objenesis.strategy; 30 import static org.objenesis.strategy.PlatformDescription.*;
|
H A D | StdInstantiatorStrategy.java | 16 package org.objenesis.strategy; 31 import static org.objenesis.strategy.PlatformDescription.*;
|
H A D | SingleInstantiatorStrategy.java | 16 package org.objenesis.strategy; 35 * Create a strategy that will return always the same instantiator type. We assume this instantiator
|
/external/perfetto/src/ftrace_reader/ |
H A D | event_info_unittest.cc | 48 ASSERT_FALSE(field.strategy); 65 ASSERT_FALSE(field.strategy); 71 TranslationStrategy strategy = kUint32ToUint32; local 72 ASSERT_FALSE(SetTranslationStrategy(kFtraceCString, kProtoUint64, &strategy)); 73 ASSERT_EQ(strategy, kUint32ToUint32); 74 ASSERT_TRUE(SetTranslationStrategy(kFtraceCString, kProtoString, &strategy)); 75 ASSERT_EQ(strategy, kCStringToString); 76 ASSERT_TRUE(SetTranslationStrategy(kFtracePid32, kProtoInt32, &strategy)); 77 ASSERT_EQ(strategy, kPid32ToInt32); 78 ASSERT_TRUE(SetTranslationStrategy(kFtraceInode32, kProtoUint64, &strategy)); [all...] |
/external/skia/src/android/ |
H A D | SkBitmapRegionDecoder.cpp | 15 sk_sp<SkData> data, Strategy strategy) { 17 strategy); 21 SkStreamRewindable* stream, Strategy strategy) { 23 switch (strategy) { 14 Create( sk_sp<SkData> data, Strategy strategy) argument 20 Create( SkStreamRewindable* stream, Strategy strategy) argument
|
/external/skqp/src/android/ |
H A D | SkBitmapRegionDecoder.cpp | 15 sk_sp<SkData> data, Strategy strategy) { 17 strategy); 21 SkStreamRewindable* stream, Strategy strategy) { 23 switch (strategy) { 14 Create( sk_sp<SkData> data, Strategy strategy) argument 20 Create( SkStreamRewindable* stream, Strategy strategy) argument
|
/external/objenesis/main/src/test/java/org/objenesis/strategy/ |
H A D | PlatformDescriptionTest.java | 16 package org.objenesis.strategy;
|
/external/objenesis/main/src/main/java/org/objenesis/ |
H A D | ObjenesisBase.java | 19 import org.objenesis.strategy.InstantiatorStrategy; 24 * Base class to extend if you want to have a class providing your own default strategy. Can also be 32 protected final InstantiatorStrategy strategy; field in class:ObjenesisBase 38 * Constructor allowing to pick a strategy and using cache 40 * @param strategy Strategy to use 42 public ObjenesisBase(InstantiatorStrategy strategy) { argument 43 this(strategy, true); 47 * Flexible constructor allowing to pick the strategy and if caching should be used 49 * @param strategy Strategy to use 52 public ObjenesisBase(InstantiatorStrategy strategy, boolea argument [all...] |
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
H A D | JreDeflateParametersTest.java | 32 for (int strategy = 0; strategy <= 2; strategy++) { 34 JreDeflateParameters.of(level, strategy, nowrap); 40 private void assertIllegalArgumentException(int level, int strategy, boolean nowrap) { argument 42 JreDeflateParameters.of(level, strategy, nowrap); 55 assertIllegalArgumentException(1, -1, true); // Bad strategy (insane value < 0) 56 assertIllegalArgumentException(1, 3, true); // Bad strategy (valid in zlib, unsupported in JRE) 68 for (int strategy = 0; strategy < [all...] |
/external/mockito/src/test/java/org/mockitousage/misuse/ |
H A D | SpyStubbingMisuseTest.java | 46 Strategy strategy; field in class:SpyStubbingMisuseTest.Producer 48 strategy = f; 51 return new Sampler(strategy);
|
/external/puffin/src/ |
H A D | sample_generator.cc | 30 int strategy) { 42 Z_OK == deflateInit2(&stream, compression, Z_DEFLATED, -15, 8, strategy)); 70 int strategy, 76 CompressToDeflate(original, &comp, compression, strategy)); 27 CompressToDeflate(const Buffer& uncomp, Buffer* comp, int compression, int strategy) argument 68 PrintSample(Puffer* puffer, int compression, int strategy, const Buffer& original) argument
|
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/ |
H A D | MockInjectionStrategy.java | 12 * 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/squashfs-tools/squashfs-tools/ |
H A D | gzip_wrapper.h | 42 (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
|
/external/curl/lib/ |
H A D | dict.c | 132 char *strategy = NULL; local 158 strategy = strchr(database, ':'); 159 if(strategy) { 160 *strategy++ = (char)0; 161 nthdef = strchr(strategy, ':'); 176 if((strategy == NULL) || (*strategy == (char)0)) { 177 strategy = (char *)"."; 188 "%s " /* strategy */ 193 strategy, [all...] |
/external/emma/core/java12/com/vladium/util/ |
H A D | ClassLoaderResolver.java | 110 * 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/testng/src/test/java/test/distributed/ |
H A D | DistributedTest.java | 44 private File createMasterProperties(String strategy) argument 53 p.setProperty("testng.master.strategy", strategy); 109 public TestListenerAdapter twoHosts(String strategy) throws IOException { argument 113 File masterFile = createMasterProperties(strategy);
|
/external/archive-patcher/shared/src/main/java/com/google/archivepatcher/shared/ |
H A D | DeflateCompressor.java | 25 * compression, the default strategy, and no-wrap by default along with a 32k read buffer and a 32k 36 * The compression strategy to use. Defaults to {@link Deflater#DEFAULT_STRATEGY}. 38 private int strategy = Deflater.DEFAULT_STRATEGY; field in class:DeflateCompressor 115 * Returns the strategy that will be used, from {@link Deflater}. 116 * @return the strategy 119 return strategy; 123 * Sets the strategy that will be used. Valid values can be found in {@link Deflater}. Defaults to 125 * @param strategy the strategy to be used 127 public void setStrategy(int strategy) { argument [all...] |
/external/caliper/examples/src/main/java/examples/ |
H A D | CopyArrayBenchmark.java | 241 @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 D | VarargsBenchmark.java | 128 @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/desugar/test/java/com/google/devtools/build/android/desugar/runtime/ |
H A D | ThrowableExtensionTest.java | 197 MimicDesugaringStrategy strategy = new MimicDesugaringStrategy(); 198 ExceptionForTest receiver = new ExceptionForTest(strategy); 200 strategy.addSuppressed(receiver, suppressed); 202 String trace = printStackTraceStderrToString(() -> strategy.printStackTrace(receiver)); 209 MimicDesugaringStrategy strategy = new MimicDesugaringStrategy(); 212 strategy.addSuppressed(receiver, suppressed); 216 stream -> strategy.printStackTrace(receiver, stream))) 221 writer -> strategy.printStackTrace(receiver, writer))) 224 assertThat(printStackTraceStderrToString(() -> strategy.printStackTrace(receiver))) 286 NullDesugaringStrategy strategy 381 private final MimicDesugaringStrategy strategy; field in class:ThrowableExtensionTest.ExceptionForTest 383 ExceptionForTest(MimicDesugaringStrategy strategy) argument [all...] |
/external/guava/guava/src/com/google/common/base/ |
H A D | Splitter.java | 106 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/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/ |
H A D | Splitter.java | 103 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/libxml2/os400/ |
H A D | wrappers.c | 158 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
|