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

1234567891011>>

/openjdk9/langtools/test/tools/javac/enum/
H A DUserValue.java39 private UserValue(int mode) { argument
40 this.oldMode = mode;
/openjdk9/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/
H A DDocFileIOException.java63 * The mode in which the file was being used when the exception occurred.
65 public final Mode mode; field in class:DocFileIOException
74 * @param mode the manner in which the file was being used
77 public DocFileIOException(DocFile fileName, Mode mode, IOException cause) { argument
78 super(mode + ":" + fileName.getPath(), cause);
80 this.mode = mode;
/openjdk9/jdk/src/java.base/unix/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...]
/openjdk9/jdk/src/java.base/windows/native/libjava/
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
/openjdk9/jdk/src/java.base/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
/openjdk9/jaxws/src/java.xml.bind/share/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)
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/oracle/webservices/internal/api/databinding/
H A DDatabindingModeFeature.java47 private String mode; field in class:DatabindingModeFeature
50 public DatabindingModeFeature(String mode) { argument
52 this.mode = mode;
57 return mode;
75 public Builder value(final String x) { o.mode = x; return this; }
/openjdk9/jdk/src/java.base/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];
/openjdk9/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...]
/openjdk9/jdk/src/java.base/share/native/libzip/zlib/
H A Dgzlib.c103 if (state->mode == GZ_READ) { /* for reading ... */
115 local gzFile gz_open(path, fd, mode)
118 const char *mode;
142 /* interpret mode */
143 state->mode = GZ_NONE;
147 while (*mode) {
148 if (*mode >= '0' && *mode <= '9')
149 state->level = *mode - '0';
151 switch (*mode) {
[all...]
/openjdk9/jdk/test/javax/imageio/plugins/gif/
H A DDisableCompressionTest.java52 for (int mode : supported_modes) {
53 String mode_name = getModeName(mode);
54 System.out.println("Test mode " + mode_name + "...");
56 // and supports any compression mode form supportd_modes
58 param.setCompressionMode(mode);
64 // will be thrown here and current compression mode will not be
79 if (param.getCompressionMode() != mode) {
86 private static String getModeName(int mode) { argument
87 switch(mode) {
97 throw new IllegalArgumentException("Unknown mode
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.lir/src/org/graalvm/compiler/lir/
H A DValueProcedure.java42 * @param mode The operand mode for the value.
46 Value doValue(Value value, OperandMode mode, EnumSet<OperandFlag> flags); argument
49 default Value doValue(LIRInstruction instruction, Value value, OperandMode mode, EnumSet<OperandFlag> flags) { argument
50 return doValue(value, mode, flags);
H A DValueConsumer.java42 * @param mode The operand mode for the value.
45 void visitValue(Value value, OperandMode mode, EnumSet<OperandFlag> flags); argument
48 default void visitValue(LIRInstruction instruction, Value value, OperandMode mode, EnumSet<OperandFlag> flags) { argument
49 visitValue(value, mode, flags);
/openjdk9/jdk/src/java.base/share/classes/jdk/internal/misc/
H A DJavaIORandomAccessFileAccess.java33 public RandomAccessFile openAndDelete(File file, String mode) argument
/openjdk9/jdk/src/java.base/share/native/libjava/
H A DStackStreamFactory.c58 (JNIEnv *env, jobject stackstream, jlong mode, jint skipFrames, jint batchSize, jint startIndex,
61 return JVM_CallStackWalk(env, stackstream, mode, skipFrames, batchSize,
71 (JNIEnv *env, jobject stackstream, jlong mode, jlong anchor,
75 return JVM_MoreStackWalk(env, stackstream, mode, anchor, batchSize,
57 Java_java_lang_StackStreamFactory_00024AbstractStackWalker_callStackWalk(JNIEnv *env, jobject stackstream, jlong mode, jint skipFrames, jint batchSize, jint startIndex, jobjectArray frames) argument
70 Java_java_lang_StackStreamFactory_00024AbstractStackWalker_fetchStackFrames(JNIEnv *env, jobject stackstream, jlong mode, jlong anchor, jint batchSize, jint startIndex, jobjectArray frames) argument
/openjdk9/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);
/openjdk9/langtools/test/tools/javac/DefiniteAssignment/7003744/
H A DT7003744a.java42 final String mode = am;
/openjdk9/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/
H A DJInfo.java37 mode = m;
66 switch (mode) {
99 int mode = -1;
106 mode = MODE_BOTH;
113 mode = MODE_FLAGS;
115 mode = MODE_SYSPROPS;
120 mode = MODE_BOTH;
123 if (mode != MODE_BOTH) {
138 this.mode = mode;
177 private int mode; field in class:JInfo
[all...]
/openjdk9/jaxws/src/jdk.xml.ws/share/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...]
/openjdk9/jdk/test/java/net/MulticastSocket/
H A DTestDefaults.java40 boolean mode = mc.getLoopbackMode();
45 System.out.println(" loopback: " + mode);
/openjdk9/nashorn/samples/
H A Dexec.js1 # exec script requires -scripting mode
/openjdk9/hotspot/src/share/vm/prims/
H A Dstackwalk.hpp81 JavaFrameStream(JavaThread* thread, int mode);
125 static int fill_in_frames(jlong mode, BaseFrameStream& stream,
130 static inline bool get_caller_class(int mode) { argument
131 return (mode & JVM_STACKWALK_GET_CALLER_CLASS) != 0;
133 static inline bool skip_hidden_frames(int mode) { argument
134 return (mode & JVM_STACKWALK_SHOW_HIDDEN_FRAMES) == 0;
136 static inline bool live_frame_info(int mode) { argument
137 return (mode & JVM_STACKWALK_FILL_LIVE_STACK_FRAMES) != 0;
141 static inline bool need_method_info(int mode) { argument
142 return (mode
144 use_frames_array(int mode) argument
[all...]
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.replacements.amd64/src/org/graalvm/compiler/replacements/amd64/
H A DAMD64RoundNode.java52 private final RoundingMode mode; field in class:AMD64RoundNode
54 public AMD64RoundNode(ValueNode value, RoundingMode mode) { argument
55 super(TYPE, roundStamp((FloatStamp) value.stamp(), mode), value);
56 this.mode = mode;
59 private static double round(RoundingMode mode, double input) { argument
60 switch (mode) {
70 throw GraalError.unimplemented("unimplemented RoundingMode " + mode);
74 private static FloatStamp roundStamp(FloatStamp stamp, RoundingMode mode) { argument
76 min = Math.min(min, round(mode, mi
[all...]
/openjdk9/jdk/src/jdk.internal.jvmstat/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);
/openjdk9/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/pipe/
H A DStubs.java115 * createDispatch(port,owner,binding,SOAPMessage.class,mode,next);
119 public static Dispatch<SOAPMessage> createSAAJDispatch(QName portName, WSService owner, WSBinding binding, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) { argument
120 DispatchImpl.checkValidSOAPMessageDispatch(binding, mode);
121 return new com.sun.xml.internal.ws.client.dispatch.SOAPMessageDispatch(portName, mode, (WSServiceDelegate)owner, next, (BindingImpl)binding, epr);
129 * createDispatch(port,owner,binding,SOAPMessage.class,mode,next);
132 public static Dispatch<SOAPMessage> createSAAJDispatch(WSPortInfo portInfo, WSBinding binding, Service.Mode mode, @Nullable WSEndpointReference epr) { argument
133 DispatchImpl.checkValidSOAPMessageDispatch(binding, mode);
134 return new com.sun.xml.internal.ws.client.dispatch.SOAPMessageDispatch(portInfo, mode, (BindingImpl)binding, epr);
142 * createDispatch(port,owner,binding,DataSource.class,mode,next);
146 public static Dispatch<DataSource> createDataSourceDispatch(QName portName, WSService owner, WSBinding binding, Service.Mode mode, Tub argument
159 createDataSourceDispatch(WSPortInfo portInfo, WSBinding binding, Service.Mode mode,@Nullable WSEndpointReference epr) argument
173 createSourceDispatch(QName portName, WSService owner, WSBinding binding, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) argument
185 createSourceDispatch(WSPortInfo portInfo, WSBinding binding, Service.Mode mode, @Nullable WSEndpointReference epr) argument
211 createDispatch(QName portName, WSService owner, WSBinding binding, Class<T> clazz, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) argument
252 createDispatch(WSPortInfo portInfo, WSService owner, WSBinding binding, Class<T> clazz, Service.Mode mode, @Nullable WSEndpointReference epr) argument
297 createJAXBDispatch( QName portName, WSService owner, WSBinding binding, JAXBContext jaxbContext, Service.Mode mode, Tube next, @Nullable WSEndpointReference epr) argument
314 createJAXBDispatch( WSPortInfo portInfo, WSBinding binding, JAXBContext jaxbContext, Service.Mode mode, @Nullable WSEndpointReference epr) argument
[all...]

Completed in 189 milliseconds

1234567891011>>