/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/rcs/ |
H A D | DeltaTextLine.java | 8 public void patch(Node root, Node prev, List lines); argument 11 public void patchAnnotate(Node root, Node prev, List lines); argument
|
H A D | Path.java | 172 * @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 D | DeltaDelTextLine.java | 17 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 D | DeltaAddTextLine.java | 22 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 D | DeltaText.java | 19 * @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 D | Node.java | 775 * 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 D | Archive.java | 869 * 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 D | XrefHeader.java | 50 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 D | Definitions.java | 90 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 D | XrefWriter.java | 218 * 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 D | JDiff.java | 86 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 D | RCSget.java | 54 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 D | Annotation.java | 41 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 D | HistoryEntry.java | 99 String[] lines = message.toString().split("\n"); 101 for (String line : lines) {
|
/opengrok-jel/test/org/opensolaris/opengrok/analysis/ |
H A D | CtagsTest.java | 108 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 D | ContextTest.java | 316 * 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 D | opengrok.js | 200 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 D | PageConfig.java | 217 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 D | print.css | 189 /* "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 D | style.css | 574 /* -: "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 D | print.css | 199 /* "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 D | style.css | 604 /* -: "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 D | print.css | 193 /* "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 D | style.css | 648 /* -: "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 */
|