/openjdk9/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/ |
H A D | Option.java | 45 public static String toString(final int option) { argument 47 if (isIgnoreCase(option)) { 50 if (isExtend(option)) { 53 if (isMultiline(option)) { 56 if (isSingleline(option)) { 59 if (isFindLongest(option)) { 62 if (isFindNotEmpty(option)) { 65 if (isNegateSingleline(option)) { 68 if (isDontCaptureGroup(option)) { 71 if (isCaptureGroup(option)) { 88 isIgnoreCase(final int option) argument 92 isExtend(final int option) argument 96 isSingleline(final int option) argument 100 isMultiline(final int option) argument 104 isFindLongest(final int option) argument 108 isFindNotEmpty(final int option) argument 112 isFindCondition(final int option) argument 116 isNegateSingleline(final int option) argument 120 isDontCaptureGroup(final int option) argument 124 isCaptureGroup(final int option) argument 128 isNotBol(final int option) argument 132 isNotEol(final int option) argument 136 isPosixRegion(final int option) argument 144 isDynamic(final int option) argument [all...] |
/openjdk9/langtools/src/java.compiler/share/classes/javax/tools/ |
H A D | OptionChecker.java | 37 * Determines if the given option is supported and if so, the 38 * number of arguments the option takes. 40 * @param option an option 41 * @return the number of arguments the given option takes or -1 if 42 * the option is not supported 44 int isSupportedOption(String option); argument
|
/openjdk9/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/internal/ |
H A D | Row.java | 62 final String option; field in class:Row 65 Row( String option, String description ) { argument 66 this.option = option; 78 return option.equals( other.option ) && description.equals( other.description ); 83 return option.hashCode() ^ description.hashCode();
|
/openjdk9/jdk/src/java.base/share/classes/sun/nio/fs/ |
H A D | ExtendedOptions.java | 46 * Wraps an option or modifier. 49 private final Object option; field in class:ExtendedOptions.Wrapper 52 Wrapper(Object option, T param) { argument 53 this.option = option; 70 private void registerInternal(Object option, T param) { argument 71 Wrapper<T> wrapper = new Wrapper<T>(option, param); 76 * Register this internal option as a OpenOption. 78 public void register(OpenOption option) { argument 79 registerInternal(option, nul 85 register(CopyOption option) argument 92 register(WatchEvent.Modifier option) argument 100 register(WatchEvent.Modifier option, T param) argument 108 matches(Object option) argument [all...] |
/openjdk9/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/ |
H A D | IllegalOptionSpecificationException.java | 61 * Thrown when the option parser is asked to recognize an option with illegal characters in it. 68 IllegalOptionSpecificationException( String option ) { 69 super( singletonList( option ) ); 74 return singleOptionMessage() + " is not a legal option character";
|
H A D | UnrecognizedOptionException.java | 61 * Thrown when the option parser encounters an unrecognized option. 68 UnrecognizedOptionException( String option ) { 69 super( singletonList( option ) ); 74 return singleOptionMessage() + " is not a recognized option";
|
H A D | ParserRules.java | 92 static void ensureLegalOption( String option ) { 93 if ( option.startsWith( HYPHEN ) ) 94 throw new IllegalOptionSpecificationException( String.valueOf( option ) ); 96 for ( int i = 0; i < option.length(); ++i ) 97 ensureLegalOptionCharacter( option.charAt( i ) ); 105 private static void ensureLegalOptionCharacter( char option ) { 106 if ( !( isLetterOrDigit( option ) || isAllowedPunctuation( option ) ) ) 107 throw new IllegalOptionSpecificationException( String.valueOf( option ) ); 110 private static boolean isAllowedPunctuation( char option ) { [all...] |
H A D | UnconfiguredOptionException.java | 63 * Thrown when an option parser refers to an option that is not in fact configured already on the parser. 70 UnconfiguredOptionException( String option ) { 71 this( singletonList( option ) );
|
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/javap/ |
H A D | InstructionDetailWriter.java | 48 Kind(String option) { argument 49 this.option = option; 52 final String option; field in class:InstructionDetailWriter.Kind
|
/openjdk9/hotspot/test/compiler/aot/cli/ |
H A D | AotLibraryNegativeBase.java | 35 public static void launchTest(String option, String expectedMessages[]) { argument 40 "Unexpected exit code using " + option, 41 "Unexpected output using " + option, ExitCode.FAIL, 43 option, HelloWorldPrinter.class.getName()); 45 throw new Error("Problems executing test using " + option
|
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.options/src/org/graalvm/compiler/options/ |
H A D | OptionDescriptor.java | 26 * Describes the attributes of a static field {@linkplain Option option} and provides access to its 34 protected final OptionValue<?> option; field in class:OptionDescriptor 38 public static OptionDescriptor create(String name, Class<?> type, String help, Class<?> declaringClass, String fieldName, OptionValue<?> option) { argument 39 OptionDescriptor result = option.getDescriptor(); 41 result = new OptionDescriptor(name, type, help, declaringClass, fieldName, option); 42 option.setDescriptor(result); 44 assert result.name.equals(name) && result.type == type && result.declaringClass == declaringClass && result.fieldName.equals(fieldName) && result.option == option; 48 private OptionDescriptor(String name, Class<?> type, String help, Class<?> declaringClass, String fieldName, OptionValue<?> option) { argument 52 this.option [all...] |
H A D | OptionValue.java | 36 * An option value. 40 * Temporarily changes the value for an option. The {@linkplain OptionValue#getValue() value} of 41 * {@code option} is set to {@code value} until {@link OverrideScope#close()} is called on the 53 public static OverrideScope override(OptionValue<?> option, Object value) { argument 56 if (!value.equals(option.getValue())) { 57 return new SingleOverrideScope(option, value); 62 return new MultipleOverridesScope(current, option, value); 67 * value} of each {@code option} in {@code overrides} is set to the corresponding {@code value} 87 OptionValue<?> option = single.getKey(); 89 return new SingleOverrideScope(option, overrideValu 165 addToHistogram(OptionValue<?> option) argument 361 getOverride(OptionValue<T> option) argument 363 getOverrides(OptionValue<?> option, Collection<Object> c) argument 371 private final OptionValue<?> option; field in class:OptionValue.SingleOverrideScope 374 SingleOverrideScope(OptionValue<?> option, Object value) argument 414 MultipleOverridesScope(OverrideScope parent, OptionValue<?> option, Object value) argument 463 getOverride(OptionValue<T> option) argument 468 getOverrides(OptionValue<?> option, Collection<Object> c) argument [all...] |
/openjdk9/jdk/test/java/net/SocketOption/ |
H A D | UnsupportedOptionsTest.java | 73 for (SocketOption option : socketOptions) { 74 if (!s.supportedOptions().contains(option)) { 75 testUnsupportedSocketOption(s, option); 78 if (!ss.supportedOptions().contains(option)) { 79 testUnsupportedSocketOption(ss, option); 82 if (!ms.supportedOptions().contains(option)) { 83 testUnsupportedSocketOption(ms, option); 86 if (!ds.supportedOptions().contains(option)) { 87 testUnsupportedSocketOption(ds, option); 93 * Check that UnsupportedOperationException for unsupported option i 96 testUnsupportedSocketOption(Object socket, SocketOption option) argument 102 testSet(Object socket, SocketOption option) argument 116 testGet(Object socket, SocketOption option) argument 130 getOption(Object socket, SocketOption option) argument 143 setOption(Object socket, SocketOption option) argument [all...] |
/openjdk9/jdk/test/com/sun/management/HotSpotDiagnosticMXBean/ |
H A D | SetVMOption.java | 53 VMOption option = findHeapDumpOnOomOption(); 54 if (!option.getValue().equalsIgnoreCase(EXPECTED_VALUE)) { 56 option.getValue() + " expected: " + EXPECTED_VALUE); 58 if (option.getOrigin() != Origin.VM_CREATION) { 60 option.getOrigin() + " expected: VM_CREATION"); 62 if (!option.isWriteable()) { 67 // set VM option to a new value 70 option = findHeapDumpOnOomOption(); 71 if (!option.getValue().equalsIgnoreCase(NEW_VALUE)) { 73 option [all...] |
/openjdk9/hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/ |
H A D | JVMOptionsUtils.java | 46 /* Java option which print options with ranges */ 96 JVMOption option; 105 option = optionsAsMap.get(optionName); 106 if (option != null) { 107 minRangeString = option.getMin(); 111 maxRangeString = option.getMax(); 142 JVMOption option; 149 option = optionsAsMap.get(optionName); 150 if (option != null) { 151 minRange = option 179 addNameDependency(JVMOption option) argument [all...] |
/openjdk9/hotspot/src/share/vm/runtime/ |
H A D | arguments_ext.hpp | 35 // no additional parsing needed in Arguments::parse() for the option. 37 static inline bool process_options(const JavaVMOption *option) { return false; } argument
|
/openjdk9/jdk/src/java.base/share/classes/sun/text/ |
H A D | Normalizer.java | 57 * @param option The normalization option; 65 int option) { 66 return NormalizerBase.normalize(src.toString(), form, option); 77 * @param option The normalization option; 86 int option) { 87 return NormalizerBase.isNormalized(src.toString(), form, option); 63 normalize(CharSequence src, java.text.Normalizer.Form form, int option) argument 84 isNormalized(CharSequence src, java.text.Normalizer.Form form, int option) argument
|
/openjdk9/langtools/test/jdk/javadoc/tool/api/basic/ |
H A D | IsSupportedOptionTest.java | 62 private void check(DocumentationTool tool, String option, int numArgs) { argument 63 System.err.println("check " + option); 64 int n = tool.isSupportedOption(option); 66 error("unexpected result for option: " + option + ": " + n);
|
/openjdk9/langtools/test/tools/javadoc/api/basic/ |
H A D | IsSupportedOptionTest.java | 62 private void check(DocumentationTool tool, String option, int numArgs) { argument 63 System.err.println("check " + option); 64 int n = tool.isSupportedOption(option); 66 error("unexpected result for option: " + option + ": " + n);
|
/openjdk9/jdk/test/java/lang/StackWalker/ |
H A D | HiddenFrames.java | 45 private final Option option; field in class:HiddenFrames 51 this.option = null; 54 HiddenFrames(Option option) { argument 55 this.option = option; 56 this.walker = StackWalker.getInstance(option); 73 if (option == null && !lambdas.isEmpty()) { 77 if (option == Option.SHOW_HIDDEN_FRAMES && lambdas.isEmpty()) { 86 if (option == null && !lambdas.isEmpty()) { 90 if (option [all...] |
/openjdk9/jdk/src/jdk.management/share/classes/com/sun/management/internal/ |
H A D | VMOptionCompositeData.java | 43 private final VMOption option; field in class:VMOptionCompositeData 45 private VMOptionCompositeData(VMOption option) { argument 46 this.option = option; 50 return option; 53 public static CompositeData toCompositeData(VMOption option) { argument 54 VMOptionCompositeData vcd = new VMOptionCompositeData(option); 62 option.getName(), 63 option.getValue(), 64 option [all...] |
/openjdk9/hotspot/test/gc/arguments/ |
H A D | TestG1PercentageOptions.java | 81 for (OptionDescription option : percentOptions) { 82 for (String value : option.valid) { 83 check(option.name, value, true); 85 for (String value : option.invalid) { 86 check(option.name, value, false); 88 check("-XX:" + option.name, false); 89 check("-XX:+" + option.name, false); 90 check("-XX:-" + option.name, false);
|
/openjdk9/jdk/src/java.base/share/classes/sun/net/ext/ |
H A D | ExtendedSocketOptions.java | 45 /** Tells whether or not the option is supported. */ 46 public final boolean isOptionSupported(SocketOption<?> option) { argument 47 return options().contains(option); 53 /** Sets the value of a socket option, for the given socket. */ 54 public abstract void setOption(FileDescriptor fd, SocketOption<?> option, Object value) argument 57 /** Returns the value of a socket option, for the given socket. */ 58 public abstract Object getOption(FileDescriptor fd, SocketOption<?> option) argument 95 public void setOption(FileDescriptor fd, SocketOption<?> option, Object value) argument 99 "no extended options: " + option.name()); 103 public Object getOption(FileDescriptor fd, SocketOption<?> option) argument [all...] |
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/html/ |
H A D | OptionComboBoxModel.java | 51 public void setInitialSelection(Option option) { argument 52 selectedOption = option;
|
/openjdk9/jdk/src/jdk.unsupported/share/classes/com/sun/nio/file/ |
H A D | ExtendedOpenOption.java | 52 ExtendedOpenOption(ExtendedOptions.InternalOption<Void> option) { argument 53 option.register(this);
|