Searched defs:root (Results 1 - 12 of 12) sorted by relevance

/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DDeltaAddTextLine.java21 public void patch(Node root, Node prev, List lines) argument
25 lines.add(atLine+i, new Line(root, rcsText[rcsTextOffset+i]));
30 public void patchAnnotate(Node root, Node prev, List lines) argument
H A DDeltaDelTextLine.java16 public void patch(Node root, Node prev, List lines) argument
22 public void patchAnnotate(Node root, Node prev, List lines) argument
H A DDeltaText.java13 private Node root; field in class:DeltaText
19 * @param root Added lines will be annotated to root revision.
22 DeltaText(Node root, Node prev, boolean annotate) argument
24 this.root = root;
43 { ((DeltaTextLine)deltaStack.pop()).patch(root, prev, lines); }
48 { ((DeltaTextLine)deltaStack.pop()).patchAnnotate(root, prev, lines); }
H A DDeltaTextLine.java7 public void patch(Node root, Node prev, List lines); argument
9 public void patchAnnotate(Node root, Node prev, List lines); argument
H A DTrunkNode.java187 void newpatch0(List original, Node root) argument
191 original.add(new Line(root, text[i]));
H A DNode.java250 * Return the root node of the node hierarchy.
251 * @return The root node.
253 public Node root() method in class:Node
582 void newpatch(List original, boolean annotate, Node root) throws InvalidFileFormatException argument
584 DeltaText dt = new DeltaText(root, this.child, annotate);
/opengrok/test/org/opensolaris/opengrok/history/
H A DPerforceRepositoryTest.java54 private static final File root = new File("/export/opengrok_p4_test"); field in class:PerforceRepositoryTest
61 if (!root.exists()) {
66 FileUtilities.getAllFiles(root, files, false);
79 instance.setDirectoryName(root.getAbsolutePath());
90 instance.setDirectoryName(root.getAbsolutePath());
/opengrok/test/org/opensolaris/opengrok/util/
H A DFileUtilities.java45 public static void extractArchive(File sourceBundle, File root) throws IOException { argument
52 File file = new File(root, ze.getName());
65 public static void removeDirs(File root) { argument
66 for (File f : root.listFiles()) {
73 root.delete();
87 public static void getAllFiles(File root, List<File> files, boolean directories) { argument
90 files.add(root);
95 for (File f : root.listFiles()) {
/opengrok/src/org/opensolaris/opengrok/history/
H A DRCSHistoryParser.java50 private static File readCVSRoot(File root, File CVSdir, String name) throws IOException { argument
51 String cvsroot = readFirstLine(root);
87 n = n.root();
142 File root = new File(CVSdir, "Root");
143 if (root.canRead()) {
144 return readCVSRoot(root, CVSdir, name);
H A DFileHistoryCache.java87 * @param root root of the source repository
92 File test, File root, boolean renamed) throws HistoryException {
128 File file = new File(root, map_entry.getKey());
194 "source root for " + file, e);
390 final File root = RuntimeEnvironment.getInstance().getSourceRootFile();
402 doFileHistory(map_entry, env, repository, null, root, false);
447 root, true);
557 repos.getDirectoryName()+" relative to source root", e);
571 repository.getDirectoryName()+" relative to source root", e
90 doFileHistory(Map.Entry<String, List<HistoryEntry>> map_entry, RuntimeEnvironment env, Repository repository, File test, File root, boolean renamed) argument
[all...]
/opengrok/src/org/opensolaris/opengrok/web/
H A DEftarFile.java201 private Node root; field in class:EftarFile
210 if (root == null) {
211 root = new Node(1, null);
220 Node n = root;
231 traverse(root);
236 out.writeShort(root.children.size());
239 write(root, out);
/opengrok/src/org/opensolaris/opengrok/search/
H A DSearchEngine.java184 * @param root which db to search
187 private void searchSingleDatabase(File root, boolean paging) throws IOException { argument
188 IndexReader ireader = DirectoryReader.open(FSDirectory.open(root.toPath()));
209 * @param root list of projects to search
212 private void searchMultiDatabase(List<Project> root, boolean paging) throws IOException { argument
214 for (Project p : root) {
286 * Execute a search on projects or root file.
289 * searchSingleDatabase with root set to @param root
296 private int search(List<Project> projects, File root) { argument
[all...]

Completed in 221 milliseconds