Searched refs:argv (Results 1 - 22 of 22) sorted by relevance

/opengrok/ext/SampleRazorRepository/UserSandbox/SimpleCProgram/
H A Dmain.c3 int main(int argc, char **argv) { argument
5 (void)printf("Program %s executed with the following arguments:\n", argv[0]);
7 (void)printf("[%s] ", argv[i]);
/opengrok/src/org/opensolaris/opengrok/history/
H A DSCCSget.java37 ArrayList<String> argv = new ArrayList<String>();
38 argv.add(command);
39 argv.add("get");
40 argv.add("-p");
42 argv.add("-r"+revision);
44 argv.add(file.getCanonicalPath());
46 Executor executor = new Executor(argv);
H A DSSCMRepository.java129 List<String> argv = new ArrayList<>();
131 argv.add(RepoCommand);
132 argv.add("history");
134 argv.add("/");
136 argv.add(file.getName());
139 argv.add("-v" + (Integer.parseInt(sinceRevision) + 1) + ":" + Integer.MAX_VALUE);
141 argv.add("-w-");
146 argv.add("-b" + branch);
150 argv.add("-p" + repo);
153 return new Executor(argv, ne
[all...]
H A DSCCSRepository.java92 ArrayList<String> argv = new ArrayList<>();
94 argv.add(RepoCommand);
95 argv.add("prs");
96 argv.add("-e");
97 argv.add("-d");
98 argv.add(":I: :P:");
99 argv.add(file.getCanonicalPath());
101 ProcessBuilder pb = new ProcessBuilder(argv);
155 ArrayList<String> argv = new ArrayList<>();
157 argv
[all...]
H A DClearCaseRepository.java136 String argv[] = {RepoCommand, "get", "-to", tmpName, decorated};
137 process = Runtime.getRuntime().exec(argv, null, directory);
211 ArrayList<String> argv = new ArrayList<>();
214 argv.add(RepoCommand);
215 argv.add("annotate");
216 argv.add("-nheader");
217 argv.add("-out");
218 argv.add("-");
219 argv.add("-f");
220 argv
[all...]
H A DMercurialRepository.java222 String argv[] = {RepoCommand, "cat", "-r", revision, filename};
223 process = Runtime.getRuntime().exec(argv, null, directory);
276 ArrayList<String> argv = new ArrayList<>();
293 argv.add(ensureCommand(CMD_PROPERTY_KEY, CMD_FALLBACK));
294 argv.add("log");
295 argv.add("-f");
303 // argv.add("-r");
304 // argv.add("reverse(" + rev_to_find + ":)");
305 argv.add("--template");
306 argv
[all...]
H A DGitRepository.java258 String argv[] = {RepoCommand, "show", rev + ":" + filename};
259 process = Runtime.getRuntime().exec(argv, null, directory);
274 argv[2] = rev + ":" + path;
275 process = Runtime.getRuntime().exec(argv, null, directory);
501 ArrayList<String> argv = new ArrayList<>();
503 argv.add(RepoCommand);
504 argv.add("log");
505 argv.add("--format=commit:%H" + System.getProperty("line.separator")
507 argv.add("-r");
508 argv
[all...]
H A DSubversionRepository.java369 ArrayList<String> argv = new ArrayList<>();
371 argv.add(RepoCommand);
372 argv.add("annotate");
373 argv.addAll(getAuthCommandLineParams());
374 argv.add("--non-interactive");
375 argv.add("--xml");
377 argv.add("-r");
378 argv.add(revision);
380 argv.add(escapeFileName(file.getName()));
381 ProcessBuilder pb = new ProcessBuilder(argv);
[all...]
H A DBazaarRepository.java114 String argv[] = {RepoCommand, "cat", "-r", rev, filename};
115 process = Runtime.getRuntime().exec(argv, null, directory);
299 ArrayList<String> argv = new ArrayList<>();
301 argv.add(RepoCommand);
302 argv.add("tags");
303 ProcessBuilder pb = new ProcessBuilder(argv);
H A DMonotoneRepository.java80 String argv[] = {RepoCommand, "cat", "-r", revision, filename};
81 process = Runtime.getRuntime().exec(argv, null, directory);
H A DCVSRepository.java221 String argv[] = {RepoCommand, "up", "-p", "-r", revision, basename};
222 process = Runtime.getRuntime().exec(argv, null, new File(parent));
/opengrok/src/org/opensolaris/opengrok/util/
H A DGetopt.java45 private final String[] argv; field in class:Getopt
50 * @param argv argument vector
53 public Getopt(String[] argv, String opts) { argument
57 this.argv = argv.clone();
68 while (ii < argv.length) {
69 char[] chars = argv[ii].toCharArray();
71 if (argv[ii].equals("--")) {
80 throw new ParseException("Unknown argument: " + argv[ii].substring(jj), ii);
91 option.argument = argv[i
[all...]
/opengrok/test/org/opensolaris/opengrok/util/
H A DGetoptTest.java60 String[] argv = new String[]{"-a", "foo", "-bc", "--", "-f" };
61 Getopt instance = new Getopt(argv, "a:bcr:f");
73 assertTrue(instance.getOptind() < argv.length);
74 assertEquals("-f", argv[instance.getOptind()]);
79 String[] argv = new String[]{"-a", "foo", "-bc", "argument1" };
80 Getopt instance = new Getopt(argv, "a:bc");
92 assertTrue(instance.getOptind() < argv.length);
93 assertEquals("argument1", argv[instance.getOptind()]);
105 assertTrue(instance.getOptind() < argv.length);
106 assertEquals("argument1", argv[instanc
[all...]
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/tools/
H A DJDiff.java99 public static void main(String[] argv) throws Exception argument
101 if (argv.length < 2)
107 Object[] orig = loadFile(argv[0]);
108 Object[] rev = loadFile(argv[1]);
/opengrok/test/org/opensolaris/opengrok/index/
H A DIndexerRepoTest.java95 String[] argv = {"-S", "-H", "-s", repository.getSourceRoot(),
97 Indexer.main(argv);
110 String[] argv = {"-S", "-P", "-s", repository.getSourceRoot(),
112 Indexer.main(argv);
H A DIndexerTest.java184 String[] argv = {"-S", "-P", "-H", "-Q", "off", "-s",
186 Indexer.main(argv);
/opengrok/src/org/opensolaris/opengrok/search/
H A DSearch.java56 protected boolean parseCmdLine(String[] argv) { argument
58 Getopt getopt = new Getopt(argv, "R:d:r:p:h:f:t:");
162 * @param argv command line arguments
164 public static void main(String[] argv) { argument
168 if (searcher.parseCmdLine(argv) && searcher.search()) {
/opengrok/src/org/opensolaris/opengrok/configuration/messages/
H A DMessages.java35 public static void main(String[] argv) { argument
47 Getopt getopt = new Getopt(argv, "m:i:t:g:c:e:s:p:h?");
/opengrok/src/org/opensolaris/opengrok/configuration/
H A DGroups.java52 public static void main(String[] argv) { argument
63 Getopt getopt = new Getopt(argv, "i:o:hdp:n:r:m:l?");
/opengrok/src/org/opensolaris/opengrok/index/
H A DIndexer.java99 * @param argv argument vector
102 public static void main(String argv[]) { argument
110 if (argv.length == 0) {
131 Getopt getopt = new Getopt(argv, cmdOptions.getCommandString());
543 while (optind < argv.length) {
544 subFilesList.add(cfg.getSourceRoot() + argv[optind++]);
H A DCommandLineOptions.java214 * @param argv argument vector. not used.
217 public static void main(String[] argv) { argument
/opengrok/lib/
H A Dbcel-6.0.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/bcel/ org/apache/bcel/classfile/ ...

Completed in 65 milliseconds