/opengrok/src/org/opensolaris/opengrok/analysis/sql/ |
H A D | Consts.java | 55 String line,lline; 58 while ((line = reader.readLine()) != null) { 59 line=line.trim(); 60 lline = line.toLowerCase(Locale.US); 61 if (line.charAt(0) != '#') { 62 set.add(line);
|
H A D | PLSQLConsts.java | 56 String line,lline; 59 while ((line = reader.readLine()) != null) { 60 line=line.trim(); 61 lline = line.toLowerCase(Locale.US); 62 if (line.charAt(0) != '#') { 63 set.add(line);
|
/opengrok/src/org/opensolaris/opengrok/analysis/vb/ |
H A D | Consts.java | 55 String line, lline; 58 while ((line = reader.readLine()) != null) { 59 line = line.trim(); 60 lline = line.toLowerCase(Locale.US); 61 if (line.charAt(0) != '#') { 62 set.add(line);
|
/opengrok/egrok/src/org/opensolaris/opengrok/egrok/model/ |
H A D | Hit.java | 11 private static final String ATTRIBUTE_LINE = "line"; 17 private String line; field in class:Hit 38 public Hit(String directory, String filename, int lineno, String line, argument 44 this.line = line; 73 return line; 76 public void setLine(String line) { argument 77 this.line = line;
|
/opengrok/src/org/opensolaris/opengrok/search/ |
H A D | Hit.java | 46 * Holds value of property line. 48 private String line; field in class:Hit 51 * Holds value of property line no. 81 * @param line The line containing the match 82 * @param lineno The line number in the file the match was found 86 public Hit(String filename, String line, String lineno, boolean binary, boolean alt) { argument 96 this.line = line; 139 * Getter for property line 152 setLine(String line) argument [all...] |
H A D | Search.java | 144 String line = in.readLine(); 145 if (null == line || line.length() == 0 || line.charAt(0) == 'n') { 162 * @param argv command line arguments
|
/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | AccuRevHistoryParser.java | 114 String line; 140 while ((line = in.readLine()) != null) { 142 if (line.startsWith("e")) { 146 if (line.startsWith("t")) { // found transaction 148 String data[] = line.split("; "); 161 LOGGER.log(Level.WARNING, "Could not parse date: " + line, pe); 164 } else if (line.startsWith(" #")) { // found comment 166 entry.appendMessage(line.substring(3)); 168 } else if (line.startsWith(" v")) { // found version 170 String data[] = line [all...] |
H A D | Annotation.java | 46 * modification of each line in the file. 64 * Gets the revision for the last change to the specified line. 66 * @param line line number (counting from 1) 68 * about the specified line 70 public String getRevision(int line) { argument 72 return lines.get(line-1).revision; 93 * Gets the author who last modified the specified line. 95 * @param line line numbe 99 getAuthor(int line) argument 113 isEnabled(int line) argument [all...] |
H A D | GitRepository.java | 127 String line = ""; 128 Matcher matcher = commitPattern.matcher(line); 129 while ((line = in.readLine()) != null) { 130 matcher.reset(line); 346 String line = ""; 347 Matcher matcher = commitPattern.matcher(line); 348 while ((line = in.readLine()) != null) { 349 matcher.reset(line); 391 String line = ""; 393 Matcher matcher = BLAME_PATTERN.matcher(line); [all...] |
H A D | RazorHistoryParser.java | 89 String line; 100 while ((line = contents.readLine()) != null) { 102 parseDebug("Processing '" + line + "'"); 104 if (StringUtils.isOnlyWhitespace(line)) { 117 infoMatcher.reset(line); 131 parseDebug("Ignoring Info Type Line '" + line + "'"); 134 if (!line.startsWith("##") && line.charAt(0) == '#') { 135 parseDebug("Seen Comment : '" + line + "'"); 140 entry.appendMessage(line [all...] |
H A D | SCCSRepository.java | 108 String line; 110 while ((line = in.readLine()) != null) { 112 Matcher matcher = AUTHOR_PATTERN.matcher(line); 119 "Error: did not find authors in line {0}: [{1}]", 120 new Object[]{lineno, line}); 173 String line; 175 while ((line = in.readLine()) != null) { 177 Matcher matcher = ANNOTATION_PATTERN.matcher(line); 188 "Error: did not find annotations in line {0}: [{1}]", 189 new Object[]{lineno, line}); [all...] |
H A D | AccuRevRepository.java | 119 String line; 122 while ((line = reader.readLine()) != null) { 124 Matcher matcher = annotationPattern.matcher(line); 132 "Did not find annotation in line {0}: [{1}]", 133 new Object[]{lineno, line}); 190 * command will produce a line with the format: 207 String line = info.readLine(); 208 String[] statInfo = line.split("\\s+"); 278 String line; 279 while ((line [all...] |
H A D | PerforceHistoryParser.java | 115 String line; 117 while ((line = reader.readLine()) != null) { 118 matcher.reset(line); 151 String line; 152 while ((line = reader.readLine()) != null) { 153 Matcher matcher = REVISION_PATTERN.matcher(line); 175 if (line.startsWith("... ...")) { 179 entry.appendMessage(line);
|
H A D | MonotoneRepository.java | 184 String line; 187 while ((line = in.readLine()) != null) { 188 Matcher matcher = ANNOTATION_PATTERN.matcher(line); 298 String line; 299 while ((line = in.readLine()) != null) { 300 if (line.startsWith("database") && line.contains("default-server")) { 301 String parts[] = line.split("\\s+");
|
H A D | CVSRepository.java | 175 String line = br.readLine(); 176 if (line != null) { 177 branch = line.substring(1); 301 String line = ""; 304 Matcher matcher = ANNOTATE_PATTERN.matcher(line); 305 while ((line = in.readLine()) != null) { 307 if (!hasStarted && (line.length() == 0 308 || !Character.isDigit(line.charAt(0)))) { 315 matcher.reset(line); 322 "Error: did not find annotation in line { [all...] |
H A D | BazaarRepository.java | 191 String line = ""; 193 Matcher matcher = BLAME_PATTERN.matcher(line); 194 while ((line = in.readLine()) != null) { 196 matcher.reset(line); 203 "Error: did not find annotation in line {0}: [{1}]", 204 new Object[]{String.valueOf(lineno), line}); 310 String line; 311 while ((line = in.readLine()) != null) { 312 String parts[] = line.split(" *"); 314 throw new HistoryException("Tag line contain [all...] |
H A D | ClearCaseRepository.java | 233 String line; 236 while ((line = in.readLine()) != null) { 237 String parts[] = line.split("\\|"); 284 String line; 287 while (!snapshot && (line = in.readLine()) != null) { 288 snapshot = line.startsWith("load"); 301 while ((line = in.readLine()) != null) { 390 String sep = System.getProperty("line.separator");
|
/opengrok/src/org/opensolaris/opengrok/analysis/ |
H A D | Definitions.java | 42 // Per line sym -> tags mapping 52 // line -> tag_map 56 * Map from symbol to the line numbers on which the symbol is defined. 90 * Check whether the specified symbol is defined on the given line. 93 * @param lineNumber the line to check 95 * @return {@code true} if {@code symbol} is defined on the specified line 151 * Get a list of all tags on given line. 153 * @param line line number 156 public List<Tag> getTags(int line) { argument 182 public final int line; field in class:Definitions.Tag 204 Tag(int line, String symbol, String type, String text, String namespace, String signature) argument 214 addTag(int line, String symbol, String type, String text) argument 218 addTag(int line, String symbol, String type, String text, String namespace, String signature) argument [all...] |
H A D | Scopes.java | 70 public boolean matches(int line) { argument 71 return line >= lineFrom && line <= lineTo; 123 // tree of scopes sorted by starting line 138 public Scope getScope(int line) { argument 139 // find closest scope that starts before or on given line 140 Scope s = scopes.floor(new Scope(line)); 141 return (s != null && s.matches(line)) ? s : GLOBAL_SCOPE;
|
H A D | JFlexXref.java | 240 int line = getLineNumber(); 241 List<Tag> tags = defs.getTags(line); 245 scope = new Scope(tag.line, tag.line, tag.symbol, tag.namespace, tag.signature); 281 * @return scopes for current line 302 * @return line number 308 * @param x line number 354 * the type, and an array of (symbol, line) pairs for the definitions of 367 // Order by symbol name, and then by line number if multiple 371 ret = tag1.line 540 writeSymbol(String symbol, Set<String> keywords, int line) argument 555 writeSymbol( String symbol, Set<String> keywords, int line, boolean caseSensitive) argument [all...] |
/opengrok/src/org/opensolaris/opengrok/search/context/ |
H A D | RegexpMatcher.java | 55 public int match(String line) { argument 56 return (termRegexp != null && termRegexp.matcher(line).matches() )
|
H A D | HistoryContext.java | 106 * @return {@code true} if at least one line has been written out. 149 String line = he.getLine(); 156 tokens.reInit(line); 170 writeMatch(sb, line, start, end, true,path,wcontext,nrev,rev); 173 writeMatch(out, line, start, end, false,path,wcontext,nrev,rev); 197 * @param line the matching line 200 * @param flatten should multi-line log entries be flattened to a single 205 * line? If {@code true}, replace newline with space. 207 private void writeMatch(Appendable out, String line, argument [all...] |
H A D | LineMatcher.java | 29 * Base class for matching a line against terms 93 public abstract int match(String line); argument
|
/opengrok/src/org/opensolaris/opengrok/analysis/sh/ |
H A D | ShXref.lex | 89 * Check the contents of a line to see if it matches the stop word for a 92 * @param line a line in the input file 93 * @return true if the line terminates a here-document, false otherwise 95 private boolean isHeredocStopWord(String line) { 99 i < line.length() && line.charAt(i) == '\t') { 103 // Compare remaining characters on the line with the stop word. 104 return line.substring(i).equals(heredocStopWord); 122 * SCOMMENT - single-line commen [all...] |
/opengrok/jrcs/src/main/java/org/apache/commons/jrcs/rcs/ |
H A D | SimpleCharStream.java | 1 /* 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];
|