| /opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/diff/myers/ |
| H A D | MyersDiff.java | 93 PathNode path = buildPath(orig, rev); 94 return buildRevision(path, orig, rev); 105 * @throws DifferentiationFailedException if a diff path could not be found. 124 PathNode path = null; 177 throw new DifferentiationFailedException("could not find a diff path"); 181 * Constructs a {@link Revision} from a difference path. 183 * @param path The path. 186 * @return A {@link Revision} script corresponding to the path. 188 * not be built from the given path 190 buildRevision(PathNode path, Object[] orig, Object[] rev) argument [all...] |
| /opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/rcs/ |
| H A D | Path.java | 68 * A path from the head revision to a given revision in an Archive. 71 * to the last node in the path. 82 private List path = new LinkedList(); field in class:Path 97 path.add(node); 107 return path.size(); 111 * Return the last node in the path or null if the path is empty. 112 * @return the last node in the path or null if the path is empty. 122 return (Node) path [all...] |
| /opengrok-sun/src/org/opensolaris/opengrok/index/ |
| H A D | DefaultIndexChangedListener.java | 40 public void fileAdd(String path, String analyzer) { argument 42 log.log(Level.INFO, "Add: {0} ({1})", new Object[]{path, analyzer});} 46 public void fileRemove(String path) { argument 47 log.log(Level.INFO, "Remove file:{0}", path); 50 public void fileUpdate(String path) { argument 51 log.log(Level.INFO, "Update: {0}", path); 55 public void fileAdded(String path, String analyzer) { argument 57 log.log(Level.FINER, "Added: {0} ({1})", new Object[]{path, analyzer});} 61 public void fileRemoved(String path) { argument 62 log.log(Level.FINER, "Removed file:{0}", path); [all...] |
| H A D | IndexChangedListener.java | 33 * @param path The path to the file (absolute from source root) 36 void fileAdd(String path, String analyzer); argument 39 * @param path The path to the file (absolute from source root) 42 void fileAdded(String path, String analyzer); argument 45 * @param path The path to the file (absolute from source root) 47 void fileRemove(String path); argument 50 * @param path Th 52 fileRemoved(String path) argument 57 fileUpdate(String path) argument [all...] |
| H A D | Filter.java | 43 private final List<String> path; field in class:Filter 53 path = new ArrayList<String>(); 98 path.clear(); 126 for (String s : path) { 167 path.add(pattern); 169 path.add(File.separator + pattern);
|
| /opengrok-sun/src/org/opensolaris/opengrok/web/ |
| H A D | DiffData.java | 39 public String path; field in class:DiffData
|
| H A D | DirectoryListing.java | 95 * @param path virtual path of the directory (usually the path name of 106 public List<String> listTo(File dir, Writer out, String path, List<String> files) argument 113 parentFNode = desc.getNode(path); 130 if (path.length() != 0) {
|
| H A D | EftarFileReader.java | 145 public FNode getNode(String path) throws IOException { argument 146 StringTokenizer toks = new StringTokenizer(path, "/"); 149 if (File.separator.equals(path) || path.length() == 0) { 172 public String get(String path) throws IOException { argument 173 StringTokenizer toks = new StringTokenizer(path, "/");
|
| /opengrok-sun/src/org/opensolaris/opengrok/configuration/ |
| H A D | Project.java | 34 private String path; field in class:Project 55 * Get the path (relative from source root) where this project is located 56 * @return the relative path 59 return path; 67 return path; 89 * Set the path (relative from source root) this project is located 90 * It seems that you should ALWAYS prefix the path with current file.separator , current environment should always have it set up 91 * @param path the relative path from source sroot where this project is 94 public void setPath(String path) { argument 124 getProject(String path) argument [all...] |
| /opengrok-sun/src/org/opensolaris/opengrok/search/ |
| H A D | Results.java | 82 String rpath = doc.get("path"); 94 private static String getTags(File basedir, String path, boolean compressed) { argument 104 fis = new FileInputStream(new File(basedir, path + ".gz")); 108 fr = new FileReader(new File(basedir, path)); 115 Level.WARNING, "An error reading tags from " + basedir + path 174 String rpath = doc.get("path");
|
| H A D | Hit.java | 65 * path relative to source root. 67 private String path; field in class:Hit 88 this.path = filename; 111 * Getter for property path. 113 * @return Value of property path. 116 return this.path;
|
| /opengrok-sun/src/org/opensolaris/opengrok/ |
| H A D | OpenGrokLogger.java | 110 public static void setFileLogPath(String path) throws IOException { argument 111 if (path != null) { 112 File jlp = new File(path); 120 if (path == null) { 123 logfile = new StringBuffer(path);
|
| /opengrok-sun/src/org/opensolaris/opengrok/history/ |
| H A D | DirectoryHistoryReader.java | 74 public DirectoryHistoryReader(String path) throws IOException { argument 82 ireader = IndexDatabase.getIndexReader(path); 89 QueryParser qparser = new QueryParser(SearchEngine.LUCENE_VERSION, "path", new CompatibleAnalyser()); 93 query = qparser.parse(path); 104 String rpath = doc.get("path"); 105 if (!rpath.startsWith(path)) { 112 OpenGrokLogger.getLogger().log(Level.WARNING, "Could not get date for " + path, ex); 156 private void put(Date date, String author, String comment, String path) { argument 178 fls.add(path);
|
| H A D | RazorRepository.java | 122 * same name (and path) under multiple directories (Archive, History & Info)), 136 // The path of the repository itself is stored in the super class. 180 File getSourceNameForOpenGrokName(String path) { argument 181 return new File(opengrokSourceRootDirectoryPath + path); 309 StringBuffer path = new StringBuffer(razorGroupBaseDirectoryPath); 310 path.append(intermediateElements); 313 path.append(f.getAbsolutePath() 318 path.append(fileSuffix); 321 return new File(path.toString());
|
| H A D | HistoryGuru.java | 333 String path = file.getCanonicalPath(); 334 repository.setDirectoryName(path); 337 new Object[]{repository.getClass().getName(), path}); 359 log.log(Level.WARNING, "Failed to get canonical path for " 390 String path = entry.getKey(); 396 type, path)); 403 + " in %s: Not implemented", type, path)); 406 + path + " (" + type + ")", e); 410 + "%s: Missing SCM dependencies?", type, path)); 456 String path 633 getRepository(File path) argument [all...] |
| /opengrok-sun/src/org/opensolaris/opengrok/search/context/ |
| H A D | Context.java | 123 * @param path path of the file 129 String morePrefix, String path, Definitions tags, 140 String pathE = Util.URIEncodePath(path); 159 Hit hit = new Hit(path, 191 OpenGrokLogger.getLogger().log(Level.WARNING, "Could not get context for " + path, e); 242 tokens.setFilename(path); 270 OpenGrokLogger.getLogger().log(Level.WARNING, "Could not get context for " + path, e); 128 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, List<Hit> hits) argument
|
| H A D | HistoryContext.java | 71 public boolean getContext(String filename, String path, List<Hit> hits) argument 79 path, null, hits,null); 84 String parent, String basename, String path, Writer out, String context) 87 return getContext(new File(parent, basename), path, out, context); 94 * @param src the source file represented by <var>path</var> 95 * (SOURCE_ROOT + path) 96 * @param path the path of the file (rooted at SOURCE_ROOT) 98 * @param context the servlet context path of the application (the path 83 getContext( String parent, String basename, String path, Writer out, String context) argument 103 getContext(File src, String path, Writer out, String context) argument 121 getHistoryContext( History in, String path, Writer out, List<Hit> hits, String wcontext) argument 201 writeMatch(Appendable out, String line, int start, int end, boolean flatten, String path, String wcontext, String nrev, String rev) argument [all...] |
| /opengrok-sun/test/org/opensolaris/opengrok/analysis/ |
| H A D | JFlexXrefTest.java | 144 * @param path path to input file with a definition 146 private void bug15890Anchor(Class<? extends JFlexXref> klass, String path) argument 148 File file = new File(repository.getSourceRoot() + File.separator + path); 246 * Verify that we use breadcrumb path for both #include <x/y.h> and 252 * path search (bug #17816) 265 {"#include <abc.h>", "#<b>include</b> <<a href=\"/source/s?path=abc.h\">abc.h</a>>"}, 266 {"#include <abc/def.h>", "#<b>include</b> <<a href=\"/source/s?path=abc/\">abc</a>/<a href=\"/source/s?path=abc/def.h\">def.h</a>>"}, 267 {"#include \"abc.h\"", "#<b>include</b> <span class=\"s\">\"<a href=\"/source/s?path [all...] |
| /opengrok-sun/test/org/opensolaris/opengrok/index/ |
| H A D | IndexerTest.java | 96 System.out.println("Skipping test. Could not find a ctags I could use in path."); 160 assertEquals("project path", p1.getPath(), newP1.getPath()); 178 System.out.println("Skipping test. Could not find a ctags I could use in path."); 187 public void fileAdd(String path, String analyzer) { argument 191 public void fileAdded(String path, String analyzer) { argument 192 files.add(path); 196 public void fileRemove(String path) { argument 200 public void fileUpdate(String path) { argument 204 public void fileRemoved(String path) { argument 243 System.out.println("Skipping test. Repository for rfe2575 not found or could not find a ctags or an sccs I could use in path [all...] |
| /opengrok-sun/src/org/opensolaris/opengrok/analysis/ |
| H A D | FileAnalyzer.java | 146 if ("path".equals(fieldName)) { 172 public void writeXref(File xrefDir, String path) throws IOException { argument 176 final File file = new File(xrefDir, path + (compressed ? ".gz" : ""));
|
| H A D | AnalyzerGuru.java | 235 * @param path Where the file is located (from source root) 240 public Document getDocument(File file, InputStream in, String path, argument 245 doc.add(new Field("u", Util.path2uid(path, date), 260 if (path != null) { 261 doc.add(new Field("path", path, TextField.TYPE_STORED)); 262 Project project = Project.getProject(path); 440 String path = file; 442 if (((i = path.lastIndexOf('/')) > 0 || (i = path [all...] |
| /opengrok-sun/src/org/opensolaris/opengrok/analysis/executables/ |
| H A D | JavaClassAnalyzer.java | 93 ClassParser classparser = new ClassParser(in, doc.get("path")); 134 protected String linkPath(String path) { argument 135 return "<a href=\"" + urlPrefix + "path=" + path + "\">" + path + "</a>";
|
| /opengrok-sun/src/org/opensolaris/opengrok/management/ |
| H A D | ManagementMBean.java | 42 * @return String with the file path and name for xml configuration 48 * @param filename String name with full path of configurationfile 176 * Set the path for the file logging 177 * @param path String path to where to log 178 * @throws IOException if path does not exist or could be created on server 180 public void setFileLogPath(String path) throws IOException; argument 184 * @return String file log path
|
| H A D | AgentIndexRunner.java | 238 public void fileAdd(String path, String analyzer) { argument 239 log.log(Level.INFO, "Add {0} analyzer {1}", new Object[]{path, analyzer}); 243 public void fileRemove(String path) { argument 244 log.log(Level.INFO, "File remove {0}", path); 248 public void fileUpdate(String path) { argument 249 log.log(Level.INFO, "File updated {0}", path); 250 addFileAction("U:", path); 255 public void fileAdded(String path, String analyzer) { argument 256 log.log(Level.INFO, "Added {0} analyzer {1}", new Object[]{path, analyzer}); 257 addFileAction("A:", path); 261 fileRemoved(String path) argument 266 addFileAction(String type, String path) argument [all...] |
| H A D | Management.java | 227 public void setFileLogPath(String path) throws IOException { argument 228 OpenGrokLogger.setFileLogPath(path);
|