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

123456

/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/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
/openjdk7/jdk/test/com/sun/management/HotSpotDiagnosticMXBean/
H A DSetVMOption.java53 VMOption option = findPrintGCDetailsOption();
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 = findPrintGCDetailsOption();
71 if (!option.getValue().equalsIgnoreCase(NEW_VALUE)) {
73 option
[all...]
/openjdk7/jdk/src/solaris/sample/dtrace/hotspot_jni/
H A Dhotspot_jni_calls_stat.d48 #pragma D option quiet
49 #pragma D option destructive
50 #pragma D option defaultargs
51 #pragma D option bufsize=16m
52 #pragma D option aggrate=100ms
H A Dhotspot_jni_calls_tree.d46 #pragma D option quiet
47 #pragma D option destructive
48 #pragma D option defaultargs
49 #pragma D option bufsize=16m
50 #pragma D option aggrate=100ms
H A DCriticalSection.d55 #pragma D option quiet
56 #pragma D option destructive
57 #pragma D option defaultargs
58 #pragma D option bufsize=16m
59 #pragma D option aggrate=100ms
/openjdk7/jdk/test/demo/jvmti/hprof/
H A DOptionsTest.java47 for(String option: options) {
49 hprof = new DemoRun("hprof", option);
54 throw new RuntimeException("Test failed with " + option
H A DStackMapTableTest.java48 for(String option: options) {
50 hprof = new DemoRun("hprof", option);
55 throw new RuntimeException("Test failed with " + option
/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/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/jdk/src/share/classes/javax/swing/text/html/
H A DOptionComboBoxModel.java52 public void setInitialSelection(Option option) { argument
53 selectedOption = option;
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/formats/html/
H A DConfigurationImpl.java39 * Also determine the length of the command line option. For example,
40 * for a option "-header" there will be a string argument associated, then the
41 * the length of option "-header" is two. But for option "-nohelp" no argument
46 * use "-helpfile" option when already "-nohelp" option is used.
70 * Argument for command line option "-header".
75 * Argument for command line option "-packagesheader".
80 * Argument for command line option "-footer".
85 * Argument for command line option "
302 optionLength(String option) argument
[all...]
/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/jdk/src/share/classes/java/nio/file/
H A DCopyMoveHelper.java52 for (CopyOption option: options) {
53 if (option == StandardCopyOption.REPLACE_EXISTING) {
57 if (option == LinkOption.NOFOLLOW_LINKS) {
61 if (option == StandardCopyOption.COPY_ATTRIBUTES) {
65 if (option == null)
67 throw new UnsupportedOperationException("'" + option +
68 "' is not a recognized copy option");
84 CopyOption option = options[i];
85 if (option == StandardCopyOption.ATOMIC_MOVE) {
89 newOptions[i] = option;
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/main/
H A DRecognizedOptions.java245 for (Option option : getAll(helper))
246 if (desired.contains(option.getName()))
247 options.append(option);
261 public boolean process(Options options, String option) {
277 public boolean process(Options options, String option) {
278 options.put("-Xlint:none", option);
288 public boolean process(Options options, String option) {
289 options.put("-Xlint:deprecation", option);
297 public boolean process(Options options, String option, String arg) {
304 public boolean process(Options options, String option, Strin
[all...]
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/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/solaris/sample/dtrace/helpers/
H A Ddtrace_helper.d38 * dtrace -c option launches the command specified in the -c argument and
43 * The -Z option is needed to permit probe descriptions that match zero
53 * The -Z option requires Solaris patch 118822-30 installed on your system.
65 #pragma D option quiet
66 #pragma D option destructive
/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/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/
H A DConfiguration.java77 * This is true if option "-serialwarn" is used. Defualt value is false to
93 * True if command line option "-nosince" is used. Default value is
165 * tag is used in the doc comment and if -author option is used.
166 * <code>showauthor</code> is set to true if -author option is used.
173 * if @version tag is used in the doc comment and if -version option is
174 * used. <code>showversion</code> is set to true if -version option is
187 * option is used. <code>nodepracted</code> is set to true if
188 * -nodeprecated option is used. Default is generate deprected API
246 * @param options The array of option names and values.
290 * option (includin
299 optionLength(String option) argument
[all...]
/openjdk7/jdk/src/solaris/sample/dtrace/hotspot/
H A Dmethod_invocation_tree.d47 * option.
49 * option or use the jinfo command to enable it at runtime as follows:
55 #pragma D option quiet
56 #pragma D option destructive
57 #pragma D option defaultargs
58 #pragma D option bufsize=16m
59 #pragma D option aggrate=100ms
H A Dobject_allocation_stat.d52 * you need to turn on the ExtendedDTraceProbes VM option.
54 * option or use the jinfo command to enable it at runtime as follows:
60 #pragma D option quiet
61 #pragma D option destructive
62 #pragma D option defaultargs
63 #pragma D option bufsize=16m
64 #pragma D option aggrate=100ms
/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/src/share/classes/sun/tools/jmap/
H A DJMap.java40 * or an SA tool. At this time the only option that uses the VM attach mechanism
41 * is the -dump option to get a heap dump of a running application. All other
55 // The -F (force) option is currently not passed through to SA
58 // Default option (if nothing provided)
69 // the chosen option (-heap, -dump:*, ... )
70 String option = null;
83 if (option != null) {
84 usage(); // option already specified
86 option = arg;
91 // if no option provide
148 runTool(String option, String args[]) argument
[all...]

Completed in 130 milliseconds

123456