/opengrok/src/org/opensolaris/opengrok/search/ |
H A D | Hit.java | 36 * Holds value of property filename. 38 private String filename; field in class:Hit 80 * @param filename The name of the file this hit represents 86 public Hit(String filename, String line, String lineno, boolean binary, boolean alt) { argument 87 if (filename != null) { 88 File file = new File(filename); 89 this.path = filename; 90 this.filename = file.getName(); 103 * Getter for property filename. 105 * @return Value of property filename 134 setFilename(String filename) argument [all...] |
H A D | SearchEngine.java | 405 String filename = doc.get(QueryBuilder.PATH); 424 + filename)), null, null, null, filename, 429 ? new HTMLStripCharFilter(new BufferedReader(new InputStreamReader(new GZIPInputStream(new FileInputStream(data + Prefix.XREF_P + filename + ".gz"))))) 430 : new HTMLStripCharFilter(new BufferedReader(new FileReader(data + Prefix.XREF_P + filename)))) { 440 Hit hit = new Hit(filename, fragments[jj].toString(), "", true, alt); 447 LOGGER.log(Level.WARNING, "Unknown genre: {0} for {1}", new Object[]{genre, filename}); 448 hasContext |= sourceContext.getContext(null, null, null, null, filename, tags, false, false, ret, scopes); 451 LOGGER.log(Level.WARNING, "Couldn''t read summary from {0} ({1})", new Object[]{filename, exp.getMessage()}); 452 hasContext |= sourceContext.getContext(null, null, null, null, filename, tag [all...] |
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/ |
H A D | Hit.java | 9 private static final String ATTRIBUTE_FILENAME = "filename"; 15 private String filename; field in class:Hit 38 public Hit(String directory, String filename, int lineno, String line, argument 42 this.filename = filename; 57 return filename; 60 public void setFilename(String filename) { argument 61 this.filename = filename;
|
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | DiffData.java | 41 /** the HTML escaped filename used */ 42 public String filename; field in class:DiffData
|
/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | Annotation.java | 57 private final String filename; field in class:Annotation 59 public Annotation(String filename) { argument 60 this.filename = filename; 207 return filename;
|
H A D | MonotoneRepository.java | 77 String filename = (new File(parent, basename)).getCanonicalPath() 80 String argv[] = {RepoCommand, "cat", "-r", revision, filename}; 126 String filename = ""; 128 filename = abs.substring(directoryName.length() + 1); 144 cmd.add(filename);
|
H A D | RCSHistoryParser.java | 63 String filename = name + ",v"; 64 File rcsFile = new File(dir, filename); 66 File atticFile = new File(dir + File.separatorChar + "Attic", filename);
|
H A D | SubversionRepository.java | 187 String filename = ""; 189 filename = abs.substring(directoryName.length() + 1); 208 if (filename.length() > 0) { 209 cmd.add(escapeFileName(filename)); 268 String filename = filepath.substring(directoryName.length() + 1); 276 cmd.add(escapeFileName(filename)); 316 AnnotateHandler(String filename) { argument 317 annotation = new Annotation(filename);
|
H A D | ClearCaseRepository.java | 96 String filename = ""; 98 filename = abs.substring(directoryName.length() + 1); 110 cmd.add(filename); 123 String filename = (new File(parent, basename)).getCanonicalPath() 134 String decorated = filename + "@@" + rev;
|
H A D | BazaarRepository.java | 80 String filename = ""; 82 filename = abs.substring(directoryName.length() + 1); 93 cmd.add(filename); 111 String filename = (new File(parent, basename)).getCanonicalPath() 114 String argv[] = {RepoCommand, "cat", "-r", rev, filename};
|
H A D | CVSRepository.java | 160 String filename = ""; 162 filename = abs.substring(directoryName.length() + 1); 203 if (filename.length() > 0) { 204 cmd.add(filename);
|
H A D | GitRepository.java | 154 String filename = ""; 156 filename = abs.substring(directoryName.length() + 1); 173 if (filename.length() > 0) { 174 cmd.add(filename); 255 String filename = (new File(parent, basename)).getCanonicalPath() 258 String argv[] = {RepoCommand, "show", rev + ":" + filename}; 273 String path = getCorrectPath(filename, rev);
|
H A D | MercurialRepository.java | 150 String filename = ""; 154 filename = abs.substring(directoryName.length() + 1); 193 if (!filename.isEmpty()) { 194 cmd.add(filename); 219 String filename 222 String argv[] = {RepoCommand, "cat", "-r", revision, filename}; 270 * @returns original filename
|
/opengrok/test/org/opensolaris/opengrok/search/ |
H A D | HitTest.java | 118 String filename = "bar"; 119 Hit instance = new Hit(filename, null, null, false, false); 120 assertEquals(filename.hashCode(), instance.hashCode());
|
/opengrok/test/org/opensolaris/opengrok/search/context/ |
H A D | HistoryContextTest.java | 89 String filename = repositories.getSourceRoot() + path; 94 assertTrue(new HistoryContext(q1).getContext(filename, path, hits)); 104 assertTrue(new HistoryContext(q2.build()).getContext(filename, path, hits)); 112 assertFalse(new HistoryContext(q3).getContext(filename, path, hits)); 120 assertTrue(new HistoryContext(q4.build()).getContext(filename, path, hits));
|
/opengrok/test/org/opensolaris/opengrok/history/ |
H A D | GitHistoryParserTest.java | 162 String filename = "filename.c"; 179 filename + "\n" + 194 filename + "\n"; 204 assertEquals("/" + filename, e0.getFiles().first()); 212 assertEquals("/" + filename, e1.getFiles().first()); 231 String filename1 = "directory/filename.c"; 232 String filename2 = "directory/filename.h";
|
H A D | FileHistoryCacheTest.java | 419 private void checkNoHistoryFetchRepo(String reponame, String filename, argument 426 File repoFile = new File(reposRoot, filename); 439 File fileHistory = new File(dataRoot, filename + ".gz");
|
/opengrok/src/org/opensolaris/opengrok/authorization/ |
H A D | AuthorizationPluginClassLoader.java | 89 String filename = classname.replace('.', File.separatorChar) + ".class"; 90 JarEntry entry = (JarEntry) jar.getEntry(filename); 114 String filename = classname.replace('.', File.separatorChar) + ".class"; 115 File f = new File(directory, filename);
|
/opengrok/src/org/opensolaris/opengrok/management/ |
H A D | ManagementMBean.java | 47 * @param filename String name with full path of configurationfile 49 public void setConfigurationFile(String filename); argument
|
H A D | Management.java | 282 public void setConfigurationFile(String filename) { argument 283 configurationFile = filename;
|
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/ |
H A D | Archive.java | 167 protected String filename = "__unknown__,v"; field in class:Archive 230 this.filename = fname; 240 this.filename = new File(path).getPath(); 241 ArchiveParser.load(this, this.filename); 259 this.filename = path; 273 * Save the archive to a file and the the Archives filename 284 this.filename = new File(path).getPath(); 1121 filename, 1122 new File(filename).getName(),
|
/opengrok/src/org/opensolaris/opengrok/search/context/ |
H A D | HistoryContext.java | 77 public boolean getContext(String filename, String path, List<Hit> hits) argument 83 File f = new File(filename);
|
H A D | PlainLineTokenizer.lex | 87 * @param filename the name of the file 89 public void setFilename(String filename) { 90 this.url = filename; 91 hit = new Hit(filename, null, null, false, alt);
|
/opengrok/test/org/opensolaris/opengrok/analysis/ |
H A D | JFlexXrefTest.java | 348 String filename = repository.getSourceRoot() + "/sql/bug18586.sql"; 349 Reader in = new InputStreamReader(new FileInputStream(filename), "UTF-8"); 351 xref.setDefs(ctags.doCtags(filename + "\n"));
|
/opengrok/ |
H A D | OpenGrok | 817 filename="opengrok%g.%u.log" 823 sed "s|$filename|$fullpath|g" >> "${LOGGER_CONFIG_PATH}"
|