Searched defs:html (Results 1 - 25 of 180) sorted by relevance

12345678

/external/owasp/sanitizer/src/main/org/owasp/html/
H A DTCB.java29 package org.owasp.html;
H A Dpackage-info.java30 * An efficient {@link org.owasp.html.HtmlSanitizer HtmlSanitizer}
32 * {@link org.owasp.html.HtmlPolicyBuilder HtmlPolicyBuilder}.
37 package org.owasp.html;
H A DHtmlEntities.java29 package org.owasp.html;
42 * @param html HTML text.
51 public static long decodeEntityAt(String html, int offset, int limit) { argument
52 char ch = html.charAt(offset);
66 switch (html.charAt(i)) {
101 char ch1 = html.charAt(offset + 1);
102 char ch2 = html.charAt(offset + 2);
114 char digit = html.charAt(i);
148 char digit = html.charAt(i);
171 char nameChar = html
[all...]
H A DTokenStream.java29 package org.owasp.html;
H A DHtmlSanitizer.java29 package org.owasp.html;
95 * @param html A snippet of HTML to sanitize. {@code null} is treated as the
102 public static void sanitize(@Nullable String html, final Policy policy) { argument
103 if (html == null) { html = ""; }
130 HtmlLexer lexer = new HtmlLexer(html);
139 Encoding.decodeHtml(html.substring(token.start, token.end)));
143 html.substring(token.start, token.end)));
146 if (html.charAt(token.start + 1) == '/') { // A close tag.
148 html
[all...]
H A DPolicyFactory.java29 package org.owasp.html;
100 public String sanitize(@Nullable String html) { argument
101 return sanitize(html, null, null);
107 * @param html the string of HTML to sanitize.
117 @Nullable String html,
119 if (html == null) { return ""; }
120 StringBuilder out = new StringBuilder(html.length());
122 html,
116 sanitize( @ullable String html, @Nullable HtmlChangeListener<CTX> listener, @Nullable CTX context) argument
H A DHandler.java29 package org.owasp.html;
H A DHtmlChangeListener.java29 package org.owasp.html;
H A DSanitizers.java29 package org.owasp.html;
H A DStandardUrlAttributePolicy.java29 package org.owasp.html;
/external/chromium_org/chrome/browser/
H A Dchrome_switches_browsertest.cc37 GURL local_url = test_server()->GetURL("files/empty.html");
41 std::string html; local
45 &html));
47 EXPECT_STREQ("<body></body>", html.c_str());
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DUrlTextExampleTest.java29 package org.owasp.html;
36 import org.owasp.html.examples.UrlTextExample;
H A DCssGrammarTest.java29 package org.owasp.html;
H A DCssSchemaTest.java29 package org.owasp.html;
H A DHtmlChangeReporterTest.java29 package org.owasp.html;
69 String html =
73 html,
H A DHtmlSanitizerFuzzerTest.java29 package org.owasp.html;
62 String html = Resources.toString(
63 Resources.getResource("Yahoo!.html"), Charsets.UTF_8);
64 int length = html.length();
79 for (int i = length; --i >= 0;) { fuzzyHtml0[i] = html.charAt(i); }
H A DBenchmark.java29 package org.owasp.html;
47 String html = Files.toString(new File(args[0]), Charsets.UTF_8);
64 n += parseUsingLibhtmlparser(html);
70 n += sanitize(html).length();
76 n += sanitizeUsingPolicyBuilder(html).length();
84 n += parseUsingLibhtmlparser(html);
93 n += sanitize(html).length();
102 n += sanitizeUsingPolicyBuilder(html).length();
126 private static int parseUsingLibhtmlparser(String html) throws Exception { argument
128 Node node = parser.parse(new InputSource(new StringReader(html)));
132 sanitize(String html) argument
184 sanitizeUsingPolicyBuilder(String html) argument
[all...]
H A DHtmlPolicyBuilderFuzzerTest.java29 package org.owasp.html;
122 String html = sb.toString();
125 new InputSource(new StringReader(html)), "body");
126 checkSafe(node, html);
136 private static void checkSafe(Node node, String html) { argument
141 fail("Illegal element name " + name + " : " + html);
149 assertEquals(html, "a", name);
151 html, Strings.toLowerCase(a.getValue()).contains("script:"));
158 checkSafe(child, html);
/external/sonivox/jet_tools/JetCreator/
H A DJetHelp.py24 import wx.html namespace
29 html1 = wx.html.HtmlWindow(frame, -1)
/external/chromium_org/chrome/renderer/safe_browsing/
H A Dmalware_dom_details_browsertest.cc21 const char* urlprefix = "data:text/html;charset=utf-8,";
24 std::string html = "<html><head><script></script></head></html>"; local
25 LoadHTML(html.c_str());
29 EXPECT_EQ(GURL(urlprefix + html), params[0].url);
37 std::string html = "<html><head><script src=\"" + script1_url.spec() + local
39 "\"></script></head></html>";
40 GURL url(urlprefix + html);
62 std::string html = "<html><head><iframe src=\\"" + net::EscapeForHTML( local
100 std::string html; local
116 std::string html; local
[all...]
/external/chromium_org/ppapi/cpp/dev/
H A Dselection_dev.cc18 PP_Var GetSelectedText(PP_Instance instance, PP_Bool html) { argument
24 GetSelectedText(PP_ToBool(html)).Detach();
/external/clang/include/clang/Rewrite/Core/
H A DHTMLRewrite.h27 namespace html { namespace in namespace:clang
78 } // end html namespace
/external/emma/core/java12/com/vladium/emma/report/html/doc/
H A DHyperRef.java5 * and is available at http://www.eclipse.org/legal/cpl-v10.html
9 package com.vladium.emma.report.html.doc;
H A DIContent.java5 * and is available at http://www.eclipse.org/legal/cpl-v10.html
9 package com.vladium.emma.report.html.doc;
/external/jsilver/src/com/google/clearsilver/jsilver/functions/html/
H A DCssUrlValidateFunction.java17 package com.google.clearsilver.jsilver.functions.html;
35 * <li>CSS 2.1 URLs: http://www.w3.org/TR/CSS21/syndata.html#url

Completed in 391 milliseconds

12345678