Searched refs:lines (Results 1 - 15 of 15) sorted by relevance

/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
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 DPath.java165 * @param lines The list to where the text must be added and the
171 public List patch(List lines) argument
176 return patch(lines, false);
184 * @param lines The list to where the text must be added and the
191 public List patch(List lines, boolean annotate) argument
200 head.patch0(lines, annotate);
206 n.patch(lines, annotate);
208 return lines;
211 public List newpatch(List lines, boolean annotate) argument
220 head.patch0(lines, fals
[all...]
H A DDeltaDelTextLine.java16 public void patch(Node root, Node prev, List lines) argument
19 { lines.remove(atLine); }
22 public void patchAnnotate(Node root, Node prev, List lines) argument
26 Line l = (Line) lines.get(atLine);
31 lines.remove(atLine);
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
33 { lines.add(atLine, null); }
H A DDeltaText.java19 * @param root Added lines will be annotated to root revision.
20 * @param prev Deleted lines will be annotated to prev revision.
38 void patch(List lines) argument
43 { ((DeltaTextLine)deltaStack.pop()).patch(root, prev, lines); }
48 { ((DeltaTextLine)deltaStack.pop()).patchAnnotate(root, prev, lines); }
H A DNode.java757 * Return a list with the lines of the node's text.
766 * Return a list with a subset of the lines of the node's text.
777 * Add a subset of the lines of the node's text to the given list.
780 public List getTextLines(List lines) argument
782 return getTextLines(lines, 0, text.length);
786 * Add a subset of the lines of the node's text to the given list.
791 public List getTextLines(List lines, int from, int to) argument
795 lines.add(new Line(deltaRevision(), text[i]));
797 return lines;
H A DArchive.java832 * Set annotate to true to have the lines be annotated with the
884 * Set annotate to true to have the lines be annotated with the
925 * Set annotate to true to have the lines be annotated with the
944 Lines lines = new Lines();
947 //path.patch(lines, annotate);
948 path.newpatch(lines, annotate);
951 { revLines = lines; }
955 return doKeywords(lines.textToArray(false), revisionFound);
/opengrok-sun/src/org/opensolaris/opengrok/analysis/
H A DDefinitions.java90 Set<Integer> lines = symbols.get(symbol);
96 if (lines != null && lines.contains(lineNumber)) {
119 Set<Integer> lines = symbols.get(symbol);
120 return lines == null ? 0 : lines.size();
165 Set<Integer> lines = symbols.get(symbol);
166 if (lines == null) {
167 lines = new HashSet<Integer>();
168 symbols.put(symbol, lines);
[all...]
/opengrok-sun/jrcs/src/main/java/org/apache/commons/jrcs/tools/
H A DJDiff.java85 List lines = new ArrayList();
89 lines.add(s);
91 return (String[])lines.toArray(new String[lines.size()]);
/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DRCSget.java50 Object[] lines;
53 lines = archive.getRevision(false);
55 lines = archive.getRevision(version, false);
59 for (int ii = 0; ii < lines.length; ++ii) {
60 sb.append((String)lines[ii]);
H A DAnnotation.java48 private final List<Line> lines = new ArrayList<Line>(); field in class:Annotation
68 return lines.get(line-1).revision;
81 for (Iterator<Line> it = this.lines.iterator(); it.hasNext();) {
97 return lines.get(line-1).author;
111 return lines.get(line-1).enabled;
118 * Returns the size of the file (number of lines).
120 * @return number of lines
123 return lines.size();
153 lines.add(line);
199 for (Line line : lines) {
[all...]
H A DHistoryEntry.java98 String[] lines = message.toString().split("\n");
100 for (String line : lines) {
/opengrok-sun/test/org/opensolaris/opengrok/analysis/
H A DCtagsTest.java113 int[] lines = {44, 48, 53};
121 assertEquals("method line", lines[count], tag.line);
137 int[] lines = {28, 51, 71, 71};
146 assertEquals("function line", lines[count], tag.line);
/opengrok-sun/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java302 * Test that valid HTML is generated for a match that spans multiple lines.
314 // Search for a multi-token phrase that spans multiple lines in the
347 * Verify that the matching lines are shown in their original form and not
398 * @param lines the expected line numbers in the hit list
401 private void bug17582(QueryBuilder builder, int[] lines, String[] tags) argument
403 assertEquals(lines.length, tags.length);
412 assertEquals(lines.length != 0,
414 assertEquals("Unexpected number of hits", lines.length, hits.size());
415 for (int i = 0; i < lines.length; i++) {
416 assertEquals(Integer.toString(lines[
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DPageConfig.java213 ArrayList<String> lines = new ArrayList<String>();
219 lines.add(line);
221 data.file[i] = lines.toArray(new String[lines.size()]);
222 lines.clear();

Completed in 23 milliseconds