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

12

/opengrok-sun/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-sun/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-sun/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.java137 String line = in.readLine();
138 if (null == line || line.length() == 0 || line.charAt(0) == 'n') {
155 * @param argv command line arguments
/opengrok-sun/src/org/opensolaris/opengrok/history/
H A DAccuRevHistoryParser.java110 String line;
136 while ((line = in.readLine()) != null) {
138 if (line.startsWith("e")) {
142 if (line.startsWith("t")) { // found transaction
144 String data[] = line.split("; ");
158 Level.WARNING, "Could not parse date: " + line, pe);
161 } else if (line.startsWith(" #")) { // found comment
163 entry.appendMessage(line.substring(3));
165 } else if (line.startsWith(" v")) { // found version
167 String data[] = line
[all...]
H A DAnnotation.java44 * modification of each line in the file.
60 * Gets the revision for the last change to the specified line.
62 * @param line line number (counting from 1)
64 * about the specified line
66 public String getRevision(int line) { argument
68 return lines.get(line-1).revision;
89 * Gets the author who last modified the specified line.
91 * @param line line numbe
95 getAuthor(int line) argument
109 isEnabled(int line) argument
[all...]
H A DGitRepository.java94 String line = "";
95 Matcher matcher = commitPattern.matcher(line);
96 while ((line = in.readLine()) != null) {
97 matcher.reset(line);
262 String line = "";
263 Matcher matcher = commitPattern.matcher(line);
264 while ((line = in.readLine()) != null) {
265 matcher.reset(line);
307 String line = "";
309 Matcher matcher = BLAME_PATTERN.matcher(line);
[all...]
H A DRazorHistoryParser.java91 String line;
102 while ((line = contents.readLine()) != null) {
104 parseDebug("Processing '" + line + "'");
106 if (StringUtils.isOnlyWhitespace(line)) {
119 infoMatcher.reset(line);
133 parseDebug("Ignoring Info Type Line '" + line + "'");
136 if (!line.startsWith("##") && line.charAt(0) == '#') {
137 parseDebug("Seen Comment : '" + line + "'");
142 entry.appendMessage(line
[all...]
H A DAccuRevRepository.java117 String line;
120 while ((line = reader.readLine()) != null) {
122 Matcher matcher = annotationPattern.matcher(line);
130 "Did not find annotation in line "
131 + lineno + ": [" + line + "]");
188 * command will produce a line with the format:
204 String line;
207 line = info.readLine();
209 String[] statInfo = line.split("\\s+");
279 String line;
[all...]
H A DCVSRepository.java128 String line=br.readLine();
129 if (line!=null) {
130 branch=line.substring(1); }
260 String line = "";
263 Matcher matcher = ANNOTATE_PATTERN.matcher(line);
264 while ((line = in.readLine()) != null) {
266 if (!hasStarted && (line.length() == 0
267 || !Character.isDigit(line.charAt(0))))
275 matcher.reset(line);
282 "Error: did not find annotation in line {
[all...]
H A DPerforceHistoryParser.java116 String line;
118 while ((line = reader.readLine()) != null) {
119 matcher.reset(line);
151 String line;
153 while ((line = reader.readLine()) != null) {
154 Matcher matcher = REVISION_PATTERN.matcher(line);
176 if (line.startsWith("... ...")) {
180 entry.appendMessage(line);
H A DSCCSRepository.java98 String line;
100 while ((line = in.readLine()) != null) {
102 Matcher matcher = AUTHOR_PATTERN.matcher(line);
109 "Error: did not find authors in line {0}: [{1}]",
110 new Object[]{lineno, line});
161 String line;
163 while ((line = in.readLine()) != null) {
165 Matcher matcher = ANNOTATION_PATTERN.matcher(line);
176 "Error: did not find annotations in line {0}: [{1}]",
177 new Object[]{lineno, line});
[all...]
H A DBazaarRepository.java175 String line = "";
177 Matcher matcher = BLAME_PATTERN.matcher(line);
178 while ((line = in.readLine()) != null) {
180 matcher.reset(line);
187 "Error: did not find annotation in line {0}: [{1}]",
188 new Object[]{String.valueOf(lineno), line});
295 String line;
296 while ((line = in.readLine()) != null) {
297 String parts[] = line.split(" *");
299 throw new HistoryException("Tag line contain
[all...]
H A DClearCaseRepository.java224 String line;
226 while ((line = in.readLine()) != null) {
228 String parts[] = line.split("\\|");
277 String line;
278 while (!snapshot && (line = in.readLine()) != null) {
279 snapshot = line.startsWith("load");
293 while ((line = in.readLine()) != null) {
381 String sep = System.getProperty("line.separator");
H A DMercurialHistoryParser.java146 * Decode a line with a description of a commit. The line is a sequence of
152 * This method is way too tolerant, and won't complain if the line has
155 * @param line the XML encoded line
158 private String decodeDescription(String line) { argument
163 for (int i = DESC_PREFIX.length(); i < line.length(); i++) {
164 char ch = line.charAt(i);
H A DMercurialRepository.java229 String line;
232 while ((line = in.readLine()) != null) {
234 matcher.reset(line);
245 "Error: did not find annotation in line "
246 + lineno + ": [" + line + "]");
376 String line;
377 while ((line = in.readLine()) != null) {
378 String parts[] = line.split(" *");
380 throw new HistoryException("Tag line contains more than 2 columns: " + line);
[all...]
/opengrok-sun/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.java237 * the type, and an array of (symbol, line) pairs for the definitions of
250 // Order by symbol name, and then by line number if multiple
254 ret = tag1.line - tag2.line;
299 out.append(Integer.toString(tag.line));
329 * Terminate the current line and insert preamble for the next line. The
330 * line count will be incremented.
335 int line = getLineNumber() + 1;
336 setLineNumber(line);
349 writeSymbol(String symbol, Set<String> keywords, int line) argument
364 writeSymbol( String symbol, Set<String> keywords, int line, boolean caseSensitive) argument
[all...]
/opengrok-sun/src/org/opensolaris/opengrok/search/context/
H A DHistoryContext.java100 * @return {@code true} if at least one line has been written out.
143 String line = he.getLine();
150 tokens.reInit(line);
164 writeMatch(sb, line, start, end, true,path,wcontext,nrev,rev);
167 writeMatch(out, line, start, end, false,path,wcontext,nrev,rev);
191 * @param line the matching line
194 * @param flatten should multi-line log entries be flattened to a single
199 * line? If {@code true}, replace newline with space.
201 private void writeMatch(Appendable out, String line, argument
[all...]
H A DLineMatcher.java29 * Base class for matching a line against terms
93 public abstract int match(String line); argument
/opengrok-sun/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-sun/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 */
20 protected int line = 1; field in class:SimpleCharStream
142 line += (column = 1);
152 line += (column = 1);
171 bufline[bufpos] = line;
241 line = startline;
264 line = startline;
354 * Method to adjust line and column numbers for the start of a token.
397 line = bufline[j];
/opengrok-sun/src/org/opensolaris/opengrok/web/
H A DEftarFile.java215 String line;
216 while ((line = r.readLine()) != null) {
217 int tab = line.indexOf('\t');
219 String path = line.substring(0, tab);
220 String desc = line.substring(tab + 1);
/opengrok-sun/platform/solaris/smf/
H A Dogindexd97 while read line; do

Completed in 118 milliseconds

12