Searched refs:filename (Results 1 - 25 of 31) sorted by relevance

12

/opengrok-sun/src/org/opensolaris/opengrok/search/
H A DHit.java35 * Holds value of property filename.
37 private String filename; field in class:Hit
79 * @param filename The name of the file this hit represents
85 public Hit(String filename, String line, String lineno, boolean binary, boolean alt) { argument
86 if (filename != null) {
87 File file = new File(filename);
88 this.path = filename;
89 this.filename = file.getName();
102 * Getter for property filename.
104 * @return Value of property filename
133 setFilename(String filename) argument
[all...]
H A DSearchEngine.java338 String filename = doc.get("path");
352 + filename)), null, null, null, filename,
358 r = new TagFilter(new BufferedReader(new InputStreamReader(new GZIPInputStream(new FileInputStream(data + "/xref" + filename + ".gz")))));
360 r = new TagFilter(new BufferedReader(new FileReader(data + "/xref" + filename)));
374 Hit hit = new Hit(filename, fragments[jj].toString(), "", true, alt);
381 OpenGrokLogger.getLogger().log(Level.WARNING, "Unknown genre: {0} for {1}", new Object[]{genre, filename});
382 hasContext |= sourceContext.getContext(null, null, null, null, filename, tags, false, ret);
385 OpenGrokLogger.getLogger().log(Level.WARNING, "Couldn''t read summary from {0} ({1})", new Object[]{filename, exp.getMessage()});
386 hasContext |= sourceContext.getContext(null, null, null, null, filename, tag
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DDiffData.java40 /** the HTML escaped filename used */
41 public String filename; field in class:DiffData
/opengrok-sun/src/org/opensolaris/opengrok/index/
H A DFilter.java39 private final Set<String> filename; field in class:Filter
51 filename = new HashSet<String>();
84 * @param pattern the pattern to filename
93 * Remove all installed patterns from the list of files to filename
97 filename.clear();
112 if (filename.contains(fileName)) {
139 if (filename.contains(fileExtension)) {
172 filename.add(pattern);
/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DAnnotation.java52 private final String filename; field in class:Annotation
55 public Annotation(String filename) { argument
56 this.filename = filename;
179 return filename;
H A DSubversionRepository.java158 String filename = "";
160 filename = abs.substring(directoryName.length() + 1);
179 cmd.add(escapeFileName(filename));
191 String filename = (new File(parent, basename)).getAbsolutePath()
200 cmd.add(escapeFileName(filename));
240 AnnotateHandler(String filename) { argument
241 annotation = new Annotation(filename);
H A DMonotoneRepository.java72 String filename = (new File(parent, basename)).getCanonicalPath()
75 String argv[] = {cmd, "cat", "-r", revision, filename};
112 String filename = "";
114 filename = abs.substring(directoryName.length() + 1);
130 cmd.add(filename);
H A DRCSHistoryParser.java61 String filename = name + ",v";
62 File rcsFile = new File(dir, filename);
64 File atticFile = new File(dir + File.separatorChar + "Attic", filename);
H A DCVSRepository.java111 String filename = "";
113 filename = abs.substring(directoryName.length() + 1);
155 if (filename.length() > 0) {
156 cmd.add(filename);
H A DGitRepository.java121 String filename = "";
123 filename = abs.substring(directoryName.length() + 1);
137 if (filename.length() > 0) {
138 cmd.add(filename);
171 String filename = (new File(parent, basename)).getCanonicalPath()
174 String argv[] = {cmd, "show", rev + ":" + filename};
189 String path = getCorrectPath(filename, rev);
H A DBazaarRepository.java65 String filename = "";
67 filename = abs.substring(directoryName.length() + 1);
78 cmd.add(filename);
97 String filename = (new File(parent, basename)).getCanonicalPath()
100 String argv[] = {cmd, "cat", "-r", rev, filename};
H A DClearCaseRepository.java86 String filename = "";
88 filename = abs.substring(directoryName.length() + 1);
100 cmd.add(filename);
114 String filename = (new File(parent, basename)).getCanonicalPath()
125 String decorated = filename + "@@" + rev;
H A DMercurialRepository.java92 String filename = "";
94 filename = abs.substring(directoryName.length() + 1);
117 cmd.add(filename);
137 String filename = (new File(parent, basename)).getCanonicalPath()
140 String argv[] = {cmd, "cat", "-r", revision, filename};
/opengrok-sun/test/org/opensolaris/opengrok/search/
H A DHitTest.java118 String filename = "bar";
119 Hit instance = new Hit(filename, null, null, false, false);
120 assertEquals(filename.hashCode(), instance.hashCode());
/opengrok-sun/test/org/opensolaris/opengrok/history/
H A DGitHistoryParserTest.java155 String filename = "filename.c";
172 filename + "\n" +
187 filename + "\n";
196 assertEquals("/" + filename, e0.getFiles().first());
203 assertEquals("/" + filename, e1.getFiles().first());
222 String filename1 = "directory/filename.c";
223 String filename2 = "directory/filename.h";
/opengrok-sun/test/org/opensolaris/opengrok/search/context/
H A DHistoryContextTest.java86 String filename = repositories.getSourceRoot() + path;
91 assertTrue(new HistoryContext(q1).getContext(filename, path, hits));
101 assertTrue(new HistoryContext(q2).getContext(filename, path, hits));
109 assertFalse(new HistoryContext(q3).getContext(filename, path, hits));
117 assertTrue(new HistoryContext(q4).getContext(filename, path, hits));
/opengrok-sun/src/org/opensolaris/opengrok/management/
H A DManagementMBean.java48 * @param filename String name with full path of configurationfile
50 public void setConfigurationFile(String filename); argument
H A DManagement.java251 public void setConfigurationFile(String filename) { argument
252 configurationFile = filename;
/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DArchive.java167 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-sun/test/org/opensolaris/opengrok/analysis/
H A DJFlexXrefTest.java321 String filename = repository.getSourceRoot() + "/sql/bug18586.sql";
322 SQLXref xref = new SQLXref(new FileInputStream(filename));
323 xref.setDefs(ctags.doCtags(filename + "\n"));
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DHistoryContext.java71 public boolean getContext(String filename, String path, List<Hit> hits) argument
77 File f = new File(filename);
H A DPlainLineTokenizer.lex84 * @param filename the name of the file
86 public void setFilename(String filename) {
87 this.url = filename;
88 hit = new Hit(filename, null, null, false, alt);
/opengrok-sun/
H A DOpenGrok714 filename="opengrok%g.%u.log"
720 sed "s|$filename|$fullpath|g" >> "${LOGGER_CONFIG_PATH}"
/opengrok-sun/src/org/opensolaris/opengrok/configuration/
H A DConfiguration.java690 public void setCTagsExtraOptionsFile(String filename) { argument
691 this.CTagsExtraOptionsFile = filename;
H A DRuntimeEnvironment.java752 public void setCTagsExtraOptionsFile(String filename) { argument
753 threadConfig.get().setCTagsExtraOptionsFile(filename);

Completed in 2849 milliseconds

12