Searched defs:lines (Results 1 - 10 of 10) sorted by relevance

/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DDeltaAddTextLine.java22 public void patch(Node root, Node prev, List lines) argument
26 lines.add(atLine+i, new Line(root, rcsText[rcsTextOffset+i]));
32 public void patchAnnotate(Node root, Node prev, List lines) argument
35 { lines.add(atLine, null); }
H A DDeltaDelTextLine.java17 public void patch(Node root, Node prev, List lines) argument
20 { lines.remove(atLine); }
24 public void patchAnnotate(Node root, Node prev, List lines) argument
28 Line l = (Line) lines.get(atLine);
33 lines.remove(atLine);
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.
40 void patch(List lines) argument
45 { ((DeltaTextLine)deltaStack.pop()).patch(root, prev, lines); }
50 { ((DeltaTextLine)deltaStack.pop()).patchAnnotate(root, prev, lines); }
H A DDeltaTextLine.java8 public void patch(Node root, Node prev, List lines); argument
11 public void patchAnnotate(Node root, Node prev, List lines); argument
H A DPath.java172 * @param lines The list to where the text must be added and the
182 public List patch(List lines) argument
187 return patch(lines, false);
195 * @param lines The list to where the text must be added and the
206 public List patch(List lines, boolean annotate) argument
215 head.patch0(lines, annotate);
221 n.patch(lines, annotate);
223 return lines;
227 public List newpatch(List lines, boolean annotate) argument
236 head.patch0(lines, fals
[all...]
H A DNode.java775 * Return a list with the lines of the node's text.
784 * Return a list with a subset of the lines of the node's text.
795 * Add a subset of the lines of the node's text to the given list.
796 * @param lines lines to add.
799 public List getTextLines(List lines) argument
801 return getTextLines(lines, 0, text.length);
805 * Add a subset of the lines of the node's text to the given list.
806 * @param lines lines t
812 getTextLines(List lines, int from, int to) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DXrefWriter.java218 * Set the number of lines written to this stream.
219 * @param lines number of lines writen.
221 public void setLines(int lines) { argument
223 header.setLines(lines);
H A DXrefHeader.java50 private int lines; field in class:XrefHeader
82 * @param lines number of lines represented by the data section. {@code -1}
86 public XrefHeader(Genre genre, boolean compressed, int lines, long chars) { argument
93 this.lines = lines;
108 bb.putInt(lines);
135 this.lines = bb.getInt();
200 * Get the number of lines represented by the data section.
201 * @return number of lines
211 setLines(int lines) argument
[all...]
/opengrok-jel/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java316 * lines. It used to nest the tags incorrectly. Bug #15632.
329 // Search for a multi-token phrase that spans multiple lines in the
361 * Verify that the matching lines are shown in their original form and
415 * @param lines the expected line numbers in the hit list
419 private static void bug17582(QueryBuilder builder, int[] lines, String[] tags) argument
422 assertEquals(lines.length, tags.length);
431 assertEquals(lines.length != 0,
433 assertEquals("Unexpected number of hits", lines.length, hits.size());
434 for (int i = 0; i < lines.length; i++) {
435 assertEquals(Integer.toString(lines[
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DAnnotation.java41 private final ArrayList<Integer> lines = new ArrayList<Integer>(); field in class:Annotation
58 if (line > lines.size()) {
61 return lines.get(line-1).intValue();
99 * Returns the size of the file (number of lines).
101 * @return number of lines
104 return lines.size();
161 lines.add(rid);
292 .append("\",\"lines\":").append(lines.size())
294 if (lines
[all...]

Completed in 16 milliseconds