/opengrok/src/org/opensolaris/opengrok/history/ |
H A D | TagEntry.java | 43 protected String tags; field in class:TagEntry 58 * @param tags 60 public TagEntry(int revision, String tags) { argument 63 this.tags = tags; 66 public TagEntry(Date date, String tags) { argument 72 this.tags = tags; 76 return this.tags; 80 this.tags [all...] |
H A D | GitTagEntry.java | 37 public GitTagEntry(String hash, Date date, String tags) { argument 38 super(date, tags);
|
H A D | HistoryEntry.java | 49 private String tags; field in class:HistoryEntry 70 this.tags = that.tags; 78 String tags, String message, boolean active) { 82 this.tags = tags; 96 LOGGER.log(Level.FINE, "HistoryEntry : tags = {0}", tags); 127 return tags; 146 public void setTags(String tags) { argument 77 HistoryEntry(String revision, Date date, String author, String tags, String message, boolean active) argument [all...] |
H A D | CVSHistoryParser.java | 71 HashMap<String, String> tags = null; 76 tags = new HashMap<String, String>(); 86 if (tags.containsKey(pair[1])) { 87 // Join multiple tags for one revision 88 String oldtag = tags.get(pair[1]); 89 tags.remove(pair[1]); 90 tags.put(pair[1], oldtag + " " + pair[0]); 92 tags.put(pair[1], pair[0]); 108 if (tags.containsKey(commit)) { 109 entry.setTags(tags [all...] |
H A D | GitRepository.java | 483 // Assign tags to changesets they represent 484 // We don't need to check if this repository supports tags, 497 private TagEntry buildTagEntry(File directory, String tags) throws HistoryException, IOException { argument 508 argv.add(tags + "^.." + tags); 541 // Git can have tags not pointing to any commit, but tree instead 546 TagEntry result = new GitTagEntry(hash, date, tags); 563 // First we have to obtain list of all tags, and put it asside 590 for (String tags : tagsList) { 591 TagEntry tagEntry = buildTagEntry(directory, tags); [all...] |
/opengrok/src/org/opensolaris/opengrok/configuration/messages/ |
H A D | AbortMessage.java | 33 env.removeAnyMessage(tags);
|
H A D | Message.java | 65 protected Set<String> tags = new TreeSet<>(); field in class:Message 113 * @param t set of tags 114 * @return true if message has at least on of the tags 118 tmp.retainAll(tags); 124 * @param t set of tags 125 * @return true if message has all of the tags 128 return tags.containsAll(t); 137 return tags.contains(tag); 141 return tags; 144 public void setTags(Set<String> tags) { argument [all...] |
H A D | Messages.java | 39 List<String> tags = new ArrayList<>(); 69 tags.add(getopt.getOptarg()); 145 for (String tag : tags) {
|
/opengrok/src/org/opensolaris/opengrok/search/context/ |
H A D | PlainLineTokenizer.lex | 66 TreeMap<Integer, String[]> tags; 107 public void reInit(char[] buf, int len, Writer out, String url, TreeMap<Integer, String[]> tags, Scopes scopes) { 108 reInit(new CharArrayReader(buf, 0, len), out, url, tags, scopes); 111 public void reInit(Reader in, Writer out, String url, TreeMap<Integer, String[]> tags, Scopes scopes) { 125 this.tags = tags; 126 if(this.tags == null) { 127 this.tags = new TreeMap<Integer, String[]>(); 164 boolean hi = tags.containsKey(ln); 173 String[] desc = tags [all...] |
H A D | Context.java | 123 String morePrefix, String path, Definitions tags, 125 return getContext(in, out, urlPrefix, morePrefix, path, tags, limit, isDefSearch, hits, null); 135 * @param tags format to highlight defs. 140 String morePrefix, String path, Definitions tags, 152 if (tags != null) { 155 for (Definitions.Tag tag : tags.getTags()) { 286 } else if (tokens.tags.containsKey(tokens.markedLine)) { 122 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits) argument 139 getContext(Reader in, Writer out, String urlPrefix, String morePrefix, String path, Definitions tags, boolean limit, boolean isDefSearch, List<Hit> hits, Scopes scopes) argument
|
/opengrok/src/org/opensolaris/opengrok/analysis/ |
H A D | Definitions.java | 42 // Per line sym -> tags mapping 60 * List of all the tags. 62 private final List<Tag> tags; field in class:Definitions 67 tags = new ArrayList<>(); 142 * Get a list of all tags. 144 * @return all tags 147 return tags; 151 * Get a list of all tags on given line. 154 * @return list of tags 220 tags [all...] |
H A D | JFlexXref.java | 241 List<Tag> tags = defs.getTags(line); 242 if (tags != null) { 243 for (Tag tag : tags) { 383 SortedSet<Tag> tags = symbols.get(style.name); 384 if (tags == null) { 385 tags = new TreeSet<>(cmp); 386 symbols.put(style.name, tags); 388 tags.add(tag); 398 SortedSet<Tag> tags = symbols.get(style.name); 399 if (tags ! [all...] |
/opengrok/src/org/opensolaris/opengrok/analysis/plain/ |
H A D | PlainAnalyzer.java | 84 byte[] tags = defs.serialize(); 85 doc.add(new StoredField(QueryBuilder.TAGS, tags));
|
/opengrok/src/org/opensolaris/opengrok/web/ |
H A D | Util.java | 986 JSONArray tags = new JSONArray(); 988 tags.add(Util.encode(t)); 990 message.put("tags", tags); 1015 * Print messages for given tags into json array 1018 * @param tags list of tags 1023 public static JSONArray messagesToJson(JSONArray array, String... tags) { argument 1025 for (String tag : tags) { 1036 * Print messages for given tags int 1043 messagesToJson(String... tags) argument [all...] |
H A D | SearchHelper.java | 337 Definitions tags = Definitions.deserialize(rawTags); 339 if (tags.occurrences(symbol) == 1) {
|
/opengrok/src/org/opensolaris/opengrok/search/ |
H A D | Results.java | 110 Level.WARNING, "An error reading tags from " + basedir + path 211 Definitions tags = null; 214 tags = Definitions.deserialize(tagsField.binaryValue().bytes); 237 rpath, tags, true, sh.builder.isDefSearch(), null, scopes);
|
H A D | SearchEngine.java | 408 Definitions tags = null; 411 tags = Definitions.deserialize(tagsField.binaryValue().bytes); 425 tags, nhits > 100, false, ret, scopes); 448 hasContext |= sourceContext.getContext(null, null, null, null, filename, tags, false, false, ret, scopes); 452 hasContext |= sourceContext.getContext(null, null, null, null, filename, tags, false, false, ret, scopes);
|
/opengrok/test/org/opensolaris/opengrok/search/context/ |
H A D | ContextTest.java | 354 * It used to nest the tags incorrectly. Bug #15632. 418 * The results from mixed-case symbol search should contain tags. 456 * @param tags the expected tags in the hit list 458 private void bug17582(QueryBuilder builder, int[] lines, String[] tags) argument 460 assertEquals(lines.length, tags.length); 474 assertEquals(tags[i], hits.get(i).getTag());
|
/opengrok/src/org/opensolaris/opengrok/index/ |
H A D | IndexDatabase.java | 1146 IndexableField tags = doc.getField(QueryBuilder.TAGS); 1147 if (tags != null) { 1148 return Definitions.deserialize(tags.binaryValue().bytes);
|
/opengrok/src/org/opensolaris/opengrok/configuration/ |
H A D | RuntimeEnvironment.java | 1308 * Remove all messages containing at least on of the tags. 1310 * @param tags set of tags 1312 public void removeAnyMessage(Set<String> tags) { argument 1316 return t.hasAny(tags); 1389 * application because the same message is duplicated for all of the tags in 1393 * total under different tags.
|