Searched refs:mode (Results 1 - 25 of 310) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/enum/
H A DUserValue.java39 private UserValue(int mode) { argument
40 this.oldMode = mode;
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileModeAttribute.java49 int mode = 0;
54 case OWNER_READ : mode |= UnixConstants.S_IRUSR; break;
55 case OWNER_WRITE : mode |= UnixConstants.S_IWUSR; break;
56 case OWNER_EXECUTE : mode |= UnixConstants.S_IXUSR; break;
57 case GROUP_READ : mode |= UnixConstants.S_IRGRP; break;
58 case GROUP_WRITE : mode |= UnixConstants.S_IWGRP; break;
59 case GROUP_EXECUTE : mode |= UnixConstants.S_IXGRP; break;
60 case OTHERS_READ : mode |= UnixConstants.S_IROTH; break;
61 case OTHERS_WRITE : mode |= UnixConstants.S_IWOTH; break;
62 case OTHERS_EXECUTE : mode |
[all...]
/openjdk7/jdk/src/windows/native/sun/io/
H A DWin32ErrorMode.c35 (JNIEnv *env, jclass thisClass, jlong mode)
37 return (jlong)SetErrorMode((UINT)mode);
34 Java_sun_io_Win32ErrorMode_setErrorMode(JNIEnv *env, jclass thisClass, jlong mode) argument
/openjdk7/jdk/src/windows/classes/sun/io/
H A DWin32ErrorMode.java29 * Used to set the Windows error mode at VM initialization time.
31 * The error mode decides whether the system will handle specific types of serious errors
72 long mode = setErrorMode(0);
73 mode |= SEM_FAILCRITICALERRORS;
74 setErrorMode(mode);
80 private static native long setErrorMode(long mode); argument
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/tools/
H A DJInfo.java31 mode = m;
55 switch (mode) {
88 int mode = -1;
93 new JInfo(mode).usage();
95 mode = MODE_BOTH;
102 mode = MODE_FLAGS;
104 mode = MODE_SYSPROPS;
107 new JInfo(mode).usage();
109 mode = MODE_BOTH;
112 if (mode !
143 private int mode; field in class:JInfo
[all...]
H A DJMap.java32 mode = m;
71 switch (mode) {
112 int mode = MODE_PMAP;
117 mode = MODE_HEAP_SUMMARY;
119 mode = MODE_HISTOGRAM;
121 mode = MODE_PERMSTAT;
123 mode = MODE_FINALIZERINFO;
129 mode = MODE_HEAP_GRAPH_HPROF_BIN;
131 mode = MODE_HEAP_GRAPH_GXL;
150 JMap jmap = new JMap(mode);
187 private int mode; field in class:JMap
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DWildcardLoader.java49 private final WildcardMode mode; field in class:WildcardLoader
51 public WildcardLoader(DomHandler dom, WildcardMode mode) { argument
53 this.mode = mode;
59 if(mode.allowTypedObject) {
64 if(mode.allowDom)
/openjdk7/jdk/src/share/classes/sun/text/
H A DCollatorUtilities.java32 public static int toLegacyMode(NormalizerBase.Mode mode) { argument
33 // find the index of the legacy mode in the table;
38 if (legacyModeMap[legacyMode] == mode) {
45 public static NormalizerBase.Mode toNormalizerMode(int mode) { argument
49 normalizerMode = legacyModeMap[mode];
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/
H A DStreamBuffer.java59 if (mode != WRITE_MODE)
67 if (mode != WRITE_MODE)
76 if (mode != WRITE_MODE)
78 mode = READ_MODE;
90 if (mode == CLOSED_MODE)
92 mode = READ_MODE;
97 if (mode == CLOSED_MODE)
99 mode = READ_MODE;
108 if (mode == CLOSED_MODE)
110 mode
140 private int mode = WRITE_MODE; field in class:StreamBuffer
[all...]
/openjdk7/jdk/test/java/io/RandomAccessFile/
H A DOpenSync.java42 String mode = badModes[i];
44 new RandomAccessFile(blah, mode);
46 log.println("Mode \"" + mode +"\": Thrown as expected: "
51 throw new Exception("Exception not thrown for illegal mode "
52 + mode);
/openjdk7/langtools/test/tools/javac/DefiniteAssignment/7003744/
H A DT7003744a.java42 final String mode = am;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/wsdl/document/
H A DMessagePart.java114 public void setMode(Mode mode){ argument
115 this.mode = mode;
119 return mode;
123 if(mode!=null)
124 return (mode == Mode.INOUT);
129 if(mode!=null)
130 return (mode == Mode.IN);
135 if(mode!=null)
136 return (mode
155 private Mode mode; field in class:MessagePart
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/api/pipe/
H A DStubs.java113 * createDispatch(port,owner,binding,SOAPMessage.class,mode,next);
117 public static Dispatch<SOAPMessage> createSAAJDispatch(QName portName, WSService owner, WSBinding binding, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) { argument
118 DispatchImpl.checkValidSOAPMessageDispatch(binding, mode);
119 return new com.sun.xml.internal.ws.client.dispatch.SOAPMessageDispatch(portName, mode, (WSServiceDelegate)owner, next, (BindingImpl)binding, epr);
127 * createDispatch(port,owner,binding,SOAPMessage.class,mode,next);
130 public static Dispatch<SOAPMessage> createSAAJDispatch(WSPortInfo portInfo, WSBinding binding, Service.Mode mode, @Nullable WSEndpointReference epr) { argument
131 DispatchImpl.checkValidSOAPMessageDispatch(binding, mode);
132 return new com.sun.xml.internal.ws.client.dispatch.SOAPMessageDispatch(portInfo, mode, (BindingImpl)binding, epr);
140 * createDispatch(port,owner,binding,DataSource.class,mode,next);
144 public static Dispatch<DataSource> createDataSourceDispatch(QName portName, WSService owner, WSBinding binding, Service.Mode mode, Tub argument
157 createDataSourceDispatch(WSPortInfo portInfo, WSBinding binding, Service.Mode mode,@Nullable WSEndpointReference epr) argument
171 createSourceDispatch(QName portName, WSService owner, WSBinding binding, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) argument
183 createSourceDispatch(WSPortInfo portInfo, WSBinding binding, Service.Mode mode, @Nullable WSEndpointReference epr) argument
208 createDispatch(QName portName, WSService owner, WSBinding binding, Class<T> clazz, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) argument
247 createDispatch(WSPortInfo portInfo, WSService owner, WSBinding binding, Class<T> clazz, Service.Mode mode, @Nullable WSEndpointReference epr) argument
287 createJAXBDispatch( QName portName, WSService owner, WSBinding binding, JAXBContext jaxbContext, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) argument
304 createJAXBDispatch( WSPortInfo portInfo, WSBinding binding, JAXBContext jaxbContext, Service.Mode mode, @Nullable WSEndpointReference epr) argument
[all...]
/openjdk7/jdk/test/java/net/MulticastSocket/
H A DTestDefaults.java40 boolean mode = mc.getLoopbackMode();
45 System.out.println(" loopback: " + mode);
/openjdk7/jdk/src/share/classes/sun/misc/
H A DPerf.java171 * The attach mode specifies the access permissions requested for the
181 * machine. This mode is currently not supported and is reserved for
187 * @param mode a string indicating the attach mode.
189 * @throws IllegalArgumentException The lvmid or mode was invalid.
196 public ByteBuffer attach(int lvmid, String mode) argument
199 if (mode.compareTo("r") == 0) {
202 else if (mode.compareTo("rw") == 0) {
206 throw new IllegalArgumentException("unknown mode");
214 * This method behaves just as the <code>attach(int lvmid, String mode)
232 attach(String user, int lvmid, String mode) argument
267 attachImpl(String user, int lvmid, int mode) argument
326 attach(String user, int lvmid, int mode) argument
[all...]
H A DUUEncoder.java47 * begin [mode] [filename]
76 * Represents UNIX(tm) mode bits. Generally three octal digits representing
84 private int mode; field in class:UUEncoder
95 mode = 644;
106 mode = 644;
110 * Specifies a name and mode for the encoded buffer, begin line will be:
117 mode = newMode;
182 super.pStream.print("begin "+mode+" ");
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/file/
H A DPerfDataBuffer.java57 String mode = vmid.getMode();
60 FileChannel fc = new RandomAccessFile(f, mode).getChannel();
63 if (mode.compareTo("r") == 0) {
65 } else if (mode.compareTo("rw") == 0) {
68 throw new IllegalArgumentException("Invalid mode: " + mode);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/messaging/saaj/packaging/mime/util/
H A DUUEncoderStream.java51 protected int mode; // permissions mode field in class:UUEncoderStream
74 * @param mode Specifies permission mode for the encoded buffer
76 public UUEncoderStream(OutputStream out, String name, int mode) { argument
79 this.mode = mode;
84 * Set up the buffer name and permission mode.
88 public void setNameMode(String name, int mode) { argument
90 this.mode
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/model/
H A DParameterImpl.java59 private final Mode mode; field in class:ParameterImpl
64 public ParameterImpl(JavaMethodImpl parent, TypeReference type, Mode mode, int index) { argument
69 this.mode = mode;
118 return mode;
171 return mode==Mode.IN;
175 return mode==Mode.OUT;
179 return mode==Mode.INOUT;
/openjdk7/jdk/src/share/classes/java/awt/
H A DFileDialog.java67 * If the mode is not specified it will default to <code>LOAD</code>.
75 int mode; field in class:FileDialog
202 * If the value of <code>mode</code> is <code>LOAD</code>, then the
205 * <code>mode</code> is <code>SAVE</code>, the file dialog is finding
210 * @param mode the mode of the dialog; either
213 * dialog mode is supplied
217 public FileDialog(Frame parent, String title, int mode) { argument
219 this.setMode(mode);
271 * If the value of <code>mode</cod
297 FileDialog(Dialog parent, String title, int mode) argument
358 setMode(int mode) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DNullCipherSpi.java48 public void engineSetMode(String mode) {} argument
69 protected void engineInit(int mode, Key key, SecureRandom random) {} argument
71 protected void engineInit(int mode, Key key, argument
75 protected void engineInit(int mode, Key key, argument
/openjdk7/jaxp/src/org/w3c/dom/ls/
H A DDOMImplementationLS.java77 * @param mode The <code>mode</code> argument is either
79 * <code>mode</code> is <code>MODE_SYNCHRONOUS</code> then the
81 * mode, if it's <code>MODE_ASYNCHRONOUS</code> then the
83 * mode.
100 * depending on the value of the <code>mode</code> argument.
110 * NOT_SUPPORTED_ERR: Raised if the requested mode or schema type is
113 public LSParser createLSParser(short mode, argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/
H A DParameter.java129 private Mode mode; field in class:Parameter
175 public void setMode(Mode mode){ argument
176 this.mode = mode;
180 return (mode == Mode.IN);
184 return (mode == Mode.OUT);
188 return (mode == Mode.INOUT);
/openjdk7/jdk/test/sun/security/mscapi/
H A DKeyStoreCompatibilityMode.java37 private static boolean mode; field in class:KeyStoreCompatibilityMode
53 mode = false;
55 mode = true;
104 if (!mode && keyStore != null && password != null) {
110 // When mode=false the exception is expected.
111 if (mode) {
/openjdk7/jdk/src/share/classes/javax/imageio/
H A DImageWriteParam.java92 * future writes. That is, when this mode is set the stream will
114 * future writes. That is, when this mode is enabled the stream
135 * to enable a feature for future writes. That is, when this mode
139 * corresponding <code>get</code> methods. Note that this mode is
158 * future writes. That is, when this mode is enabled the stream
164 * <p> This is the default mode for all features, so that a read
195 * The mode controlling tiling settings, which Must be
294 * The mode controlling progressive encoding, which must be set to
322 * The mode controlling compression settings, which must be set to
476 * @param mode Th
486 setTilingMode(int mode) argument
829 setProgressiveMode(int mode) argument
913 setCompressionMode(int mode) argument
[all...]

Completed in 152 milliseconds

1234567891011>>