Searched refs:line (Results 1 - 25 of 44) sorted by relevance

12

/opengrok-jel/src/org/opensolaris/opengrok/analysis/sql/
H A DConsts.java55 String line,lline;
60 while ((line = reader.readLine()) != null) {
61 line=line.trim();
62 lline = line.toLowerCase(Locale.US);
63 if (line.charAt(0) != '#') {
64 set.add(line);
H A DPLSQLConsts.java56 String line,lline;
61 while ((line = reader.readLine()) != null) {
62 line=line.trim();
63 lline = line.toLowerCase(Locale.US);
64 if (line.charAt(0) != '#') {
65 set.add(line);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/vb/
H A DConsts.java55 String line, lline;
60 while ((line = reader.readLine()) != null) {
61 line = line.trim();
62 lline = line.toLowerCase(Locale.US);
63 if (line.charAt(0) != '#') {
64 set.add(line);
/opengrok-jel/src/org/opensolaris/opengrok/search/
H A DHit.java45 * Holds value of property line.
47 private String line; field in class:Hit
80 * @param line The line containing the match
81 * @param lineno The line number in the file the match was found
85 public Hit(String filename, String line, String lineno, boolean binary, boolean alt) { argument
95 this.line = line;
138 * Getter for property line.
140 * @return Value of property line
151 setLine(String line) argument
[all...]
H A DSearch.java142 String line = in.readLine();
143 if (null == line || line.length() == 0 || line.charAt(0) == 'n') {
161 * @param argv command line arguments
/opengrok-jel/src/org/opensolaris/opengrok/history/
H A DAccuRevHistoryParser.java92 String line;
116 while ((line = in.readLine()) != null) {
117 if (line.startsWith("t")) { // found transaction
119 String data[] = line.split("; ");
125 logger.log(Level.WARNING, "Could not parse date: " + line);
130 if (line.startsWith(" #")) { // found comment
131 entry.appendMessage(line.substring(3));
132 } else if (line.startsWith(" v")) { // found version
133 String data[] = line.split("\\s+");
H A DRazorHistoryParser.java99 String line;
107 while ((line = contents.readLine()) != null) {
108 logger.log(Level.FINE, "Processing [{0}]", line);
109 if (StringUtils.isOnlyWhitespace(line)) {
117 infoMatcher.reset(line);
129 logger.log(Level.FINE, "Ignoring Info Type Line [{0}]", line);
131 } else if (!line.startsWith("##") && line.charAt(0) == '#') {
132 logger.log(Level.FINE, "Seen Comment [{0}]", line);
137 entry.appendMessage(line
[all...]
H A DCVSRepository.java151 String line = br.readLine();
152 if (line != null) {
153 branch = line.substring(1);
303 String line = "";
306 Matcher matcher = ANNOTATE_PATTERN.matcher(line);
307 while ((line = in.readLine()) != null) {
309 if (!hasStarted && (line.length() == 0
310 || !Character.isDigit(line.charAt(0))))
318 matcher.reset(line);
324 logger.log(Level.WARNING, "Did not find annotation in line {
[all...]
H A DAccuRevRepository.java115 String line;
119 while ((line = reader.readLine()) != null) {
121 matcher.reset(line);
125 logger.warning("Did not find annotation in line " + lineno
126 + ": [" + line + "]");
177 * command will produce a line with the format:
292 String line;
294 while ((line = info.readLine()) != null) {
295 depotMatch.reset(line);
296 if (line
[all...]
H A DPerforceHistoryParser.java121 String line;
123 while ((line = reader.readLine()) != null) {
124 matcher.reset(line);
156 String line;
158 while ((line = reader.readLine()) != null) {
159 Matcher matcher = REVISION_PATTERN.matcher(line);
182 if (line.startsWith("... ...")) {
186 entry.appendMessage(line);
H A DSCCSRepository.java110 String line;
112 while ((line = in.readLine()) != null) {
114 Matcher matcher = AUTHOR_PATTERN.matcher(line);
120 logger.log(Level.WARNING, "Did not find authors in line {0} [{1}]",
121 new Object[] { lineno, line });
168 String line;
170 while ((line = in.readLine()) != null) {
172 Matcher matcher = ANNOTATION_PATTERN.matcher(line);
181 logger.log(Level.WARNING, "Did not find annotations in line {0} [{1}]",
182 new Object[] { lineno, line });
[all...]
H A DAnnotation.java37 * modification of each line in the file.
57 private final int getRID(int line) { argument
58 if (line > lines.size()) {
61 return lines.get(line-1).intValue();
65 * Gets the revision for the last change to the specified line.
67 * @param line line number (counting from 1)
69 * about the specified line
71 public String getRevision(int line) { argument
72 int idx = getRID(line);
93 getAuthor(int line) argument
[all...]
H A DClearCaseRepository.java229 String line;
230 while ((line = in.readLine()) != null) {
231 String parts[] = line.split("\\|");
286 String line;
287 while (!snapshot && (line = in.readLine()) != null) {
288 snapshot = line.startsWith("load");
302 while ((line = in.readLine()) != null) {
399 String sep = System.getProperty("line.separator");
H A DGitRepository.java117 String line = "";
118 Matcher matcher = commitPattern.matcher(line);
119 while ((line = in.readLine()) != null) {
120 matcher.reset(line);
414 String line = "";
415 Matcher matcher = commitPattern.matcher(line);
416 while ((line = in.readLine()) != null) {
417 matcher.reset(line);
465 String line = "";
467 Matcher matcher = BLAME_PATTERN.matcher(line);
[all...]
H A DMercurialRepository.java121 String EOL = System.getProperty("line.separator");
170 String line;
171 while ((line = br.readLine()) != null) {
172 int idx = line.indexOf(' ');
174 m.put(line.substring(idx+1).trim(), line.substring(0, idx));
396 String line;
404 while ((line = in.readLine()) != null) {
406 matcher.reset(line);
431 logger.warning("Did not find annotation in line "
[all...]
H A DBazaarRepository.java191 String line = "";
193 Matcher matcher = BLAME_PATTERN.matcher(line);
194 while ((line = in.readLine()) != null) {
196 matcher.reset(line);
203 "Did not find annotation in line {0} [{1}]",
204 new Object[]{String.valueOf(lineno), line});
/opengrok-jel/src/org/opensolaris/opengrok/analysis/
H A DDefinitions.java42 // Per line sym -> tags mapping
51 // line -> tag_map
54 /** Map from symbol to the line numbers on which the symbol is defined. */
83 * Check whether the specified symbol is defined on the given line.
85 * @param lineNumber the line to check
87 * @return {@code true} iff {@code symbol} is defined on the specified line
146 public final int line; field in class:Definitions.Tag
151 /** The full line on which the definition occurs. */
154 protected Tag(int line, String symbol, String type, String text) { argument
155 this.line
162 addTag(int line, String symbol, String type, String text) argument
[all...]
H A DJFlexXref.java68 * It is used to close all open spans for a line and re-open them at the
69 * start of the next line to produce wellformed XML. So if a
70 * <span ...> is opened and do not closed on the same line, the class
72 * gets closed on a different line, it needs to be popped from this stack.
73 * If properly done, the stack should be empty when the last line has been
271 * Get the number of the current line of input (which is usually the same as
278 * Set the number of the current line of input (which is usually the same as
280 * @param line line number to set. */
281 protected abstract void setLineNumber(int line); argument
517 writeSymbol(String symbol, Set<String> keywords, int line, boolean escape) argument
[all...]
/opengrok-jel/src/org/opensolaris/opengrok/search/context/
H A DHistoryContext.java76 * Check, whether one ore more line matchers (query terms) are present.
134 * @return {@code true} if at least one line has been written out.
179 String line = he.getLine();
188 tokens.reInit(line);
202 writeMatch(sb, line, start, end, true, path,
206 writeMatch(out, line, start, end, false, path,
232 * @param line the matching line
235 * @param flatten should multi-line log entries be flattened to a single
240 * line
242 writeMatch(Appendable out, String line, int start, int end, boolean flatten, String path, String wcontext, String nrev, String rev) argument
[all...]
H A DLineMatcher.java29 * Base class for matching a line against terms
93 public abstract int match(String line); argument
/opengrok-jel/src/org/opensolaris/opengrok/analysis/sh/
H A DShXref.lex91 * Check the contents of a line to see if it matches the stop word for a
94 * @param line a line in the input file
95 * @return true if the line terminates a here-document, false otherwise
97 private boolean isHeredocStopWord(String line) {
101 i < line.length() && line.charAt(i) == '\t') {
105 // Compare remaining characters on the line with the stop word.
106 return line.substring(i).equals(heredocStopWord);
124 * SCOMMENT - single-line commen
[all...]
/opengrok-jel/jrcs/src/main/java/org/apache/commons/jrcs/rcs/
H A DSimpleCharStream.java1 /* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 3.0 */
26 protected int line = 1; field in class:SimpleCharStream
157 line += (column = 1);
167 line += (column = 1);
186 bufline[bufpos] = line;
257 line = startline;
283 line = startline;
383 * Method to adjust line and column numbers for the start of a token.
428 line = bufline[j];
/opengrok-jel/src/org/opensolaris/opengrok/web/
H A DEftarFile.java216 String line;
217 while ((line = r.readLine()) != null) {
218 int tab = line.indexOf('\t');
220 String path = line.substring(0, tab);
221 String desc = line.substring(tab + 1);
/opengrok-jel/platform/solaris/smf/
H A Dogindexd97 while read line; do
/opengrok-jel/test/org/opensolaris/opengrok/analysis/
H A DCtagsTest.java107 // Expected line numbers for the methods
116 assertEquals("method line", lines[count], tag.line);
124 * Test that multiple extra command line options are processed correctly
133 // Expected line numbers for the methods
143 assertEquals("function line", lines[count], tag.line);

Completed in 24 milliseconds

12