Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/org/w3c/dom/
DDocumentBuilderSetting.java35 private final DocumentBuilderSettingStrategy strategy; field in DocumentBuilderSetting
209 DocumentBuilderSettingStrategy strategy) { in DocumentBuilderSetting() argument
215 this.strategy = strategy; in DocumentBuilderSetting()
232 return strategy.hasConflict(other.strategy); in hasConflict()
241 return strategy.hasSetting(factory) == value; in hasSetting()
251 strategy.applySetting(factory, value); in applySetting()
/libcore/dom/src/test/java/org/w3c/domts/
DDocumentBuilderSetting.java35 private final DocumentBuilderSettingStrategy strategy; field in DocumentBuilderSetting
209 DocumentBuilderSettingStrategy strategy) { in DocumentBuilderSetting() argument
215 this.strategy = strategy; in DocumentBuilderSetting()
232 return strategy.hasConflict(other.strategy); in hasConflict()
241 return strategy.hasSetting(factory) == value; in hasSetting()
252 strategy.applySetting(factory, value); in applySetting()
DLSDocumentBuilderFactory.java297 Object strategy = strategies.get(settings[i].getProperty()); in LSDocumentBuilderFactory() local
298 if (strategy == null) { in LSDocumentBuilderFactory()
302 ( (LSStrategy) strategy).applySetting(settings[i], parser); in LSDocumentBuilderFactory()
/libcore/ojluni/src/main/java/java/util/zip/
DDeflater.java88 private int level, strategy; field in Deflater
186 this.strategy = DEFAULT_STRATEGY; in Deflater()
292 public void setStrategy(int strategy) { in setStrategy() argument
293 switch (strategy) { in setStrategy()
302 if (this.strategy != strategy) { in setStrategy()
303 this.strategy = strategy; in setStrategy()
588 private native static long init(int level, int strategy, boolean nowrap); in init() argument
/libcore/ojluni/annotations/hiddenapi/java/util/zip/
DDeflater.java61 public void setStrategy(int strategy) { in setStrategy() argument
129 private static native long init(int level, int strategy, boolean nowrap); in init() argument
195 private int strategy; field in Deflater
/libcore/benchmarks/src/benchmarks/regression/
DSchemePrefixBenchmark.java73 @Param Strategy strategy; field in SchemePrefixBenchmark
77 strategy.execute("http://android.com"); in timeSchemePrefix()
/libcore/ojluni/src/main/native/
DDeflater.c65 jint strategy, jboolean nowrap) in Deflater_init() argument
76 DEF_MEM_LEVEL, strategy); in Deflater_init()
138 int strategy = (*env)->GetIntField(env, this, strategyID); in Deflater_deflateBytes() local
158 res = deflateParams(strm, level, strategy); in Deflater_deflateBytes()