Searched refs:Util (Results 1 - 25 of 38) sorted by relevance

12

/opengrok-jel/test/org/opensolaris/opengrok/web/
H A DUtilTest.java37 * 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 DPlainXref.lex29 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 DXMLXref.lex30 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 DJFlexXref.java46 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 DCXref.lex33 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 DCxxXref.lex33 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 DLispXref.lex33 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 DTclXref.lex33 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 DVBXref.lex33 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 DSummary.java21 import org.opensolaris.opengrok.web.Util;
52 public String toString() { return Util.htmlize(text); }
H A DResults.java51 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 DAnnotationServlet.java50 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 DTarAnalyzer.java39 import org.opensolaris.opengrok.web.Util;
101 out.write(Util.htmlize(content.toString(), "<br/>"));
H A DZipAnalyzer.java39 import org.opensolaris.opengrok.web.Util;
98 out.write(Util.htmlize(content.toString(), "<br/>"));
/opengrok-jel/test/org/opensolaris/opengrok/analysis/document/
H A DTroffAnalyzerTest.java43 import org.opensolaris.opengrok.web.Util;
71 Util.dump(w, f, false);
/opengrok-jel/src/org/opensolaris/opengrok/analysis/csharp/
H A DCSharpXref.lex30 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 DFortranXref.lex32 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 DJavaXref.lex33 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 DJavaScriptXref.lex33 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 DPythonXref.lex33 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 DContext.java47 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 DHistoryContext.java43 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 DShXref.lex29 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 DPerlXref.lex33 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 DPhpXref.lex33 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...]

Completed in 26 milliseconds

12