/opengrok-jel/test/org/opensolaris/opengrok/web/ |
H A D | UtilTest.java | 37 * Test of the methods in <code>org.opensolaris.opengrok.web.Util</code>. 71 assertEquals(in_out[1].replace("<br/>", "\n"), Util.htmlize(in_out[0])); 73 assertEquals(in_out[1], Util.htmlize(in_out[0])); 76 assertEquals(in_out[1], Util.htmlize(in_out[0], "<br/>")); 83 assertEquals(null, Util.breadcrumbPath("/root/", null)); 85 assertEquals("", Util.breadcrumbPath("/root/", "")); 88 Util.breadcrumbPath("/root/", "x")); 90 Util.breadcrumbPath("/root/", "xx")); 94 Util.breadcrumbPath("/r/", "a/b")); 98 Util [all...] |
/opengrok-jel/src/org/opensolaris/opengrok/analysis/plain/ |
H A D | PlainXref.lex | 29 import org.opensolaris.opengrok.web.Util; 60 out.write(Util.uriEncodeURL(s));out.write("\">"); 61 out.write(Util.htmlize(s));out.write("</a>");}
|
H A D | XMLXref.lex | 30 import org.opensolaris.opengrok.web.Util; 108 Util.breadcrumbPath(urlPrefix + "path=", path, separator, 116 out.write(Util.uriEncodeURL(s));out.write("\">"); 117 out.write(Util.htmlize(s));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/ |
H A D | JFlexXref.java | 46 import org.opensolaris.opengrok.web.Util; 385 out.append(Util.jsStringLiteral(tag.symbol)); 426 out.write(Util.uriEncodePath(annotation.getFilename())); 432 out.write(Util.formQuoteEscape(msg)); 440 out.write(Util.htmlize(a)); 445 out.write(Util.uriEncodePath(a)); 450 out.write(Util.htmlize(a)); 523 String htmlSymbol = escape ? Util.htmlize(symbol) : symbol; 544 out.append(escape ? Util.formQuoteEscape(symbol) : symbol); 551 out.append(escape ? Util [all...] |
/opengrok-jel/src/org/opensolaris/opengrok/analysis/c/ |
H A D | CXref.lex | 33 import org.opensolaris.opengrok.web.Util; 74 out.write(Util.breadcrumbPath(urlPrefix + "path=", path)); 79 { out.write(Util.breadcrumbPath(urlPrefix+"defs=",yytext(),'.'));} 125 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/')); } 141 out.write(Util.uriEncodeURL(url));out.write("\">"); 142 out.write(Util.htmlize(url));out.write("</a>");}
|
H A D | CxxXref.lex | 33 import org.opensolaris.opengrok.web.Util; 74 out.write(Util.breadcrumbPath(urlPrefix + "path=", path)); 79 { out.write(Util.breadcrumbPath(urlPrefix+"defs=",yytext(),'.'));} 125 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 141 out.write(Util.uriEncodeURL(url));out.write("\">"); 142 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/lisp/ |
H A D | LispXref.lex | 33 import org.opensolaris.opengrok.web.Util; 132 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 148 out.write(Util.uriEncodeURL(url));out.write("\">"); 149 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/tcl/ |
H A D | TclXref.lex | 33 import org.opensolaris.opengrok.web.Util; 105 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 121 out.write(Util.uriEncodeURL(url));out.write("\">"); 122 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/vb/ |
H A D | VBXref.lex | 33 import org.opensolaris.opengrok.web.Util;
90 { out.write(Util.breadcrumbPath(urlPrefix+"defs=",yytext(),'.'));}
126 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));}
142 out.write(Util.uriEncodeURL(url));out.write("\">");
143 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/search/ |
H A D | Summary.java | 21 import org.opensolaris.opengrok.web.Util; 52 public String toString() { return Util.htmlize(text); }
|
H A D | Results.java | 51 import org.opensolaris.opengrok.web.Util; 59 // Util class, should not be constructed 145 String ctxE = Util.uriEncodePath(sh.contextPath); 159 out.write(Util.uriEncodePath(parent)); 161 out.write(Util.htmlize(parent)); 165 out.write(Util.htmlize(sh.desc.get(parent))); 171 String rpathE = Util.uriEncodePath(rpath); 187 out.write(Util.htmlize(rpath.substring(rpath.lastIndexOf('/') + 1)));
|
/opengrok-jel/src/org/opensolaris/opengrok/web/ |
H A D | AnnotationServlet.java | 50 Util.writeJsonArray(out, "errors", errors); 61 out.write(Util.jsStringLiteral(tmp)); 65 out.write(Util.jsStringLiteral(tmp));
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/archive/ |
H A D | TarAnalyzer.java | 39 import org.opensolaris.opengrok.web.Util; 101 out.write(Util.htmlize(content.toString(), "<br/>"));
|
H A D | ZipAnalyzer.java | 39 import org.opensolaris.opengrok.web.Util; 98 out.write(Util.htmlize(content.toString(), "<br/>"));
|
/opengrok-jel/test/org/opensolaris/opengrok/analysis/document/ |
H A D | TroffAnalyzerTest.java | 43 import org.opensolaris.opengrok.web.Util; 71 Util.dump(w, f, false);
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/csharp/ |
H A D | CSharpXref.lex | 30 import org.opensolaris.opengrok.web.Util; 89 { out.write(Util.breadcrumbPath(urlPrefix+"defs=",yytext(),'.'));} 143 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 159 out.write(Util.uriEncodeURL(url));out.write("\">"); 160 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/fortran/ |
H A D | FortranXref.lex | 32 import org.opensolaris.opengrok.web.Util; 85 { out.write(Util.breadcrumbPath(urlPrefix+"defs=",yytext(),'.'));} 141 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 154 out.write(Util.uriEncodeURL(url));out.write("\">"); 155 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/java/ |
H A D | JavaXref.lex | 33 import org.opensolaris.opengrok.web.Util; 95 { out.write(Util.breadcrumbPath(urlPrefix+"defs=",yytext(),'.'));} 159 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 175 out.write(Util.uriEncodeURL(url));out.write("\">"); 176 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/javascript/ |
H A D | JavaScriptXref.lex | 33 import org.opensolaris.opengrok.web.Util; 89 { out.write(Util.breadcrumbPath(urlPrefix+"defs=",yytext(),'.'));} 137 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 153 out.write(Util.uriEncodeURL(url));out.write("\">"); 154 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/python/ |
H A D | PythonXref.lex | 33 import org.opensolaris.opengrok.web.Util; 148 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 164 out.write(Util.uriEncodeURL(url));out.write("\">"); 165 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/search/context/ |
H A D | Context.java | 47 import org.opensolaris.opengrok.web.Util; 121 .append(Util.uriEncodeQueryValue(queryText)).append('&'); 158 (urlPrefix == null) ? "" : Util.uriEncodePath(urlPrefix); 159 String pathE = Util.uriEncodePath(path); 175 Util.htmlize(desc[3]).replace( 189 out.write(Util.htmlize(desc[3]).replace(
|
H A D | HistoryContext.java | 43 import org.opensolaris.opengrok.web.Util; 252 String qv = Util.uriEncodeQueryValue(path); 254 .append(Prefix.DIFF_P.toString()).append(Util.uriEncodePath(path)) 260 out.append(Util.htmlize(prefix, eol)).append("<b>") 261 .append(Util.htmlize(match, eol)).append("</b>") 262 .append(Util.htmlize(suffix, eol));
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/sh/ |
H A D | ShXref.lex | 29 import org.opensolaris.opengrok.web.Util; 174 out.write(Util.htmlize(text)); 184 out.write(Util.htmlize(yytext())); 240 out.write(Util.htmlize(line)); 280 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 296 out.write(Util.uriEncodeURL(url));out.write("\">"); 297 out.write(Util.htmlize(url));out.write("</a>");
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/perl/ |
H A D | PerlXref.lex | 33 import org.opensolaris.opengrok.web.Util; 156 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 172 out.write(Util.uriEncodeURL(url));out.write("\">"); 173 out.write(Util.htmlize(url));out.write("</a>");}
|
/opengrok-jel/src/org/opensolaris/opengrok/analysis/php/ |
H A D | PhpXref.lex | 33 import org.opensolaris.opengrok.web.Util; 64 out.write(Util.htmlize(yytext().substring(1))); 130 "<" | "</" { out.write(Util.htmlize(yytext())); yypush(TAG_NAME, ""); } 186 out.write(Util.htmlize(yytext())); 219 out.write(Util.htmlize(yytext())); 239 out.write(Util.htmlize(yytext())); 336 out.write(Util.htmlize(yytext())); 472 out.write(Util.htmlize(yytext())); 568 { out.write(Util.breadcrumbPath(urlPrefix+"path=",yytext(),'/'));} 584 out.write(Util [all...] |