Searched defs:option (Results 1 - 25 of 63) sorted by relevance

123

/openjdk7/langtools/src/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
H A DForwardingJavaFileManager.java106 public int isSupportedOption(String option) { argument
107 return fileManager.isSupportedOption(option);
/openjdk7/langtools/test/tools/javah/
H A DVersionTest.java46 static void test(String option, String regex) { argument
49 String[] args = { option };
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DOptionComboBoxModel.java52 public void setInitialSelection(Option option) { argument
53 selectedOption = option;
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DOptionFinder.java33 * A class for finding a specific special option in the jstat_options file.
48 public OptionFormat getOptionFormat(String option, boolean useTimestamp) { argument
49 OptionFormat of = getOptionFormat(option, optionsSources);
62 protected OptionFormat getOptionFormat(String option, List<URL> sources) { argument
68 of = new Parser(r).parse(option);
/openjdk7/jdk/src/windows/classes/sun/security/krb5/internal/tools/
H A DKinit.java107 * You can specify the location of the cache file by using the -c option
252 private static void setOptions(int flag, int option, KDCOptions opt) { argument
253 switch (option) {
/openjdk7/langtools/src/share/classes/com/sun/javadoc/
H A DDoclet.java66 * given option. For example, "-d docs" would return 2.
70 * error for every option.
72 * @return number of arguments on the command line for an option
73 * including the option name itself. Zero return means
74 * option not known. Negative value means error occurred.
76 public static int optionLength(String option) { argument
77 return 0; // default is option unknown
84 * as every option will be considered valid if this method
88 * Printing option related error messages (using the provided
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/standard/
H A DStandard.java34 public static int optionLength(String option) { argument
35 return HtmlDoclet.optionLength(option);
/openjdk7/langtools/src/share/classes/com/sun/tools/javap/
H A DInstructionDetailWriter.java46 Kind(String option) { argument
47 this.option = option;
49 final String option; field in class:InstructionDetailWriter.Kind
/openjdk7/jdk/src/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
/openjdk7/langtools/test/tools/javap/
H A DT6824493.java69 void test(String option, String... expect) { argument
74 option,
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xslt/
H A DProcess.java257 // The -XSLTC option has been processed.
1208 * Print a message if an option cannot be used with -XSLTC.
1210 * @param option The option String
1212 private static void printInvalidXSLTCOption(String option) argument
1214 System.err.println(XSLMessages.createMessage("xslProc_invalid_xsltc_option", new Object[]{option}));
1218 * Print a message if an option can only be used with -XSLTC.
1220 * @param option The option String
1222 private static void printInvalidXalanOption(String option) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DDebug.java85 * option is set. Set the prefix to be the same as option.
88 public static Debug getInstance(String option) argument
90 return getInstance(option, option);
95 * option is set. Set the prefix to be prefix.
97 public static Debug getInstance(String option, String prefix) argument
99 if (isOn(option)) {
110 * string "option".
112 public static boolean isOn(String option) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DDebug.java108 * option is set. Set the prefix to be the same as option.
111 public static Debug getInstance(String option) argument
113 return getInstance(option, option);
118 * option is set. Set the prefix to be prefix.
120 public static Debug getInstance(String option, String prefix) argument
122 if (isOn(option)) {
133 * string "option".
135 public static boolean isOn(String option) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jinfo/
H A DJInfo.java39 * or an SA tool. At this time the only option that uses the VM attach
40 * mechanism is the -flag option to set or print a command line option of a
57 // argument count including option has to 2 or 3.
65 // unknown option or -h or -help, print help
75 String option = args[1];
76 flag(pid, option);
115 private static void flag(String pid, String option) throws IOException { argument
119 int index = option.indexOf('=');
121 flag = option
[all...]
/openjdk7/jdk/make/tools/swing-beans/
H A DGenDocletBeanInfo.java89 public static int optionLength(String option) { argument
91 if (option.equals("-t"))
93 if (option.equals("-d"))
95 if (option.equals("-x"))
122 System.err.println("-t option not specified");
126 System.err.println("-d option not specified");
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWDialogPeer.java142 native void pSetIMMOption(String option); argument
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/
H A DHtmlDoclet.java205 // if -nodeprecated option is set and the package is marked as
231 * @return number of arguments to option. Zero return means
232 * option not known. Negative value means error occurred.
234 public static int optionLength(String option) { argument
236 return (ConfigurationImpl.getInstance()).optionLength(option);
245 * Printing option related error messages (using the provided
/openjdk7/langtools/src/share/classes/com/sun/tools/javah/
H A DJavahTool.java76 public int isSupportedOption(String option) { argument
79 if (options[i].matches(option))
/openjdk7/jdk/src/share/classes/sun/management/
H A DVMOptionCompositeData.java41 private final VMOption option; field in class:VMOptionCompositeData
43 private VMOptionCompositeData(VMOption option) { argument
44 this.option = option;
48 return option;
51 public static CompositeData toCompositeData(VMOption option) { argument
52 VMOptionCompositeData vcd = new VMOptionCompositeData(option);
60 option.getName(),
61 option.getValue(),
62 new Boolean(option
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.inline.hpp61 inline bool os::obsolete_option(const JavaVMOption *option) { argument
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacTool.java117 JavacOption option = sharedCompiler.getOption(name);
118 if (option == null || !match(kind, option.getKind()))
120 if ((args.length != 0) != option.hasArg())
122 if (option.hasArg()) {
123 if (option.process(null, name, arg)) // FIXME
126 if (option.process(null, name)) // FIXME
172 for (String option : options)
173 option.getClass(); // null check
235 JavacOption option
268 isSupportedOption(String option) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DJavacOption.java46 /** Does this option take a (separate) operand?
47 * @return true if this option takes a separate operand
51 /** Does argument string match option pattern?
53 * @return true if {@code arg} matches this option
57 /** Process an option with an argument.
59 * @param option the option to be processed
60 * @param arg the arg for the option to be processed
63 boolean process(Options options, String option, String arg); argument
65 /** Process the option wit
70 process(Options options, String option) argument
155 matches(String option) argument
218 process(Options options, String option, String arg) argument
246 process(Options options, String option) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DDocletInvoker.java175 * option not known. Positive value indicates number of
176 * arguments to option. Negative value means error occurred.
178 public int optionLength(String option) { argument
182 Object[] params = { option };
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/
H A DKDCOptions.java100 * <p> Various checks must be made before honoring an option. The restrictions
219 * @param option an option bit.
220 * @param value true if the option is selected, false if the option is not selected.
224 public void set(int option, boolean value) throws ArrayIndexOutOfBoundsException { argument
225 super.set(option, value);
231 * @param option an option bit.
232 * @return value true if the option i
237 get(int option) argument
[all...]

Completed in 838 milliseconds

123