Searched refs:option (Results 1 - 25 of 242) sorted by relevance

12345678910

/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/regexp/joni/
H A DOption.java45 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...]
/openjdk10/langtools/src/java.compiler/share/classes/javax/tools/
H A DOptionChecker.java37 * 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
/openjdk10/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/internal/
H A DRow.java62 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();
/openjdk10/jdk/src/java.base/share/classes/sun/nio/fs/
H A DExtendedOptions.java46 * 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...]
/openjdk10/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/
H A DIllegalOptionSpecificationException.java61 * 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 DUnrecognizedOptionException.java61 * 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 DParserRules.java92 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 DUnconfiguredOptionException.java63 * 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 ) );
/openjdk10/langtools/src/jdk.jdeps/share/classes/com/sun/tools/javap/
H A DInstructionDetailWriter.java48 Kind(String option) { argument
49 this.option = option;
52 final String option; field in class:InstructionDetailWriter.Kind
/openjdk10/hotspot/test/compiler/aot/cli/
H A DAotLibraryNegativeBase.java35 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
/openjdk10/jdk/test/java/net/SocketOption/
H A DUnsupportedOptionsTest.java73 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...]
/openjdk10/hotspot/test/runtime/CommandLine/OptionsValidation/common/optionsvalidation/
H A DJVMOptionsUtils.java46 /* 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...]
/openjdk10/jdk/test/com/sun/management/HotSpotDiagnosticMXBean/
H A DSetVMOption.java53 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...]
/openjdk10/hotspot/src/share/vm/runtime/
H A Darguments_ext.hpp35 // no additional parsing needed in Arguments::parse() for the option.
37 static inline bool process_options(const JavaVMOption *option) { return false; } argument
/openjdk10/jdk/src/java.base/share/classes/sun/text/
H A DNormalizer.java57 * @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
/openjdk10/langtools/test/jdk/javadoc/tool/api/basic/
H A DIsSupportedOptionTest.java62 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);
/openjdk10/langtools/test/tools/javadoc/api/basic/
H A DIsSupportedOptionTest.java62 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);
/openjdk10/jdk/src/jdk.management/share/classes/com/sun/management/internal/
H A DVMOptionCompositeData.java43 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...]
/openjdk10/jdk/test/java/lang/StackWalker/
H A DHiddenFrames.java45 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...]
/openjdk10/hotspot/test/gc/arguments/
H A DTestG1PercentageOptions.java81 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);
/openjdk10/jdk/src/java.base/share/classes/sun/net/ext/
H A DExtendedSocketOptions.java45 /** 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...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/html/
H A DOptionComboBoxModel.java51 public void setInitialSelection(Option option) { argument
52 selectedOption = option;
/openjdk10/jdk/src/jdk.unsupported/share/classes/com/sun/nio/file/
H A DExtendedOpenOption.java52 ExtendedOpenOption(ExtendedOptions.InternalOption<Void> option) { argument
53 option.register(this);
H A DExtendedWatchEventModifier.java45 ExtendedWatchEventModifier(ExtendedOptions.InternalOption<Void> option) { argument
46 option.register(this);
H A DExtendedCopyOption.java45 ExtendedCopyOption(ExtendedOptions.InternalOption<Void> option) { argument
46 option.register(this);

Completed in 107 milliseconds

12345678910