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

/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DVSyncedBSManager.java55 * 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...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/
H A DBufferManagerFactory.java82 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...]
H A DCDROutputObject.java118 int strategy)
125 newBufferManagerWrite(strategy,
114 CDROutputObject(ORB orb, MessageMediator messageMediator, Message header, byte streamFormatVersion, int strategy) argument
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DDeflater.java79 private int level, strategy; field in class:Deflater
112 * Compression strategy best used for data consisting mostly of small
119 * Compression strategy for Huffman coding only.
124 * Default compression strategy.
170 this.strategy = DEFAULT_STRATEGY;
263 * Sets the compression strategy to the specified value.
264 * @param strategy the new compression strategy
265 * @exception IllegalArgumentException if the compression strategy is
268 public void setStrategy(int strategy) { argument
549 init(int level, int strategy, boolean nowrap) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/
H A DClassOutlineImpl.java45 return _parent.getModel().strategy.createMethodWriter(this);
H A DPackageOutlineImpl.java125 switch(model.strategy) {
201 XmlSchemaWriter w = _model.strategy.getPackage(_package, Aspect.IMPLEMENTATION).annotate2(XmlSchemaWriter.class);
H A DBeanGenerator.java197 model.strategy._extends(cc, getClazz(superClass));
277 switch (model.strategy) {
347 return model.strategy.getPackage(pkg, EXPOSED);
362 return model.strategy.getPackage(pkg, Aspect.IMPLEMENTATION);
422 ImplStructureStrategy.Result r = model.strategy.createClasses(this, bean);
/openjdk7/jdk/src/share/native/java/util/zip/
H A DDeflater.c52 strategyID = (*env)->GetFieldID(env, cls, "strategy", "I");
63 jint strategy, jboolean nowrap)
74 DEF_MEM_LEVEL, strategy)) {
131 int strategy = (*env)->GetIntField(env, this, strategyID); local
151 res = deflateParams(strm, level, strategy);
62 Java_java_util_zip_Deflater_init(JNIEnv *env, jclass cls, jint level, jint strategy, jboolean nowrap) argument
/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzlib.h218 /* compression strategy; see deflateInit2() below for details */
509 int strategy));
541 The strategy parameter is used to tune the compression algorithm. Use the
550 Z_HUFFMAN_ONLY, but give better compression for PNG image data. The strategy
610 compression state which can be quite large, so this strategy is slow and
632 int strategy));
634 Dynamically update the compression level and compression strategy. The
635 interpretation of level and strategy is as in deflateInit2. This can be
638 strategy. If the compression level is changed, the input available so far
1096 ("wb9") or a strategy
[all...]
H A Ddeflate.c240 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
247 int strategy;
291 strategy < 0 || strategy > Z_FIXED) {
332 s->strategy = strategy;
440 int ZEXPORT deflateParams(strm, level, strategy)
443 int strategy;
457 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXE
[all...]
H A Dgzio.c124 int strategy = Z_DEFAULT_STRATEGY; /* compression strategy */ local
164 strategy = Z_FILTERED;
166 strategy = Z_HUFFMAN_ONLY;
168 strategy = Z_RLE;
180 Z_DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, strategy);
256 * Update the compression level and strategy
258 int ZEXPORT gzsetparams (file, level, strategy)
261 int strategy;
277 return deflateParams (&(s->stream), level, strategy);
[all...]
H A Ddeflate.h207 int strategy; /* favor or force Huffman coding*/ member in struct:internal_state
H A Dtrees.c1010 } else if (s->strategy == Z_FIXED || static_lenb == opt_lenb) {
/openjdk7/corba/src/share/classes/sun/corba/
H A DOutputStreamFactory.java124 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
/openjdk7/jdk/src/macosx/classes/com/apple/eawt/
H A DApplication.java221 * Sets the default strategy used to quit this application. The default is calling SYSTEM_EXIT_0.
223 * The quit strategy can also be set with the "apple.eawt.quitStrategy" system property.
225 * @param strategy the way this application should be shutdown
229 public void setQuitStrategy(final QuitStrategy strategy) { argument
230 eventHandler.setDefaultQuitStrategy(strategy);
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DFlowView.java40 * <li>A strategy for translating the logical view to
42 * <li>Constraints for the strategy to work against.
63 strategy = new FlowStrategy();
141 // This synthetic insertUpdate call gives the strategy a chance
143 strategy.insertUpdate(this, null, null);
201 strategy.layout(this);
256 strategy.insertUpdate(this, changes, getInsideAllocation(a));
270 strategy.removeUpdate(this, changes, getInsideAllocation(a));
284 strategy.changedUpdate(this, changes, getInsideAllocation(a));
319 * can create an alternative strategy, whic
322 protected FlowStrategy strategy; field in class:FlowView
[all...]
H A DParagraphView.java76 strategy = (FlowStrategy) o;
79 throw new StateInvariantError("ParagraphView: Can't create i18n strategy: "
814 * Used to create an i18n-based layout strategy
/openjdk7/jdk/src/share/native/sun/awt/libpng/
H A Dpngwrite.c1435 png_set_compression_strategy(png_structp png_ptr, int strategy) argument
1443 png_ptr->zlib_strategy = strategy;
1516 png_set_text_compression_strategy(png_structp png_ptr, int strategy) argument
1524 png_ptr->zlib_text_strategy = strategy;
H A Dpng.h1688 int strategy));
1709 int strategy));
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/
H A DModel.java223 * Specifies the code generation strategy.
226 public ImplStructureStrategy strategy = ImplStructureStrategy.BEAN_ONLY; field in class:Model
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DBGMBuilder.java217 model.strategy = globalBinding.getCodeGenerationStrategy();

Completed in 96 milliseconds