Searched defs:args (Results 1 - 25 of 2341) sorted by relevance

1234567891011>>

/prebuilts/jdk/jdk8/darwin-x86/sample/nio/file/
H A DFileType.java45 public static void main(String[] args) throws IOException { argument
46 if (args.length == 0) {
50 for (String arg: args) {
H A DXdd.java61 public static void main(String[] args) throws IOException { argument
63 if (args.length != 1 && args.length != 3)
66 Path file = (args.length == 1) ?
67 Paths.get(args[0]) : Paths.get(args[2]);
80 if (args.length == 1) {
90 if (args[0].equals("-set")) {
92 String[] s = args[1].split("=");
102 if (args[
[all...]
H A DDiskUsage.java67 public static void main(String[] args) throws IOException { argument
69 if (args.length == 0) {
75 for (String file: args) {
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/multicast/
H A DSender.java59 public static void main(String[] args) throws IOException { argument
60 if (args.length < 2)
63 MulticastAddress target = MulticastAddress.parse(args[0]);
75 dc.send(Charset.defaultCharset().encode(args[1]),
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/
H A DURLDumper.java54 public static void main(String[] args) throws Exception { argument
56 if (args.length != 2) {
61 String location = args[0];
62 String file = args[1];
/prebuilts/jdk/jdk8/darwin-x86/sample/try-with-resources/src/
H A DUnzip.java55 * @param args the argument list for {@code Unzip}.
57 public static void main(String[] args) { argument
58 if (args.length != 1) {
66 try (FileSystem zipFileSystem = FileSystems.newFileSystem(Paths.get(args[0]), null)) {
H A DZipCat.java56 * @param args the argument list for ZipCat
58 public static void main(String[] args) { argument
59 if (args.length != 2) {
69 = FileSystems.newFileSystem(Paths.get(args[0]),null);
71 = Files.newInputStream(zipFileSystem.getPath(args[1]))) {
/prebuilts/jdk/jdk8/linux-x86/sample/nio/file/
H A DFileType.java45 public static void main(String[] args) throws IOException { argument
46 if (args.length == 0) {
50 for (String arg: args) {
H A DXdd.java61 public static void main(String[] args) throws IOException { argument
63 if (args.length != 1 && args.length != 3)
66 Path file = (args.length == 1) ?
67 Paths.get(args[0]) : Paths.get(args[2]);
80 if (args.length == 1) {
90 if (args[0].equals("-set")) {
92 String[] s = args[1].split("=");
102 if (args[
[all...]
H A DDiskUsage.java67 public static void main(String[] args) throws IOException { argument
69 if (args.length == 0) {
75 for (String file: args) {
/prebuilts/jdk/jdk8/linux-x86/sample/nio/multicast/
H A DSender.java59 public static void main(String[] args) throws IOException { argument
60 if (args.length < 2)
63 MulticastAddress target = MulticastAddress.parse(args[0]);
75 dc.send(Charset.defaultCharset().encode(args[1]),
/prebuilts/jdk/jdk8/linux-x86/sample/nio/server/
H A DURLDumper.java54 public static void main(String[] args) throws Exception { argument
56 if (args.length != 2) {
61 String location = args[0];
62 String file = args[1];
/prebuilts/jdk/jdk8/linux-x86/sample/try-with-resources/src/
H A DUnzip.java55 * @param args the argument list for {@code Unzip}.
57 public static void main(String[] args) { argument
58 if (args.length != 1) {
66 try (FileSystem zipFileSystem = FileSystems.newFileSystem(Paths.get(args[0]), null)) {
H A DZipCat.java56 * @param args the argument list for ZipCat
58 public static void main(String[] args) { argument
59 if (args.length != 2) {
69 = FileSystems.newFileSystem(Paths.get(args[0]),null);
71 = Files.newInputStream(zipFileSystem.getPath(args[1]))) {
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/spirv-tools/source/opt/
H A Dmake_unique.h24 std::unique_ptr<T> MakeUnique(Args&&... args) { argument
25 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/spirv-tools/source/opt/
H A Dmake_unique.h24 std::unique_ptr<T> MakeUnique(Args&&... args) { argument
25 return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
/prebuilts/tools/common/proguard/proguard4.7/examples/annotations/examples/
H A DApplication.java16 public static void main(String[] args) argument
H A DNativeCallBack.java38 public static void main(String[] args) argument
/prebuilts/jdk/jdk8/darwin-x86/sample/lambda/DefaultMethods/
H A DArrayIterator.java108 * @param args command-line arguments
110 public static void main(final String[] args) { argument
H A DSimplestUsage.java82 * @param args command-line arguments
84 public static void main(String[] args) { argument
/prebuilts/jdk/jdk8/linux-x86/sample/lambda/DefaultMethods/
H A DArrayIterator.java108 * @param args command-line arguments
110 public static void main(final String[] args) { argument
H A DSimplestUsage.java82 * @param args command-line arguments
84 public static void main(String[] args) { argument
/prebuilts/jdk/jdk8/darwin-x86/sample/lambda/BulkDataOperations/src/
H A DPasswordGenerator.java77 * @param args the argument list for PasswordGenerator.
79 public static void main(String[] args) { argument
81 if (args.length != 1) {
88 passwordLength = Long.parseLong(args[0]);
94 printMessageAndUsage("Unexpected number format" + args[0]);
/prebuilts/jdk/jdk8/linux-x86/sample/lambda/BulkDataOperations/src/
H A DPasswordGenerator.java77 * @param args the argument list for PasswordGenerator.
79 public static void main(String[] args) { argument
81 if (args.length != 1) {
88 passwordLength = Long.parseLong(args[0]);
94 printMessageAndUsage("Unexpected number format" + args[0]);
/prebuilts/jdk/jdk8/darwin-x86/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/
H A DScanDirClient.java80 * @param args The {@code main} method takes two parameters:
82 * <li>args[0] must be the server's host</li>
83 * <li>args[1] must be the rmi port number at which the
90 public static void main(String[] args) { argument
92 // Check args
94 if (args==null || args.length!=2) {
100 InetAddress.getByName(args[0]);
102 System.err.println("No such host: " + args[0]+
106 System.err.println("Bad address: " + args[
[all...]

Completed in 209 milliseconds

1234567891011>>