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

/opengrok/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/src/org/opensolaris/opengrok/analysis/
H A DDefinitions.java98 Set<Integer> lines = symbols.get(symbol);
104 if (lines != null && lines.contains(lineNumber)) {
128 Set<Integer> lines = symbols.get(symbol);
129 return lines == null ? 0 : lines.size();
221 Set<Integer> lines = symbols.get(symbol);
222 if (lines == null) {
223 lines = new HashSet<>();
224 symbols.put(symbol, lines);
[all...]
/opengrok/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/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.java52 private final List<Line> lines = new ArrayList<Line>(); field in class:Annotation
72 return lines.get(line-1).revision;
85 for (Iterator<Line> it = this.lines.iterator(); it.hasNext();) {
101 return lines.get(line-1).author;
115 return lines.get(line-1).enabled;
122 * Returns the size of the file (number of lines).
124 * @return number of lines
127 return lines.size();
157 lines.add(line);
227 for (Line line : lines) {
[all...]
H A DHistoryEntry.java101 String[] lines = message.toString().split("\n");
103 for (String line : lines) {
/opengrok/test/org/opensolaris/opengrok/analysis/
H A DCtagsTest.java116 int[] lines = {44, 48, 53};
124 assertEquals("method line", lines[count], tag.line);
140 int[] lines = {26, 49, 69, 69};
149 assertEquals("function line", lines[count], tag.line);
/opengrok/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java353 * Test that valid HTML is generated for a match that spans multiple lines.
367 // Search for a multi-token phrase that spans multiple lines in the
400 * Verify that the matching lines are shown in their original form and not
455 * @param lines the expected line numbers in the hit list
458 private void bug17582(QueryBuilder builder, int[] lines, String[] tags) argument
460 assertEquals(lines.length, tags.length);
469 assertEquals(lines.length != 0,
471 assertEquals("Unexpected number of hits", lines.length, hits.size());
472 for (int i = 0; i < lines.length; i++) {
473 assertEquals(Integer.toString(lines[
[all...]
/opengrok/web/js/
H A Dutils.js35 * IMPORTANT: This plugin is strictly dependent on ascending order of lines
224 lines: function (urlPart) {
245 var lines = inner.lines(window.location.hash);
247 if(lines.length < 1) {
252 for ( var i = 0; i < lines.length; i ++ ) {
255 "n": lines[i] } );
277 var lines = inner.getLinesParts(window.location.hash);
278 if(lines.length > 0) {
279 var line = lines[
[all...]
/opengrok/src/org/opensolaris/opengrok/web/
H A DPageConfig.java262 ArrayList<String> lines = new ArrayList<>();
269 lines.add(line);
271 data.file[i] = lines.toArray(new String[lines.size()]);
272 lines.clear();
/opengrok/web/default/
H A Dprint.css274 /* "Deleted" heading + highlight of deleted text in diff lines */
279 /* "Added" heading + highlight of added text in diff lines */
309 #difftable .k { /* border between the context and real diff lines */
347 .lines-hidden .l, .lines-hidden .hl, .blame-hidden .blame {
H A Dstyle.css570 /* "Deleted" heading + highlight of deleted text in diff lines */
575 /* "Added" heading + highlight of added text in diff lines */
647 #difftable .k { /* border between the context and real diff lines */
695 .lines-hidden .l, .lines-hidden .hl, .blame-hidden .blame {
/opengrok/web/offwhite/
H A Dprint.css278 /* "Deleted" heading + highlight of deleted text in diff lines */
283 /* "Added" heading + highlight of added text in diff lines */
309 #difftable .k { /* border between the context and real diff lines */
360 .lines-hidden .l, .lines-hidden .hl, .blame-hidden .blame {
H A Dstyle.css608 /* "Deleted" heading + highlight of deleted text in diff lines */
613 /* "Added" heading + highlight of added text in diff lines */
685 #difftable .k { /* border between the context and real diff lines */
746 .lines-hidden .l, .lines-hidden .hl, .blame-hidden .blame {
/opengrok/web/polished/
H A Dprint.css274 /* "Deleted" heading + highlight of deleted text in diff lines */
279 /* "Added" heading + highlight of added text in diff lines */
309 #difftable .k { /* border between the context and real diff lines */
360 .lines-hidden .l, .lines-hidden .hl, .blame-hidden .blame {
H A Dstyle.css663 /* "Deleted" heading + highlight of deleted text in diff lines */
668 /* "Added" heading + highlight of added text in diff lines */
740 #difftable .k { /* border between the context and real diff lines */
802 .lines-hidden .l, .lines-hidden .hl, .blame-hidden .blame {
/opengrok/
H A Dmvnw.cmd36 @REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
/opengrok/.mvn/wrapper/
H A Dmaven-wrapper.jarorg/apache/maven/wrapper/BootstrapMainStarter.class BootstrapMainStarter.java package org.apache.maven.wrapper public ...

Completed in 468 milliseconds