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

/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
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 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 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 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 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...]
H A DArchive.java869 * Set annotate to true to have the lines be annotated with the
921 * Set annotate to true to have the lines be annotated with the
962 * Set annotate to true to have the lines be annotated with the
981 Lines lines = new Lines();
984 //path.patch(lines, annotate);
985 path.newpatch(lines, annotate);
988 { revLines = lines; }
992 return doKeywords(lines.textToArray(false), revisionFound);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
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...]
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();
172 Set<Integer> lines = symbols.get(internedSymbol);
173 if (lines == null) {
174 lines = new HashSet<Integer>();
175 symbols.put(internedSymbol, lines);
[all...]
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);
/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/tools/
H A DJDiff.java86 List lines = new ArrayList();
90 lines.add(s);
92 return (String[])lines.toArray(new String[lines.size()]);
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DRCSget.java54 Object[] lines;
57 lines = archive.getRevision(false);
59 lines = archive.getRevision(version, false);
63 for (int ii = 0; ii < lines.length; ++ii) {
64 sb.append((String)lines[ii]);
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...]
H A DHistoryEntry.java99 String[] lines = message.toString().split("\n");
101 for (String line : lines) {
/opengrok-jel/test/org/opensolaris/opengrok/analysis/
H A DCtagsTest.java108 int[] lines = {44, 48, 53};
116 assertEquals("method line", lines[count], tag.line);
134 int[] lines = {28, 51, 71, 71};
143 assertEquals("function line", lines[count], tag.line);
/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/web/static/
H A Dopengrok.js200 var num = O.lines || Y.one('#lines').get('childNodes.length');
202 // the node from the DOM and thus lines are not addressable by
242 var i, data, revs, lines, l2r, a, resp , L = Y.Lang;
275 'lines' : a.lines,
288 l2r.push(a.lines+1, l2r[len-1]); // add the upper limit
563 var blameNodes = Y.all('#lines .blame');
578 delegate : "#lines",
827 // hide the row with unchanged source lines an
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DPageConfig.java217 ArrayList<String> lines = new ArrayList<String>();
223 lines.add(line);
225 data.file[i] = lines.toArray(new String[lines.size()]);
226 lines.clear();
/opengrok-jel/web/static/default/
H A Dprint.css189 /* "Deleted" heading + highlight of deleted text in diff lines */
193 /* "Added" heading + highlight of added text in diff lines */
234 .dtk { /* border between the context and real diff lines */
286 #linenums, #annos, #lines { /* line number, annotation, source code container */
290 #nids, #nums, #revision, #author, #lines { /* sub containers of the above */
H A Dstyle.css574 /* -: "Deleted" heading + highlight of deleted text in diff lines */
578 /* +: "Added" heading + highlight of added text in diff lines */
655 .dtk { /* border between the context and real diff lines */
710 #linenums, #annos, #lines { /* line number, annotation, source code container */
716 #lines {
719 #nids, #nums, #revision, #author, #lines { /* sub containers of the above */
/opengrok-jel/web/static/offwhite/
H A Dprint.css199 /* "Deleted" heading + highlight of deleted text in diff lines */
203 /* "Added" heading + highlight of added text in diff lines */
238 .dtk { /* border between the context and real diff lines */
304 #linenums, #annos, #lines { /* line number, annotation, source code container */
308 #nids, #nums, #revision, #author, #lines { /* sub containers of the above */
H A Dstyle.css604 /* -: "Deleted" heading + highlight of deleted text in diff lines */
608 /* +: "Added" heading + highlight of added text in diff lines */
685 .dtk { /* border between the context and real diff lines */
754 #linenums, #annos, #lines { /* line number, annotation, source code container */
760 #lines {
763 #nids, #nums, #revision, #author, #lines { /* sub containers of the above */
/opengrok-jel/web/static/polished/
H A Dprint.css193 /* "Deleted" heading + highlight of deleted text in diff lines */
197 /* "Added" heading + highlight of added text in diff lines */
239 .dtk { /* border between the context and real diff lines */
306 #linenums, #annos, #lines { /* line number, annotation, source code container */
310 #nids, #nums, #revision, #author, #lines { /* sub containers of the above */
H A Dstyle.css648 /* -: "Deleted" heading + highlight of deleted text in diff lines */
652 /* +: "Added" heading + highlight of added text in diff lines */
729 .dtk { /* border between the context and real diff lines */
799 #linenums, #annos, #lines { /* line number, annotation, source code container */
805 #lines {
808 #nids, #nums, #revision, #author, #lines { /* sub containers of the above */

Completed in 40 milliseconds