/openjdk10/jdk/src/java.desktop/share/classes/sun/awt/image/ |
H A D | VSyncedBSManager.java | 55 * Returns true if the buffer strategy is allowed to be created 66 * Lets the manager know that this buffer strategy is no longer interested 77 * An instance of the manager which allows any buffer strategy to be 92 * An instance of the manager which allows only one buffer strategy to 96 private WeakReference<BufferStrategy> strategy; field in class:VSyncedBSManager.SingleVSyncedBSMgr 100 if (strategy != null) { 101 BufferStrategy current = strategy.get(); 106 strategy = new WeakReference<BufferStrategy>(bs); 112 if (strategy != null) { 113 BufferStrategy b = strategy [all...] |
/openjdk10/langtools/test/tools/javac/resolve/ |
H A D | AmbiguityErrorTest.java | 36 A m(B strategy); argument 40 A m(A strategy); argument 41 A m(B strategy); argument 50 public A m(B strategy) { argument 54 public A m(A strategy) { argument
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.util/src/org/graalvm/util/ |
H A D | EconomicSet.java | 80 * default {@link Equivalence#DEFAULT} comparison strategy. 89 static <E> EconomicSet<E> create(Equivalence strategy) { argument 90 return EconomicMapImpl.create(strategy); 95 * default {@link Equivalence#DEFAULT} comparison strategy and inserts all elements of the 104 * default {@link Equivalence#DEFAULT} comparison strategy and inserts all elements of the 115 static <E> EconomicSet<E> create(Equivalence strategy, int initialCapacity) { argument 116 return EconomicMapImpl.create(strategy, initialCapacity); 123 static <E> EconomicSet<E> create(Equivalence strategy, UnmodifiableEconomicSet<E> c) { argument 124 return EconomicMapImpl.create(strategy, c);
|
H A D | EconomicMap.java | 63 * {@link Equivalence#DEFAULT} comparison strategy for keys. 71 * {@link Equivalence#DEFAULT} comparison strategy for keys and initializes with a specified 80 * strategy for keys. 82 static <K, V> EconomicMap<K, V> create(Equivalence strategy) { argument 83 return EconomicMapImpl.create(strategy); 88 * {@link Equivalence#DEFAULT} comparison strategy for keys and copies all elements from the 99 static <K, V> EconomicMap<K, V> create(Equivalence strategy, UnmodifiableEconomicMap<K, V> m) { argument 100 return EconomicMapImpl.create(strategy, m); 107 static <K, V> EconomicMap<K, V> create(Equivalence strategy, int initialCapacity) { argument 108 return EconomicMapImpl.create(strategy, initialCapacit [all...] |
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | BufferManagerFactory.java | 82 int strategy, byte encodingVersion, ORB orb) { 85 if (strategy != BufferManagerFactory.GROW) { 93 switch (strategy) { 97 throw new INTERNAL("Collect strategy invalid for reading"); 101 throw new INTERNAL("Unknown buffer manager read strategy: " 102 + strategy); 107 int strategy, byte encodingVersion, ORB orb) { 109 if (strategy != BufferManagerFactory.GROW) { 117 switch (strategy) { 125 throw new INTERNAL("Unknown buffer manager write strategy 81 newBufferManagerRead( int strategy, byte encodingVersion, ORB orb) argument 106 newBufferManagerWrite( int strategy, byte encodingVersion, ORB orb) argument [all...] |
/openjdk10/jdk/test/java/util/zip/ |
H A D | DeInflate.java | 88 private static Deflater newDeflater(int level, int strategy, boolean dowrap, byte[] tmp) { argument 90 if (strategy != Deflater.DEFAULT_STRATEGY) { 91 def.setStrategy(strategy); 102 private static Deflater resetDeflater(Deflater def, int level, int strategy) { argument 104 def.setStrategy(strategy); 121 for (int strategy = Deflater.DEFAULT_STRATEGY; 122 strategy <= Deflater.HUFFMAN_ONLY; strategy++) { 125 ", strategy: " + strategy [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/util/zip/ |
H A D | Deflater.java | 80 private int level, strategy; field in class:Deflater 113 * Compression strategy best used for data consisting mostly of small 120 * Compression strategy for Huffman coding only. 125 * Default compression strategy. 171 this.strategy = DEFAULT_STRATEGY; 264 * Sets the compression strategy to the specified value. 266 * <p> If the compression strategy is changed, the next invocation 268 * the old strategy (and may be flushed); the new strategy will take 271 * @param strategy th 275 setStrategy(int strategy) argument 577 init(int level, int strategy, boolean nowrap) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.util/src/org/graalvm/util/impl/ |
H A D | EconomicMapImpl.java | 126 * The strategy used for comparing keys or {@code null} for denoting special strategy 129 private final Equivalence strategy; field in class:EconomicMapImpl 138 public static <K, V> EconomicMapImpl<K, V> create(Equivalence strategy) { argument 139 return intercept(new EconomicMapImpl<>(strategy)); 142 public static <K, V> EconomicMapImpl<K, V> create(Equivalence strategy, int initialCapacity) { argument 143 return intercept(new EconomicMapImpl<>(strategy, initialCapacity)); 146 public static <K, V> EconomicMapImpl<K, V> create(Equivalence strategy, UnmodifiableEconomicMap<K, V> other) { argument 147 return intercept(new EconomicMapImpl<>(strategy, other)); 150 public static <K, V> EconomicMapImpl<K, V> create(Equivalence strategy, UnmodifiableEconomicSe argument 154 EconomicMapImpl(Equivalence strategy) argument 162 EconomicMapImpl(Equivalence strategy, int initialCapacity) argument 167 EconomicMapImpl(Equivalence strategy, UnmodifiableEconomicMap<K, V> other) argument 175 EconomicMapImpl(Equivalence strategy, UnmodifiableEconomicSet<K> other) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/alloc/trace/ |
H A D | TraceRegisterAllocationPolicy.java | 80 * Returns {@code true} if the allocation strategy should be used for {@code trace}. 82 * This method must not alter any state of the strategy, nor rely on being called in a 122 public void appendStrategy(AllocationStrategy strategy) { argument 123 strategies.add(strategy); 127 for (AllocationStrategy strategy : strategies) { 128 if (strategy.shouldApplyTo(trace)) { 129 return strategy.getAllocator();
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.amd64/src/org/graalvm/compiler/hotspot/amd64/ |
H A D | AMD64HotSpotStrategySwitchOp.java | 42 AMD64HotSpotStrategySwitchOp(SwitchStrategy strategy, LabelRef[] keyTargets, LabelRef defaultTarget, Value key, Value scratch) { argument 43 super(TYPE, strategy, keyTargets, defaultTarget, key, scratch); 48 strategy.run(new HotSpotSwitchClosure(ValueUtil.asRegister(key), crb, masm));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.aarch64/src/org/graalvm/compiler/hotspot/aarch64/ |
H A D | AArch64HotSpotStrategySwitchOp.java | 47 AArch64HotSpotStrategySwitchOp(SwitchStrategy strategy, LabelRef[] keyTargets, LabelRef defaultTarget, Value key, Value scratch, Function<Condition, AArch64Assembler.ConditionFlag> converter) { argument 48 super(TYPE, strategy, keyTargets, defaultTarget, key, scratch, converter); 53 strategy.run(new HotSpotSwitchClosure(asRegister(key), crb, masm));
|
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/generator/bean/ |
H A D | ClassOutlineImpl.java | 45 return _parent.getModel().strategy.createMethodWriter(this);
|
/openjdk10/jdk/src/java.base/share/classes/sun/util/resources/ |
H A D | Bundles.java | 105 public static ResourceBundle of(String baseName, Locale locale, Strategy strategy) { argument 106 return loadBundleOf(baseName, locale, strategy); 111 Strategy strategy) { 114 Objects.requireNonNull(strategy); 136 = strategy.getResourceBundleProviderType(baseName, targetLocale); 144 List<Locale> candidateLocales = strategy.getCandidateLocales(baseName, targetLocale); 145 bundle = findBundleOf(cacheKey, strategy, baseName, candidateLocales, 0); 153 Strategy strategy, 160 parent = findBundleOf(cacheKey, strategy, baseName, candidateLocales, index + 1); 193 if (strategy 109 loadBundleOf(String baseName, Locale targetLocale, Strategy strategy) argument 152 findBundleOf(CacheKey cacheKey, Strategy strategy, String baseName, List<Locale> candidateLocales, int index) argument [all...] |
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.aarch64/src/org/graalvm/compiler/lir/aarch64/ |
H A D | AArch64ControlFlow.java | 164 protected final SwitchStrategy strategy; field in class:AArch64ControlFlow.StrategySwitchOp 173 public StrategySwitchOp(SwitchStrategy strategy, LabelRef[] keyTargets, LabelRef defaultTarget, Value key, Value scratch, argument 175 this(TYPE, strategy, keyTargets, defaultTarget, key, scratch, converter); 178 protected StrategySwitchOp(LIRInstructionClass<? extends StrategySwitchOp> c, SwitchStrategy strategy, LabelRef[] keyTargets, LabelRef defaultTarget, Value key, Value scratch, argument 181 this.strategy = strategy; 183 this.keyConstants = strategy.getKeyConstants(); 189 assert keyConstants.length == strategy.keyProbabilities.length; 194 strategy.run(new SwitchClosure(asRegister(key), crb, masm));
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/ |
H A D | SwitchStrategy.java | 40 * strategy with the smallest average effort (average number of comparisons until a decision is 41 * reached). The strategy returned by this method will have its averageEffort set, while a strategy 155 * This closure is used internally to determine the average effort for a certain strategy on a 219 assert averageEffort >= 0 : "average effort was not calculated yet for this strategy"; 253 * This strategy orders the keys according to their probability and creates one equality 326 * This strategy divides the keys into ranges of successive keys with the same target and 387 * This strategy recursively subdivides the list of keys to create a binary search based on 503 for (SwitchStrategy strategy : strategies) { 504 strategy [all...] |
/openjdk10/hotspot/test/compiler/testlibrary/intrinsics/ |
H A D | Verifier.java | 85 throw new RuntimeException("Default strategy is not implemented."); 139 VerificationStrategy strategy = VerificationStrategy.valueOf( 142 strategy.verify(expectedProperties, fullMatchCnt, suspectCnt);
|
/openjdk10/jdk/src/java.base/share/native/libzip/ |
H A D | Deflater.c | 53 strategyID = (*env)->GetFieldID(env, cls, "strategy", "I"); 71 jint strategy, jboolean nowrap) 82 DEF_MEM_LEVEL, strategy); 144 int strategy = (*env)->GetIntField(env, this, strategyID); local 164 res = deflateParams(strm, level, strategy); 70 Java_java_util_zip_Deflater_init(JNIEnv *env, jclass cls, jint level, jint strategy, jboolean nowrap) argument
|
/openjdk10/jdk/src/java.desktop/share/classes/java/awt/peer/ |
H A D | DesktopPeer.java | 216 * Sets the default strategy used to quit this application. The default is 219 * @param strategy the way this application should be shutdown 221 default void setQuitStrategy(final QuitStrategy strategy) { argument
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir.amd64/src/org/graalvm/compiler/lir/amd64/ |
H A D | AMD64ControlFlow.java | 116 * The strategy for emitting jumps is: If either trueDestination or falseDestination is 166 protected final SwitchStrategy strategy; field in class:AMD64ControlFlow.StrategySwitchOp 168 public StrategySwitchOp(SwitchStrategy strategy, LabelRef[] keyTargets, LabelRef defaultTarget, Value key, Value scratch) { argument 169 this(TYPE, strategy, keyTargets, defaultTarget, key, scratch); 172 protected StrategySwitchOp(LIRInstructionClass<? extends StrategySwitchOp> c, SwitchStrategy strategy, LabelRef[] keyTargets, LabelRef defaultTarget, Value key, Value scratch) { argument 174 this.strategy = strategy; 175 this.keyConstants = strategy.getKeyConstants(); 181 assert keyConstants.length == strategy.keyProbabilities.length; 186 strategy [all...] |
/openjdk10/corba/src/java.corba/share/classes/sun/corba/ |
H A D | OutputStreamFactory.java | 124 final int strategy) { 130 header, streamFormatVersion, strategy); 121 newCDROutputObject( final ORB orb, final MessageMediator messageMediator, final Message header, final byte streamFormatVersion, final int strategy) argument
|
/openjdk10/jdk/src/java.desktop/macosx/classes/com/apple/eawt/ |
H A D | Application.java | 240 * Sets the default strategy used to quit this application. The default is calling SYSTEM_EXIT_0. 242 * The quit strategy can also be set with the "apple.eawt.quitStrategy" system property. 244 * @param strategy the way this application should be shutdown 248 public void setQuitStrategy(final QuitStrategy strategy) { argument 249 eventHandler.setDefaultQuitStrategy(strategy);
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CDesktopPeer.java | 118 public void setQuitStrategy(QuitStrategy strategy) { argument 119 Application.getApplication().setQuitStrategy(strategy);
|
/openjdk10/jdk/src/java.base/share/native/libzip/zlib/ |
H A D | gzwrite.c | 69 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy); 609 int ZEXPORT gzsetparams(file, level, strategy) 612 int strategy; 628 if (level == state->level && strategy == state->strategy) 643 deflateParams(strm, level, strategy); 646 state->strategy = strategy;
|
H A D | gzlib.c | 145 state->strategy = Z_DEFAULT_STRATEGY; 179 state->strategy = Z_FILTERED; 182 state->strategy = Z_HUFFMAN_ONLY; 185 state->strategy = Z_RLE; 188 state->strategy = Z_FIXED;
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.hotspot.sparc/src/org/graalvm/compiler/hotspot/sparc/ |
H A D | SPARCHotSpotStrategySwitchOp.java | 58 SPARCHotSpotStrategySwitchOp(Value constantTableBase, SwitchStrategy strategy, LabelRef[] keyTargets, LabelRef defaultTarget, AllocatableValue key, Variable scratch) { argument 59 super(TYPE, constantTableBase, strategy, keyTargets, defaultTarget, key, scratch); 109 strategy.run(new HotSpotSwitchClosure(keyRegister, constantBaseRegister, crb, masm));
|